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.
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
is convex if for all and .
on a convex domain is convex if for all , ,
strictly convex if the inequality is strict for and , and -strongly convex () if is convex.
Let be differentiable on an open convex set. Then is convex if and only if
and -strongly convex if and only if
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 and .
Let be twice continuously differentiable on an open convex set. Then
- is convex for all ;
- is -strongly convex for all ;
- is -smooth for all ; if is also convex this reads .
Strong convexity and its consequences
Let be differentiable and -strongly convex, with minimiser set . Then
- has a unique minimiser ;
- quadratic growth: ;
- Polyak–Łojasiewicz (PL) inequality: ;
- coercivity: as .
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.
If is -smooth and -strongly convex then for all ,
and necessarily . The ratio is the condition number of .
Stationary points
is a stationary point of a differentiable if . It is an -stationary point if .
If is convex and differentiable and , then . For non-convex , 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 -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
The following functions on separate the properties:
| Function | Convex | Strongly convex | -smooth | Lipschitz |
|---|---|---|---|---|
| yes | yes () | yes () | no | |
| yes | no | no | no | |
| yes | no | no | yes () | |
| yes | no | yes () | yes () | |
| no | no | yes () | yes () | |
| no | no | yes | no |
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 minReferences
- 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
- TheoremFirst-order characterisation of convexityproof includedA differentiable function is convex exactly when it lies above all of its tangent planes.
- TheoremSecond-order characterisation of convexityproof includedA twice-differentiable function is convex exactly when its Hessian is positive semidefinite everywhere.
- PropositionConsequences of strong convexityproof includedStrong convexity gives a unique minimiser, a quadratic growth lower bound and the Polyak–Lojasiewicz inequality.
- PropositionThe sandwich between smoothness and strong convexityproof includedAn L-smooth and mu-strongly convex function is trapped between two quadratics, and the ratio L/mu is the condition number.
- PropositionStationary points of convex functions are global minimisersproof includedFor convex functions the first-order condition is sufficient, not merely necessary.
- PropositionThe four properties are logically independentproof includedExplicit functions separating convexity, strong convexity, smoothness and Lipschitz continuity.
Problems (5)
All problems- Separating convexity, strong convexity, smoothness and LipschitznessProofIntermediate⏱ 30 min
- First-order characterisation of convexityProofBeginner⏱ 30 min
- Every norm is convex, and the operator norm is a supremum of linear functionsProofBeginner⏱ 15 min
- Strong convexity implies the Polyak–Lojasiewicz inequalityProofIntermediate⏱ 30 min
- Existence and uniqueness of the minimiserProofBeginner⏱ 15 min