Work

Algoritmos baseados em atenção neural para a automação da classicação multirrótulo de acórdãos jurídicos

Year: 2021
Type: dissertation
Abstract: In Brazil and several other countries, higher court rulings create precedence and can be used to solve similar cases. The court decisions are recorded in documents that have a multiclass and multi-label classification called verbetação, which is performed manually so that such documents can be easily retrieved in cases of interest. The literature in the field has already identified several problems in these classifications; at the same time, attention-based neural algorithms, such as Transformer and BERT, have gained prominence by allowing Computational Linguistics problem solving to reach levels never achieved before, bringing out questions about their potential, applicability, and limits. The objective of this research work was to carry out an initial study of the use of attention-based algorithms for the automation of court decision classification and to further improve the understanding of the scope and functionality of this family of methods. To this end, we used data from Kollemata Project to implement and train multi-label and multiclass versions of different BERT models, aiming to perform the classification of judicial decisions automatically. This process consisted of three stages: building a processable córpus from the Kollemata dataset, and the consequent exploratory analysis of this corpus, mapping the properties of the data; ontologically adequating the córpus system of classes, making it computationally viable for classification purposes; implementing a multiclass and multi-label version of BERT and training different BERT models with the adapted córpus, under different parameters, aiming to evaluate the behavior and limits of the micro-averaged and macro-averaged F1-Measure, as well as of other performance metrics. We obtained, in the best case, 72% for micro-averaged F1 and 71% for macro-averaged F1, corresponding to gains of 30% or more over the tested statistical baselines. Besides that, we found an optimal set of parameters to this task, consistent with optimal values obtained for other tasks, and observed different interesting properties about the evolution of the studied metrics with different tested parameters. We also registered higher performances for bigger and Portuguese-based models, in contrast with the multilingual and smaller ones, however, this advantage is small, which corroborates the use of smaller and multilingual models for this specific task. A detailed analysis of this and other auxiliary results, also presented in this work, revealed that the main obstacle in improving these performance metrics is the form that the training data was originally organized and classified, indicating this as the main aspect to be studied and improved in subsequent works.
Language: Portuguese
Subfield: Law
Open Access status: green
OpenAlex ID: W3176050896
Cites: 76
Cited by: 4
Related to: 9