Convex Optimization: Algorithms and Complexity IX: Nesterov's Accelerated Gradient Descent on a Convex β-Smooth Function Has Rate 2β‖x₁ − x*‖²/t²Textbook
Motivation
Minimizing a convex function whose gradient is Lipschitz is the basic problem of first-order optimization, and it is the regime in which most large-scale methods of machine learning, signal processing and operations research are analysed. The natural method, gradient descent, reaches accuracy after gradient evaluations. In 1983 Nesterov showed that a method using the same oracle, but combining the current and the previous iterate, reaches accuracy after only evaluations, and that no method using only gradient information can do better by more than a constant factor. This accelerated gradient descent and its proximal variants (FISTA) are now the default fast first-order methods for smooth and composite convex problems.
This mission formalizes the accelerated rate as presented in S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning, 2015; arXiv:1405.4980v2), §3.7.2, Theorem 3.19, whose proof follows Beck and Teboulle (2009).
Timeline.
- 1983: Nesterov introduces the accelerated method with rate for convex functions with Lipschitz gradient (Soviet Math. Dokl. 27).
- 1983: Nemirovski and Yudin's black-box lower bounds show that is the best possible rate for this class (Theorem 3.14 of the book gives ).
- 2009: Beck and Teboulle's FISTA extends the method, with the same step sequence , to composite problems with a simple nonsmooth term (SIAM J. Imaging Sci. 2(1)).
- 2008: Tseng gives a unified treatment with simpler step sizes (manuscript).
Setting
Let carry the Euclidean inner product and norm . A differentiable function is β-smooth if its gradient is -Lipschitz:
Assume is convex and -smooth with , and let be a minimizer of .
Define the step sequences ,
Then , for , and . Nesterov's accelerated gradient descent for the smooth case starts from an arbitrary point and sets, for ,
The primary sequence consists of gradient steps of length ; the sequence , at which the gradient is queried, moves past away from (since ). Write for the optimality gap.
Formalization targets
Goal: Theorem 3.19
For every run of the method and every ,
The constant and the exponent are those printed in the book.
Milestones
In the order of the book's proof (pp. 294–295):
- Lemma 3.6, unconstrained (p. 270): for all .
- (3.23): .
- (3.24): .
- The λ identity: for .
- (3.25): .
- (3.26): .
- Telescoped bound: for , with .
- Growth of λ: for .
Significance
The result. Theorem 3.19 is the upper half of the statement that first-order methods on smooth convex functions have complexity : together with the black-box lower bound of Theorem 3.14 it shows that the accelerated method is optimal up to a constant factor, while plain gradient descent (Theorem 3.3, rate ) is not. The same potential-function argument, with the gradient step replaced by a proximal step, yields the rate of FISTA for composite objectives, and the identity is the algebraic core of most later analyses of accelerated and momentum methods.
Formalizing it. The theorem is classical and fully proved on paper. What this mission adds is a machine-checked proof of the rate for the exact step sequence of the book, with every intermediate inequality of the proof stated separately so that each can be closed and reused. A Lean development of accelerated gradient descent with this rate is not, to our knowledge, in Mathlib.
Difficulty
The rate does not follow from monotone decrease of , which is the engine of the analysis of plain gradient descent: the accelerated iterates are not monotone, and no single-step inequality on alone gives . The proof instead tracks a weighted potential and needs three exact algebraic coincidences: the identity , the completion of a square , and the rewriting (3.26) of the update rule, which makes consecutive potentials match exactly. In Lean the work is in this bookkeeping (vector identities in an inner-product space, a real recursion with square roots, and a telescoping sum indexed from ), not in any deep analytic fact.
Formalization scope
- is
EuclideanSpace ℝ (Fin n); is⟪x, y⟫_ℝ. - The gradient is an explicit map with
HasGradientAt f (g x) xfor every ; β-smoothness is the Lipschitz bound on (not the quadratic upper bound (3.4), which is a consequence). Convexity isConvexOn ℝ Set.univ f. - is a real sequence defined by recursion on with ; never divides by zero because .
- A run is a predicate on two sequences , indexed from as in the book; index is unconstrained. Every theorem quantifies over all runs.
- Standing assumptions: is a minimizer of (book, p. 242); (implicit in the step ) is a stated hypothesis.
- The page prints the update as ; the formalization uses in both places, as the proof's (3.26) requires. A run predicate with a fixed coefficient would describe a different (non-accelerated) method and is ruled out.
- The goal is stated for all , including , which the printed proof does not cover but which follows from (3.4). The growth bound is stated for , since . The telescoping display prints for ; the formalization uses .
Contributions of every kind are welcome: proofs of the λ facts and of (3.26) are pure algebra; (3.23)–(3.25) need the descent lemma for β-smooth functions and first-order convexity, both of which are reusable well beyond this mission.
Selected references
- S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980
- Y. Nesterov, A method of solving a convex programming problem with convergence rate O(1/k²), Soviet Mathematics Doklady 27:372–376, 1983. mathnet
- A. Beck, M. Teboulle, A fast iterative shrinkage-thresholding algorithm for linear inverse problems, SIAM J. Imaging Sciences 2(1):183–202, 2009. doi:10.1137/080716542
- P. Tseng, On accelerated proximal gradient methods for convex-concave optimization, manuscript, 2008. pdf
- A. Nemirovski, D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.