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

数据混合优化:一种多保真度多尺度贝叶斯框架

Data Mixture Optimization: A Multi-fidelity Multi-scale Bayesian Framework

Columbia Business School(哥伦比亚商学院)

Thomson Yen, Andrew Wei Tung Siah, Haozhe Chen, Tianyi Peng, Daniel Guetta, Hongseok Namkoong

AI总结:

本文提出一种概率外推的多保真度多尺度贝叶斯优化框架,用于数据混合优化,通过自适应选择数据混合、模型规模和训练步数,在20M至1B参数模型上实现2.6倍和3.3倍加速,显著提升预训练效率。

摘要:

精心策划数据源可以显著提升大语言模型预训练的性能,但主流方法严重依赖直觉或代价高昂的试错过程,这使得它们难以推广到不同的数据领域和下游任务。尽管缩放定律可以为数据策划提供一种有原则且通用的方法,但从小型实验到更大规模的标准确定性外推要求对该外推的可靠性有强假设,而先前的研究已强调了这种假设的脆弱性。在本文中,我们引入了一个用于数据混合优化的概率外推框架,该框架避免了刚性假设,并显式地建模了决策变量上性能的不确定性。我们将数据策划表述为一个序列决策问题——多保真度、多尺度贝叶斯优化——其中数据混合、模型规模和训练步数被自适应地选择,以平衡训练成本和潜在的信息增益。我们的框架自然产生了算法原型,这些原型利用来自廉价实验的噪声信息来系统地指导昂贵的训练决策。为了加速方法论的进展,我们基于SlimPajama数据集中472次具有不同数据组成的语言模型预训练运行构建了一个模拟器。我们观察到,即使是简单的核函数和采集函数也能在从20M到1B参数的训练模型中实现有原则的决策,并相比多保真度贝叶斯优化和随机搜索基线实现了2.6倍和3.3倍的加速。综合来看,我们的框架强调了通过开发有原则且可迁移的数据混合优化方法所能实现的潜在效率提升。

英文摘要:

Careful curation of data sources can significantly improve the performance of LLM pre-training, but predominant approaches rely heavily on intuition or costly trial-and-error, making them difficult to generalize across different data domains and downstream tasks. Although scaling laws can provide a principled and general approach for data curation, standard deterministic extrapolation from small-scale experiments to larger scales requires strong assumptions on the reliability of such extrapolation, whose brittleness has been highlighted in prior works. In this paper, we introduce a $\textit{probabilistic extrapolation framework}$ for data mixture optimization that avoids rigid assumptions and explicitly models the uncertainty in performance across decision variables. We formulate data curation as a sequential decision-making problem$\unicode{x2013}$multi-fidelity, multi-scale Bayesian optimization$\unicode{x2013}$where $\{$data mixtures, model scale, training steps$\}$ are adaptively selected to balance training cost and potential information gain. Our framework naturally gives rise to algorithm prototypes that leverage noisy information from inexpensive experiments to systematically inform costly training decisions. To accelerate methodological progress, we build a simulator based on 472 language model pre-training runs with varying data compositions from the SlimPajama dataset. We observe that even simple kernels and acquisition functions can enable principled decisions across training models from 20M to 1B parameters and achieve $\textbf{2.6x}$ and $\textbf{3.3x}$ speedups compared to multi-fidelity BO and random search baselines. Taken together, our framework underscores potential efficiency gains achievable by developing principled and transferable data mixture optimization methods.

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

↑