ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2502.06147
56
1

LegalViz: Legal Text Visualization by Text To Diagram Generation

10 February 2025
Eri Onami
Taiki Miyanishi
Koki Maeda
Shuhei Kurita
    AILaw
ArXivPDFHTML
Abstract

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.

View on arXiv
@article{onami2025_2502.06147,
  title={ LegalViz: Legal Text Visualization by Text To Diagram Generation },
  author={ Eri Onami and Taiki Miyanishi and Koki Maeda and Shuhei Kurita },
  journal={arXiv preprint arXiv:2502.06147},
  year={ 2025 }
}
Comments on this paper