Many recovery and learning problems combine smooth losses with constraints or penalties that are not differentiable. Solving them efficiently requires understanding both the cost of an iteration and the conditions for convergence. We begin with subgradient, projection, and barrier methods, then develop proximal maps and splitting algorithms, including ADMM and primal–dual schemes.
The main references for this chapter are [10, 11, 4]. Further background is provided in [25, 3, 2].
We consider a general convex optimization problem
x∈Hminf(x)(19.1)
where H=Rp is a finite-dimensional Euclidean space, and seek algorithms with a low cost per iteration. The first-order methods below use gradients, subgradients, or proximal maps. Unless stated otherwise, functions are proper, lower semicontinuous, and convex, and a minimizer is assumed to exist.
The optimization problem (9.26) is an unconstrained problem of the form (19.1) with a smooth objective: f:H→R is continuously differentiable with Lipschitz gradient. Here ∇f(x)∈H is the gradient of the objective with respect to its variable x. It is distinct from the spatial gradient ∇x of a signal or image, which is a vector field. The functional gradient satisfies the first-order expansion
f(x+r)=f(x)+⟨∇f(x),r⟩H+O(∣∣r∣∣H2)
The Lipschitz-gradient assumption gives the quadratic remainder O(∣∣r∣∣H2); differentiability alone gives o(∣∣r∣∣H). Examples of gradient computations appear in Section 9.5.3.
For such a function, the gradient descent algorithm is defined as
x(ℓ+1):=x(ℓ)−τℓ∇f(x(ℓ)).(19.2)
The step size τℓ>0 balances stability against progress per iteration.
For a nonsmooth objective f, replace the gradient in (19.2) by a subgradient:
x(ℓ+1):=x(ℓ)−τℓg(ℓ)whereg(ℓ)∈∂f(x(ℓ)).(19.3)
A subgradient step need not decrease the objective. Convergence generally requires diminishing step sizes, as the example f(x)=∣x∣ illustrates. This can make the method slow. When the objective admits a useful decomposition, the proximal methods developed below can exploit it more effectively.
where C⊂RS is a nonempty closed convex set and f:RS→R is convex and continuously differentiable. The convergence theorem below additionally assumes a Lipschitz gradient.
To impose the constraint, follow the gradient step (19.2) by projection:
x(ℓ+1):=ProjC(x(ℓ)−τℓ∇f(x(ℓ))).(19.5)
Here ProjC is the orthogonal projection onto C, defined by
ProjC(x)=x′∈Cargmin∣∣x−x′∣∣
The projection is unique because C is nonempty, closed, and convex.
Projected gradient retains analogous convergence guarantees under the following assumptions.
The main practical difficulty in (19.5) is evaluating the projection. For several sets arising in ℓ1 minimization, it can be computed efficiently.
We briefly describe interior-point methods, which often require relatively few but expensive iterations. They extend Newton-type methods to problems whose constraints have a suitable barrier representation, such as nonnegativity of vectors or positive definiteness of matrices.
To illustrate the main idea, we consider the following problem
x∈Rd,Ax⩽yminf(x)(19.6)
for A∈Rm×d.
Related formulations replace the vector Ax by a matrix and the componentwise inequality ⩽ by a positive-semidefinite constraint.
Interior-point methods approximate (19.6) by introducing a logarithmic barrier:
x∈Rd,Ax<yminft(x):=f(x)−t1Log(y−Ax)(19.9)
where
Log(u):=i∑log(ui)
The function −Log is strictly convex and diverges at the boundary of the positive orthant.
Assuming strict feasibility and existence of central-path minimizers x(t), the objective values f(x(t)) approach the original optimal value as t→+∞.
For a fixed t, assume ft is twice continuously differentiable with positive definite Hessian along the iterates. Apply Newton’s method to (19.9), using a line search such as Armijo backtracking (14.14) to choose 0<τℓ⩽1 while maintaining Ax(ℓ)<y:
A natural stopping criterion for the inner Newton iterations is
⟨[∂2ft(x(ℓ))]−1∇ft(x(ℓ)),∇ft(x(ℓ))⟩<2ε.
The barrier method approximately minimizes ft through (19.10), tracing the central path t↦x(t) for increasing parameters t=tk=μkt0 with μ>1.
A warm start makes this continuation strategy efficient: initialize the Newton iterations (19.10) for x(tk) at the preceding solution x(tk−1).
Along the central path, the logarithmic barrier gives f(x(tk))−f(x⋆)⩽m/tk, where m is the number of scalar constraints. To reach error ε, take k=0,…,K with
tKm=t0μKm⩽ε.
Thus O(∣log(ε)∣) barrier-parameter updates suffice for accuracy ε. The total cost also depends on the number of inner Newton iterations (19.10), whose control requires further assumptions on f.
The relevant complexity theory uses self-concordant barriers. A convex function φ on a line is self-concordant when
∣φ(3)(s)∣⩽2φ′′(s)3/2.
The logarithmic barrier has this property. For a linear objective, the appropriately scaled objective tf−Log(y−Ax) is self-concordant; arbitrary positive rescaling does not preserve the same self-concordance constant. With a suitable path-following neighborhood and barrier-parameter schedule, the number of Newton steps can be bounded polynomially in the problem parameters and logarithmically in 1/ε. The bound depends on the barrier parameter (equal to m for this logarithmic barrier), not only on the requested accuracy. A fixed number of Newton steps per outer iteration cannot be asserted for an arbitrary update factor μ>1.
It balances a decrease in f against a quadratic penalty for moving away from x.
Since f∈Γ0(H), the objective 21∣∣x−⋅∣∣2+τf is strongly convex and coercive, so Proxτf is well defined and single-valued.
For an indicator f=ιC, the proximal map is the projection ProxιC=ProjC. It therefore generalizes projection to convex functions. For each fixed input, the proximal point is also the projection onto a suitable sublevel set of f. Like an orthogonal projection, the proximal map is nonexpansive.
Figure 19.1. Proximal map and projection map.
Examples
Several common proximal maps have closed forms.
For some nonconvex functions, the proximal minimization also has solutions, but they may be nonunique. For example, Proxτ∣∣⋅∣∣0 is hard thresholding at 2τ; see Proposition 10.1. At ∣xi∣=2τ, both 0 and xi are minimizers.
The minimum and maximum in this clipping formula act componentwise.
For an indicator f=ιC of a closed convex cone C,
(ιC)∗=ιC∘whereC∘:={y;∀x∈C,⟨x,y⟩⩽0}(19.16)
where C∘ is the polar cone. This conjugacy relation (19.16) is specific to cones: for a general convex set C, the conjugate of its indicator need not be an indicator.
Splitting algorithms exploit a decomposition of the objective into terms whose proximal maps can be computed separately.
Different decompositions of the same objective produce different splitting algorithms. A useful decomposition balances the cost of the proximal maps against the convergence of the resulting iteration.
Step sizes and other parameters also need to be chosen; theoretical convergence bounds and line-search strategies can guide their selection.
This shows that being a minimizer of f is equivalent to being a fixed point of Proxτf.
This fixed-point characterization suggests the proximal point iterations
x(ℓ+1):=Proxτℓf(x(ℓ)).(19.19)
The proximal point method does not require an upper stability bound on the step size. Steps must nevertheless be large enough in aggregate; the following sufficient condition is convenient.
This implicit step (19.19) should be compared with a gradient descent step (19.2)
x(ℓ+1):=(Id−τℓ∇f)(x(ℓ)).
The implicit resolvent (Id+τℓ∂f)−1 replaces the explicit map Id−τℓ∇f. For small τℓ and smooth f, the two agree to first order. The implicit step also remains well defined for nonsmooth objectives and converges under the assumptions above, without the upper step-size restriction of explicit gradient descent. This resembles the greater stability of implicit Euler integration. The computational tradeoff is that a general proximal map may be as difficult to evaluate as the original minimization problem.
This fixed point suggests the following algorithm, known as forward–backward splitting
x(ℓ+1):=Proxτℓg(x(ℓ)−τℓ∇f(x(ℓ))).(19.21)
Derivation using surrogate functionals.
A quadratic surrogate gives another derivation of the algorithm and helps explain its convergence.
Replace the objective E(x) at the current iterate by a surrogate E(x,x(ℓ)) that is easier to minimize, and define
x(ℓ+1):=xargminE(x,x(ℓ)).(19.22)
Require the surrogate to majorize the objective and agree with it at the current point:
E(x)⩽E(x,x′)andE(x,x)=E(x)(19.23)
and E(x)−E(x,x′) should be a smooth function.
Property (19.23) ensures that E does not increase along the iterations:
E(x(ℓ+1))⩽E(x(ℓ))
For proximal-gradient surrogates with a fixed 0<τ<1/L, sufficient decrease and the optimality conditions imply that every accumulation point is a minimizer. The majorization and touching conditions alone do not establish this conclusion for arbitrary surrogate schemes.
To construct a surrogate for (19.20), use the quadratic upper bound (14.19) supplied by the L-Lipschitz gradient of f:
Minimizing this surrogate is exactly a proximal-gradient step.
**Convergence of FB. **
The majorization argument uses τ⩽1/L, whereas convergence of the iterates holds on the larger interval 0<τ<2/L.
Taking g=ιC in (19.21) recovers projected gradient descent (19.5), because the proximal map of an indicator is the projection onto the constraint set.
Applying (19.21) efficiently requires a tractable proximal map Proxτg. A closed form is available for several useful penalties, including the ℓ1 penalty used by ISTA in Section 10.3.3.
As a first example, apply a familiar method to the Fenchel–Rockafellar problem (18.12):
p⋆=xinff(x)+g(Ax),(19.25)
Assume additionally that f is μ-strongly convex, and, for simplicity, that f and g are finite and continuous everywhere. Even if f is smooth, applying forward–backward splitting directly to the primal problem requires Proxτ(g∘A). This map can be difficult to evaluate despite having a simple Proxτg. Proposition 19.8 gives an explicit formula in the special case AA∗=Id.
Continuity supplies the qualification for Fenchel–Rockafellar duality, Theorem 18.12, giving
p⋆=usup−g∗(u)−f∗(−A∗u).(19.28)
Strong convexity of f with constant μ makes the conjugate f∗ differentiable with 1/μ-Lipschitz gradient. Apply forward–backward splitting (19.21) to the negative dual objective:
u(ℓ+1)=Proxτg∗(u(ℓ)+τA∇f∗(−A∗u(ℓ))).
Choose a fixed step 0<τ<2/L, where L>0 bounds the Lipschitz constant of the smooth dual gradient; L=∣∣A∣∣2/μ is valid when A=0. The fixed-step assumption ensures that Theorem 19.14 applies.
Once a dual maximizer u⋆ is computed, equivalently a minimizer of the negative dual objective, the primal-dual relations (18.18) recover the unique primal minimizer:
Assume 0∈∂f(x⋆)+∂g(x⋆) for some x⋆ (for example, a minimizer exists and the relative interiors of the domains intersect). Then, for any τ>0, any 0<μ<2, and any x~0, the shadow iterates x(ℓ) converge to a minimizer of f+g, which may depend on the initialization.
Interchanging f and g gives another valid iteration.
More than two functions.
A product-space formulation treats K functions (fk)k symmetrically:
where C={(x,y);Ax=y}. Douglas–Rachford splitting applies because the proximal map of f separates into those of f1 and f2 by (19.14). The proximal map of g is projection onto C. The following proposition gives two equivalent formulas, allowing a choice between systems in the input and output spaces of A.
19.5.3 Alternating Direction Method of Multipliers¶
Douglas–Rachford splitting, introduced in Section 19.5.2, can minimize f+g∘A without strong convexity of f. Its direct application requires the proximal maps Proxτf and Proxτg∘A.
The alternating direction method of multipliers (ADMM) is related to Douglas–Rachford splitting on the dual problem (19.28). This formulation uses Proxτg∗, computable from Proxτg by Moreau decomposition, and Proxτ(f∗∘A∗). The primal updates derived below express these operations as alternating minimizations.
For A∈Rn×p, introduce y=Ax as in (18.13) and scale the multiplier by γ>0. Define
ADMM instead updates x and y alternately, which often makes the individual subproblems tractable.
Step (19.35) is gradient ascent in the multiplier z with step 1/γ. Assume for this calculation that f is differentiable. Combining the x and z updates enforces ∇f(x(ℓ+1))+γA⊤z(ℓ+1)=0, the stationarity relation in x. Indeed, the optimality condition for (19.34) reads
Here Proxf/γA(u) denotes the minimizer set of 21∣∣Ax−u∣∣2+f(x)/γ; it can be set-valued when A is not injective. Under the usual qualification for this subproblem, if
p=Proxγ(f∗∘A∗)(γu),
then every minimizing x satisfies Ax=u−p/γ and A∗p∈∂f(x). If A has full column rank, this gives
Proxf/γA(u)=A+(u−γ1Proxγ(f∗∘A∗)(γu)).
For noninjective A, applying A+ alone need not recover a minimizer; the component in ker(A) must also minimize f.
If neither Proxτg∘A nor Proxτf⋆∘A∗ is tractable, a primal-dual method can work directly with the saddle problem. Its efficiency depends on the available operator evaluations, proximal maps, and conditioning.
For the structured problem (19.25), biconjugacy g=(g∗)∗ gives the saddle formulation
For θ=1, σ,τ>0, and στ∣∣A∣∣2<1, the primal and dual iterates converge to a saddle point, provided one exists. The value θ=0 is not covered by this general convergence guarantee.