arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.37842cs.LG
收藏

通过超参数迁移与集成学习改进数据受限的缩放方法

Improving Data-Constrained Scaling with Hyperparameter Transfer and Ensembling

Princeton University(普林斯顿大学);Q Labs(Q实验室);New York University(纽约大学)

Ethan Baron, Shmuel Berman, Anirudh Satheesh, Akshay Vegesna, Samip Dahal, Andrew Gordon Wilson

AI总结:

针对数据受限的大型语言模型训练,通过超参数迁移与集成学习改进缩放方案,在12倍计算预算下实现验证损失降低0.15纳特、困惑度下降14%的效果。

摘要:

随着计算预算的增长超过高质量训练数据的增长,大型语言模型的训练必须同时考虑计算与数据约束。现有数据受限缩放方案存在两个关键局限:其一,过往研究将权重衰减等关键超参数固定为与规模无关的值,而最优超参数会随模型规模和训练轮次剧烈变化;其二,过往研究忽略了集成学习这一数据约束下有前景的缩放方向,导致现有方案的损失会随计算预算增加而上升。我们通过拟合幂律(用于指导超参数随规模的迁移)和缩放定律(用于指导集成学习下的计算分配)解决上述问题。在FineWeb的1亿个token上训练时,我们的方案相比过往方案将验证损失降低了0.15纳特以上,困惑度下降14%,且通过集成学习实现了随计算增加的单调改进。这些增益是基于小规模运行拟合的方案实现的,并在高达12倍的计算预算下得到验证。

英文摘要:

As growing compute budgets outpace the growth of high-quality training data, large language models must be trained with both compute and data constraints in mind. Unfortunately, existing prescriptions for data-constrained scaling suffer from two important limitations. First, past works hold key hyperparameters such as weight decay fixed with scale, despite the fact that optimal hyperparameters vary wildly with model size and number of epochs. Second, past works neglect ensembling, a promising axis for scaling under data constraints. As a surprising consequence, prior prescriptions can lead to loss that increases with compute budget. We address both limitations by fitting power laws that prescribe how to transfer hyperparameters with scale and scaling laws that prescribe how to allocate compute with ensembling. Training on 100M tokens from FineWeb, our recipe reduces validation loss by over 0.15 nats compared to prior recipes, a 14% decrease in perplexity, and achieves monotonic improvements with compute through ensembling. These gains are achieved using prescriptions fit to smaller runs and validated at up to 12$\times$ larger compute budgets.

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

↑