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

对目标指令选择的批判性审视:厘清什么重要(以及什么不重要)

A Critical Look at Targeted Instruction Selection: Disentangling What Matters (and What Doesn't)

Harvard University(哈佛大学);MIT(麻省理工学院);Kempner Institute(凯门研究所)

Nihal V. Nayak, Paula Rodriguez-Diaz, Neha Hulkund, Sara Beery, David Alvarez-Melis

AI总结:

本文系统解构指令微调中目标指令选择的两大核心要素——数据表示与选择算法,发现基于梯度的表示结合贪心轮询选择在低预算下表现最佳,但收益随预算增加而减弱,并统一了多种算法为近似距离最小化。

摘要:

大型语言模型(LLM)的指令微调通常涉及从大型候选池中选择一个指令训练子集,使用来自目标任务的小型查询集。尽管兴趣日益增长,关于目标指令选择的文献仍然支离破碎且不透明:方法在选择预算上差异很大,经常省略零样本基线,并且常常混淆关键组件的贡献。因此,实践者缺乏针对其目标任务选择指令的可操作指导。在这项工作中,我们旨在通过解构和系统分析两个核心要素:数据表示和选择算法,为这一领域带来清晰度。我们的框架支持跨模型、任务和预算的受控比较。我们发现,只有基于梯度的数据表示选择的子集,其与查询的相似性能够一致地预测跨数据集、模型和候选池的性能。虽然没有单一方法占主导地位,但基于梯度的表示与贪心轮询选择相结合,在低预算下平均表现最佳,但这些收益在较大预算下会减弱。最后,我们将几种现有的选择算法统一为所选子集与查询集之间近似距离最小化的形式,并用新的泛化界限支持这一观点。更广泛地说,我们的发现为LLM微调中更原则性的数据选择提供了关键见解和基础。代码可在该 https URL 获取。

英文摘要:

Instruction fine-tuning of large language models (LLMs) often involves selecting a subset of instruction training data from a large candidate pool, using a small query set from the target task. Despite growing interest, the literature on targeted instruction selection remains fragmented and opaque: methods vary widely in selection budgets, often omit zero-shot baselines, and frequently entangle the contributions of key components. As a result, practitioners lack actionable guidance on selecting instructions for their target tasks. In this work, we aim to bring clarity to this landscape by disentangling and systematically analyzing the two core ingredients: data representation and selection algorithms. Our framework enables controlled comparisons across models, tasks, and budgets. We find that only gradient-based data representations choose subsets whose similarity to the query consistently predicts performance across datasets, models, and candidate pools. While no single method dominates, gradient-based representations paired with greedy round-robin selection often perform best on average at low budgets, but these gains diminish at larger budgets. Finally, we unify several existing selection algorithms as forms of approximate distance minimization between the selected subset and the query set, and support this view with new generalization bounds. More broadly, our findings provide critical insights and a foundation for more principled data selection in LLM fine-tuning. The code is available at https://github.com/dcml-lab/targeted-instruction-selection.

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

↑