arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.17284cs.LGcs.DBcs.IR
收藏

文本分类任务中冷启动主动学习的一种新颖两步微调流水线

A Novel Two-Step Fine-Tuning Pipeline for Cold-Start Active Learning in Text Classification Tasks

Federal University of Minas Gerais(米纳斯吉拉斯联邦大学);Federal University of São João del-Rei(圣若昂德尔雷伊联邦大学)

Fabiano Belém, Washington Cunha, Celso França, Claudio Andrade, Leonardo Rocha, Marcos André Gonçalves

AI总结:

本文提出两步微调流水线DoTCAL,通过领域适应和主动学习选择数据缓解冷启动场景下标注数据缺乏问题,在8个基准上Macro-F1提升达33%且标注量减半,并发现BoW和LSI在低预算下优于BERT。

摘要:

这是第一项研究在冷启动场景下基于BERT的上下文嵌入在主动学习(AL)任务中有效性的工作,在这些场景中,由于缺乏标注数据,传统微调不可行。我们的主要贡献是提出了一种更鲁棒的微调流水线——DoTCAL——它通过两个步骤减少AL对标注数据的依赖:(1)通过掩码语言建模对嵌入进行领域适应,充分利用未标注数据;(2)使用AL选择的标注数据进一步调整模型权重。我们的评估在AL过程的两个关键阶段(实例选择和分类)将基于BERT的嵌入与其他流行的文本表示范式进行对比,包括词袋(BoW)、潜在语义索引(LSI)和FastText。在8个ATC基准上进行的实验,使用不同的AL预算(标注实例数量)和实例数量(约5,000到300,000),证明了DoTCAL的卓越有效性,与传统一步法相比,Macro-F1提升高达33%,同时将标注工作量减半。我们还发现,在多项任务中,BoW和LSI(由于信息聚合)产生的结果优于BERT(高达59%),特别是在低预算场景和难以分类的任务中,这相当令人惊讶。

英文摘要:

This is the first work to investigate the effectiveness of BERT-based contextual embeddings in active learning (AL) tasks on cold-start scenarios, where traditional fine-tuning is infeasible due to the absence of labeled data. Our primary contribution is the proposal of a more robust fine-tuning pipeline - DoTCAL - that diminishes the reliance on labeled data in AL using two steps: (1) fully leveraging unlabeled data through domain adaptation of the embeddings via masked language modeling and (2) further adjusting model weights using labeled data selected by AL. Our evaluation contrasts BERT-based embeddings with other prevalent text representation paradigms, including Bag of Words (BoW), Latent Semantic Indexing (LSI), and FastText, at two critical stages of the AL process: instance selection and classification. Experiments conducted on eight ATC benchmarks with varying AL budgets (number of labeled instances) and number of instances (about 5,000 to 300,000) demonstrate DoTCAL's superior effectiveness, achieving up to a 33% improvement in Macro-F1 while reducing labeling efforts by half compared to the traditional one-step method. We also found that in several tasks, BoW and LSI (due to information aggregation) produce results superior (up to 59% ) to BERT, especially in low-budget scenarios and hard-to-classify tasks, which is quite surprising.

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

↑