arXiv:2502.14709cs.CLcs.LG2025-02NeurIPS被引 10

通过关系建模提升预训练数据选择效率,显著加快模型训练速度。

Group-Level Data Selection for Efficient Pretraining

  • 用关系影响模型替代传统逐样本筛选,实现组级高效选数。
  • 在22个下游任务上相对随机选数提升3.5%-9.4%,最多节省1.75倍训练量。
  • 适合追求高效预训练的团队,尤其对资源受限场景有帮助。

本文提出Group-MATES,一种高效的组级数据选择方法,旨在优化语言模型预训练的速度与质量平衡。该方法通过关系数据影响模型参数化高成本的组级筛选过程:通过采样语言模型训练轨迹并收集真实数据影响作为监督信号,模型利用数据间关系权重对个体影响进行加权近似。为实现高效推理,基于关系权重将数据集划分为小簇,并在各簇内独立选数。在DCLM 400M-4x、1B-1x和3B-1x三个规模下实验表明,Group-MATES在22个下游任务上相比随机选数取得3.5%-9.4%的相对性能提升,近乎翻倍于现有最优个体数据选择方法的改进。同时,达到相同下游性能所需训练令牌数最多减少1.75倍,显著提升训练速度与质量的权衡边界。进一步分析揭示关系权重在模型中的关键作用及分簇推理的有效性。代码已开源至https://github.com/facebookresearch/Group-MATES。

原文摘要 · Abstract (English)

In this paper, we introduce Group-MATES, an efficient group-level data selection approach to optimize the speed-quality frontier of language model pretraining. Specifically, Group-MATES parameterizes costly group-level selection with a relational data influence model. To train this model, we sample training trajectories of the language model and collect oracle data influences alongside. The relational data influence model approximates the oracle data influence by weighting individual influence with relationships among training data. To enable efficient selection with our relational data influence model, we partition the dataset into small clusters using relationship weights and select data within each cluster independently. Experiments on DCLM 400M-4x, 1B-1x, and 3B-1x show that Group-MATES achieves 3.5%-9.4% relative performance gains over random selection across 22 downstream tasks, nearly doubling the improvements achieved by state-of-the-art individual data selection baselines. Furthermore, Group-MATES reduces the number of tokens required to reach a certain downstream performance by up to 1.75x, substantially elevating the speed-quality frontier. Further analyses highlight the critical role of relationship weights in the relational data influence model and the effectiveness of our cluster-based inference. Our code is open-sourced at https://github.com/facebookresearch/Group-MATES.

数据选择预训练效率优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。