arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.32294cs.LGcs.AI
收藏

DAiSy:用于LLM预训练的基于自适应效用估计的在线数据选择

DAiSy: Online Data Selection by Adaptive Utility Estimation for LLM Pretraining

EPFL(洛桑联邦理工学院)

Simin Fan, Martin Jaggi

AI总结:

DAiSy是一种轻量级线性辅助模型,用于LLM预训练的在线数据选择,可高效预测数据效用分数,绕过昂贵的梯度对齐计算,其改进在指令微调阶段仍有效。

摘要:

感知模型的在线数据选择会根据模型当前状态优先选择贡献最大的训练文档。现有在线选择器基于梯度的数据效用分数对候选文档排序,这需要主模型对每个候选文档进行完整的前向-反向传播,因此对每个文档评分的计算量与在该文档上训练相当,但仅小部分用于实际模型更新。我们提出DAiSy,一种轻量级线性辅助模型,从冻结的文档嵌入中学习预测数据效用分数,消除了计算开销和基础设施负担。该线性估计器与主语言模型同步更新,适配常规训练步骤反向传播得到的精确基于梯度的效用分数。因此,对候选文档评分仅需线性变换,绕过了昂贵的梯度对齐计算。我们在英语和多语言场景、多种引导目标设计下,验证了其在LLM预训练中的有效性和效率,DAiSy带来的改进在指令微调阶段仍能持续保持。

英文摘要:

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.

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

↑