主动测试让标注更省力,仅用5%样本就能准评估模型性能。
Select, Label, Evaluate: Active Testing in NLP
- 基于信息量筛选最值得标注的测试样本,减少人工成本。
- 实验显示最高可节省95%标注量,性能评估误差低于1%。
- 新增自适应停止机制,无需预设标注预算,适合实际部署。
人工标注在自然语言处理中仍是主要瓶颈,尤其是测试集标注因需高质量低误差标签而代价高昂。传统方法需标注完整测试集,资源消耗大。本文提出主动测试(Active Testing)框架,通过选择最具信息量的测试样本,在给定标注预算下最优估计模型性能。我们在18个数据集、4种嵌入策略和4类NLP任务上进行了广泛评测,结果表明标注量最多可减少95%,性能估计与全集对比误差小于1%。分析发现不同方法在数据特性和任务类型间表现差异显著,无统一最优方案。此外,针对现有方法需预设标注预算的局限,我们提出自适应停止准则,自动确定最优样本数。代码已开源:https://github.com/amazon-science/NLPActiveTesting。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。