arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.27142cs.CLcs.AIcs.LG
收藏

ICLHerd:以上下文学习为代理的基于聚集的大语言模型数据选择方法

ICLHerd: Herding-Based Data Selection for LLMs with In-Context Learning as a Proxy

University of Alberta(阿尔伯塔大学);Alberta Machine Intelligence Institute (Amii)(阿尔伯塔机器智能研究所);CIFAR AI(加拿大高级研究院人工智能项目)

Yuqiao Wen, Lili Mou

AI总结:

ICLHerd是一种以上下文学习为代理、利用von Mises-Fisher核平衡模式寻求与模式平均的LLM数据选择框架,性能优于现有同类算法。

摘要:

数据选择在现代大语言模型(LLM)训练中占据核心地位,因为训练数据的质量会强烈影响下游任务的性能。一种常见方法是整理包含所需技能(如推理或多语言能力)的开发集,并选择与该开发集相似的数据。现有方法通过模型的隐藏状态或梯度计算余弦距离来衡量相似性,但我们发现这种最大相似性策略会产生模式寻求偏差:所选数据会紧密聚集在开发样本周围。为解决该问题,我们提出ICLHerd,这是一种利用von Mises-Fisher核来平衡模式寻求与模式平均的数据选择框架。我们还引入上下文学习作为验证代理,可在该权衡上进行高效的超参数搜索。结果表明,ICLHerd的性能优于现有的LLM数据选择算法,凸显了平衡模式寻求与模式平均的重要性。

英文摘要:

Data selection plays a central role in modern large language model training, as the quality of training data strongly influences downstream performance. A common approach is to curate a development set that encodes the desired skills (e.g., reasoning or multilinguality) and select data that are similar to them. Existing methods compute similarity using cosine distance over either the model's hidden states or gradients. However, we observe that this max-similarity strategy induces a mode-seeking bias: the selected data clusters tightly around the development samples. To address this, we propose ICLHerd, a data selection framework that leverages the von Mises-Fisher kernel to balance mode-seeking with mode-averaging. We further introduce in-context learning as a validation proxy, enabling efficient hyperparameter search over the balance trade-off. Results show that ICLHerd outperforms existing LLM data selection algorithms, highlighting the importance of balancing mode-seeking and mode-averaging.

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

↑