Gradient descent (GD) is the foundational algorithm of modern optimization and machine learning. Despite its ubiquity, our understanding of its "worst-case" performance has remained surprisingly incomplete—especially when using larger stepsizes or dealing with non-convex functions.
In a recent paper, Teodor Rotaru and colleagues provide what they call a "complete analysis" of GD. By leveraging the Performance Estimation Problem (PEP) framework, they have derived exact convergence rates for all constant stepsizes across the entire spectrum of objective functions: from strongly convex to "weakly convex" (non-convex) regimes.
TL;DR
This paper provides the first exact, tight worst-case convergence rates for gradient descent across all constant stepsizes and curvature types. By analyzing how non-consecutive iterations interact, the authors prove previously conjectured rates and introduce a new variable stepsize schedule that is provably superior to any constant one.
What Problem Does This Paper Address?
In optimization, we often want to know the "worst-case" scenario: if we run an algorithm on the "nastiest" possible function in a specific class, how slow will it be? While we have had "upper bounds" for decades, these are often pessimistic. Finding an exact (or tight) rate means finding a specific function that actually hits that bound.
The research community faced three main gaps:
- The "Large Stepsize" Mystery: For convex functions, it was conjectured that stepsizes larger than $1/L$ (where $L$ is the gradient's Lipschitz constant) were efficient, but exact proofs were missing for the full range.
- Weak Convexity: Most analyses of non-convex functions only assume a Lipschitz gradient. They ignore the "lower curvature" ($\mu$), which describes how "concave" the function can get.
- Inter-iterate Dependencies: Traditional proofs usually look at one step at a time (distance-1). However, to get tight bounds for larger stepsizes, you need to understand how $x_i$ relates to $x_{i+2}$ (distance-2).
Methods
The authors utilize the Performance Estimation Problem (PEP) framework. PEP turns the search for a worst-case convergence rate into a secondary optimization problem: "Find the function $f$ and initial point $x_0$ that maximize the final gradient norm."
Key Innovations:
- Distance-2 Lemmas: The core mathematical breakthrough involves new "descent lemmas" that connect three consecutive iterates ($x_i, x_{i+1}, x_{i+2}$). This allows the analysis to capture the "oscillatory" behavior that occurs when stepsizes are large.
- Curvature Ratio ($\kappa$): They define functions by both an upper curvature $L$ and a lower curvature $\mu$. This unifies the analysis: $\mu > 0$ is strongly convex, $\mu = 0$ is convex, and $\mu < 0$ is weakly convex (hypoconvex).
- Dynamic Stepsize Sequence: Beyond constant stepsizes, they derive a recursive sequence of stepsizes $\{s_k\}$ that are "horizon-independent"—meaning you don't need to know how many total iterations you'll run to set the optimal step for the current one.
Datasets
As a theoretical paper in mathematical optimization, no empirical datasets were used. Instead, the authors provided:
- Analytical Worst-Case Examples: For every regime, they constructed a specific "worst-case" function (often piecewise quadratic) that achieves the bound.
- Numerical Verification: They used the PESTO (MATLAB) and PEPit (Python) toolboxes to numerically solve the PEPs and confirm their analytical proofs.
Key Insights and Ideas
- The Full Range of Stepsizes: The paper covers the entire range of stepsizes $\gamma \in (0, 2/L)$. It proves that GD remains effective even when $\gamma > 1/L$, a regime where traditional "sufficient decrease" arguments often fail.
- Regime Partitioning: The worst-case behavior isn't a single smooth curve. It is partitioned into $N$ distinct regimes (where $N$ is the number of iterations), delimited by specific stepsize thresholds.
- Weak Convexity is a Spectrum: By including $\mu < 0$, the authors show that "smooth non-convex" optimization is just one end of a continuous spectrum. This leads to improved rates for functions that aren't perfectly convex but aren't "too" non-convex either.
- The Superiority of Variable Steps: The authors show that a unique, fixed sequence of increasing stepsizes always beats the best possible constant stepsize.
Key Results
- Exact Rates: The paper provides closed-form expressions for the minimum gradient norm ($\min \|\nabla f(x_i)\|$) for all scenarios.
- Conjecture Proofs: They formally prove the tight rates for smooth convex functions for stepsizes $\gamma L \in (1, 2)$, which had been conjectured since 2014.
- Optimized Stepsizes: They provide the "best" constant stepsize for any given curvature ratio $\kappa$. For example, for weakly convex functions, the optimal stepsize is often significantly larger than the classical $1/L$.
- Quantitative Gain: In the convex case, their new dynamic stepsize schedule provides a measurable improvement (roughly 0.1% to 0.8% in the denominator constant) over the optimal constant stepsize, which itself is much better than the standard $1/L$ choice.
Limitations and Future Work
- Complexity of the Dynamic Sequence: The optimal dynamic stepsizes $\{s_k\}$ do not have a simple closed-form expression; they must be computed recursively by solving quadratic or cubic equations.
- Conjecture 1: While the authors provide a tight bound for variable stepsizes in the weakly convex case for stepsizes below a certain threshold, the tightness for the remaining range remains a conjecture based on numerical evidence.
- First-Order Only: The analysis is strictly for the standard Gradient Descent algorithm. Extending this "distance-2" analysis to momentum-based methods (like Nesterov acceleration) remains a significant challenge.
Summary updated