arXiv:2508.11551stat.MLcs.AI2025-08被引 5

用贝叶斯优化加速大模型训练数据配比搜索,效率提升超5倍。

ADMIRE-BayesOpt: Accelerated Data MIxture RE-weighting for Language Models with Bayesian Optimization

  • 将数据混合比例选择视为黑箱超参优化问题,采用多保真贝叶斯优化平衡成本与性能。
  • 在100万至70亿参数模型上验证,相较基线提速超500%确定最优数据配比。
  • 开源460次完整训练记录(超13000 GPU小时),降低研究门槛。

确定大语言模型训练的最佳数据混合比例仍是一个极具挑战性的问题,对模型性能影响显著。实践中,开发者仍依赖启发式探索,因缺乏可靠的基于学习的方法。本文将数据混合学习建模为序列决策问题,旨在平衡训练代理模型的计算成本与最终混合性能。系统研究了小规模学习的混合比例向大规模实验迁移的可行性,提出多保真贝叶斯优化作为该场景下的合适方法,自然地实现实验成本与模型拟合之间的权衡,避免在小规模上过拟合,同时最小化高成本实验次数。我们在100万至70亿参数模型上进行预训练和指令微调实验,涵盖多种架构与数十个数据集。结果表明,相比多种基线,本方法表现稳定优异,在最大规模实验中确定最优混合比例的速度提升超过500%。此外,我们公开了ADMIRE IFT Runs数据集,包含460次完整训练与评估运行,总计超过13,000 GPU小时,极大降低了该领域研究的成本。

原文摘要 · Abstract (English)

Determining the optimal data mixture for large language model training remains a challenging problem with an outsized impact on performance. In practice, language model developers continue to rely on heuristic exploration since no learning-based approach has emerged as a reliable solution. In this work, we propose to view the selection of training data mixtures as a black-box hyperparameter optimization problem, for which Bayesian Optimization is a well-established class of appropriate algorithms. Firstly, we cast data mixture learning as a sequential decision-making problem, in which we aim to find a suitable trade-off between the computational cost of training exploratory (proxy-) models and final mixture performance. Secondly, we systematically explore the properties of transferring mixtures learned at a small scale to larger-scale experiments, providing insights and highlighting opportunities for research at a modest scale. By proposing Multi-fidelity Bayesian Optimization as a suitable method in this common scenario, we introduce a natural framework to balance experiment cost with model fit, avoiding the risks of overfitting to smaller scales while minimizing the number of experiments at high cost. We present results for pre-training and instruction finetuning across models ranging from 1 million to 7 billion parameters, varying from simple architectures to state-of-the-art models and benchmarks spanning dozens of datasets. We demonstrate consistently strong results relative to a wide range of baselines, resulting inspeed-ups of over 500% in determining the best data mixture on our largest experiments. In addition, we broaden access to research by sharing ADMIRE IFT Runs, a dataset of 460 full training & evaluation runs worth over 13,000 GPU hours, greatly reducing the cost of conducting research in this area.

大模型训练贝叶斯优化数据混合高效训练

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