{"paper":{"title":"A Small Claims Court for the NLP: Judging Legal Text Classification Strategies With Small Datasets","arxiv_id":"2409.05972","primary_cat":"cs.CL","submitted_at":"2024-09-09T18:10:05+00:00","version_compiled":"v1"},"notice":"Every quoted sentence is the authors' text from the arXiv listing abstract. Labels and probabilities are the outputs of classifier-1.13.0 on the question bank abstract-p1-20260923, exactly as returned. No sentence in this record was written by a language model.","schema":"pith.compiled-record/v0","status":"compiled","abstract":{"source":"arXiv listing abstract v1","sentences":[{"i":0,"p":1.0,"id":"s0","own":false,"role":"background","text":"Recent advances in language modelling has significantly decreased the need of labelled data in text classification tasks.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.04,"main_claim_p":0.02,"quantitative":false,"quantitative_p":0.14,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":1.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":1,"p":1.0,"id":"s1","own":false,"role":"background","text":"Transformer-based models, pre-trained on unlabeled data, can outmatch the performance of models trained from scratch for each task.","hedge":{"p":0.83,"label":"asserted"},"own_p":0.06,"main_claim_p":0.02,"quantitative":true,"quantitative_p":0.83,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":1.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":2,"p":0.65,"id":"s2","own":false,"role":"gap","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.06,"main_claim_p":0.02,"quantitative":false,"quantitative_p":0.43,"role_probabilities":{"gap":0.65,"method":0.0,"result":0.0,"background":0.34,"limitation":0.01,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":3,"p":0.99,"id":"s3","own":true,"role":"contribution","text":"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.","hedge":{"p":0.82,"label":"asserted"},"own_p":0.76,"main_claim_p":0.04,"quantitative":true,"quantitative_p":0.89,"role_probabilities":{"gap":0.0,"method":0.01,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.99,"interpretation":0.0}},{"i":4,"p":0.85,"id":"s4","own":true,"role":"method","text":"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.","hedge":{"p":0.97,"label":"asserted"},"own_p":0.79,"main_claim_p":0.02,"quantitative":false,"quantitative_p":0.07,"role_probabilities":{"gap":0.0,"method":0.85,"result":0.0,"background":0.02,"limitation":0.0,"future_work":0.0,"contribution":0.13,"interpretation":0.0}},{"i":5,"p":0.78,"id":"s5","own":false,"role":"background","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.1,"main_claim_p":0.02,"quantitative":false,"quantitative_p":0.14,"role_probabilities":{"gap":0.07,"method":0.0,"result":0.0,"background":0.78,"limitation":0.15,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":6,"p":1.0,"id":"s6","own":true,"role":"result","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.93,"main_claim_p":0.26,"quantitative":true,"quantitative_p":0.94,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":7,"p":0.9,"id":"s7","own":true,"role":"result","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.79,"main_claim_p":0.11,"quantitative":true,"quantitative_p":0.83,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.9,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.1}},{"i":8,"p":1.0,"id":"s8","own":true,"role":"result","text":"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.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.94,"main_claim_p":0.81,"quantitative":true,"quantitative_p":0.99,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}}]},"compiled":{"main_claim":{"p":0.98,"text":"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.","location":"abstract s8","hedge_strength":{"p":1.0,"label":"asserted"}},"provenance":{"route":{"via":"TypeSafe API","model":"classifier-1.13.0","endpoint":"https://api.typesafe.ai/v1/systemone","provider":"TypeSafe"},"packing":"one request per paper","requests":1,"input_tokens":7035,"cost_usd_reported":0.0},"compiled_at":"2026-09-23","bank_version":"abstract-p1-20260923","model_version":"classifier-1.13.0","abstract_states":{"claims_first":0.04,"states_limitation":0.55,"human_participants":0.15,"controlled_comparison":0.6,"randomized_assignment":0.02,"states_quantitative_result":0.98,"compares_with_prior_results":0.92,"mentions_code_or_data_availability":0.03},"evidential_basis":{"p":0.94,"value":"observation or experiment","probabilities":{"argument":0.0,"literature":0.0,"proof_or_derivation":0.0,"analysis_of_existing_data":0.04,"observation_or_experiment":0.94,"simulation_or_computation":0.02}},"contribution_type":{"p":1.0,"value":"empirical study","probabilities":{"review":0.0,"method_or_tool":0.0,"empirical_study":1.0,"simulation_study":0.0,"theoretical_result":0.0,"dataset_or_benchmark":0.0,"position_or_commentary":0.0}},"contribution_statement":{"p":0.94,"text":"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.","location":"abstract s3"}},"coverage":{"tier":"abstract","levels_run":["P abstract"],"not_examined":["full text","figures and tables","references and citing sentences","relations to other papers"],"sources_read":["arXiv listing abstract v1"],"levels_not_run":["S sections","T body sentences","C citations","R cross-paper relations"],"sentences_examined":9,"sentences_in_abstract":9},"measured_accuracy":{"url":"https://pith.science/accuracy","measured_on":"2026-10-02","method":"two independent model families labelled a fresh random sample blind; the figure is how often the published label matches their consensus","sentence_role_agreement":0.92,"main_claim_agreement":0.908,"typed_citation_agreement":0.933,"typed_citation_agreement_95_interval":[0.917,0.945],"review_comments_accurate":0.758,"review_comments_accurate_95_interval":[0.684,0.82],"review_caught_admitted_error_found_or_related":0.448,"review_comments_judged":{"judged_by":["gpt-5.6-luna","grok-4.7"],"judged_against":"Pith's own text copy of each paper: text extracted from the PDF, the first 90,000 characters","measured_on":"2026-10-04","accurate":113,"decided":149,"sampled_reviews":200,"split_by_lane":false,"by_lane":"https://pith.science/accuracy#by-lane"}}}