Balancing Early Performance Sacrifices with Long-Term Gains: Scaling Learning-Rate Warmup Duration Across Training Horizons
Abstract
Learning-rate warmup is a standard technique in language-model training, yet its duration remains largely heuristic. Common approaches use either a fixed number of updates or a fixed fraction of the training horizon, two choices that imply very different scaling as training gets longer. When should warmup stay fixed, and when should it grow with the horizon? We address this question with a quadratic model whose modes respond differently to the peak learning rate. Warmup slows progress in directions that already contract well at the peak rate, but can remove persistent error in directions near the stability edge, with higher peak rates shifting the balance toward longer warmup durations. This yields a compact horizon scaling law that captures regimes ranging from essentially no warmup, through fixed-duration warmup, to durations that grow with the training horizon, and explains how the preferred regime changes with peak learning rate. Because the law captures the tradeoff between giving up early progress and improving the trajectory that follows, it can be fit using shorter runs and used to predict warmup at substantially longer horizons. Together, our results explain several familiar properties of warmup through a single tradeoff and suggest treating warmup duration as a horizon-dependent hyperparameter rather than a fixed training heuristic.
Create a lesson
Related papers
A Sealed Benchmark for Forecasting Training-Recipe Gains at Small Scale
Shared title terminologycs.LGShengwei Zhang, Shenkang Qian, Mo Shi et al.
On fast hyperparameter transfer across width and training horizon
Shared title terminologycs.LGGarrett G. Wen, Alberto Bietti, Nikhil Ghosh et al.
Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning
Shared title terminologycs.LGLirui Luo, Kelong Mao, Heming Xia et al.
From HL to H+L-1 Parameters: A Hankel-Toeplitz Forecaster for Long-Term Time Series Forecasting
Shared title terminologycs.LGChaoqi Zhang, Yu Wang, Haixu Tang
KuaFu-Credit: Reward-Penalty Decoupling and Turn-Level Differencing for Credit Assignment in Long-Horizon RL with Lifelong User Memory
Shared title terminologycs.LGLin Zhu, Jiahao Hui, Junxiu Chen et al.
Do Personal Adapters Carry Over Across Sessions? Separating Personal From Population Gains When Calibrating EEG Foundation Models for Motor Imagery
Shared title terminologycs.LGXilin Tao, Kani Chen