mlsanityData to 7 Oct 2026

A Small Claims Court for the NLP: Judging Legal Text Classification Strategies With Small Datasets

arXiv 2409.05972 ↗First posted 9 Sep 2024cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Recent advances in language modelling has significantly decreased the need of labelled data in text classification tasks. Transformer-based models, pre-trained on unlabeled data, can outmatch the performance of models trained from scratch for each task. However, the amount of labelled data need to fine-tune such type of model is still considerably high for domains requiring expert-level annotators, like the legal domain. This paper investigates the best strategies for optimizing the use of a small labeled dataset and large amounts of unlabeled data and perform a classification task in the legal area with 50 predefined topics. More specifically, we use the records of demands to a Brazilian Public Prosecutor's Office aiming to assign the descriptions in one of the subjects, which currently demands deep legal knowledge for manual filling. The task of optimizing the performance of classifiers in this scenario is especially challenging, given the low amount of resources available regarding the Portuguese language, especially in the legal domain. Our results demonstrate that classic supervised models such as logistic regression and SVM and the ensembles random forest and gradient boosting achieve better performance along with embeddings extracted with word2vec when compared to BERT language model. The latter demonstrates superior performance in association with the architecture of the model itself as a classifier, having surpassed all previous models in that regard. The best result was obtained with Unsupervised Data Augmentation (UDA), which jointly uses BERT, data augmentation, and strategies of semi-supervised learning, with an accuracy of 80.7% in the aforementioned task.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 14 of its 21 references that are in the map. First posted on arXiv 9 Sep 2024.

Builds on

14 of 21 references.

References · 14

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  3. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  4. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  5. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  6. 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
  7. 2019Portuguese Named Entity Recognition using BERT-CRFcited by 73
  8. 2017Exploring the Use of Text Classification in the Legal Domaincited by 31
  9. 2019BERT Goes to Law School: Quantifying the Competitive Advantage of Access to Large Legal Corpora in Contract Understandingcited by 16
  10. 2017Portuguese Word Embeddings: Evaluating on Word Analogies and Natural Language Taskscited by 13
  11. 2019Legal Area Classification: A Comparative Study of Text Classifiers on Singapore Supreme Court Judgmentscited by 12
  12. 2021The Unreasonable Effectiveness of the Baseline: Discussing SVMs in Legal Text Classificationcited by 5
2 more
  1. 2021LegaLMFiT: Efficient Short Legal Text Classification with LSTM Language Model Pre-Trainingcited by 4
  2. 2020Legal Document Classification: An Application to Law Area Prediction of Petitions to Public Prosecution Servicecited by 3

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.