DAiSy:用轻量线性辅助模型为 LLM 预训练做在线数据选择
DAiSy: Online Data Selection by Adaptive Utility Estimation for LLM Pretraining
打分一篇文档原来要跑一遍完整反向传播,DAiSy 用一个小线性模型代替,打分只剩一次线性变换。做预训练数据配比、多语种 data curation 的团队可以看看这套机制怎么落地。
论文提出 DAiSy,一个用于 LLM 预训练的在线数据选择方法。现有的 model-aware 在线选择器依赖基于梯度的数据效用分数,需要对每篇候选文档做完整的前向-反向传播,打分成本几乎等于训练本身,但真正被选入训练的数据只占一小部分。
DAiSy 的做法是引入一个轻量的线性辅助模型,从冻结的文档 embedding 直接预测数据效用分数。这个线性估计器与主语言模型同步更新,以常规训练步骤反向传播得到的梯度效用分数为拟合目标。于是给候选文档打分只需一次线性变换,绕过了昂贵的梯度对齐计算。
作者在英文和多语言预训练场景、多种 steering 目标设计下验证了该方法的有效性和效率,并指出 DAiSy 带来的提升能在 instruction-tuning 阶段持续保留。对需要低成本做 data curation 的预训练团队而言,这类打分机制提供了替代全量梯度计算的路径。
DAiSy: Online Data Selection by Adaptive Utility Estimation for LLM Pretraining
Model-aware online data selection prioritizes the training documents that contribute the most given the model's current state. Existing online selectors rank candidates upon gradient-based data utility scores, which requires the full forward-backward pass of the main model on every candidate document. Scoring each document therefore pays as much as training on it, yet only a small fraction is used for the real model update. We introduce DAiSy, a lightweight linear auxiliary model that learns to predict data utility scores from frozen document embeddings, which eliminates the computation overhead and infrastructure burdens. The linear estimator is updated alongside the main language model, fitting to the exact gradient-based utility scores obtained from the backward pass of regular training steps. Consequently, scoring a candidate requires only a linear transformation, bypassing the costly gradient-alignment computation. We demonstrate its effectiveness and efficiency for LLM pretraining in English and multilingual scenarios, with various steering target designs. The improvements from DAiSy can consistently survive the instruction-tuning phase.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:DAiSy、数据选择、预训练,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Simin Fan, Martin Jaggi),经 AITOP 多维评分管线结构化提炼。