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

通过现代优化理论推导超参数缩放规律

Deriving Hyperparameter Scaling Laws via Modern Optimization Theory

Egor Shulgin, Dimitri von Rütte, Tianyue H. Zhang, Niccolò Ajroldi, Bernhard Schölkopf, Antonio Orvieto

AI总结:

本文通过现代优化理论推导出超参数缩放规律,揭示了学习率、动量和批量大小与迭代或token预算的关系,为超参数调整提供了新的视角。

摘要:

超参数迁移已成为现代大规模训练配方中的重要组成部分。现有方法如muP主要关注模型大小之间的迁移,而跨批量大小和训练时间的迁移通常依赖于基于时间尺度保持、二次代理和连续时间近似的经验缩放规则。本文通过最近基于线性最小化 oracle (LMO) 的收敛界研究现代一阶优化器的超参数缩放规律。将近期文献中的界视为代理,并在不同调优范围内最小化这些界,得到学习率、动量和批量大小与迭代或token预算的闭式幂律调度。本文在固定模型大小的情况下,从统一且原则性的视角恢复了文献中的大部分见解和观察,为未来研究指明了清晰的方向。本文的结果特别关注动量与批量大小缩放之间的相互作用,表明通过多种缩放策略可能实现最优性能。

英文摘要:

Hyperparameter transfer has become an important component of modern large-scale training recipes. Existing methods, such as muP, primarily focus on transfer between model sizes, with transfer across batch sizes and training horizons often relying on empirical scaling rules informed by insights from timescale preservation, quadratic proxies, and continuous-time approximations. We study hyperparameter scaling laws for modern first-order optimizers through the lens of recent convergence bounds for methods based on the Linear Minimization Oracle (LMO), a framework that includes normalized SGD, signSGD (approximating Adam), and Muon. Treating bounds in recent literature as a proxy and minimizing them across different tuning regimes yields closed-form power-law schedules for learning rate, momentum, and batch size as functions of the iteration or token budget. Our analysis, holding model size fixed, recovers most insights and observations from the literature under a unified and principled perspective, with clear directions open for future research. Our results draw particular attention to the interaction between momentum and batch-size scaling, suggesting that optimal performance may be achieved with several scaling strategies.

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

↑