Lucas Resck, Felipe Moreno-Vera, Tobias Veiga, Gerardo Paucar, Ezequiel Fajreldines, Guilherme Klafke, Luis Gustavo Nonato, Jorge Poco
LegalAnalytics System Homepage: here users can see some examples or interact with the system uploading a PDF file.
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.
Materials
BibTeX
@article{2025-LegalAnalytics,
 title = {Legalanalytics: Bridging Visual Explanations and Workload Streamline in Brazilian Supreme Court Appeals (in press)},
 author = {Lucas Resck AND Felipe 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 = {http://www.visualdslab.com/papers/LegalAnalytics},
}