Search

Search papers and lessons

Convex Optimization: Algorithms and Complexity

Sébastien Bubeck · 2015

Bubeck's monograph asks how many queries an algorithm needs to minimise a convex function, and proves matching upper and lower bounds for the main first-order methods.

On this page

  • Colour = topic mix
  • Calculus
  • Discrete math
  • Optimization
  • Linear algebra
  • Probability
  • Losses & regularization
  • Sign in to see your progress

TL;DR

Bubeck's monograph studies how many queries an algorithm needs to find a near-optimal point of a convex function when all it can do is ask for the function's value and its slope at chosen points. The answer depends on what the algorithm is told about the function, not on how many variables there are. It collects the main methods, proves how fast each one converges, and shows where those rates cannot be beaten.

Where you'll see it: in the theory behind training linear models such as logistic regression and the lasso, in the analysis of gradient descent that practitioners rely on, and as the reference for why accelerated and stochastic methods behave as they do.

This is a research-level text. Read the subgradient and smooth function lessons first.

The problem

Suppose you want to minimise a convex function ff over a convex set X\mathcal{X}, but you cannot write down ff in closed form. You can only query it: give a point, receive the value and a slope (a subgradient). This setting is called the black-box model, and the number of queries is the cost. Before this work, it was not clear which methods were best for this model, how the cost grew with the number of variables nn and the accuracy ε\varepsilon, or whether known bounds were tight.

Much of the field had split into separate traditions: cutting-plane methods from geometry, gradient methods from numerical analysis, and interior-point methods from linear programming. Cutting-plane methods repeatedly shrink a region known to contain the minimiser, using a slope at each query to cut away half-spaces; interior-point methods follow a path through the inside of the constraint set. Each tradition had its own rates, and it was hard to compare them.

Key idea

The structure of the function sets the rate. Three properties do most of the work:

  1. Lipschitz: the function cannot change too fast. Slopes are bounded by LL.
  2. Smooth: the slope itself changes slowly. Its own Lipschitz constant is β\beta.
  3. Strongly convex: the function curves upward at least as much as a bowl with curvature α\alpha.

Each property buys a faster method, and the paper proves exactly how much. The condition number κ=β/α\kappa = \beta/\alpha measures how stretched the bowl is. A ratio close to 1 means a round bowl that is easy to descend. A large ratio means a narrow valley, where simple steps zig-zag.

flowchart LR
  A[Only Lipschitz] --> R1[Rate 1 over square root of t]
  B[Smooth] --> R2[Rate 1 over t]
  C[Smooth and strongly convex] --> R3[Geometric rate, about kappa log of 1 over epsilon steps]

The second half of the key idea is the lower bound. The paper shows that for each setting, no black-box method can beat the stated rate. So the rates are not just good, they are optimal in this model.

The method

The monograph covers several families, built on gradient descent and its relatives. The lessons below focus on three that show the main tradeoffs.

Projected subgradient descent for Lipschitz functions

Take a step against a subgradient gtg_t of ff at xtx_t, then project back into X\mathcal{X}:

yt+1=xt−η gt,xt+1=ΠX(yt+1).y_{t+1} = x_t - \eta\, g_t, \qquad x_{t+1} = \Pi_{\mathcal{X}}(y_{t+1}).

Here η\eta is the step size and ΠX\Pi_{\mathcal{X}} is the projection onto X\mathcal{X}. Assume X\mathcal{X} lies in a ball of radius RR and every subgradient has norm at most LL. The proof has two parts. First, the subgradient inequality gives f(xs)−f(x∗)≤gs⊤(xs−x∗)f(x_s) - f(x^*) \le g_s^\top(x_s - x^*). Second, the identity 2a⊤b=∥a∥2+∥b∥2−∥a−b∥22a^\top b = \|a\|^2 + \|b\|^2 - \|a-b\|^2 turns each step into a telescoping change in the squared distance to x∗x^*. Projection never increases this distance, so summing over ss and choosing η=R/(Lt)\eta = R/(L\sqrt{t}) gives

f(1t∑s=1txs)−f(x∗)≤RLt.f\Big(\frac{1}{t}\sum_{s=1}^{t} x_s\Big) - f(x^*) \le \frac{RL}{\sqrt{t}}.

The average of the iterates, not the last one, carries the guarantee.

Gradient descent for smooth functions

When ff is convex and β\beta-smooth, the update xt+1=xt−1β∇f(xt)x_{t+1} = x_t - \frac{1}{\beta}\nabla f(x_t) is much better. The key one-step inequality, which follows from smoothness, is

f(x−1β∇f(x))−f(x)≤−12β∥∇f(x)∥2.f\Big(x - \tfrac{1}{\beta}\nabla f(x)\Big) - f(x) \le -\frac{1}{2\beta}\|\nabla f(x)\|^2.

