arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.08112cs.CL
收藏

一种有效的法律文本分类主动学习管道

An Efficient Active Learning Pipeline for Legal Text Classification

EPFL(洛桑联邦理工学院)

Sepideh Mamooler, Rémi Lebret, Stéphane Massonnet, Karl Aberer

摘要:

主动学习(AL)是一种强大的工具,用于使用较少标记的数据进行学习,特别是对于专业领域,如法律文档,其中未标记的数据丰富,但注释需要领域专业知识,因此成本很高。最近的工作表明,AL策略的有效性预训练的语言模型。然而,大多数AL策略需要一组标记的样本开始,这是昂贵的获取。此外,预训练的语言模型在小数据集的微调过程中表现出不稳定性,并且它们的嵌入在语义上没有意义。在这项工作中,我们提出了一个管道,有效地使用主动学习与预先训练的语言模型在法律领域。为此,我们在三个阶段利用可用的未标记数据。首先,我们继续对模型进行预训练,使其适应下游任务。其次,我们使用知识蒸馏来引导模型的嵌入到语义上有意义的空间。最后,我们提出了一个简单而有效的策略,与现有方法相比,使用更少的操作来找到标记样本的初始集合。我们的实验合同NLI,适应分类任务,LEDGAR基准测试表明,我们的方法优于标准AL策略,更有效。此外,我们的流水线达到了与完全监督方法相当的结果,性能差距很小,并大大降低了注释成本。将提供代码和经过调整的数据。

英文摘要:

Active Learning (AL) is a powerful tool for learning with less labeled data, in particular, for specialized domains, like legal documents, where unlabeled data is abundant, but the annotation requires domain expertise and is thus expensive. Recent works have shown the effectiveness of AL strategies for pre-trained language models. However, most AL strategies require a set of labeled samples to start with, which is expensive to acquire. In addition, pre-trained language models have been shown unstable during fine-tuning with small datasets, and their embeddings are not semantically meaningful. In this work, we propose a pipeline for effectively using active learning with pre-trained language models in the legal domain. To this end, we leverage the available unlabeled data in three phases. First, we continue pre-training the model to adapt it to the downstream task. Second, we use knowledge distillation to guide the model's embeddings to a semantically meaningful space. Finally, we propose a simple, yet effective, strategy to find the initial set of labeled samples with fewer actions compared to existing methods. Our experiments on Contract-NLI, adapted to the classification task, and LEDGAR benchmarks show that our approach outperforms standard AL strategies, and is more efficient. Furthermore, our pipeline reaches comparable results to the fully-supervised approach with a small performance gap, and dramatically reduced annotation cost. Code and the adapted data will be made available.

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

↑