V-DS logo Visual Data Science Lab FGV EMAp · Rio de Janeiro
← All publications
AILAW 2025 · Journal

LegalAnalytics: bridging visual explanations and workload streamline in Brazilian Supreme Court appeals

Artificial Intelligence and Law · July 2025

Abstract

The Brazilian Supreme Court serves as the highest judicial authority in Brazil and is responsible for adjudicating constitutional matters presented as extraordinary appeals. These appeals undergo a rigorous screening process guided by established legal principles known as Topics of General Repercussion. Seeking to streamline this procedure, we developed LegalAnalytics to explore the research question: Can machine learning and explainable AI techniques enhance the classification of appeals in legal workflows? LegalAnalytics harnesses advanced natural language processing algorithms and classification models to categorize each appeal according to the most pertinent topics accurately. In addition, it incorporates LIME (Local Interpretable Model-agnostic Explanations) to highlight the key sections of an appeal and compare them with relevant precedents. This approach ensures a transparent justification for every classification. The system is thoughtfully designed with a user-friendly interface tailored for public servants, judges, and lawyers. Extensive testing with dozens of legal experts confirmed the effectiveness of LegalAnalytics, with consistently positive feedback underscoring its significant practical impact.

Part of

Legal Analytics
▸ Cite this paper (BibTeX)
@article{2025-LegalAnalytics, 
  title={LegalAnalytics: bridging visual explanations and workload streamline in Brazilian Supreme Court appeals}, 
  author={Lucas Resck and Felipe A. Moreno-Vera and Tobias Veiga and Gerardo Paucar and Ezequiel Fajreldines and Guilherme Klafke and Luis Gustavo Nonato and Jorge Poco}, 
  journal={Artificial Intelligence and Law}, 
  year={2025},
  url={https://link.springer.com/article/10.1007/s10506-025-09446-w},
  date={2025-07-12}
}

Related papers

LegalAnalytics: bridging visual explanations and workload streamline in Brazilian Supreme Court appeals

LegalAnalytics: bridging visual explanations and workload streamline in Brazilian Supreme Court appeals

The Brazilian supreme court serves as the highest judicial authority in Brazil and is responsible for adjudicating constitutional matters presented as extraordinary appeals. These appeals undergo a rigorous screening process guided by established legal principles known as Topics of General Repercussion. Seeking to streamline this procedure, we developed LegalAnalytics to explore the research question: Can machine learning and explainable AI techniques enhance the classification of appeals in legal workflows?. LegalAnalytics harnesses advanced natural language processing algorithms and classification models to categorize each appeal according to the most pertinent topics accurately. In addition, it incorporates LIME (Local Interpretable Model-agnostic Explanations) to highlight the key sections of an appeal and compare them with relevant precedents. This approach ensures a transparent justification for every classification. The system is thoughtfully designed with a user-friendly interface tailored for public servants, judges, and lawyers. Extensive testing with dozens of legal experts confirmed the effectiveness of LegalAnalytics, with consistently positive feedback underscoring its significant practical impact.