arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.05972cs.CLcs.LG
收藏

NLP的小额索赔法院:用小型数据集评判法律文本分类策略

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

Universidade Federal do Paraná(巴拉那联邦大学);Ministério Público do Paraná(巴拉那州检察院);SAP SE(思爱普公司)

Mariana Yukari Noguti, Edduardo Vellasques, Luiz Eduardo Soares Oliveira

AI总结:

本文针对法律领域葡萄牙语标注数据稀缺问题,比较多种文本分类策略,发现结合BERT、数据增强与半监督学习的UDA在50类诉求分类中取得80.7%的最佳准确率。

摘要:

语言建模的最新进展显著降低了文本分类任务对标注数据的需求。在无标注数据上预训练的基于Transformer的模型,其性能能够超过为每项任务从头训练的模型。然而,对于需要专家级标注人员的领域(如法律领域),微调此类模型所需的标注数据量仍然相当高。本文研究了优化使用小型标注数据集和大量无标注数据的最佳策略,并在法律领域执行一项包含50个预定义主题的分类任务。更具体地说,我们使用向巴西公共检察厅提出的诉求记录,旨在将描述分配到其中一个主题,而目前这项工作需要深厚的法律知识来手工填写。鉴于葡萄牙语(尤其是法律领域)可用资源较少,在这种场景下优化分类器性能的任务尤其具有挑战性。我们的结果表明,与BERT语言模型相比,逻辑回归和SVM等经典监督模型,以及随机森林和梯度提升集成模型,在结合word2vec提取的嵌入时取得了更好的性能。BERT在将模型自身架构作为分类器时表现出优越性能,在这方面超过了此前所有模型。最佳结果由无监督数据增强(Unsupervised Data Augmentation,UDA)获得,该方法联合使用BERT、数据增强和半监督学习策略,在上述任务中取得了80.7%的准确率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