← writings

Introduction to lower bounds in optimization

by Samuel Vaiter on 2025-06-12

Download PDF version

Most of the bounds that are described in the optimization litterature are upper bounds of the form ‖x(t)−x⋆‖≤α⁢(t) or f⁢(x(t))−f⁢(x⋆)≤α⁢(t). But what about findings the reverse-side inequality ‖x(t)−x⋆‖≥β⁢(t)? Said otherwise, what can we achieve with a “gradient-descent-like” algorithm?

To formalize this notion, we consider algorithm, here sequences (x(t))t≥0, that build upon the previous iterates with only access to a first-order oracle:

Assumption 1 (First-order method).

We assume that a first-order method is given by a sequence x(t) such that

x(t)∈x(0)+Span⁡{∇f⁢(x(0)),…,∇f⁢(x(t−1))}.

We shall note that one can thinks of a more general way to define first-order methods, but for the sake of the results we aim to prove, such level of generality is enough.

With this assumption in mind, how to design a function adversarial to these type of schemes? The idea is to find a function such that the gradient at step t−1 gives minimal information, i.e., it has a minimal nonzero partial derivatives. A way to define such function is to “stack” quadratic functions with increasing dependencies between variables:

fkL,μ⁢(x)=L−μ8⁢((x1−1)2+∑i=1k−1(xi+1−xi)2+xk2)+μ2⁢‖x‖2, (1)

where 0≤μ<L and 0≤k≤d.

