Skip to content
nonconvexcard

Convex Sets, Convex Functions, Smoothness and Strong Convexity

The four properties that every convergence theorem quantifies over, with the equivalences and the counterexamples that show they are genuinely different.

OptimizationCore⏱ 3 hours11 min readconvexitystrong convexitysmoothnesslipschitzstationary point
5 problems →

Every convergence theorem in the optimisation section has the shape: under assumptions A, B, C, algorithm X satisfies rate R. This page defines A, B and C precisely, proves the equivalences that let one be swapped for another, and gives the counterexamples that show none of them implies the others.

Convex sets and functions

DefinitionConvex set

C⊆Rd\mathcal{C}\subseteq\R^d is convex if θx+(1−θ)y∈C\theta x + (1-\theta)y \in \mathcal{C} for all x,y∈Cx,y\in\mathcal{C} and θ∈[0,1]\theta\in[0,1].

DefinitionConvex function

f:C→Rf:\mathcal{C}\to\R on a convex domain is convex if for all x,y∈Cx,y\in\mathcal{C}, θ∈[0,1]\theta\in[0,1],

f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y),f\big(\theta x + (1-\theta)y\big) \le \theta f(x) + (1-\theta)f(y),

strictly convex if the inequality is strict for x≠yx \ne y and θ∈(0,1)\theta\in(0,1), and μ\mu-strongly convex (μ>0\mu>0) if x↦f(x)−μ2∥x∥22x \mapsto f(x) - \tfrac\mu2\norm{x}_2^2 is convex.

TheoremFirst-order characterisation

Let ff be differentiable on an open convex set. Then ff is convex if and only if

f(y)≥f(x)+⟨∇f(x),y−x⟩for all x,y,f(y) \ge f(x) + \ip{\nabla f(x)}{y-x} \qquad\text{for all } x,y,

and μ\mu-strongly convex if and only if

f(y)≥f(x)+⟨∇f(x),y−x⟩+μ2∥y−x∥22for all x,y.f(y) \ge f(x) + \ip{\nabla f(x)}{y-x} + \frac\mu2\norm{y-x}_2^2 \qquad\text{for all }x,y .

Key idea

"A convex function lies above its tangent planes" is the single most useful form of convexity in proofs. It converts a global comparison between two points into a statement involving only the gradient at one of them, which is exactly what an algorithm has access to. Almost every proof in the optimisation section applies this inequality at x=xtx = x_t and y=x⋆y = x^\star.

TheoremSecond-order characterisation

Let ff be twice continuously differentiable on an open convex set. Then

  • ff is convex   ⟺  ∇2f(x)⪰0\iff \nabla^2f(x)\succeq0 for all xx;
  • ff is μ\mu-strongly convex   ⟺  ∇2f(x)⪰μI\iff \nabla^2f(x)\succeq\mu I for all xx;
  • ff is LL-smooth   ⟺  −LI⪯∇2f(x)⪯LI\iff -LI \preceq \nabla^2f(x)\preceq LI for all xx; if ff is also convex this reads ∇2f(x)⪯LI\nabla^2 f(x) \preceq LI.

Strong convexity and its consequences

PropositionConsequences of strong convexity

Let ff be differentiable and μ\mu-strongly convex, with minimiser set arg min⁡f\argmin f. Then

  1. ff has a unique minimiser x⋆x^\star;
  2. quadratic growth: f(x)−f(x⋆)≥μ2∥x−x⋆∥22f(x) - f(x^\star) \ge \tfrac\mu2\norm{x-x^\star}_2^2;
  3. Polyak–Łojasiewicz (PL) inequality: ∥∇f(x)∥22≥2μ(f(x)−f(x⋆))\norm{\nabla f(x)}_2^2 \ge 2\mu\big(f(x)-f(x^\star)\big);
  4. coercivity: f(x)→∞f(x)\to\infty as ∥x∥2→∞\norm{x}_2\to\infty.

Key idea

The PL inequality is the property that actually drives linear convergence, and it is weaker than strong convexity — there are non-convex functions satisfying it. Every proof on this site that obtains a geometric rate uses PL, not strong convexity directly, which is why some of those proofs extend to non-convex settings. This is the technical content behind the over-parameterised convergence results on the deep learning theory page.

PropositionThe sandwich

If ff is LL-smooth and μ\mu-strongly convex then for all x,yx,y,

f(x)+⟨∇f(x),y−x⟩+μ2∥y−x∥22  ≤  f(y)  ≤  f(x)+⟨∇f(x),y−x⟩+L2∥y−x∥22,f(x) + \ip{\nabla f(x)}{y-x} + \frac\mu2\norm{y-x}_2^2 \;\le\; f(y) \;\le\; f(x) + \ip{\nabla f(x)}{y-x} + \frac L2\norm{y-x}_2^2 ,

and necessarily μ≤L\mu\le L. The ratio κ=L/μ≥1\kappa = L/\mu \ge 1 is the condition number of ff.

Stationary points

DefinitionStationary point

xx is a stationary point of a differentiable ff if ∇f(x)=0\nabla f(x)=0. It is an ε\eps-stationary point if ∥∇f(x)∥2≤ε\norm{\nabla f(x)}_2\le\eps.

PropositionStationary points of convex functions are global minimisers

If ff is convex and differentiable and ∇f(x⋆)=0\nabla f(x^\star)=0, then x⋆∈arg min⁡fx^\star\in\argmin f. For non-convex ff, a stationary point may be a local minimum, a local maximum, or a saddle point, and second-order information does not always decide which.

This is why every non-convex convergence result in this laboratory states its conclusion as "converges to an ε\eps-stationary point" and not "converges to a minimum". The gap between the two statements is not a technical nicety; it is where essentially all of the difficulty of non-convex optimisation lives.

The four properties are independent

PropositionLogical independence

The following functions on R\R separate the properties:

FunctionConvexStrongly convexLL-smoothLipschitz
x2x^2yesyes (μ=2\mu=2)yes (L=2L=2)no
x4x^4yesnonono
∣x∣\abs{x}yesnonoyes (K=1K=1)
1+x2\sqrt{1+x^2}yesnoyes (L=1L=1)yes (K=1K=1)
sin⁡x\sin xnonoyes (L=1L=1)yes (K=1K=1)
x2+sin⁡(5x)/2x^2 + \sin(5x)/2nonoyesno

Problems

First-order characterisation of convexityProof · Beginner · 30 min Strong convexity implies the Polyak–Lojasiewicz inequalityProof · Intermediate · 30 min Existence and uniqueness of the minimiserProof · Beginner · 15 min Every norm is convex, and the operator norm is a supremum of linear functionsProof · Beginner · 15 min Separating convexity, strong convexity, smoothness and LipschitznessProof · Intermediate · 30 min

References

  • BookStephen Boyd and Lieven Vandenberghe (2004). Convex OptimizationChapters 2–3 are the standard reference for the material of this page.
  • BookYurii Nesterov (2018). Lectures on Convex OptimizationThe source of the modern complexity-theoretic framing used throughout the optimisation section.
  • SurveySébastien Bubeck (2015). Convex Optimization: Algorithms and Complexity

These works are cited as sources to read, not reproduced. All exposition, examples and problems on this site are written independently; where an argument is standard, the citation points to a canonical treatment.

Results stated on this page

Problems (5)

All problems