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

选择混合数据,而非单个样本:面向大语言模型的组合式数据选择

Pick the Mixture, Not the Samples: Combinatorial Data Selection for LLMs

Carnegie Mellon University(卡内基梅隆大学);University of California, Santa Cruz(加州大学圣克鲁兹分校)

Luyang Zhang, Jialu Wang, Bebei Li

AI总结:

针对LLM微调的数据选择存在样本交互非加性等问题,提出组合式数据选择框架及“先混合后选择”算法,在多场景下性能优于基线,为高效数据选择提供新路径。

摘要:

大语言模型(LLM)微调的数据选择面临真实训练中的两个核心事实:数据池来自多个不同领域,评估则覆盖多样化任务。因此,同一样本对不同任务的帮助程度存在差异,且样本在训练过程中会产生交互,使得一个子集的价值并非其组成样本价值的简单总和。当前的数据选择方法基本未解决这些现实问题。我们将其形式化为组合式数据选择(Combinatorial Data Selection, CDS)框架,该框架将归因(如何对样本打分)与选择(选取哪个子集)分离,并对样本间的非加性交互进行建模。在一个真实的指令微调数据池上,我们发现了显著的跨领域互补性(联合效用超过单个样本效用的总和),同时领域内部存在冗余。受此启发,我们提出了“先混合后选择”(Mixture-then-Select)两阶段算法:首先确定从每个领域选取的样本数量,再按归因分数对每个领域内的样本进行排序。理论上,该算法与最优子集的差距随选择规模线性变化,且与数据池规模无关。实验表明,“先混合后选择”算法的性能较强大基线方法提升了20%至54%,对归因方法具有鲁棒性,且适用于不同模型和不同数据池规模。该框架还可扩展至样本价格不同时受预算约束的数据采购问题。我们的研究结果表明,跨领域分配选择资源为现代LLM更高效、更有效的数据选择提供了一条有前景的路径。

英文摘要:

Data selection for LLM fine-tuning faces two facts about real training: data pools draw from many distinct domains, and evaluation spans diverse tasks. As a result, the same sample helps different tasks differently, and samples interact during training so that a subset's value is not the sum of its parts. Current data-selection methods leave these realities largely unaddressed. We formalize them as Combinatorial Data Selection (CDS), a framework that separates attribution (how samples are scored) from selection (which subset to pick) and models the non-additive interactions among samples. On a real instruction-tuning data pool, we find substantial cross-domain complementarity (joint utility exceeds the sum of singletons), alongside redundancy within domains. Inspired by this, we propose Mixture-then-Select, a two-stage algorithm that first decides how many samples to take from each domain, then ranks samples within each domain by attribution score. Theoretically, the gap to the optimal subset is linear in the selection size and independent of data pool size. Empirically, Mixture-then-Select outperforms strong baselines by 20 to 54%, is robust across attribution methods, and works across different models and data pool sizes. The framework also extends to the data purchasing problem under a budget constraint when sample prices vary. Our findings suggest that allocating selection across domains offers a promising path toward more efficient and effective data selection for modern LLMs.

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

↑