Introduction
In classical optimization theory, the prescription for Gradient Descent (GD) is clear: to ensure the objective function decreases monotonically, the stepsize $\eta$ must be kept small—typically $\eta \le 2/L$, where $L$ is the smoothness constant of the objective. While this "stable" regime guarantees convergence, it often results in a slow rate of $O(\kappa)$, where $\kappa$ is the condition number of the problem. To achieve faster convergence, practitioners usually turn to more complex algorithms like Nesterov’s Accelerated Gradient (NAG), which achieves a rate of $O(\sqrt{\kappa})$.
This paper investigates a provocative alternative: using "aggressively" large stepsizes in vanilla GD. Recent empirical work in deep learning has identified the Edge of Stability (EoS) phenomenon, where optimizers perform best when the stepsize is large enough to cause the loss to oscillate and occasionally increase. This research provides a rigorous theoretical foundation for this phenomenon in the context of $\ell_2$-regularized logistic regression, proving that GD can match the $O(\sqrt{\kappa})$ acceleration of momentum methods simply by embracing instability.
The Problem: Stability vs. Speed
The study focuses on minimizing a standard machine learning objective: the logistic loss plus an $\ell_2$ regularization term. This objective is smooth and strongly convex, making it a staple of optimization textbooks. However, the classical bound on the stepsize is often too conservative.
Previous research into the Edge of Stability primarily focused on unregularized settings, where the optimal solution often lies at infinity (e.g., the direction of the max-margin separator). In such cases, large stepsizes help the optimizer navigate the "flat" regions of the loss landscape. It remained an open question whether these benefits persist in regularized settings, where the objective has a unique, finite minimizer. This paper bridges that gap, demonstrating that the acceleration provided by EoS is a fundamental property that extends to regularized problems.
Methodology and Theoretical Framework
The authors employ a rigorous mathematical analysis of constant-stepsize GD applied to linearly separable data. Their proof strategy relies on three primary pillars:
- Phase Transition Analysis: The researchers prove that a GD trajectory with a large stepsize undergoes two distinct stages. It begins in the EoS phase, characterized by oscillations in the objective function and a "sharpness" (the largest eigenvalue of the Hessian) that hovers near $2/\eta$. As the optimizer nears the solution, it transitions into a stable phase, where the oscillations cease, and the parameters converge exponentially to the unique minimizer.
- Split Optimization Lemma: To track the progress of the optimizer, the authors decompose the parameter vector into components. This allows them to analyze how the optimizer moves toward the flatter regions of the landscape while simultaneously managing the instability caused by the large stepsize.
- Divergence Threshold Derivation: A critical contribution of the paper is the mathematical derivation of a "critical threshold" for the stepsize. They show that the maximum convergent stepsize scales as $\Theta(1/(\lambda \ln(1/\lambda)))$, where $\lambda$ is the regularization parameter. Exceeding this threshold leads to catastrophic divergence.
Key Insights: Instability as an Accelerator
The central insight of this work is that the instability induced by large stepsizes is not a failure of the optimizer, but rather a mechanism for acceleration. By oscillating, the GD algorithm effectively "skips" through the loss landscape, traversing distances in the parameter space faster than a stable, monotonic optimizer ever could.
This leads to several significant conclusions:
- Matching Momentum: For small regularization values, GD with a large stepsize achieves a complexity of $O(\sqrt{\kappa} \ln(1/\epsilon))$. This matches the performance of Nesterov’s momentum, providing "acceleration for free" without the need for additional hyperparameters or state variables.
- The Logarithmic Limit: The discovery that the maximum stepsize depends on the regularization parameter $\lambda$ in a logarithmic fashion provides a precise guideline for tuning optimizers in regularized settings.
- Statistical Efficiency: The acceleration is not merely an optimization curiosity; it has practical implications for generalization. The authors show that this method reaches the "statistical bottleneck" (the best possible test error given the data) significantly faster than standard GD.
Results and Performance
The theoretical results are categorized based on the strength of the regularization:
- Small Regularization: When $\lambda$ is very small (on the order of $O(1/n^2)$), the paper proves that GD achieves $\epsilon$ error in $O(\ln(1/\epsilon)/\sqrt{\lambda})$ steps.
- General Regularization: For larger values of $\lambda$, the authors establish an improved rate of $O(\ln(1/\epsilon)/\lambda^{2/3})$. While this does not quite reach the $O(1/\sqrt{\lambda})$ rate of momentum, it is substantially faster than the classical $O(1/\lambda)$ rate.
- Global Convergence: The authors provide a proof for global convergence in one-dimensional cases and propose a strong conjecture (Conjecture 1) that this holds for general finite-dimensional cases when the optimizer is initialized randomly.
Limitations and Future Work
While the paper provides a breakthrough in understanding EoS, several questions remain:
- Separability Assumption: The current proofs rely on the assumption that the data is linearly separable. Extending this analysis to non-separable data (where classes overlap) is a necessary next step.
- The "Moderate" Gap: There remains a gap between the $O(\lambda^{-2/3})$ rate achieved by GD and the $O(\lambda^{-1/2})$ rate of Nesterov's momentum for moderate regularization. It is currently unclear if this is a fundamental limitation of GD or an artifact of the current analysis.
- High-Dimensional Convergence: Proving the global convergence conjecture for high-dimensional problems in the EoS regime remains a significant formal challenge for the optimization community.
Conclusion
This research fundamentally changes our understanding of Gradient Descent for regularized logistic regression. By showing that large, "unstable" stepsizes can lead to Nesterov-like acceleration, the authors provide a theoretical justification for the aggressive learning rates often used in modern machine learning, suggesting that the most efficient path to a solution is often a bumpy one.
Summary updated