Theoretical Analysis on how Learning Rate Warmup Accelerates Convergence
Yuxing Liu, Yuze Ge, Rui Pan, An Kang, Tong Zhang
TL;DR
This work addresses why learning-rate warmup accelerates optimization in deep nets by introducing a novel $(\rho,K_0,K_\rho)$-smoothness that ties local curvature to suboptimality. It proves that warmup can yield $Θ(T)$ acceleration for GD and $Θ(√T)$ acceleration for SGD under relevant conditions, and it extends these results to ABC-noise models. Empirical validation on river-valley constructions and neural nets (ResNet on CIFAR-10 and NanoGPT on TinyShakespeare) supports the theory and demonstrates practical gains. Overall, the paper provides a unified optimization-theoretic explanation for warmup benefits and outlines potential extensions to momentum-based optimizers and broader noise settings.
Abstract
Learning rate warmup is a popular and practical technique in training large-scale deep neural networks. Despite the huge success in practice, the theoretical advantages of this strategy of gradually increasing the learning rate at the beginning of the training process have not been fully understood. To resolve this gap between theory and practice, we first propose a novel family of generalized smoothness assumptions, and validate its applicability both theoretically and empirically. Under the novel smoothness assumption, we study the convergence properties of gradient descent (GD) in both deterministic and stochastic settings. It is shown that learning rate warmup consistently accelerates GD, and GD with warmup can converge at most $Θ(T)$ times faster than with a non-increasing learning rate schedule in some specific cases, providing insights into the benefits of this strategy from an optimization theory perspective.
