The lower complexity bound for smooth convex optimization #
No first-order method whose test points lie in the span of the gradients seen so far can
minimize every convex function on ℝⁿ with an L-Lipschitz gradient faster than at the rate
O(1 / k²) while 2 k + 1 ≤ n (Nesterov, Section 2.1.2). The proof is Nesterov's
"worst function in the world", the quadratic
f_k x = L / 4 (½ [(x⁽¹⁾)² + ∑_{i=1}^{k-1} (x⁽ⁱ⁾ - x⁽ⁱ⁺¹⁾)² + (x⁽ᵏ⁾)²] - x⁽¹⁾): at a point
whose coordinates after the j-th vanish, its gradient has no nonzero coordinate after the
(j + 1)-th, so after k gradients a method has reached only the first k coordinates, while
the minimizer of f_{2k+1} is spread over 2 k + 1 of them. FISTA with g = 0, an accelerated
gradient method, attains this bound up to the factor 64 / 3. Nesterov's bibliographical
comments attribute the original lower bounds to Nemirovsky and Yudin (1983) and this proof to his
lectures of 2004.
Main definitions #
ConvexAnalysis.LowerBound.truncCoord k j: Nesterov's coordinatex⁽ʲ⁾ofx : ℝⁿ, counted from1, for1 ≤ j ≤ k, and0otherwise (the coordinates truncated after thek-th).ConvexAnalysis.LowerBound.truncDiff k: the difference operatorD x = (x⁽¹⁾ - x⁽⁰⁾, …, x⁽ᵏ⁺¹⁾ - x⁽ᵏ⁾)of the truncated coordinates, fromℝⁿtoℝᵏ⁺¹, withx⁽⁰⁾ = x⁽ᵏ⁺¹⁾ = 0.ConvexAnalysis.LowerBound.worstFunction L k: the quadraticf_kabove, andConvexAnalysis.LowerBound.worstGradient L kits gradientL / 4 (A_k x - e₁).ConvexAnalysis.LowerBound.worstPoint k: its minimizerx̄_k,x̄_k⁽ⁱ⁾ = 1 - i / (k + 1)fori ≤ k.ConvexAnalysis.LowerBound.coordSubspace k: the subspaceℝ^{k,n}of the points whose coordinates after thek-th vanish.
Main statements #
ConvexAnalysis.LowerBound.convexOn_worstFunction,ConvexAnalysis.LowerBound.hasGradientAt_worstFunction,ConvexAnalysis.LowerBound.norm_worstGradient_sub_le:f_kis convex withL-Lipschitz gradient (0 ⪯ ∇² f_k ⪯ L Iin Nesterov, Section 2.1.2);ConvexAnalysis.LowerBound.worstGradient_applyis the gradient in coordinates.ConvexAnalysis.LowerBound.isMinOn_worstFunction,ConvexAnalysis.LowerBound.worstFunction_worstPoint: fork ≤ n,x̄_kminimizesf_k, with the minimal valuef_k* = L / 8 (-1 + 1 / (k + 1))(2.1.17);ConvexAnalysis.LowerBound.le_worstFunctionis this lower bound for everykandn.ConvexAnalysis.LowerBound.norm_worstPoint_sq_leis (2.1.19),‖x̄_k‖² ≤ (k + 1) / 3.ConvexAnalysis.LowerBound.isMinOn_worstFunction_iff: forL > 0, the minimizers off_kare the points that agree withx̄_kin the firstkcoordinates, fromf_k w = f_k x̄_k + L / 8 ‖D (w - x̄_k)‖²(ConvexAnalysis.LowerBound.worstFunction_eq_add_norm_sq) and the kernel ofD(ConvexAnalysis.LowerBound.truncDiff_eq_zero_iff);x̄_kis the one of least norm (ConvexAnalysis.LowerBound.norm_sq_eq_of_isMinOn_worstFunction), and it lies inℝ^{k,n}(ConvexAnalysis.LowerBound.worstPoint_mem_coordSubspace), which is orthogonal to the points whose firstkcoordinates vanish (ConvexAnalysis.LowerBound.inner_eq_zero_of_mem_coordSubspace).ConvexAnalysis.LowerBound.worstFunction_eq_of_mem:f_p = f_konℝ^{k,n}forp ≥ k.ConvexAnalysis.LowerBound.span_le_coordSubspace: Nesterov, Lemma 2.1.5: ifx j ∈ span {∇ f_p (x 0), …, ∇ f_p (x (j - 1))}forj < k, thenspan {∇ f_p (x 0), …, ∇ f_p (x (k - 1))} ⊆ ℝ^{k,n}; hence Nesterov, Corollary 2.1.1 (ConvexAnalysis.LowerBound.le_worstFunction_of_mem_span).ConvexAnalysis.LowerBound.le_worstFunction_sub_of_mem_coordSubspaceandConvexAnalysis.LowerBound.norm_sq_div_eight_le_norm_sub_sq: the two bounds of the proof of Nesterov, Theorem 2.1.7 forx0 = 0,y ∈ ℝ^{k,n}:f_{2k+1} y - f_{2k+1}* ≥ 3 L ‖x̄_{2k+1}‖² / (32 (k + 1)²)and‖y - w‖² ≥ ‖w‖² / 8for every minimizerwoff_{2k+1}.ConvexAnalysis.LowerBound.exists_le_sub_of_mem_span: the lower complexity bound Nesterov, Theorem 2.1.7: forL > 0,2 k + 1 ≤ nand everyx0there is an infinitely differentiable convexfwithL-Lipschitz gradient and a minimizerx*nearest tox0such that every pointyofx0 + span {f' (x 0), …, f' (x (k - 1))}, for test pointsx jthat satisfy Assumption 2.1.4, hasf y - f* ≥ 3 L ‖x0 - x*‖² / (32 (k + 1)²)and‖y - z‖² ≥ ‖x0 - z‖² / 8for every minimizerz;ConvexAnalysis.LowerBound.exists_le_sub_of_forall_mem_spanis Nesterov's form fory = x k.ConvexAnalysis.sub_mem_span_of_accelerated: the test points and iterates of accelerated gradient methods, with any steps, lie in the span of the past gradients.ConvexAnalysis.LowerBound.exists_le_sub_le_of_fista: FISTA is optimal up to the factor64 / 3: forL > 0and2 N + 3 ≤ nthere is such anfon which FISTA with the Beck–Teboulle momentum has3 L ‖x0 - x*‖² / (32 (N + 2)²) ≤ f (x (N + 1)) - f* ≤ 2 L ‖x0 - x*‖² / (N + 2)².
Implementation notes #
- Setting. The space is
EuclideanSpace ℝ (Fin n), Nesterov'sℝⁿ. Lean counts its coordinatesx i,i : Fin n, from0;ConvexAnalysis.LowerBound.truncCoord k j xis Nesterov'sx⁽ʲ⁾, counted from1, so that the formulas read as in the book. It is cut off afterk(and aftern), which gives the boundary valuesx⁽⁰⁾ = x⁽ᵏ⁺¹⁾ = 0and makesf_kdepend on the firstkcoordinates only;f_0 = 0, andf_k = f_nfork ≥ n. Nesterov's classF_L^{∞,1}(ℝⁿ)is written out:ContDiff ℝ ∞ f,ConvexOn ℝ univ f, a gradientf'given byHasGradientAt, and‖f' x - f' y‖ ≤ L ‖x - y‖, the form used inAlgorithms.lean. - The difference operator. With
D = ConvexAnalysis.LowerBound.truncDiff kand the first unit vectore₀ofℝᵏ⁺¹,f_k x = L / 8 (‖D x - e₀‖² - 1)(ConvexAnalysis.LowerBound.worstFunction_eq_norm_sq). This gives the gradientL / 4 D† (D x - e₀), so Nesterov's tridiagonal matrix isA_k = D† Dande₁ = D† e₀; it gives convexity, and‖D‖ ≤ 2gives the Lipschitz constantL. The entries ofD x - e₀sum to-1(they telescope), so‖D x - e₀‖² ≥ 1 / (k + 1)by Cauchy–Schwarz, with equality atx̄_k, where all entries are-1 / (k + 1). This replaces solvingA_k x = e₁. (Nesterov's text writes∇ f_k (x) = A_k x - e₁; the gradient isL / 4times this. The solution ofA_k x = e₁is unique inℝ^{k,n}, not inℝⁿfork < n, sincef_kdoes not depend on the coordinates after thek-th.) The same computation givesf_k w - f_k x̄_k = L / 8 ‖D (w - x̄_k)‖², and hence all minimizers. - Assumption 2.1.4. Nesterov states it for a method; here it is a hypothesis on one sequence
xof test points,x j - x 0 ∈ span {f' (x 0), …, f' (x (j - 1))}forj < k, written withSubmodule.span ℝ (Set.range fun i : Fin j ↦ f' (x i)). Sincefis chosen before the method, this is all that is needed, and the sequence may come from any rule, adaptive or not. The bound holds for every pointyofx 0 + span {f' (x 0), …, f' (x (k - 1))}, not only for the test pointx k; this covers methods whose output is not a test point, such as FISTA, whosex (N + 1)lies in the span of the gradients at the test pointsy 0, …, y N. - Deviations from Nesterov, Theorem 2.1.7:
k = 0is allowed (thenf = f_1and the bounds concerny = x0);n ≥ 2 k + 1replaces1 ≤ k ≤ (n - 1) / 2; the shift tox0 = 0is done formally,f x = f_{2k+1} (x - x0)with minimizerx* = x0 + x̄_{2k+1}; the minimizer is shown to differ fromx0, so the bounds are not vacuous forL > 0. Forn > 2 k + 1the minimizers offform the affine subspace of the points that agree withx*in the first2 k + 1coordinates, and Nesterov'sx*is the one nearest tox0, so‖x0 - x*‖is the distance fromx0to the solution set; the bound on‖y - z‖holds for every minimizerz, the bound onf y - f*with the nearest one (with a far minimizer‖x0 - z‖is unbounded). The proof uses the exact value‖x̄_k‖² = k (2 k + 1) / (6 (k + 1))(ConvexAnalysis.LowerBound.norm_worstPoint_sq) in place of (2.1.18) and (2.1.19), and the tail sum(2 k² + 7 k + 6) / (24 (k + 1))of Nesterov's proof. - Mathlib has no lower complexity bounds for first-order methods (searched on 2026-11-30: no pull
request for "lower bound first-order", "lower complexity bound", "Nesterov lower bound",
"worst function", "Krylov subspace", "accelerated gradient", "oracle complexity",
"first-order method" or "tridiagonal"); optlib has rates for gradient methods but no lower
bound. ReasBook (tag
v4.30.0) proves Nesterov, Theorem 2.1.7 (its Theorem 2.8,Chap02/Theorem_2_8.lean) for1 ≤ k ≤ (n - 1) / 2and methods given as maps from objectives to sequences that satisfy the span condition for everyC¹objective, with the matrixA_k; nothing is adapted from it.
References #
- Yu. Nesterov, Lectures on Convex Optimization, 2nd ed., Springer, 2018, Section 2.1.2 (Assumption 2.1.4, Lemma 2.1.5, Corollary 2.1.1, Theorem 2.1.7) and Section 2.2.1.
- A. Beck, First-Order Methods in Optimization, SIAM, 2017, Theorem 10.34.
- A. Beck, M. Teboulle, A fast iterative shrinkage-thresholding algorithm for linear inverse problems, SIAM J. Imaging Sci. 2 (2009), 183–202.
Tags #
lower complexity bound, first-order method, smooth convex optimization, worst function, Krylov subspace, optimal method, FISTA, accelerated gradient method, oracle complexity
Nesterov's worst function #
Nesterov's coordinate x⁽ʲ⁾ of x : ℝⁿ, counted from 1, for 1 ≤ j ≤ k (and j ≤ n),
and 0 otherwise. In particular x⁽⁰⁾ = x⁽ᵏ⁺¹⁾ = 0, the boundary values in
ConvexAnalysis.LowerBound.worstFunction L k.
Equations
Instances For
x⁽⁰⁾ = 0.
x⁽ʲ⁾ = 0 for j > k, in particular x⁽ᵏ⁺¹⁾ = 0.
The difference operator D x = (x⁽¹⁾ - x⁽⁰⁾, x⁽²⁾ - x⁽¹⁾, …, x⁽ᵏ⁺¹⁾ - x⁽ᵏ⁾) from ℝⁿ to
ℝᵏ⁺¹, for the coordinates ConvexAnalysis.LowerBound.truncCoord k, so x⁽⁰⁾ = x⁽ᵏ⁺¹⁾ = 0.
Nesterov's tridiagonal matrix is A_k = D† D.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The j-th entry of D x (counted from 0) is x⁽ʲ⁺¹⁾ - x⁽ʲ⁾.
Nesterov's worst function (Nesterov, Section 2.1.2)
f_k x = L / 4 (½ [(x⁽¹⁾)² + ∑_{i=1}^{k-1} (x⁽ⁱ⁾ - x⁽ⁱ⁺¹⁾)² + (x⁽ᵏ⁾)²] - x⁽¹⁾), written as
L / 4 (½ ∑_{j=0}^{k} (x⁽ʲ⁺¹⁾ - x⁽ʲ⁾)² - x⁽¹⁾) with x⁽⁰⁾ = x⁽ᵏ⁺¹⁾ = 0. Nesterov defines it for
1 ≤ k ≤ n; here f_0 = 0 and f_k = f_n for k ≥ n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
f_k x = L / 8 (‖D x - e₀‖² - 1) for the difference operator D.
The gradient of ConvexAnalysis.LowerBound.worstFunction L k: L / 4 D† (D x - e₀) for the
difference operator D = ConvexAnalysis.LowerBound.truncDiff k, that is Nesterov's
L / 4 (A_k x - e₁) with A_k = D† D and e₁ = D† e₀;
ConvexAnalysis.LowerBound.worstGradient_apply gives its coordinates.
Equations
- One or more equations did not get rendered due to their size.
Instances For
ConvexAnalysis.LowerBound.worstGradient L k x is the gradient of f_k at x.
f_k is infinitely differentiable (it is a quadratic, so even analytic).
f_k is convex for L ≥ 0 (0 ⪯ ∇² f_k in Nesterov, Section 2.1.2).
The gradient of f_k is L-Lipschitz for L ≥ 0 (∇² f_k ⪯ L I in
Nesterov, Section 2.1.2): ‖A_k‖ = ‖D‖² ≤ 4.
The gradient of f_k in coordinates: its i-th coordinate (counted from 0, Nesterov's
(i + 1)-th) is L / 4 (2 x⁽ⁱ⁺¹⁾ - x⁽ⁱ⁾ - x⁽ⁱ⁺²⁾ - δ_{i0}) for i < k and 0 otherwise, the
(i + 1)-th row of L / 4 (A_k x - e₁) with the tridiagonal matrix A_k of
Nesterov, Section 2.1.2.
The minimal value of f_k is at least L / 8 (-1 + 1 / (k + 1)), for all k and n
(with equality for k ≤ n, ConvexAnalysis.LowerBound.worstFunction_worstPoint): the entries of
D x - e₀ sum to -1, so ‖D x - e₀‖² ≥ 1 / (k + 1) by Cauchy–Schwarz.
The subspaces ℝ^{k,n} and the span of the gradients #
The subspace ℝ^{k,n} = {x ∈ ℝⁿ | x⁽ⁱ⁾ = 0 for k + 1 ≤ i ≤ n} of
Nesterov, Section 2.1.2, in which only the first k coordinates can differ from
0.
Equations
Instances For
x ∈ ℝ^{k,n} if and only if the coordinates x i with i ≥ k (counted from 0) vanish.
ℝ^{k,n} ⊆ ℝ^{p,n} for k ≤ p.
On ℝ^{k,n} the coordinates after the k-th vanish.
On ℝ^{k,n} the cut-off after p ≥ k does not change the coordinates.
The step of Nesterov, Lemma 2.1.5: the gradient of f_p maps ℝ^{k,n} into
ℝ^{k+1,n}, since A_p is tridiagonal. No relation between p and k is needed.
f_p = f_k on ℝ^{k,n} for p ≥ k (Nesterov, Section 2.1.2, where
k ≤ p ≤ n).
Nesterov, Lemma 2.1.5: if the test points satisfy
x j ∈ L_j = span {∇ f_p (x 0), …, ∇ f_p (x (j - 1))} for j < k (for j = 0 this says
x 0 = 0), then L_k ⊆ ℝ^{k,n}. Nesterov assumes k ≤ p; this is not needed.
Nesterov, Corollary 2.1.1: under the hypothesis of
ConvexAnalysis.LowerBound.span_le_coordSubspace and k ≤ p, every point y of
span {∇ f_p (x 0), …, ∇ f_p (x (k - 1))}, in particular y = x k, has
f_p y ≥ f_k* = L / 8 (-1 + 1 / (k + 1)).
The minimizer #
The minimizer x̄_k of f_k (Nesterov, Section 2.1.2):
x̄_k⁽ⁱ⁾ = 1 - i / (k + 1) for 1 ≤ i ≤ k (Nesterov's coordinates, counted from 1) and
x̄_k⁽ⁱ⁾ = 0 for i > k.
Equations
Instances For
All entries of D x̄_k - e₀ are -1 / (k + 1).
‖D x̄_k - e₀‖² = 1 / (k + 1), for k ≤ n.
D x̄_k - e₀ is orthogonal to the range of D, for k ≤ n: its entries are equal and
the entries of D w sum to 0.
The minimal value (2.1.17) of Nesterov, Section 2.1.2:
f_k x̄_k = L / 8 (-1 + 1 / (k + 1)) for k ≤ n.
The gradient of f_k vanishes at x̄_k, for k ≤ n: A_k x̄_k = e₁.
x̄_k minimizes f_k, for L ≥ 0 and k ≤ n (Nesterov, Section 2.1.2).
x̄_k ≠ 0 for 1 ≤ k ≤ n: its first coordinate is 1 - 1 / (k + 1).
x̄_k ∈ ℝ^{k,n}: its coordinates after the k-th vanish.
A point of ℝ^{k,n} is orthogonal to every point whose first k coordinates vanish.
The kernel of the difference operator: D u = 0 iff the first k coordinates of u vanish
(counted from 0), since the entries of D u are the differences of consecutive coordinates
and u⁽⁰⁾ = 0.
f_k is a quadratic around its minimizer: f_k w = f_k x̄_k + L / 8 ‖D (w - x̄_k)‖² for
k ≤ n and the difference operator D, since D x̄_k - e₀ is orthogonal to the range of D
(ConvexAnalysis.LowerBound.inner_truncDiff_worstPoint_sub).
The minimizers of f_k, for L > 0 and k ≤ n: w minimizes f_k iff it agrees with
x̄_k in the first k coordinates (f_k does not depend on the others). So x̄_k is the only
minimizer for k = n, and for k < n the minimizers form the affine subspace
x̄_k + {u | u⁽¹⁾ = ⋯ = u⁽ᵏ⁾ = 0}.
x̄_k is the minimizer of f_k of least norm: for L > 0, k ≤ n and every minimizer
w of f_k, ‖w‖² = ‖x̄_k‖² + ‖w - x̄_k‖², since w - x̄_k vanishes in the first k
coordinates (ConvexAnalysis.LowerBound.isMinOn_worstFunction_iff).
(2.1.19) of Nesterov, Section 2.1.2: ‖x̄_k‖² ≤ (k + 1) / 3 for k ≤ n.
A point of ℝ^{k,n} is far from x̄_{2k+1}: it misses the coordinates k + 1, …, 2 k + 1
of x̄_{2k+1}, whose squares sum to (2 k² + 7 k + 6) / (24 (k + 1)) (the proof of
Nesterov, Theorem 2.1.7).
The lower bound #
The gap in the function values (the first bound in the proof of
Nesterov, Theorem 2.1.7, for x0 = 0): for L ≥ 0, 2 k + 1 ≤ n and
y ∈ ℝ^{k,n}, f y - f* ≥ 3 L ‖x̄‖² / (32 (k + 1)²) for f = f_{2k+1} and its minimizer
x̄ = x̄_{2k+1}.
The distance to every minimizer (the second bound in the proof of
Nesterov, Theorem 2.1.7, for x0 = 0 and every minimizer instead of x̄_{2k+1}):
for L > 0, 2 k + 1 ≤ n, y ∈ ℝ^{k,n} and every minimizer w of f_{2k+1},
‖w‖² / 8 ≤ ‖y - w‖². The minimizer w agrees with x̄_{2k+1} in the first 2 k + 1
coordinates, and its other coordinates add the same amount to ‖w‖² and to ‖y - w‖².
The lower complexity bound for smooth convex optimization
Nesterov, Theorem 2.1.7, for every point of the affine span of the gradients. For
L > 0, 2 k + 1 ≤ n (Nesterov: 1 ≤ k ≤ (n - 1) / 2; k = 0 is allowed here) and every
x0 : ℝⁿ there are an infinitely differentiable convex f with an L-Lipschitz gradient f'
and a minimizer xs ≠ x0 of f nearest to x0, ‖x0 - xs‖ ≤ ‖x0 - z‖ for every minimizer z
(so ‖x0 - xs‖ is the distance from x0 to the solution set), such that: for every sequence of
test points x with x 0 = x0 that satisfies Assumption 2.1.4 for j < k,
x j ∈ x 0 + span {f' (x 0), …, f' (x (j - 1))}, every point
y ∈ x 0 + span {f' (x 0), …, f' (x (k - 1))} has
f y - f* ≥ 3 L ‖x0 - xs‖² / (32 (k + 1)²), and ‖y - z‖² ≥ ‖x0 - z‖² / 8 for every minimizer
z. The function is f x = f_{2k+1} (x - x0); its minimizers are the points that agree with
xs = x0 + x̄_{2k+1} in the first 2 k + 1 coordinates
(ConvexAnalysis.LowerBound.isMinOn_worstFunction_iff), so xs is the only one for
n = 2 k + 1. The first bound does not hold with every minimizer in place of xs, since
‖x0 - z‖ is unbounded on the minimizers for n > 2 k + 1. Nesterov's statement is the case
y = x k (ConvexAnalysis.LowerBound.exists_le_sub_of_forall_mem_span).
The lower complexity bound for smooth convex optimization in the form of
Nesterov, Theorem 2.1.7: for L > 0, 2 k + 1 ≤ n and every x0 there is an
infinitely differentiable convex f with an L-Lipschitz gradient f' and a minimizer
xs ≠ x0 nearest to x0 such that every sequence x with x 0 = x0 and Assumption 2.1.4,
x j ∈ x 0 + span {f' (x 0), …, f' (x (j - 1))} for j ≤ k, has
f (x k) - f xs ≥ 3 L ‖x0 - xs‖² / (32 (k + 1)²) and ‖x k - z‖² ≥ ‖x0 - z‖² / 8 for every
minimizer z. The case y = x k of ConvexAnalysis.LowerBound.exists_le_sub_of_mem_span.
FISTA is optimal up to a constant #
Accelerated gradient methods satisfy Assumption 2.1.4 of
Nesterov, Section 2.1.2: for y 0 = x 0, x (k + 1) = y k - c k f' (y k) and
y (k + 1) = x (k + 1) + β k (x (k + 1) - x k) with any steps c k (constant, from a line
search or from backtracking) and momentum β k, both x k and y k lie in
x 0 + span {f' (y 0), …, f' (y (k - 1))}. This covers FISTA with g = 0 and gradient descent
(β = 0).
FISTA is optimal up to the factor 64 / 3 (the optimality of fast gradient methods,
Nesterov, Section 2.2.1). For L > 0, 2 N + 3 ≤ n and every x0 : ℝⁿ there are
an infinitely differentiable convex f with an L-Lipschitz gradient f' and a minimizer
xs ≠ x0 nearest to x0 on which FISTA with g = 0 and the Beck–Teboulle momentum
(Beck–Teboulle, the accelerated gradient method
x (k + 1) = y k - f' (y k) / L,
y (k + 1) = x (k + 1) + ((t k - 1) / t (k + 1)) (x (k + 1) - x k), y 0 = x 0 = x0) has
3 L ‖x0 - xs‖² / (32 (N + 2)²) ≤ f (x (N + 1)) - f xs ≤ 2 L ‖x0 - xs‖² / (N + 2)². The upper
bound is ConvexAnalysis.acceleratedGradient_rate (Beck, Theorem 10.34), which holds for
every such f; the lower bound is ConvexAnalysis.LowerBound.exists_le_sub_of_mem_span with
k = N + 1 and holds for every method whose output after N + 1 gradients lies in the span of
these gradients (ConvexAnalysis.sub_mem_span_of_accelerated). So no such method has a better
worst-case rate than FISTA by more than the factor 2 / (3 / 32) = 64 / 3, as long as
2 N + 3 ≤ n.