arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.01487cs.LGstat.ML
收藏

如何分配你的令牌?训练步数与批大小的缩放定律

How to Allocate Your Tokens? Scaling Laws with Training Steps and Batch Size

Inria, École Normale Supérieure, PSL Research University(法国国家信息与自动化研究所,巴黎高等师范学院,巴黎文理研究大学)

Fabian Schaipp

AI总结:

提出一个包含模型大小、训练步数和批大小的三术语缩放定律,能正确恢复最优批大小缩放,且拟合所需训练运行次数更少。

摘要:

我们提出了一个缩放定律,该定律考虑了模型大小和训练数据,同时将后者显式地拆分为训练步数和批大小(称为三术语定律)。在大量训练运行上拟合所提出的定律,我们发现它正确地恢复了最优批大小的缩放。此外,由于它利用了具有次优批大小的训练运行,我们提出的定律可以用显著更少的训练运行次数进行稳健拟合。我们进一步表明,三术语定律可用于推导次优批大小的缩放定律,并且它与先前关于临界批大小的实证发现相匹配。

英文摘要:

We propose a scaling law that takes into account model size and training data while explicitly splitting the latter into training steps and batch size (called three-term law). Fitting the proposed law on a large set of training runs, we find that it correctly recovers the scaling of the optimal batch size. Moreover, because it makes use of training runs with suboptimal batch size, our proposed law can be robustly fit with a significantly smaller amount of training runs. We further show that the three-term law can be used to derive scaling laws for suboptimal batch sizes, and that it matches previous empirical findings related to the critical batch size.

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

↑