DAiSy:用自适应效用估计实现LLM预训练在线数据选择
DAiSy: Online Data Selection by Adaptive Utility Estimation for LLM Pretraining
DAiSy是一种轻量线性辅助模型,从冻结文档嵌入预测数据效用分数,替代需对每个候选文档做完整前向-反向传播的梯度打分方式,打分只需一次线性变换。该线性估计器随主语言模型同步更新,拟合常规训练反向传播得到的梯度效用分数。在英文与多语言LLM预训练场景中验证了其有效性与效率,且改进可延续至指令微调阶段。
arXiv:2611.32294v1 Announce Type: new Abstract: 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org