arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.21840cs.CLcs.AI
收藏

选择、标注、评估:自然语言处理中的主动测试

Select, Label, Evaluate: Active Testing in NLP

Amazon(亚马逊);Sapienza University of Rome(罗马萨皮恩扎大学);Inria(法国国家信息与自动化技术研究院);CNRS(法国国家科学研究中心)

Antonio Purificato, Maria Sofia Bucarelli, Andrea Bacciu, Fabrizio Silvestri, Amin Mantrach

AI总结:

本文提出主动测试框架,通过选择最具信息量的测试样本减少标注成本,实验显示在18个数据集上标注减少达95%,性能估计误差小于1%。

摘要:

人类标注成本和时间仍是自然语言处理(NLP)中的主要瓶颈,测试数据标注尤其昂贵,因为需要高质量标签以可靠评估模型性能。传统方法要求标注整个测试集,导致资源消耗大。主动测试是一种框架,旨在在给定标注预算下选择最能估计模型性能的子集,同时最小化成本和人力。本文在18个数据集和4种嵌入策略上对现有方法进行了广泛基准测试,实验显示标注减少可达95%,性能估计误差与完整测试集相差小于1%。分析显示不同数据特征和任务类型下方法效果存在差异,无单一方法在所有情况下均优于其他方法。最后,为解决现有样本选择策略需要预定义标注预算的限制,我们引入了自适应停止准则,自动确定最优样本数量。

英文摘要:

Human annotation cost and time remain significant bottlenecks in Natural Language Processing (NLP), with test data annotation being particularly expensive due to the stringent requirement for low-error and high-quality labels necessary for reliable model evaluation. Traditional approaches require annotating entire test sets, leading to substantial resource requirements. Active Testing is a framework that selects the most informative test samples for annotation. Given a labeling budget, it aims to choose the subset that best estimates model performance while minimizing cost and human effort. In this work, we formalize Active Testing in NLP and we conduct an extensive benchmarking of existing approaches across 18 datasets and 4 embedding strategies spanning 4 different NLP tasks. The experiments show annotation reductions of up to 95%, with performance estimation accuracy difference from the full test set within 1%. Our analysis reveals variations in method effectiveness across different data characteristics and task types, with no single approach emerging as universally superior. Lastly, to address the limitation of requiring a predefined annotation budget in existing sample selection strategies, we introduce an adaptive stopping criterion that automatically determines the optimal number of samples. We release our code at https://github.com/amazon-science/NLPActiveTesting.

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

↑