2025-05-09 · 进阶 · 机器学习 · 自然语言处理

ICon: In-Context Contribution for Automatic Data Selection

该论文提出了一种名为ICON的新型数据选择方法,通过利用上下文学习(ICL)的隐式微调特性,无需梯度计算或人工设计启发式方法即可测量样本贡献,从而提高大型语言模型(LLMs)的性能并降低训练成本。

更新于 2025-05-12。作者:Yixin Yang、Qingxiu Dong、Linli Yao、Fangwei Zhu、Zhifang Sui。

中文摘要

数据选择对于指导调整至关重要,它能够提升大型语言模型(LLMs)的性能并降低训练成本。然而,现有的自动化选择方法要么依赖于计算成本高昂的基于梯度的度量,要么依赖于手动设计的启发式算法,这可能导致无法充分利用数据的内在属性。在本文中,我们提出了一个新颖的无梯度方法——情境学习贡献度量(ICon),该方法利用情境学习(ICL)的隐式微调特性来衡量样本贡献,而无需进行梯度计算或手动指标工程。ICon为基于梯度的方法提供了一个计算效率更高的替代方案,并减少了基于启发式算法的固有的人类归纳偏差。ICon包含三个组件,通过ICL下的隐式学习评估性能变化来识别高贡献数据。在三个LLMs的12个基准和5个成对评估集上进行的广泛实验证明了ICon的有效性。值得注意的是,在LLaMA3.1-8B上,使用ICon选择的15%数据训练的模型比完整数据集高出5.42个百分点,并且超过了广泛使用的选择方法的最佳性能2.06个百分点。我们进一步分析了ICon选择的高贡献样本,这些样本显示出多样化的任务和适当的难度水平,而不仅仅是难度最大的任务。

英文摘要

Data selection for instruction tuning is essential for improving the performance of Large Language Models (LLMs) and reducing training cost. However, existing automated selection methods either depend on computationally expensive gradient-based measures or manually designed heuristics, which may fail to fully exploit the intrinsic attributes of data. In this paper, we propose In-context Learning for Contribution Measurement (ICon), a novel gradient-free method that takes advantage of the implicit fine-tuning nature of in-context learning (ICL) to measure sample contribution without gradient computation or manual indicators engineering. ICon offers a computationally efficient alternative to gradient-based methods and reduces human inductive bias inherent in heuristic-based approaches. ICon comprises three components and identifies high-contribution data by assessing performance shifts under implicit learning through ICL. Extensive experiments on three LLMs across 12 benchmarks and 5 pairwise evaluation sets demonstrate the effectiveness of ICon. Remarkably, on LLaMA3.1-8B, models trained on 15% of ICon-selected data outperform full datasets by 5.42% points and exceed the best performance of widely used selection methods by 2.06% points. We further analyze high-contribution samples selected by ICon, which show both diverse tasks and appropriate difficulty levels, rather than just the hardest ones.

解读

一句话总结

该论文提出了一种名为ICON的新型数据选择方法,通过利用上下文学习(ICL)的隐式微调特性,无需梯度计算或人工设计启发式方法即可测量样本贡献,从而提高大型语言模型(LLMs)的性能并降低训练成本。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源