arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.11747cs.CLcs.AI
收藏

利用LLM估计效用优化预训练数据混合

Optimizing Pretraining Data Mixtures with LLM-Estimated Utility

Meta AI;Stanford University(斯坦福大学);Georgia Institute of Technology(佐治亚理工学院)

William Held, Bhargavi Paranjape, Punit Singh Koura, Mike Lewis, Frank Zhang, Todor Mihaylov

AI总结:

本文提出UtiliMax和MEDU两种方法,利用LLM估计数据效用优化预训练数据混合,实现高达10.6倍加速和约200倍计算缩减,建立鲁棒且计算高效的数据混合框架。

摘要:

大型语言模型随着高质量训练数据数量的增加而改进。然而,利用更大的数据集需要在不同来源之间平衡质量、数量和多样性。在评估了计算受限和数据受限场景下的九种基线方法后,我们发现令牌计数启发式方法优于手动和学习的混合方法,这表明考虑数据集大小和多样性的简单方法出奇地有效。基于这一见解,我们提出了两种互补的方法:UtiliMax,它通过结合来自缩减规模消融实验的效用估计来扩展基于令牌的启发式方法,实现了比手动基线高达10.6倍的加速;以及模型估计数据效用(MEDU),它利用LLM从小样本中估计数据效用,在匹配基于消融的性能的同时将计算需求减少约200倍。总之,这些方法建立了一个新的自动化、计算高效的数据混合框架,该框架在不同训练机制下具有鲁棒性。

英文摘要:

Large Language Models improve with increasing amounts of high-quality training data. However, leveraging larger datasets requires balancing quality, quantity, and diversity across sources. After evaluating nine baseline methods under both compute- and data-constrained scenarios, we find token-count heuristics outperform manual and learned mixes, indicating that simple approaches accounting for dataset size and diversity are surprisingly effective. Building on this insight, we propose two complementary approaches: UtiliMax, which extends token-based heuristics by incorporating utility estimates from reduced-scale ablations, achieving up to a 10.6x speedup over manual baselines; and Model Estimated Data Utility (MEDU), which leverages LLMs to estimate data utility from small samples, matching ablation-based performance while reducing computational requirements by $\sim$200x. Together, these approaches establish a new framework for automated, compute-efficient data mixing that is robust across training regimes.

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

↑