∂fkL,μ∂xi⁢(x)=μ⁢xi+L−μ4⁢{−x2+2⁢x1−1if ⁢i=1−xi+1+2⁢xi−xi−1if ⁢2≤i<k2⁢xk−xk−1if ⁢i=k0otherwise.

Set f=fkL,μ. Observe that if we start from x(0)=0, then

x(1)=x(0)−η⁢∇f⁢(0)=−η⁢L−μ4⁢e1∈ℝ⁢e1,

that is only the first coordinate is updated after one iteration. What happens now that we have access to x(0), ∇fk⁢(x(0)) and ∇fk⁢(x(1))? An algorithm satisfying Assumption 1, we look at

x(2)=x0+α⁢∇f⁢(x(0))+β⁢∇f⁢(x(1)).

One can check that for any (α,β), x(2)∈ℝ⁢e1+ℝ⁢e2, and by an easy induction, we have x(t)∈∑k=1tℝ⁢ek: any first-order methods will only be able to update at most one new coordinate at each iteration. We are going to prove the following result.

Theorem 1 (Lower-bound for smooth convex optimization).

For any d≥2, x(0)∈ℝd, L>0, t≤(n−1)/2, there exists a convex function f that is C∞ and L-smooth such that any sequences satisfying Assumption 1 is such that

f⁢(x(t))−f⁢(x⋆) ≥3⁢L⁢‖x(0)−x⋆‖232⁢(t+1)2 (2)

where x⋆ is a minimizer of f.

Remark that the rate 1/t2 is not achieved by the gradient descent11 1 There exist algorithms that achieve it, in particular Nesterov’s acceleration method.! We also have a lower bound for the class of strongly convex functions.

Theorem 2 (Lower-bound for smooth strongly convex optimization).

For any d≥2, x(0)∈ℝd, L>0, there exists a μ-strongly convex function f that is C∞ and L-smooth such that any sequences satisfying Assumption 1 is such that for all t<(n−1)/2, we have

‖x(t)−x⋆‖2 ≥18⁢(Kf−1Kf+1)2⁢t⁢‖x(0)−x⋆‖2, (4)
f⁢(x(t))−f⁢(x⋆) ≥μ16⁢(Kf−1Kf+1)2⁢t⁢‖x(0)−x⋆‖2. (5)

where x⋆ is the unique minimizer of f.

Note that it is common in the litterature to see Theorem 2 without the factor 18. This is due to an artefact of proof since we prove this result in the finite dimensional case whereas Nesterov (2018) works in the infinite dimensional space ℓ2⁢(ℕ). Before proving these important results due to (Nemirovski and Yudin, 1983), we are going to prove several lemmas.

Lemma 1 (Minimizers of fk).

Let d≥2, L>0, μ≥0, then fkL,μ defined in (1) is a μ-strongly convex (eventually convex if μ=0) C∞-function such that its gradient is L-Lipschitz.

If μ=0, it has a unique minimizer xk,⋆ satisfying

xik,⋆={1−ik+1if ⁢1≤i≤k0otherwise,andfkL,0⁢(xk,⋆)=L8⁢(k+1).

If μ>0, it has a unique minimizer xk,⋆ satisfying

xik,⋆=s2⁢(k+1)s2⁢(k+1)−1⁢s−i+11−s2⁢(k+1)⁢si,

for 1≤i≤k, and xik,⋆=0 for i>k, where s=Kf+1Kf−1.

Proof.

We drop the exponents L,μ in the definition of fk=fkL,μ. The function fk being a quadratic form, it is C∞ and its partial derivatives read

∂fk∂xi⁢∂xj⁢(x)=μ⁢1{i=j}+L−μ4⁢{2if ⁢i=j≤k−1if ⁢j=i−1⁢ and ⁢1<i≤k−1if ⁢j=i+1⁢ and ⁢1≤i<k0otherwise.

Thus, the Hessian matrix is given (for any x∈ℝd) by

∇2fk⁢(x)=μ⁢Idd+L−μ4⁢Lk,

where Lk is a (thresholded) discrete Laplacian operator with Dirichlet boundary conditions that is tridiagonal

Lk=(2−100k,d−k−12−1−1⋱⋱⋱⋱−1−120d−k,k0d−k,d−k).

Observe that we have (since fk is a quadratic form)

fk⁢(x) =12⁢⟨∇2fk⁢(x)⁢x,x⟩−L−μ4⁢x1+L−μ8.

Note that:

  1. 1.

    The Hessian is definite (resp. semi-definite) positive if μ>0 (resp. μ=0). Indeed,

    ⟨∇2fk⁢(x)⁢h,h⟩ =μ⁢‖h‖2+L−μ4⁢⟨Lk⁢h,h⟩.

    Since ⟨Lk⁢h,h⟩=h12+∑i=1k(hi+1−hi)2+hk2≥0 for any h, the result follows depending on the value of μ.

  2. 2.

    Since (a−b)2≤2⁢a2+2⁢b2, we have

    h12+∑i=1k(hi+1−hi)2+hk2≤h12+∑i=1k(2⁢hi+12+2⁢hi2)+hk2≤4⁢∑i=1khi2≤4⁢∑i=1dhi2=4⁢‖h‖2.

    Hence,

    ⟨∇2fk⁢(x)⁢h,h⟩≤μ⁢‖h‖2+(L−μ)⁢‖h‖2=L⁢‖h‖2.

Thus, we have μ⁢Id⪯∇2fk⁢(x)⪯L⁢Id.

Let us characterize the (unique) solution xk,⋆ of the minimization of fk over ℝd. We aim to solve ∇fk⁢(xk,⋆)=0 to find a critical point (which will be a minimum since we just proved that the Hessian is at least semidefinite positive), that is

μ⁢xk,⋆+L−μ4⁢Lk⁢xk,⋆−L−μ4⁢e1=0.

Projecting this relation on each coordinate 2≤i≤k−1, we get that

−xi−1k,⋆+2⁢xik,⋆−xi−1k,⋆=−4⁢μL−μ⁢xik,⋆,

which leads to

xik,⋆=12⁢L+μL−μ⁢(xi+1k,⋆+xi−1k,⋆).

Similarly, we have

x1k,⋆=12⁢L+μL−μ⁢(x2k,⋆+1)andxkk,⋆=12⁢L+μL−μ⁢xk−1k,⋆.

Consider y0,…,yk+1 defined by yi=xik,⋆ for 1≤i≤k and y0=1 and yk+1=0. We have the relation

yi=α⁢(yi+1+yi−1)whereα=12⁢L+μL−μ>0.

We can rewrite it as the second-order linear recursion yi+2−α−1⁢yi+1+yi=0. The associated trinom is P=X2−α−1⁢X+1∈ℝ⁢[X] whose discriminant is given by

Δ=(−α−1)2−4=16⁢L⁢μ(L−μ)2.

We distinguish two cases:

  1. 1.

    If μ=0, then the unique root is given by r=1.

  2. 2.

    If μ>0, then the roots are given by

    r =12⁢(α−1−Δ)=Lμ−1Lμ+1=Kf−1Kf+1
    s =12⁢(α−1+Δ)=Kf+1Kf−1=1r.

Case μ=0. We have the affine relation yi=(a+b⁢i)⁢r with constraints y0=a=1 and yk+1=a+b⁢(k+1)=0. In turn, we have yi=1−ik+1 and thus

xik,⋆={1−ik+1if ⁢1≤i≤k0otherwise.

The associated optimal value is given by

fk⁢(xk,⋆)=L8⁢((−1k+1)+∑i=1k−11(k+1)2+(1−kk+1)2)=L8⁢k+1(k+1)2=L8⁢1k+1.

Case μ>0. The solution can be written as

yi=a⁢ri+b⁢siwith{a+b=1a⁢rk+1+b⁢sk+1=0.

Thus, we have b=1−a, hence aa−1=s2⁢(k+1)>0, and in turn we have

a=s2⁢(k+1)s2⁢(k+1)−1andb=11−s2⁢(k+1).

Hence,

yi=s2⁢(k+1)s2⁢(k+1)−1⁢s−i+11−s2⁢(k+1)⁢si.

∎

We now turns to the proofs of Theorem 1 and Theorem 2.

Proof of Theorem 1.

We restrict our attention the the case where x0=0 w.l.o.g. Indeed, if x0≠0, we can set x↦f~⁢(x)=f⁢(x+x0) and the following proof carry on. Let d=2⁢k+1 and set f=f2⁢k+1L,0.

Remark that

f⁢(x(t))=f2⁢k+1L,0⁢(x(t))=ftL,0⁢(x(t))≥ft⋆.

Using Lemma 1, we have on one hand that ft⋆=L8⁢(t+1), and then

f⁢(x(t))−f⁢(x⋆)=L8⁢(k+1)−L8⁢2˙⁢(k+1)=L16⁢(k+1).

On the other hand,

‖x2⁢k+1,⋆−x0‖2=‖x2⁢k+1,⋆‖2=∑i=12⁢k+1(x2⁢k+1,⋆)i2
=∑i=12⁢k+1(1−i2⁢(k+1))2
=∑i=12⁢k+11−22⁢(k+1)⁢∑i=12⁢k+1i+14⁢(k+1)2⁢∑i=12⁢k+1i2
=(2⁢k+1)−1k+1⁢2⁢(k+1)⁢(2⁢k+1)2+14⁢(k+1)2⁢2⁢(k+1)⁢(4⁢k+3)⁢(2⁢k+1)6
=13⁢(2⁢k+1)⁢(4⁢k+3)4⁢(k+1)
≤2⁢k+13≤23⁢(k+1).

Thus,

f⁢(x(t))−f⁢(x⋆)‖x2⁢k+1,⋆−x0‖2≥L16⁢(k+1)23⁢(k+1)=3⁢L32⁢(k+1)2,

that proves (2).

∎

Proof of Theorem 2.

The proof follows the same strategy as before, but we start with a bound on the iterates instead of the objective function. Assume that x(0)=0, otherwise let f~=f(⋅+x0). Consider d=2⁢k+1 and f=f2⁢k+1L,μ. We rewrite the coordinate of x2⁢k+1,⋆ as

xi2⁢k+1,⋆=s4⁢(k+1)s4⁢(k+1)−1⁢s−i+11−s4⁢(k+1)⁢si=s−i⁢(1−s2⁢i−1s4⁢(k+1)−1).

On one hand, we have:

‖x(0)−x2⁢k+1,⋆‖2=∑i=12⁢k+1(xi2⁢k+1,⋆)2=∑i=12⁢k+1s−2⁢i⁢(1−s2⁢i−1s4⁢(k+1)−1)2≤∑i=12⁢k+1s−2⁢i,

where we used that for all 1≤i≤2⁢k+1, we have

0≤1−s2⁢i−1s4⁢(k+1)−1≤1.

Bounding the tail of the geometric sums, we obtain

‖x(0)−x2⁢k+1,⋆‖2≤2⁢∑i=1k+1s−2⁢i. (6)

On the other hand, observe that for t<k+1, one has x(t)∈ℝk,2⁢k+1, thus

‖x(t)−x2⁢k+1,⋆‖2≥∑i=k+12⁢k+1(xi2⁢k+1,⋆)2=∑i=k+12⁢k+1s−2⁢i⁢(1−s2⁢i−1s4⁢(k+1)−1)2.

Since s>0, we have

1−s2⁢is4⁢(k+1)−1≤1−s2⁢(k+1)s4⁢(k+1)−1,

and in turn,

1≥(1−s2⁢i−1s4⁢(k+1)−1)2≥(1−s2⁢(k+1)−1s4⁢(k+1)−1)2≥0.

Thus,

‖x(k)−x2⁢k+1,⋆‖2 ≥(1−s2⁢(k+1)−1s4⁢(k+1)−1)2⁢∑i=k+12⁢k+1s−2⁢i
=(1−s2⁢(k+1)−1s4⁢(k+1)−1)2⁢s−2⁢k⁢∑i=1k+1s−2⁢i. (7)

Observe that

(1−s2⁢(k+1)−1s4⁢(k+1)−1)2≥14.

Combining it with (6) and (7), we have

‖x(t)−x2⁢k+1,⋆‖2≥18⁢s−2⁢k⁢‖x(0)−x2⁢k+1,⋆‖2≥18⁢(Kf−1Kf+1)2⁢t⁢‖x(0)−x2⁢t+1,⋆‖2,

proving (4). The value bound (5) is obtained by applying the following inequality

f⁢(x)≥f⁢(x⋆)+μ2⁢‖x−x⋆‖2,

to f. ∎

More refined versions of these lower bounds, which provide tighter constants, can be found in Drori and Taylor (2022). However, these improvements come at the price of significantly more involved and technical proofs.

References