Overview
This paper demonstrates that incorporating Polyak momentum into the stochastic proximal gradient method enables it to achieve optimal convergence rates in non-convex settings without the need for massive "mega-batches." By rigorously proving that momentum acts as a variance reduction mechanism, the authors successfully bridge the gap between practical small-batch training and theoretical convergence guarantees.
The Challenge of Non-Convex Composite Optimization
In machine learning, practitioners frequently encounter composite optimization problems formulated as $\min f(x) + \psi(x)$, where $f$ is a smooth loss function and $\psi$ is a "simple" regularizer (such as an $L_1$ norm for sparsity or an indicator function for constraints). The standard algorithm for solving this is the Stochastic Proximal Gradient (SPG) method.
However, SPG faces a major theoretical hurdle: in non-convex settings, vanilla SPG is notoriously unstable. When gradient noise is high—which is typical when using small batch sizes—the algorithm fails to converge to a stationary point. Instead, it oscillates within a "neighborhood" of the solution. Traditional theory suggests that to achieve an arbitrary error $\epsilon$, one must use "mega-batches" that grow as the required error shrinks. This requirement is often computationally prohibitive and can harm the model's ability to generalize.
Methodology: Proximal Gradient Method with Polyak Momentum
To overcome the limitations of vanilla SPG, the authors propose using the Proximal Gradient Method with Polyak Momentum.
Instead of relying on a raw stochastic gradient $g_k$ at each step, the algorithm maintains a "momentum-aggregated gradient" $m_k$: $$m_k = (1 - \gamma_{k-1})m_{k-1} + \gamma_{k-1}g_k$$ This aggregated gradient $m_k$ is then utilized in the proximal step to compute the next iterate $x_{k+1}$.
Key Theoretical Contributions
- Variance Reduction Analysis: The authors provide a rigorous proof that this momentum term effectively reduces the variance of the gradient noise at the same rate as the gradient norm itself.
- Inexact Proximal Steps: Recognizing that the proximal step (the sub-optimization problem) cannot always be solved perfectly in practice, they extend their theory to show the algorithm still converges even when these steps are solved only approximately.
- Lower Bound Proof: They establish a formal lower bound for vanilla SPG, mathematically proving why it must fail to converge without large batches, thereby highlighting the absolute necessity of momentum.
Key Insights
- Momentum as a Filter: A critical insight is the formalization of momentum as a variance reducer. While practitioners typically use momentum to accelerate training, this paper reveals that its primary role in stochastic non-convex optimization is actually stabilization. It "filters" the noise, allowing the algorithm to discern the true underlying gradient.
- Optimal Rate with Small Batches: The paper proves an $O(\epsilon^{-2})$ convergence rate. The breakthrough is that this rate is achieved regardless of batch size. Even with a batch size of 1, given enough iterations, the algorithm will converge to the stationary point.
- Robustness to Inexactness: The method's robustness to inexact proximal steps is highly practical. It ensures that even if the regularizer $\psi$ requires an iterative solver to handle, the overall algorithm remains theoretically sound.
Experimental Validation
The authors validated their theoretical findings across both synthetic and real-world deep learning tasks.
Synthetic Quadratic Problem
They tested the algorithm on a specifically designed "bad" function where $f(x)$ and $\psi(x)$ are constructed such that vanilla SPG is guaranteed to fail.
As shown above, when the noise level ($\sigma$) was increased from 5 to 125, vanilla SPG's error stayed high and oscillated wildly, regardless of batch size. In stark contrast, the momentum-based method consistently cut through the noise and reached the target tolerance.
Deep Learning Performance
To test the composite optimization setting in a deep learning context, the authors trained a ResNet-18 model on the CIFAR-10 dataset, applying an $\ell_{\infty,1}$ regularizer to the weights.
The momentum-based proximal method demonstrated smoother convergence, lower training loss, and higher final test accuracy compared to the vanilla version. This confirms that the theoretical benefits of Polyak momentum translate effectively to complex, real-world neural network architectures.
Limitations and Future Work
- Differentiability of $\psi$: While the paper discusses non-differentiable convex $\psi$ in the appendix, the main body of the theory assumes $\psi$ is differentiable.
- Non-convex $\psi$: The authors explicitly state they do not consider cases where the proximal term $\psi$ is both non-convex and non-differentiable, noting this remains an "exotic scenario" in current literature.
- Hyperparameter Sensitivity: While momentum makes the algorithm more robust to batch size, it introduces its own hyperparameters ($\gamma$ and $M$) which require tuning, though the authors provide guidance on how these should scale with noise.
Summary updated