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

优化预训练数据混合:基于数据专家模型混合的方法

Optimizing Pre-Training Data Mixtures with Mixtures of Data Expert Models

Google DeepMind(谷歌DeepMind);Google Research(谷歌研究院)

Lior Belenki, Alekh Agarwal, Tianze Shi, Kristina Toutanova

AI总结:

提出通过数据专家混合高效近似候选数据混合的交叉熵损失,以优化预训练数据混合,在SlimPajama上显著优于仅用混合比例的回归方法,并提升少样本下游性能。

摘要:

我们提出了一种通过数据专家混合(MDE)高效近似每种候选混合对应的交叉熵损失,从而优化语言模型预训练数据混合的方法。我们将这种近似作为回归模型中的附加特征来源,该回归模型基于少量混合的模型损失观测进行训练。在SlimPajama数据集上,对参数规模在70M到1B之间的Transformer解码器-only语言模型进行的实验表明,我们的方法显著优于仅使用混合比例作为输入特征训练回归模型的方法。将这种改进的优化方法与考虑端任务数据交叉熵的目标相结合,在少样本下游评估中取得了更优的性能。我们还提供了理论见解,解释了为何数据专家预测的聚合能够为数据混合的模型损失提供良好的近似。

英文摘要:

We propose a method to optimize language model pre-training data mixtures through efficient approximation of the cross-entropy loss corresponding to each candidate mixture via a Mixture of Data Experts (MDE). We use this approximation as a source of additional features in a regression model, trained from observations of model loss for a small number of mixtures. Experiments with Transformer decoder-only language models in the range of 70M to 1B parameters on the SlimPajama dataset show that our method achieves significantly better performance than approaches that train regression models using only the mixture rates as input features. Combining this improved optimization method with an objective that takes into account cross-entropy on end task data leads to superior performance on few-shot downstream evaluations. We also provide theoretical insights on why aggregation of data expert predictions can provide good approximations to model losses for data mixtures.

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

↑