Combined with convexity, which gives δs≤∥xs−x∗∥ ∥∇f(xs)∥\delta_s \le \|x_s - x^*\|\,\|\nabla f(x_s)\| for δs=f(xs)−f(x∗)\delta_s = f(x_s) - f(x^*), this yields a recursion of the form δs+1≤δs−ω δs2\delta_{s+1} \le \delta_s - \omega\,\delta_s^2 with ω=1/(2β∥x1−x∗∥2)\omega = 1/(2\beta\|x_1 - x^*\|^2). Inverting it gives 1/δt≥ω(t−1)1/\delta_t \ge \omega(t-1). The paper also shows the iterates never move away from x∗x^*, which is what makes the argument close. The result is

f(xt)−f(x∗)≤2βR2t−1,R=∥x1−x∗∥.f(x_t) - f(x^*) \le \frac{2\beta R^2}{t-1}, \qquad R = \|x_1 - x^*\|.

The rate is 1/t1/t instead of 1/t1/\sqrt{t}. Smoothness makes the gradient shrink near the optimum, so the steps adjust themselves.

Frank–Wolfe (conditional gradient)

Projection can be the expensive part. Frank–Wolfe avoids it. At each step it solves a linear problem over X\mathcal{X}: yt∈arg⁡min⁡y∈X∇f(xt)⊤yy_t \in \arg\min_{y \in \mathcal{X}} \nabla f(x_t)^\top y, then moves toward yty_t with xt+1=(1−γt)xt+γtytx_{t+1} = (1-\gamma_t)x_t + \gamma_t y_t. With γs=2/(s+1)\gamma_s = 2/(s+1) and ff smooth in any norm,

f(xt)−f(x∗)≤2βR2t+1.f(x_t) - f(x^*) \le \frac{2\beta R^2}{t+1}.

The method works in any norm and never needs a projection, which is the reason it is used on constraint sets such as the set of matrices with bounded nuclear norm (a convex stand-in for low rank), where projection is expensive but the linear step is cheap.

Strong convexity

If ff is also α\alpha-strongly convex, projected gradient descent with η=1/β\eta = 1/\beta contracts the distance to the optimum at a geometric rate:

∥xt+1−x∗∥2≤exp⁡ ⁣(−tκ) ∥x1−x∗∥2.\|x_{t+1} - x^*\|^2 \le \exp\!\Big(-\frac{t}{\kappa}\Big)\,\|x_1 - x^*\|^2.

The number of steps to reach accuracy ε\varepsilon is therefore about κlog⁡(R2/ε)\kappa \log(R^2/\varepsilon), a logarithm in accuracy instead of a power. The monograph also gives an accelerated method, in the style of Nesterov, whose step count scales with κ\sqrt{\kappa} instead of κ\kappa (it reuses past steps much as momentum does). The monograph's introduction collects these rates together with the other methods covered.

Results

The paper's main contributions are the matching bounds. Three results carry most of the weight.

Non-smooth, Lipschitz case. For t≤nt \le n, there is a convex LL-Lipschitz function on which every black-box method after tt queries has error at least RL2(1+t)\dfrac{RL}{2(1+\sqrt{t})}. The projected subgradient rate RL/tRL/\sqrt{t} is therefore optimal up to constants. Reaching accuracy ε\varepsilon costs on the order of 1/ε21/\varepsilon^2 queries, whatever the dimension.

Strongly convex, non-smooth case. A similar lower bound, L2/(8αt)L^2/(8\alpha t), shows that 1/t1/t is the best possible rate there.

Smooth and strongly convex case. Gradient descent gives the geometric rate above, and the accelerated method improves the dependence on κ\kappa to κ\sqrt{\kappa}. The paper's overview table also lists stochastic methods, such as stochastic gradient descent with rate BL/tBL/\sqrt{t} for non-smooth problems (BB bounds the size of the stochastic subgradients) and SVRG, a variance-reduced variant for finite sums, where the cost to accuracy ε\varepsilon scales like (m+κ)log⁡(1/ε)(m + \kappa)\log(1/\varepsilon) for mm terms.

To make the gap concrete, take R=L=β=1R = L = \beta = 1 and ε=10−3\varepsilon = 10^{-3}. Non-smooth subgradient descent needs on the order of 10610^6 queries. Smooth gradient descent, by the bound 2βR2/(t−1)≤ε2\beta R^2/(t-1) \le \varepsilon, needs t≈2001t \approx 2001. These are guarantees, not measured counts, and the constants in the bounds differ by method. The order-of-magnitude difference is the point.

Why it mattered

The monograph is widely cited as a reference for the complexity side of convex optimization. It places each method in one framework, states the rates, and proves the lower bounds that tell a practitioner when a faster method is unlikely to exist within the black-box model.

The methods it covers are now everyday tools. Subgradient and stochastic gradient methods train large models, Frank–Wolfe is used on structured constraint sets, and the accelerated and variance-reduced methods appear in many research codes. The lower-bound results explain why the most common methods cannot be made dramatically faster without extra structure in the problem.

Reading guide

