mlsanityData to 7 Oct 2026

LegalViz: Legal Text Visualization by Text To Diagram Generation

arXiv 2502.06147 ↗First posted 10 Feb 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Legal documents including judgments and court orders require highly sophisticated legal knowledge for understanding. To disclose expert knowledge for non-experts, we explore the problem of visualizing legal texts with easy-to-understand diagrams and propose a novel dataset of LegalViz with 23 languages and 7,010 cases of legal document and visualization pairs, using the DOT graph description language of Graphviz. LegalViz provides a simple diagram from a complicated legal corpus identifying legal entities, transactions, legal sources, and statements at a glance, that are essential in each judgment. In addition, we provide new evaluation metrics for the legal diagram visualization by considering graph structures, textual similarities, and legal contents. We conducted empirical studies on few-shot and finetuning large language models for generating legal diagrams and evaluated them with these metrics, including legal content-based evaluation within 23 languages. Models trained with LegalViz outperform existing models including GPTs, confirming the effectiveness of our dataset.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 30 of its 54 references that are in the map. First posted on arXiv 10 Feb 2025.

Builds on

30 of 54 references.

References · 30

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  3. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  5. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
  6. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  7. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
  8. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
  9. 2018CAIL2018: A Large-Scale Legal Dataset for Judgment Predictioncited by 168
  10. 2019Text Generation from Knowledge Graphs with Graph Transformerscited by 122
  11. 2022Natural Language to Code Translation with Executioncited by 122
  12. 2021MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfercited by 89
18 more
  1. 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
  2. 2023AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZcited by 74
  3. 2023LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domaincited by 68
  4. 2020A Dataset for Statutory Reasoning in Tax Law Entailment and Question Answeringcited by 61
  5. 2021Swiss-Judgment-Prediction: A Multilingual Legal Judgment Prediction Benchmarkcited by 60
  6. 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
  7. 2022FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processingcited by 48
  8. 2022A Multi-Task Benchmark for Korean Legal Language Understanding and Judgement Predictioncited by 44
  9. 2022EUR-Lex-Sum: A Multi- and Cross-lingual Dataset for Long-form Summarization in the Legal Domaincited by 39
  10. 2023Natural Language Processing in the Legal Domaincited by 38
  11. 2018Interpretable Charge Predictions for Criminal Cases: Learning to Generate Court Views from Fact Descriptionscited by 36
  12. 2019Charge-Based Prison Term Prediction with Deep Gating Networkcited by 31
  13. 2023DiagrammerGPT: Generating Open-Domain, Open-Platform Diagrams via LLM Planningcited by 28
  14. 2018LexNLP: Natural language processing and information extraction for legal and regulatory textscited by 27
  15. 2019Extreme Multi-Label Legal Text Classification: A case study in EU Legislationcited by 26
  16. 2022ArgLegalSumm: Improving Abstractive Summarization of Legal Documents with Argument Miningcited by 25
  17. 2020Structural Text Segmentation of Legal Documentscited by 11
  18. 2024Text-to-Code Generation with Modality-relative Pre-trainingcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.