Computation and Language · arXiv:2409.05972 v1 · submitted 9 Sep 2024
A Small Claims Court for the NLP: Judging Legal Text Classification Strategies With Small Datasets
The paper says
“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.”
from the abstract · picked out as the main claim by a classifier
Reviews
Reviews by people
No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.
The paper
Abstract
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.
The paper's own sentences, arranged. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.
abstract compiled · 2026-09-23 · no language-model review
How the main claim is stated: asserted 1.00
What the abstract itself states, as probabilities: claims first 0.04 · states limitation 0.55 · human participants 0.15 · controlled comparison 0.60 · randomized assignment 0.02 · states quantitative result 0.98 · compares with prior results 0.92 · mentions code or data availability 0.03
The abstract, sentence by sentence
This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.
| Sentence | Role | The authors' own work | States the main conclusion | Strength |
|---|---|---|---|---|
| Recent advances in language modelling has significantly decreased the need of labelled data in text classification tasks. | background 1.00 | 0.04 | 0.02 | asserted 1.00 |
| Transformer-based models, pre-trained on unlabeled data, can outmatch the performance of models trained from scratch for each task. | background 1.00 | 0.06 | 0.02 | asserted 0.83 |
| 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. | gap 0.65 | 0.06 | 0.02 | asserted 1.00 |
| 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. | contribution 0.99 | 0.76 | 0.04 | asserted 0.82 |
| 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. | method 0.85 | 0.79 | 0.02 | asserted 0.97 |
| 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. | background 0.78 | 0.10 | 0.02 | asserted 1.00 |
| 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. | result 1.00 | 0.93 | 0.26 | asserted 1.00 |
| 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. | result 0.90 | 0.79 | 0.11 | asserted 1.00 |
| 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. | result 1.00 | 0.94 | 0.81 | asserted 1.00 |
What kind of paper the classifier reports this is: empirical study 1.00 · evidence from observation or experiment 0.94
What was examined, and what was not
Sources read
- arXiv listing abstract v1
Not examined
- full text
- figures and tables
- references and citing sentences
- relations to other papers
Levels run
- P abstract
Not run
- S sections
- T body sentences
- C citations
- R cross-paper relations
How the labels were made
Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 7,035 input tokens.
Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON
Cited by 1 Pith paper
Reviewed papers on Pith that cite this one. The full citation record
How the literature uses it
What this paper does with the arXiv papers it cites
What it cites · 5 sentences without a confident label
Uses the method or tool of 2 papers
-
In addition to the data cleaning processes for feature extraction, we performed two data augmentation (DA) operations suggested in [ref] .
Unsupervised Data Augmentation for Consistency Training · Data Augmentation · 1.00
-
Two different preprocessing routines were used, related to word2vec [ref] and BERT [ref] .
Efficient Estimation of Word Representations in Vector Space · Preprocessing · 0.99
Compares with 1 paper
-
The result goes in the opposite direction to other experiments conducted with the specialization of language models, for example with scientific vocabulary [ref] or fine-tuned with biomedical corpora [ref] .
BioBERT: a pre-trained biomedical language representation model for biomedical text mining · Related Work · 0.91
Cites as background 2 papers
-
Elwany et al. [ref] used legal texts to fine-tune BERT and perform a legal agreements classification, with an improved performance using fine-tuned BERT.
BERT Goes to Law School: Quantifying the Competitive Advantage of Access to Large Legal Corpora in Contract Understanding · Related Work · 0.89
-
Sulea et al. [ref] used court decisions of the Supreme Court of France to predict several aspects using ensemble systems of SVM classifiers combined with simple representations such as unigrams and bigrams.
Exploring the Use of Text Classification in the Legal Domain · Related Work · 0.97
Challenges and discussion
Know something about this paper? Leave a comment.
Come back by email
A short list of the week's newly reviewed papers. Nothing is sent until you confirm from your inbox, and every email has a link that stops it. No account.
No comments yet.
Sign in to comment