Heavy Ball (HB) momentum is a cornerstone of non-convex optimization in machine learning, often training models significantly faster than standard Gradient Descent (GD). However, our theoretical understanding of why it works so well has historically lagged behind its empirical success. This paper bridges that gap, providing the first theoretical proof that HB can accelerate convergence for a broad class of non-convex functions, specifically those satisfying the Polyak-Łojasiewicz (PL) condition.
The Problem: Beyond Constant Curvature
Most existing proofs of momentum "acceleration"—the coveted square-root speedup in convergence rate—only apply to quadratic functions where the curvature (the Hessian) is constant. In real-world non-convex landscapes, such as those encountered in deep learning, the curvature shifts constantly.
Proving that Heavy Ball maintains its edge in these shifting environments has been a major open challenge. Traditional "spectral radius" analysis fails when the Hessian changes, leaving a significant gap between empirical observations and theoretical foundations.
Methodology: Averaged-Out Non-Convexity
To tackle this, the authors introduce a novel analytical framework based on two key concepts:
- Average Hessian: Instead of evaluating the local curvature at a single point, the authors define the average curvature along the line segment connecting the current iterate to the global minimum.
- Averaged-Out Non-Convexity: They identify a class of functions where, despite local non-convexities, the average curvature towards the goal remains positive. They term this condition "$\lambda_*$-AVERAGE OUT."
By tracking how the eigenvectors of the average Hessian shift between steps and constructing a new Lyapunov function, the authors prove that iterates stay within a region where acceleration is mathematically possible.
Key Insights & Theoretical Results
The most profound insight from this work is that local non-convexity is not a dealbreaker for acceleration. If the overall trend of the landscape towards the minimum is "convex enough" on average, HB can still achieve rapid convergence.
- Theoretical Speedup: For functions satisfying their conditions, HB achieves an accelerated linear rate of $1 - \Theta(1/\sqrt{\kappa_t})$, where $\kappa_t$ is the condition number of the average Hessian. This is a significant improvement over the $1 - \Theta(1/\kappa_t)$ rate of standard Gradient Descent.
- The Burn-in Phase: Acceleration does not happen instantly. The algorithm requires a "burn-in" period to stabilize before the accelerated linear rate kicks in.
- Adaptive Momentum: The theory suggests that setting the momentum parameter adaptively based on the local condition number yields even faster convergence than using a fixed parameter.
Empirical Demonstration
While the paper is primarily theoretical, the authors validate their findings using illustrative synthetic examples. These include a diagonal neural network model and a 1D non-convex function $f(w) = w^2 + \alpha \sin^2(w)$ that satisfies the PL condition.
As demonstrated in the figure above, while Gradient Descent struggles with the "wavy" landscape, Heavy Ball effectively averages out these oscillations to reach the minimum much faster, clearly exhibiting the accelerated linear rate after an initial burn-in phase.
Limitations and Future Work
While this paper marks a significant theoretical leap, several challenges remain:
- Verification: Checking if a complex, high-dimensional neural network satisfies the "averaged-out" condition is currently difficult in practice.
- Stochasticity: The current proof focuses on deterministic Heavy Ball. Extending this framework to Stochastic Heavy Ball (SHB)—the variant actually used in modern ML—is a natural and necessary next step.
- Global Minimizer Assumption: The analysis assumes the existence of a global minimizer, which might not always be guaranteed or targeted in all non-convex optimization problems.
Summary updated