Abstract
This paper investigates several classes of stochastic optimization algorithms enriched with heavy ball momentum, including stochastic gradient descent (SGD), stochastic Newton (SN), stochastic proximal point (SPP), and stochastic dual subspace ascent (SDSA). We provide the first rigorous proof of global non-asymptotic linear convergence for the stochastic heavy ball method. Furthermore, we introduce "stochastic momentum," a novel concept designed to reduce the computational overhead of momentum steps in sparse data regimes. Our analysis shows that these methods achieve linear convergence across various success measures and accelerated linear rates in specific settings.
Introduction: Bridging the Gap Between Theory and Practice
In modern optimization, stochastic approximation and momentum are foundational techniques. While practitioners frequently combine them—most notably in deep learning—theoretical understanding has lagged. Prior to this work, no proof existed for the global linear convergence of the "Stochastic Heavy Ball" method. Most existing analyses were limited to sublinear rates or non-stochastic scenarios.
Additionally, in high-dimensional settings, the standard momentum step can become a computational bottleneck. Even if a gradient estimate is sparse, the momentum update typically requires modifying every variable in every iteration, increasing the cost per step.
Methods and Algorithmic Framework
The authors analyze a family of stochastic methods by framing them as solvers for a consistent linear system $Ax = b$. This framework encompasses four primary algorithms enriched with heavy ball momentum:
- mSGD: Momentum Stochastic Gradient Descent.
- mSN: Momentum Stochastic Newton.
- mSPP: Momentum Stochastic Proximal Point.
- mSDSA: Momentum Stochastic Dual Subspace Ascent.
The Innovation: Stochastic Momentum
To address the computational cost of momentum in sparse regimes, the authors propose Stochastic Momentum (smSGD). Unlike standard momentum, which updates the entire parameter vector, stochastic momentum updates only a randomly selected coordinate of the momentum term. This reduces the per-iteration cost from $O(n)$ to $O(g)$, where $g$ is the number of non-zero elements in the gradient, while maintaining linear convergence.
Key Insights and Theoretical Results
The study reveals several critical properties of these momentum-enriched methods:
- Algorithmic Equivalence: In the quadratic setting studied, SGD, SN, and SPP are shown to be equivalent, allowing for a unified analysis.
- L1 vs. L2 Convergence: While $L_2$ convergence (variance of iterates) is linear, $L_1$ convergence (distance of the expected iterate to the optimum) exhibits acceleration, mirroring the square-root speedup seen in deterministic momentum.
- Vanishing Variance: By assuming a consistent linear system, the stochastic gradient naturally vanishes near the optimum, eliminating the need for decaying step sizes.
The empirical evaluation spanned synthetic Gaussian data, real-world benchmarks from the LIBSVM library (e.g., a9a, gisette), and network topologies for average consensus problems. Key results include:
- First Linear Rate: Establishment of the first global non-asymptotic linear convergence rate for the stochastic heavy ball method.
- Quadratic Speedup: Momentum variants of Randomized Kaczmarz and Coordinate Descent achieved quadratic improvements in iteration complexity relative to the condition number.
- Gossip Acceleration: In distributed "gossip" algorithms, momentum significantly accelerated the time to reach agreement across various network shapes.
Limitations and Future Directions
The current analysis is primarily situated in the quadratic/linear system setting. While this covers significant ground (e.g., least squares), the results do not yet directly extend to the non-convex landscapes typical of deep neural networks. Future work will explore extending these linear rates to general convex functions and investigating the behavior of these methods in non-convex environments where algorithmic equivalence may no longer hold.
Summary updated