English

Using attention methods to predict judicial outcomes

Machine Learning 2022-12-29 v2 Artificial Intelligence Computation and Language Computers and Society

Abstract

Legal Judgment Prediction is one of the most acclaimed fields for the combined area of NLP, AI, and Law. By legal prediction we mean an intelligent systems capable to predict specific judicial characteristics, such as judicial outcome, a judicial class, predict an specific case. In this research, we have used AI classifiers to predict judicial outcomes in the Brazilian legal system. For this purpose, we developed a text crawler to extract data from the official Brazilian electronic legal systems. These texts formed a dataset of second-degree murder and active corruption cases. We applied different classifiers, such as Support Vector Machines and Neural Networks, to predict judicial outcomes by analyzing textual features from the dataset. Our research showed that Regression Trees, Gated Recurring Units and Hierarchical Attention Networks presented higher metrics for different subsets. As a final goal, we explored the weights of one of the algorithms, the Hierarchical Attention Networks, to find a sample of the most important words used to absolve or convict defendants.

Keywords

Cite

@article{arxiv.2207.08823,
  title  = {Using attention methods to predict judicial outcomes},
  author = {Vithor Gomes Ferreira Bertalan and Evandro Eduardo Seron Ruiz},
  journal= {arXiv preprint arXiv:2207.08823},
  year   = {2022}
}

Comments

Revised for publication

R2 v1 2026-06-25T01:01:35.461Z