Projected, Proximal and Constrained First-Order Methods
Projection, the proximal operator, mirror descent and Frank–Wolfe, and the single inequality that makes all of their proofs work.
Unconstrained gradient descent needs one modification to handle constraints and non-smooth regularisers, and the modification is the same in every case: replace "take a gradient step" by "take a gradient step, then do something that respects the structure". This page collects the four standard choices of "something".
Projection
For a closed convex , . The minimiser exists and is unique by strong convexity of the objective on the closed convex feasible set.
For all and all ,
Let be convex and -smooth on a closed convex , with minimiser over . The iteration
satisfies , the same rate as in the unconstrained case.
The proximal operator
For a convex, closed, proper and ,
The minimiser is unique because the objective is strongly convex.
Taking , the indicator function of a convex set ( on , off it), recovers . So projection is a special case of the proximal operator, and the theory below subsumes the theory above.
For ,
Key idea
Soft thresholding is why the lasso produces exactly-zero coefficients rather than merely small ones. A gradient step followed by soft thresholding sets to zero every coordinate whose gradient signal is below — the sparsity is created by the prox operator, in closed form, at no computational cost. Ridge regression, whose prox is the shrinkage , never produces an exact zero.
Let with convex and -smooth and convex closed proper. The iteration
satisfies . The accelerated variant (FISTA) attains .
Quoted from Beck–Teboulle. The structure of the proof is the projected-gradient proof with the non-expansiveness of replaced by the firm non-expansiveness of ; the references give it in full.
- Input. Design , response , regularisation , step with .
- Repeat for :
- gradient step ;
- soft threshold , coordinatewise;
- Until .
Frank–Wolfe
When projection is expensive but linear minimisation over is cheap — as for the ball, the nuclear-norm ball, or a combinatorial polytope — the conditional gradient method applies.
Let be convex and -smooth on a compact convex of diameter . The iteration
satisfies .
Mirror descent
Let be -strongly convex with respect to a norm on , and define the Bregman divergence . The iteration
satisfies, for convex with in the dual norm,
so with optimal the rate is .
The proof is the subgradient-method proof with replaced by throughout; it is in Bubeck's survey. The content is the choice of :
| Norm | Rate constant | ||
|---|---|---|---|
| simplex |
On the simplex the entropic choice gives a dependence on dimension where the Euclidean choice would give . That is a genuinely large gain for large , and it is obtained by measuring the gradient in rather than — the geometry of the problem, not the algorithm, is what changed.
Key idea
Gradient descent is not "the" first-order method; it is the first-order method for the Euclidean geometry. The gradient is a representation of the derivative that depends on an inner product, and mirror descent makes that dependence a design choice. Adaptive methods such as Adam can be read the same way, as descent in a metric that changes with the iterates.
Problems
Projection onto the probability simplexProof · Advanced · 1 hour The proximal operator of the l1 normProof · Beginner · 15 min The Frank–Wolfe duality gap certificateProof · Intermediate · 30 min Mirror descent on the simplex beats Euclidean projectionProof · Graduate · 1 hourReferences
- SurveyNeal Parikh and Stephen Boyd (2014). Proximal Algorithms
- PaperAmir Beck and Marc Teboulle (2009). A fast iterative shrinkage-thresholding algorithm for linear inverse problemsFISTA, the accelerated proximal gradient method.
- PaperMartin Jaggi (2013). Revisiting Frank–Wolfe: Projection-Free Sparse Convex Optimization
- 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
- LemmaProjection onto a convex set is non-expansiveproof includedEuclidean projection onto a closed convex set is 1-Lipschitz, and satisfies the obtuse-angle inequality.
- TheoremConvergence of projected gradient descentproof includedProjected gradient descent attains the same rates as gradient descent on constrained convex problems.
- DefinitionProximal operatorThe proximal operator trades a step towards minimising a function against staying near the current point.
- PropositionThe proximal operator of the l1 norm is soft thresholdingproof includedAn explicit closed form that makes proximal gradient practical for the lasso.
- TheoremConvergence of proximal gradient descentProximal gradient descent on a smooth-plus-convex composite objective attains the O(1/t) rate.
- TheoremFrank–Wolfe convergenceproof includedThe conditional gradient method attains O(1/t) using only linear minimisations over the constraint set.
- PropositionMirror descent and the geometry of the gradientReplacing the Euclidean proximity term by a Bregman divergence changes which norm the rate is measured in.