Abstract
This article examines the convergence rate and mean-square-error (MSE) performance of momentum stochastic gradient methods within the constant step-size and slow adaptation regime. The analysis establishes that momentum methods are mathematically equivalent to the standard stochastic gradient descent (SGD) method with a re-scaled, larger step-size. This equivalence holds for all time instants, not merely in steady-state, and applies to general strongly convex and smooth risk functions. A key finding is that the acceleration benefits observed in deterministic optimization do not necessarily translate to the adaptive online setting, where constant step-sizes are employed to handle persistent gradient noise. Experimental results on non-differentiable and non-convex problems, such as deep neural networks, further support these theoretical conclusions.
Introduction
In the field of optimization, momentum-based methods—such as Polyak’s Heavy-ball and Nesterov’s accelerated gradient—are widely celebrated for their ability to accelerate convergence in deterministic settings. By incorporating a fraction of the previous update into the current iteration, these methods effectively dampen oscillations and speed up progress toward the optimum.
However, the transition from deterministic gradients to stochastic gradients in online learning introduces persistent noise. In these scenarios, practitioners often utilize a constant step-size ($\mu$) to enable continuous adaptation to non-stationary data. A critical question arises: Does momentum provide a "free lunch" in this stochastic regime, offering faster convergence without increasing the steady-state error? The research by Yuan, Ying, and Sayed suggests the answer is no. Instead, momentum acts as a "larger spoon," effectively increasing the step-size of a standard SGD algorithm.
The Equivalence Principle
The central thesis of the study is the Equivalence Principle. In the regime of slow adaptation (small constant step-sizes), a momentum-based stochastic gradient method with step-size $\mu_m$ and momentum parameter $\beta$ behaves almost identically to a standard SGD method with a re-scaled step-size $\mu$.
The relationship between the two step-sizes is defined as: $$\mu = \frac{\mu_m}{1 - \beta}$$
The authors demonstrate that the trajectory of the momentum iterates ($w_{m,i}$) and the re-scaled SGD iterates ($w_i$) remain remarkably close. Specifically, for strongly convex risks, the difference between the two trajectories is bounded by $O(\mu^{3/2})$ for all time $i$. In the specific case of quadratic risks, such as those found in Least-Mean-Squares (LMS) filters, this bound tightens to $O(\mu^2)$.
Performance Trade-offs in Online Learning
In online learning, there is an inherent trade-off between the rate of convergence (how fast the model learns) and the steady-state Mean-Square Error (how accurate the model remains after convergence). A larger step-size leads to faster convergence but results in higher MSE because the algorithm "overshoots" the optimum due to gradient noise.
Because momentum is equivalent to SGD with a larger step-size, it inherits this trade-off. Any speedup gained through momentum is accompanied by a proportional increase in the steady-state error. In deterministic optimization, the noise is zero, allowing momentum to accelerate without penalty. In the stochastic online setting, the noise is persistent, and momentum simply amplifies this noise in the same manner as increasing the step-size would.
Stability and Computational Efficiency
Beyond performance equivalence, the study highlights potential risks associated with momentum. The stability range of momentum methods can be narrower than that of standard SGD. Adding momentum to a stable SGD implementation without adjusting the step-size can push the algorithm into an unstable regime, leading to divergence.
Furthermore, momentum methods require additional memory to store the previous update vector. Given the equivalence to re-scaled SGD, the authors suggest that standard SGD is often the more efficient choice for large-scale online applications, as it achieves the same performance with lower computational and memory overhead.
Empirical Validation
The theoretical findings were validated through extensive simulations across several domains:
- Logistic Regression: Using the Adult dataset, the accuracy and MSE curves of momentum and re-scaled SGD were found to be virtually indistinguishable.
- Deep Learning: On the CIFAR-10 dataset, the researchers tested the equivalence on non-convex problems using 6-layer fully connected networks and 4-layer CNNs. Even in these complex landscapes, a standard SGD with a larger step-size matched the performance of momentum-based training. For instance, SGD with $\mu=0.1$ performed identically to momentum with $\mu_m=0.01$ and $\beta=0.9$.
Conclusion
The study provides a sobering perspective on the use of momentum in online learning with constant step-sizes. While momentum is a powerful tool for deterministic optimization or regimes where step-sizes decay to zero, its benefits in the constant step-size regime are largely an illusion of parameterization. To truly leverage momentum without the steady-state penalty, the authors suggest employing a diminishing momentum parameter ($\beta(i) \to 0$), which allows for initial smoothing while maintaining the accuracy of a smaller effective step-size as the algorithm converges.
Summary updated