Deriving Hyperparameter Scaling Laws via Modern Optimization Theory

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

TL;DR

This paper develops a theoretical framework to derive hyperparameter scaling laws for modern optimizers by analyzing convergence bounds. It provides a unified explanation for various empirical observations and offers principled guidance on how to scale learning rate, momentum, and batch size for optimal performance as training budgets increase.

What Problem Does This Paper Address?

Modern deep learning, especially large language models (LLMs), relies on massive computational budgets. Predicting model performance and tuning hyperparameters efficiently before costly training runs is crucial. While empirical scaling laws exist, they often lack a unified theoretical foundation and can be contradictory. This paper aims to bridge this gap by deriving theoretical scaling laws for key hyperparameters (learning rate, momentum, batch size) by analyzing recent optimization theory, specifically focusing on methods based on the Linear Minimization Oracle (LMO).

Methods

The authors leverage recent convergence bounds for LMO-based optimizers (which include normalized SGD, signSGD, and Muon) as a proxy objective. By minimizing these bounds with respect to hyperparameters (learning rate $\eta$, momentum $\alpha$, batch size $b$) across different training horizons (token budget $T$), they derive closed-form power-law scaling schedules. This theoretical approach provides a principled way to understand how hyperparameters should change as the training budget grows, offering a unified perspective that recovers many existing empirical insights.

Datasets

Not discussed in the paper. The analysis is theoretical and focuses on deriving scaling laws from optimization bounds rather than empirical training on specific datasets.

Key Insights and Ideas

  • Unified Theoretical Framework: The paper provides a single theoretical lens (LMO convergence bounds) to explain a variety of hyperparameter scaling behaviors observed empirically.
  • Interaction of Hyperparameters: The analysis highlights the crucial interplay between momentum and batch-size scaling, suggesting that optimal performance can be achieved through multiple strategies.
  • Non-trivial Token-Optimal Batch Size: For LMO methods, the theory predicts a non-trivial scaling of batch size with the token budget, where the optimal batch size increases with training duration, a phenomenon not observed in standard SGD under similar theoretical analyses.
  • Momentum's Role in Batch Size Saturation: The paper shows that while fixed momentum can lead to performance saturation with increasing batch size, allowing momentum to decrease with the token budget can remove this floor and restore optimal scaling.
  • Practical Implications for Budget Transfer: The derived scaling laws offer practical guidance on how to transfer optimal hyperparameters from smaller to larger training budgets, considering different scenarios of tuning batch size and momentum.

Key Results

The paper derives several key scaling laws:

  • Fixed Momentum:
    • Learning rate scales as $\eta \propto K^{-1/2}$ (iteration scaling) or $\eta \propto b^{1/2}T^{-1/2}$ (token-budget scaling).
  • Optimal batch size scales as $b \propto T^{1/2}$ for a fixed token budget.
  • Fixed Batch Size:
    • Optimal learning rate scales as $\eta \propto b^{1/2}a^{1/2}T^{-1/2}$.
  • Optimal momentum scales as $\alpha \propto b^{1/2}T^{-3/4}$.
  • The resulting performance scales as $O(T^{-1/4})$.
  • Joint Tuning (Momentum, Learning Rate, Batch Size):
    • Asymptotic scalings for large token budgets $T$ are derived: $\eta \propto T^{1/6}$, $\alpha \propto T^{-1/3}$, $b \propto T^{7/12}$, and performance scales as $O(T^{-1/4})$.

Limitations and Future Work

  • Idealized Assumptions: The analysis relies on idealized assumptions such as a constant learning rate, matched initialization, and a specific noise model (bounded variance). Deviations from these assumptions can alter the predicted exponents.
  • Model Size Fixed: The current framework holds model size fixed, and future work could explore how scaling laws interact with model size.
  • Practical Protocols: Modern empirical protocols sometimes report learning rate trends not fully captured by the proxy, especially when both batch size and token budget increase. Resolving this gap is an important direction.
  • Other Factors: Future work could incorporate weight decay, learning-rate scheduling, warmup, and more explicit treatments of optimization and generalization to bridge the gap between theory and practice.
  • Computational Constraints: The paper acknowledges that practical constraints like hardware caps on batch size can significantly impact optimal scaling strategies.

Summary updated

BibTeX
@inproceedings{shulgin2026deriving,
  author = {Egor Shulgin and Dimitri von Rütte and Tianyue H. Zhang and Niccolò Ajroldi and Bernhard Schölkopf and Antonio Orvieto},
  title = {{Deriving Hyperparameter Scaling Laws via Modern Optimization Theory}},
  booktitle = {Sci4DL @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=4ERabDxDdl},
}
Figure