SPICE:基于子模惩罚的信息冲突选择用于高效大语言模型训练
SPICE: Submodular Penalized Information-Conflict Selection for Efficient Large Language Model Training
AI总结:
SPICE通过惩罚信息冲突提升大语言模型训练效率,利用子模惩罚优化信息选择,在减少数据量的同时实现性能提升。
摘要:
基于信息的数据选择用于指令微调是具有吸引力的:最大化 Fisher 信息量的对数行列式会得到一个单调子模目标函数,使贪心算法能够在给定基数预算下达到 (1-1/e) 的近似解。然而在实践中,我们发现缓解梯度冲突、样本间梯度不一致是关键因素,会减缓边际对数行列式信息增益的衰减,从而防止信息的显著损失。我们通过 ε 分解来正式化这一问题,将偏离理想子模性的程度作为冲突统计函数来量化,得到数据依赖的近似因子,随着冲突减少而收紧。基于这一分析,我们提出 SPICE,一个具有冲突意识的选择器,它在信息最大化的同时惩罚不一致,并支持早期停止和代理模型以提高效率。实证上,SPICE 选择的子集比原始标准具有更高的对数行列式信息,这些信息增益转化为性能提升:在 8 个基准测试中使用 LLaMA2-7B 和 Qwen2-7B,SPICE 只使用 10% 的数据,却与包括全数据微调在内的 6 种方法匹配或超过。这在显著降低训练成本的情况下实现了性能提升。
英文摘要:
Information-based data selection for instruction tuning is compelling: maximizing the log-determinant of the Fisher information yields a monotone submodular objective, enabling greedy algorithms to achieve a $(1-1/e)$ approximation under a cardinality budget. In practice, however, we identify alleviating gradient conflicts, misalignment between per-sample gradients, is a key factor that slows down the decay of marginal log-determinant information gains, thereby preventing significant loss of information. We formalize this via an $\varepsilon$-decomposition that quantifies the deviation from ideal submodularity as a function of conflict statistics, yielding data-dependent approximation factors that tighten as conflicts diminish. Guided by this analysis, we propose SPICE, a conflict-aware selector that maximizes information while penalizing misalignment, and that supports early stopping and proxy models for efficiency. Empirically, SPICE selects subsets with higher log-determinant information than original criteria, and these informational gains translate into performance improvements: across 8 benchmarks with LLaMA2-7B and Qwen2-7B, SPICE uses only 10% of the data, yet matches or exceeds 6 methods including full-data tuning. This achieves performance improvements with substantially lower training cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。