Comparing CNN-LSTM and BERTimbau: an analysis of AI models in legal document classification

This study addresses the urgent need of the Attorney General's Office of the State of Bahia (PGE) to automate the classification of initial petitions, a challenge exacerbated by the lack of standardization in file naming. To tackle this issue, the work proposes the implementation of advanced Deep Learning models, aiming to overcome the limitations of the currently used approach based on regular expressions (Regex), which shows an average accuracy of 80%. The research compares the efficacy of a hybrid model, integrating Convolutional Neural Network (CNN) with Long Short-Term Memory (LSTM), and the BERTimbau model, with the goal of not only enhancing the precision in identifying these essential documents but also promoting procedural efficiency through automation. Preliminary results reveal that the CNN-LSTM model achieved an accuracy of 99.34%, while BERTimbau obtained 98.51%, demonstrating the great potential of both techniques in optimizing the judicial workflow in the digital era.

Authors

Institutions

Publication Details

Journal
Concilium
Published
2024-08-31
DOI
https://doi.org/10.53660/clm-3943-24r37
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparing CNN-LSTM and BERTimbau: an analysis of AI models in legal document classification

Oberdan Rocha Pinheiro, Lucas de França Carneiro Agra, Guilherme Neves Acorsi
Concilium
Artificial Intelligence in Law
article

Comparing CNN-LSTM and BERTimbau: an analysis of AI models in legal document classification

Oberdan Rocha Pinheiro, Lucas de França Carneiro Agra, Guilherme Neves Acorsi
article en

Abstract

This study addresses the urgent need of the Attorney General's Office of the State of Bahia (PGE) to automate the classification of initial petitions, a challenge exacerbated by the lack of standardization in file naming. To tackle this issue, the work proposes the implementation of advanced Deep Learning models, aiming to overcome the limitations of the currently used approach based on regular expressions (Regex), which shows an average accuracy of 80%. The research compares the efficacy of a hybrid model, integrating Convolutional Neural Network (CNN) with Long Short-Term Memory (LSTM), and the BERTimbau model, with the goal of not only enhancing the precision in identifying these essential documents but also promoting procedural efficiency through automation. Preliminary results reveal that the CNN-LSTM model achieved an accuracy of 99.34%, while BERTimbau obtained 98.51%, demonstrating the great potential of both techniques in optimizing the judicial workflow in the digital era.

ConciliumVol. 24(17)
Mathematics Research Center (MX), Serviço Nacional de Aprendizagem Industrial (BR)
Peace, Justice and strong institutions
Openalex Percentile: Top 78%
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Comparing CNN-LSTM and BERTimbau: an analysis of AI models in legal document classification — Oberdan Rocha Pinheiro, Lucas de França Carneiro Agra, et al. · Concilium (2024) | TGRS Research Map | TGRS