Abstract
In stochastic, nonconvex optimization settings typical of deep learning, momentum-based optimizers often face a trade-off between fast initial progress and final convergence precision. Traditionally, practitioners employ decaying learning rate schedules to force convergence, which often results in a sub-optimal non-asymptotic convergence rate. This paper investigates Quasi-Hyperbolic Momentum (QHM) and demonstrates that an increasing batch size schedule can eliminate the need for learning rate decay. We prove that this approach achieves both asymptotic convergence and a superior non-asymptotic convergence rate of $\mathcal{O}(1/K)$, outperforming the standard $\mathcal{O}(1/\sqrt{K})$ rate associated with decaying learning rates. Empirical results on ResNet-18 and CIFAR-100 validate these theoretical findings.
Introduction
Momentum-based optimization methods, such as Heavy Ball (SHB) and Nesterov Accelerated Gradient (NAG), are fundamental to the success of modern deep learning. Despite their ubiquity, much of their theoretical foundation rests on deterministic and convex assumptions. In practice, deep learning involves stochasticity—stemming from mini-batch sampling—and highly nonconvex loss landscapes.
In these stochastic environments, the variance in gradient estimates introduces noise that prevents the optimizer from settling into a local minimum. Instead, the algorithm typically oscillates within a neighborhood of the minimum. To achieve exact convergence (asymptotic convergence), the standard remedy is to decay the learning rate over time. However, this reduction in step size inevitably slows down the training process, leading to a slower non-asymptotic convergence rate. This paper explores a different path: using an increasing batch size schedule to reduce variance while maintaining a robust learning rate.
The Quasi-Hyperbolic Momentum (QHM) Framework
The authors focus their analysis on Quasi-Hyperbolic Momentum (QHM), a generalized momentum framework. By adjusting two hyperparameters, $\gamma$ (the immediate gradient weight) and $\beta$ (the momentum weight), QHM can recover several popular algorithms as special cases, including standard Stochastic Gradient Descent (SGD), SHB, and NAG. This flexibility makes QHM an ideal candidate for a unified theoretical analysis of momentum in stochastic settings.
Addressing the Noise Bottleneck
The core challenge in stochastic optimization is the "noise floor." The authors' theoretical analysis confirms that with a constant batch size and a non-decaying learning rate (such as a constant or cosine annealing schedule), the optimizer is bounded by a persistent noise term proportional to the variance of the stochastic gradients. This noise prevents the gradient norm from reaching zero.
To overcome this, the paper proposes an increasing batch size schedule. By gradually increasing the number of samples in each mini-batch, the variance of the gradient estimate is reduced over time. This acts as a form of variance reduction that allows the optimizer to achieve asymptotic convergence without the penalty of a shrinking learning rate.
Theoretical and Empirical Results
Convergence Rates
The primary theoretical contribution is the proof that QHM, when paired with an increasing batch size and a constant or cosine learning rate, achieves a convergence rate of $\mathcal{O}(1/K)$. This is a significant improvement over the $\mathcal{O}(1/\sqrt{K})$ rate achieved by traditional decaying learning rate schedules. Essentially, the increasing batch size allows the model to maintain high-speed progress (non-asymptotic efficiency) while still settling precisely into a minimum (asymptotic convergence).
Experimental Validation
The authors validated their theory by training a ResNet-18 architecture on the CIFAR-100 dataset. The experiments compared different batch size strategies:
- Small Constant Batch Size: Suffered from the noise bottleneck, failing to reach the lowest gradient norms.
- Large Constant Batch Size: While more precise, it lacked the early-stage efficiency of smaller batches.
- Increasing Batch Size: By doubling the batch size every 30 epochs (starting from 8), the model achieved superior test accuracy and a lower full gradient norm compared to constant batch size baselines.
Furthermore, the experiments confirmed that when using an increasing batch size, practical schedules like cosine annealing or polynomial decay significantly outperformed standard step-decay learning rates, which became redundant or even detrimental when the batch size was already handling variance reduction.
Conclusion and Future Work
This research provides a rigorous theoretical justification for a strategy that is gaining traction in large-scale distributed training: scaling batch sizes instead of shrinking learning rates. By doing so, practitioners can leverage the fast $\mathcal{O}(1/K)$ convergence rate of momentum optimizers like QHM without sacrificing the ability to reach an exact local minimum.
However, the authors note certain practical limitations. The theoretical proofs assume the batch size can increase toward infinity ($b_k \to +\infty$), which is impossible given the finite memory of hardware like GPUs. While the empirical results show that even modest, bounded increases in batch size provide significant benefits, future work is needed to explore the limits of this strategy on larger datasets and more diverse architectures beyond ResNet-18.
Summary updated