Read the paper in this order, with the lessons listed for each section.

  1. Chapter 1 (problems, convexity, black-box model). Needs convex functions, convex sets, subgradients and Lipschitz continuity.
  2. Chapter 2 (cutting-plane methods, including the ellipsoid method). Needs convex sets and the geometry of ellipsoids. The overall idea is a sequence of shrinking regions, which the paper compares with the subgradient rates.
  3. Section 3.1 (projected subgradient descent). Needs subgradients and Lipschitz continuity. Read it with gradient descent in mind.
  4. Section 3.2 (gradient descent for smooth functions). Needs smooth functions. The key lemmas are the quadratic upper bound and the one-step inequality.
  5. Section 3.3 (Frank–Wolfe). Needs linear optimization over a convex set, and the idea of a linear minimisation oracle.
  6. Section 3.4 (strong convexity). Needs strong convexity. Read 3.4.2 for the geometric rate.
  7. Section 3.5 (lower bounds). The constructions use hard functions built from a single coordinate direction. Needs the convexity and smoothness lessons above.
  8. Later chapters (structured problems, non-Euclidean and stochastic methods). Needs stochastic gradient descent for the stochastic sections, dual averaging for the non-Euclidean methods, and Lagrangian duality for the constrained formulations.

Check yourself

QuestionA non-smooth convex function is LL-Lipschitz on a ball of radius RR. Why does subgradient descent need Θ(1/ε2)\Theta(1/\varepsilon^2) queries in the worst case, and why does the dimension not appear in that count?Show answer

The projected subgradient method with η=R/(Lt)\eta = R/(L\sqrt{t}) has error at most RL/tRL/\sqrt{t}, so accuracy ε\varepsilon needs t≈(RL/ε)2t \approx (RL/\varepsilon)^2 queries. The lower bound RL/(2(1+t))RL/(2(1+\sqrt{t})) shows no black-box method can do better in the worst case. The dimension does not appear because the analysis uses only the norm of the subgradients and the distance RR, not the number of coordinates. The paper notes that RR and LL themselves may depend on the dimension.

QuestionFor β\beta-smooth convex ff, gradient descent with η=1/β\eta = 1/\beta satisfies f(xt)−f(x∗)≤2βR2/(t−1)f(x_t) - f(x^*) \le 2\beta R^2/(t-1). How many iterations guarantee error at most ε\varepsilon when βR2=1\beta R^2 = 1 and ε=10−3\varepsilon = 10^{-3}?Show answer

Solve 2/(t−1)≤10−32/(t-1) \le 10^{-3}, which gives t−1≥2000t - 1 \ge 2000, so t=2001t = 2001 iterations suffice. This is a guarantee, not a measured count. Compare with about 10610^6 queries from the non-smooth bound with the same RR and LL values, which is the gap the paper's rates describe.

QuestionWhy does Frank–Wolfe need a linear optimization step rather than a projection, and what does it cost?Show answer

Frank–Wolfe chooses its direction by minimising a linear function ∇f(xt)⊤y\nabla f(x_t)^\top y over X\mathcal{X}, so it never has to find the nearest point of X\mathcal{X} to a given point. That step can be much simpler for sets such as the ℓ1\ell_1 ball or the set of matrices of bounded nuclear norm. The price is the rate itself: for smooth functions it is 1/t1/t, the same order as smooth gradient descent, and it does not reach the geometric rate that projected gradient descent gets under strong convexity.

QuestionUnder strong convexity and smoothness, the paper gives a rate exp⁡(−t/κ)\exp(-t/\kappa) for the squared distance. A colleague says that a condition number κ=104\kappa = 10^4 is fine because the rate is still geometric. What is the problem?Show answer

Geometric rates are fast only if tt is large compared with κ\kappa. Reaching accuracy ε\varepsilon takes about κlog⁡(R2/ε)\kappa \log(R^2/\varepsilon) steps for plain gradient descent, which is about 104⋅log⁡(R2/ε)10^4 \cdot \log(R^2/\varepsilon) here. The accelerated method needs about κlog⁡(R2/ε)=100log⁡(R2/ε)\sqrt{\kappa} \log(R^2/\varepsilon) = 100 \log(R^2/\varepsilon) steps instead of 104log⁡(R2/ε)10^4 \log(R^2/\varepsilon), a hundredfold saving, so the choice of method matters a great deal at large κ\kappa.

QuestionIn the paper's lower-bound theorem, why is the restriction t≤nt \le n needed, and what does it say about the rates?Show answer

The hard functions in the construction reveal information only along a fresh coordinate direction with each query, and the proof assumes each new point lies in the span of past subgradients. With tt queries the method can only explore tt directions, so the argument needs t≤nt \le n. Once tt exceeds the dimension, the paper notes that exponential rates are achievable, as the cutting-plane methods of Chapter 2 show, so the polynomial lower bounds describe the regime where the number of queries is small compared with the dimension.

Sources

Read the full paper

Sébastien Bubeck, 2015. arXiv:1405.4980