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

无限计算条件下的预训练

Pre-training under infinite compute

Stanford University(斯坦福大学)

Konwoo Kim, Suhas Kotha, Percy Liang, Tatsunori Hashimoto

AI总结:

本文研究在数据固定且计算无约束条件下的预训练方法,通过优化正则化、参数规模缩放、模型集成与蒸馏等策略显著提升数据效率,并在下游基准上验证了其有效性。

摘要:

由于计算能力的增长速度远快于可用于语言模型预训练的网络文本增长速度,我们提出一个问题:在数据固定且没有计算约束的情况下,应如何进行预训练。我们首先表明,现有的受数据约束的方法——增加训练轮数和参数规模——最终会导致过拟合,而我们通过适当调整正则化显著改进了这类方案,发现最优权重衰减比标准做法大30倍。由于我们的正则化方案使损失按照参数规模的简单幂律单调下降,我们通过其缩放定律的渐近线来估计其最佳可能性能,而不是通过在固定计算预算下的性能来估计。随后我们发现,对独立训练的模型进行集成能够达到比正则化方案显著更低的损失渐近线。我们结合了增加训练轮数、正则化、参数规模缩放和集成规模缩放的最佳干预方案,在使用200M token的条件下达到了渐近线,所需数据比基线少5.17倍,并且我们的数据缩放定律预测这种改进在更高的token预算下仍然持续。我们发现,我们的数据效率提升可以在小得多的参数规模下实现,因为我们可以将集成模型蒸馏为一个体积小8倍的学生模型,并保留83%的集成收益。最后,我们针对验证损失设计的干预措施能够泛化到下游基准测试,在预训练评估上实现了9%的提升,并且在数学mid-training数据上相比持续预训练实现了17.5倍的数据效率提升。我们的结果表明,在计算资源丰富的未来,简单的算法改进可以显著提高预训练的数据效率。

英文摘要:

Since compute grows much faster than web text available for language model pre-training, we ask how one should approach pre-training under fixed data and no compute constraints. We first show that existing data-constrained approaches of increasing epoch count and parameter count eventually overfit, and we significantly improve upon such recipes by properly tuning regularization, finding that the optimal weight decay is $30\times$ larger than standard practice. Since our regularized recipe monotonically decreases loss following a simple power law in parameter count, we estimate its best possible performance via the asymptote of its scaling law rather than the performance at a fixed compute budget. We then identify that ensembling independently trained models achieves a significantly lower loss asymptote than the regularized recipe. Our best intervention combining epoching, regularization, parameter scaling, and ensemble scaling achieves an asymptote at 200M tokens using $5.17\times$ less data than our baseline, and our data scaling laws predict that this improvement persists at higher token budgets. We find that our data efficiency gains can be realized at much smaller parameter counts as we can distill an ensemble into a student model that is 8$\times$ smaller and retains $83\%$ of the ensembling benefit. Finally, our interventions designed for validation loss generalize to downstream benchmarks, achieving a $9\%$ improvement for pre-training evals and a $17.5\times$ data efficiency improvement over continued pre-training on math mid-training data. Our results show that simple algorithmic improvements can enable significantly more data-efficient pre-training in a compute-rich future.

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

↑