Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

19. Nonsmooth Convex Optimization

CNRS & DMA, École Normale Supérieure

Chapter PDF · Complete book

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

minxH  f(x)(19.1)\underset{x \in \mathcal{H}}{\min}\; f(x) \tag{19.1}

where H=Rp\mathcal{H}=\mathbb{R}^p 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.

19.1 Descent Methods

We extend the gradient method of Section 14.4 to nonsmooth objectives and constraints.

19.1.1 Gradient Descent

The optimization problem (9.26) is an unconstrained problem of the form (19.1) with a smooth objective: f:HRf : \mathcal{H}\rightarrow \mathbb{R} is continuously differentiable with Lipschitz gradient. Here f(x)H\nabla f(x)\in\mathcal{H} is the gradient of the objective with respect to its variable xx. It is distinct from the spatial gradient x\nabla 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),rH+O( ⁣r ⁣H2)f(x+r) = f(x) + \langle \nabla f(x),\,r\rangle_{\mathcal{H}} + O(|\!| r |\!|_{\mathcal{H}}^2)

The Lipschitz-gradient assumption gives the quadratic remainder O( ⁣r ⁣H2)O(|\!| r |\!|_{\mathcal{H}}^2); differentiability alone gives o( ⁣r ⁣H)o(|\!| r |\!|_{\mathcal{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)x^{(\ell+1)} \mathrel{:=}x^{(\ell)} - \tau_\ell \nabla f( x^{(\ell)} ). \tag{19.2}

The step size τ>0\tau_\ell>0 balances stability against progress per iteration.

19.1.2 Subgradient Method

For a nonsmooth objective ff, replace the gradient in (19.2) by a subgradient:

x(+1):=x()τg()whereg()f(x()).(19.3)x^{(\ell+1)} \mathrel{:=}x^{(\ell)} - \tau_\ell g^{(\ell)} \quad \text{where} \quad g^{(\ell)} \in \partial f( x^{(\ell)} ). \tag{19.3}

A subgradient step need not decrease the objective. Convergence generally requires diminishing step sizes, as the example f(x)=xf(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.

19.1.3 Projected Gradient Descent

We consider a constrained optimization problem

minxC  f(x)(19.4)\underset{x \in \mathcal{C}}{\min}\; f(x) \tag{19.4}

where CRS\mathcal{C}\subset \mathbb{R}^S is a nonempty closed convex set and f:RSRf : \mathbb{R}^S \rightarrow \mathbb{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)x^{(\ell+1)} \mathrel{:=}\mathop{\mathrm{Proj}}_\mathcal{C}\left( x^{(\ell)} - \tau_\ell \nabla f( x^{(\ell)} ) \right). \tag{19.5}

Here ProjC\mathop{\mathrm{Proj}}_\mathcal{C} is the orthogonal projection onto C\mathcal{C}, defined by

ProjC(x)=argminxC   ⁣xx ⁣\mathop{\mathrm{Proj}}_\mathcal{C}(x) = \underset{x' \in \mathcal{C}}{\mathop{\mathrm{argmin}}}\; |\!| x-x' |\!|

The projection is unique because C\mathcal{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\ell^1 minimization, it can be computed efficiently.

19.2 Interior Point Methods

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

minxRd,Axy  f(x)(19.6)\underset{x\in \mathbb{R}^d, A x \leqslant y}{\min}\; f(x) \tag{19.6}

for ARm×dA \in \mathbb{R}^{m \times d}.

Related formulations replace the vector AxA x by a matrix and the componentwise inequality \leqslant by a positive-semidefinite constraint.

Interior-point methods approximate (19.6) by introducing a logarithmic barrier:

minxRd, Ax<y  ft(x):=f(x)1tLog(yAx)(19.9)\underset{x\in\mathbb{R}^d,\ Ax<y}{\min}\; f_t(x) \mathrel{:=}f(x) - \frac{1}{t} \text{Log}( y-A x ) \tag{19.9}

where

Log(u):=ilog(ui)\text{Log}(u) \mathrel{:=}\sum_i \log(u_i)

The function Log-\mathrm{Log} is strictly convex and diverges at the boundary of the positive orthant.

Assuming strict feasibility and existence of central-path minimizers x(t)x(t), the objective values f(x(t))f(x(t)) approach the original optimal value as t+t\to+\infty.

For a fixed tt, assume ftf_t 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<τ10<\tau_\ell\leqslant 1 while maintaining Ax()<yAx^{(\ell)}<y:

x(+1):=x()τ[2ft(x())]1ft(x())(19.10)x^{(\ell+1)} \mathrel{:=}x^{(\ell)} - \tau_\ell [ \partial^2 f_t(x^{(\ell)})]^{-1} \nabla f_t(x^{(\ell)}) \tag{19.10}

The gradient and Hessian are

ft(x)=f(x)+1tA1yAxand2ft(x)=2f(x)+1tAdiag(1(yAx)2)A.\nabla f_t(x) = \nabla f(x) + \frac{1}{t} A^\top \frac{1}{y-Ax} \quad \text{and} \quad \partial^2 f_t(x) = \partial^2 f(x) + \frac{1}{t} A^\top \mathop{\mathrm{diag}}\left( \frac{1}{(y-Ax)^2} \right) A.

A natural stopping criterion for the inner Newton iterations is

[2ft(x())]1ft(x()),ft(x())<ε2.\langle [ \partial^2 f_t(x^{(\ell)})]^{-1} \nabla f_t(x^{(\ell)}),\,\nabla f_t(x^{(\ell)})\rangle < \frac{\varepsilon}{2}.

The barrier method approximately minimizes ftf_t through (19.10), tracing the central path tx(t)t \mapsto x(t) for increasing parameters t=tk=μkt0t=t_k=\mu^k t_0 with μ>1\mu > 1.

A warm start makes this continuation strategy efficient: initialize the Newton iterations (19.10) for x(tk)x(t_k) at the preceding solution x(tk1)x(t_{k-1}).

Along the central path, the logarithmic barrier gives f(x(tk))f(x)m/tkf(x(t_k))-f(x^\star) \leqslant m/t_k, where mm is the number of scalar constraints. To reach error ε\varepsilon, take k=0,,Kk=0, \ldots, K with

mtK=mt0μKε.\frac{m}{t_{K}} = \frac{m}{t_0 \mu^{K}} \leqslant\varepsilon.

Thus O(log(ε))O(|\log(\varepsilon)|) barrier-parameter updates suffice for accuracy ε\varepsilon. The total cost also depends on the number of inner Newton iterations (19.10), whose control requires further assumptions on ff.

The relevant complexity theory uses self-concordant barriers. A convex function φ\varphi on a line is self-concordant when

φ(3)(s)2φ(s)3/2.|\varphi^{(3)}(s)|\leqslant 2\varphi''(s)^{3/2}.

The logarithmic barrier has this property. For a linear objective, the appropriately scaled objective tfLog(yAx)t f-\mathrm{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/ε1/\varepsilon. The bound depends on the barrier parameter (equal to mm 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\mu>1.

19.3 Proximal Algorithm

For a nonsmooth objective ff, an explicit gradient step may be undefined. An implicit step remains available even when ff is nonsmooth.

19.3.1 Proximal Map

For a step size τ>0\tau>0, define the proximal map by

x,Proxτf(x):=argminx  12 ⁣xx ⁣2+τf(x).(19.11)\forall \,x, \quad \mathop{\mathrm{Prox}}_{\tau f}(x) \mathrel{:=}\underset{x'}{\mathop{\mathrm{argmin}}}\; \frac{1}{2}|\!| x-x' |\!|^2+\tau f(x'). \tag{19.11}

It balances a decrease in ff against a quadratic penalty for moving away from xx.

Since fΓ0(H)f\in\Gamma_0(\mathcal{H}), the objective 12 ⁣x ⁣2+τf\frac12|\!| x-\cdot |\!|^2+\tau f is strongly convex and coercive, so Proxτf\mathop{\mathrm{Prox}}_{\tau f} is well defined and single-valued.

For an indicator f=ιCf=\iota_\mathcal{C}, the proximal map is the projection ProxιC=ProjC\mathop{\mathrm{Prox}}_{\iota_\mathcal{C}}=\mathop{\mathrm{Proj}}_{\mathcal{C}}. It therefore generalizes projection to convex functions. For each fixed input, the proximal point is also the projection onto a suitable sublevel set of ff. 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\mathop{\mathrm{Prox}}_{\tau |\!| \cdot |\!|_0} is hard thresholding at 2τ\sqrt{2\tau}; see Proposition 10.1. At xi=2τ|x_i|=\sqrt{2\tau}, both 0 and xix_i are minimizers.

19.3.2 Basic Properties

The following identities simplify proximal computations.

Composition with a linear map having orthonormal rows admits an explicit formula.

Link with the subdifferential.

For a set-valued map U:HGU : \mathcal{H}\hookrightarrow \mathcal{G}, we define the inverse set-valued map U1:GHU^{-1} : \mathcal{G}\hookrightarrow \mathcal{H} by

hU1(g)gU(h)(19.15)h \in U^{-1}(g) \quad\Longleftrightarrow\quad g \in U(h) \tag{19.15}

The proximal map is the resolvent of the subdifferential.

This resolvent interpretation connects proximal algorithms with the theory of maximally monotone operators.

Link with duality.

Moreau decomposition relates the proximal maps of a function and its conjugate.

Thus a tractable proximal map for ff gives one for ff^*, and conversely.

For example, Proposition 18.7 gives the following expression for soft thresholding

Proxτ ⁣ ⁣1(x)=xτProj ⁣ ⁣1(x/τ)=xProj ⁣ ⁣τ(x)whereProj ⁣ ⁣τ(x)=min(max(x,τ),τ).\mathop{\mathrm{Prox}}_{\tau |\!| \cdot |\!|_1}(x) = x - \tau \mathop{\mathrm{Proj}}_{|\!| \cdot |\!|_\infty \leqslant 1}( x/\tau ) = x - \mathop{\mathrm{Proj}}_{|\!| \cdot |\!|_\infty \leqslant\tau}( x ) \quad \text{where} \quad \mathop{\mathrm{Proj}}_{|\!| \cdot |\!|_\infty \leqslant\tau}( x ) = \min(\max(x,-\tau),\tau).

The minimum and maximum in this clipping formula act componentwise.

For an indicator f=ιCf=\iota_{\mathcal{C}} of a closed convex cone C\mathcal{C},

(ιC)=ιCwhereC:={y  ;  xC,x,y0}(19.16)(\iota_{\mathcal{C}})^* = \iota_{\mathcal{C}^\circ} \quad \text{where} \quad \mathcal{C}^\circ \mathrel{:=} \left\{ y \;;\; \forall \,x \in \mathcal{C}, \langle x,\,y\rangle \leqslant 0 \right\} \tag{19.16}

where C\mathcal{C}^\circ is the polar cone. This conjugacy relation (19.16) is specific to cones: for a general convex set C\mathcal{C}, the conjugate of its indicator need not be an indicator.

Equation (19.16) yields Moreau polar decomposition:

x=ProjC(x)+ProjC(x)x = \mathop{\mathrm{Proj}}_{\mathcal{C}}(x) +^\bot \mathop{\mathrm{Proj}}_{\mathcal{C}^\circ}(x)

The notation ++^\bot indicates that the two summands are orthogonal.

For a linear subspace C=V\mathcal{C}=V, this reduces to the orthogonal decomposition Rp=VV\mathbb{R}^p = V \oplus^\bot V^\bot.

Link with Moreau–Yosida regularization.

A proximal step is also a gradient step on the Moreau–Yosida envelope fμf_\mu of ff from (18.4).

19.4 Proximal Gradient Algorithms

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.

19.4.1 Proximal Point Algorithm

One has the following equivalence

xargminf0f(x)x(Id+τf)(x)(19.17)\begin{aligned} x^\star \in \mathop{\mathrm{argmin}}f &\quad\Leftrightarrow\quad 0 \in \partial f(x^\star) \quad\Leftrightarrow\quad x^\star \in (\mathrm{Id}+\tau \partial f)(x^\star) \end{aligned} \tag{19.17}
x=(Id+τf)1(x)=Proxτf(x).(19.18)\begin{aligned} &\quad\Leftrightarrow\quad x^\star = (\mathrm{Id}+\tau \partial f)^{-1}(x^\star) = \mathop{\mathrm{Prox}}_{\tau f}(x^\star). \end{aligned} \tag{19.18}

This shows that being a minimizer of ff is equivalent to being a fixed point of Proxτf\mathop{\mathrm{Prox}}_{\tau f}.

This fixed-point characterization suggests the proximal point iterations

x(+1):=Proxτf(x()).(19.19)x^{(\ell+1)} \mathrel{:=}\mathop{\mathrm{Prox}}_{\tau_\ell f}(x^{(\ell)}). \tag{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()).x^{(\ell+1)} \mathrel{:=}(\mathrm{Id}-\tau_\ell\nabla f)(x^{(\ell)}).

The implicit resolvent (Id+τf)1(\mathrm{Id}+\tau_\ell\partial f)^{-1} replaces the explicit map Idτf\mathrm{Id}-\tau_\ell\nabla f. For small τ\tau_\ell and smooth ff, 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.

19.4.2 Forward–Backward Splitting

For a general objective, evaluating Proxγf\mathop{\mathrm{Prox}}_{\gamma f} may be as difficult as solving the original problem.

A tractable alternative exploits a decomposition into a smooth term and a term with an accessible proximal map:

minx  E(x):=f(x)+g(x)(19.20)\underset{x}{\min}\; \mathcal{E}(x) \mathrel{:=}f(x) + g(x) \tag{19.20}

where gΓ0(H)g \in \Gamma_0(\mathcal{H}) can be nonsmooth, whereas ff is convex and has a Lipschitz gradient.

For this structure, the fixed-point argument (19.17) becomes

xargminf+g0f(x)+g(x)xτf(x)(Id+τg)(x)x=(Id+τg)1(Idτf)(x).\begin{aligned} x^\star \in \mathop{\mathrm{argmin}}f + g & \quad\Leftrightarrow\quad 0 \in \nabla f(x^\star) + \partial g(x^\star) \quad\Leftrightarrow\quad x^\star - \tau \nabla f(x^\star) \in (\mathrm{Id}+\tau \partial g)(x^\star) \\ & \quad\Leftrightarrow\quad x^\star = ( \mathrm{Id}+ \tau \partial g )^{-1} \circ ( \mathrm{Id}- \tau \nabla f ) (x^\star). \end{aligned}

This fixed point suggests the following algorithm, known as forward–backward splitting

x(+1):=Proxτg(x()τf(x())).(19.21)x^{(\ell+1)} \mathrel{:=}\mathop{\mathrm{Prox}}_{\tau_\ell g}\left( x^{(\ell)} - \tau_\ell \nabla f(x^{(\ell)}) \right). \tag{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)\mathcal{E}(x) at the current iterate by a surrogate E(x,x())\mathcal{E}(x,x^{(\ell)}) that is easier to minimize, and define

x(+1):=argminx  E(x,x()).(19.22)x^{(\ell+1)} \mathrel{:=}\underset{x}{\mathop{\mathrm{argmin}}}\; \mathcal{E}(x,x^{(\ell)}). \tag{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)\mathcal{E}(x) \leqslant\mathcal{E}(x,x') \quad \text{and} \quad \mathcal{E}(x,x) = \mathcal{E}(x) \tag{19.23}

and E(x)E(x,x)\mathcal{E}(x)-\mathcal{E}(x,x') should be a smooth function.

Property (19.23) ensures that E\mathcal{E} does not increase along the iterations:

E(x(+1))E(x())\mathcal{E}(x^{(\ell+1)}) \leqslant\mathcal{E}(x^{(\ell)})

For proximal-gradient surrogates with a fixed 0<τ<1/L0<\tau<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 LL-Lipschitz gradient of ff:

f(x)f(x)+f(x),xx+L2 ⁣xx ⁣2,f(x) \leqslant f(x') + \langle \nabla f(x'),\,x-x'\rangle + \frac{L}{2}|\!| x-x' |\!|^2,

so that for 0<τ<1L0 < \tau < \frac{1}{L}, the function

E(x,x):=f(x)+f(x),xx+12τ ⁣xx ⁣2+g(x)(19.24)\mathcal{E}(x,x') \mathrel{:=}f(x') + \langle \nabla f(x'),\,x-x'\rangle + \frac{1}{2\tau}|\!| x-x' |\!|^2 + g(x) \tag{19.24}

satisfies the surrogate conditions (19.23).

Minimizing this surrogate is exactly a proximal-gradient step.

**Convergence of FB. **

The majorization argument uses τ1/L\tau\leqslant 1/L, whereas convergence of the iterates holds on the larger interval 0<τ<2/L0<\tau<2/L.

Taking g=ιCg=\iota_{\mathcal{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\mathop{\mathrm{Prox}}_{\tau g}. A closed form is available for several useful penalties, including the 1\ell^1 penalty used by ISTA in Section 10.3.3.

19.5 Primal-Dual Algorithms

Convex duality, developed in Section 18.3, suggests new algorithms and allows existing methods to be applied to dual formulations.

19.5.1 Forward–Backward Splitting on the Dual

As a first example, apply a familiar method to the Fenchel–Rockafellar problem (18.12):

p=infx  f(x)+g(Ax),(19.25)p^\star = \underset{x}{\inf}\; f(x) + g(A x), \tag{19.25}

Assume additionally that ff is μ\mu-strongly convex, and, for simplicity, that ff and gg are finite and continuous everywhere. Even if ff is smooth, applying forward–backward splitting directly to the primal problem requires Proxτ(gA)\mathop{\mathrm{Prox}}_{\tau(g\circ A)}. This map can be difficult to evaluate despite having a simple Proxτg\mathop{\mathrm{Prox}}_{\tau g}. Proposition 19.8 gives an explicit formula in the special case AA=IdAA^*=\mathrm{Id}.

Continuity supplies the qualification for Fenchel–Rockafellar duality, Theorem 18.12, giving

p=supu  g(u)f(Au).(19.28)p^\star = \underset{u}{\sup}\; - g^*(u) - f^*(-A^*u). \tag{19.28}

Strong convexity of ff with constant μ\mu makes the conjugate ff^* differentiable with 1/μ1/\mu-Lipschitz gradient. Apply forward–backward splitting (19.21) to the negative dual objective:

u(+1)=Proxτg(u()+τAf(Au())).u^{(\ell+1)} = \mathop{\mathrm{Prox}}_{\tau g^*}\left( u^{(\ell)} + \tau A \nabla f^*(-A^*u^{(\ell)}) \right).

Choose a fixed step 0<τ<2/L0<\tau<2/L, where L>0L>0 bounds the Lipschitz constant of the smooth dual gradient; L= ⁣A ⁣2/μL=|\!| A |\!|^2/\mu is valid when A0A\neq0. The fixed-step assumption ensures that Theorem 19.14 applies.

Once a dual maximizer uu^\star is computed, equivalently a minimizer of the negative dual objective, the primal-dual relations (18.18) recover the unique primal minimizer:

Auf(x)x(f)1(Au)=f(Au)x=f(Au)-A^* u^\star \in \partial f(x^\star) \quad\Leftrightarrow\quad x^\star \in (\partial f)^{-1}( -A^* u^\star ) = \partial f^*( -A^* u^\star ) \quad\Leftrightarrow\quad x^\star = \nabla f^*( -A^* u^\star )

using differentiability of ff^*.

19.5.2 Douglas–Rachford Splitting

We consider here the structured minimization problem

minxRp  f(x)+g(x),(19.29)\underset{x \in \mathbb{R}^p}{\min}\; f(x) + g(x), \tag{19.29}

Unlike the setting of Section 19.4.2, ff need not be smooth. We assume that the proximal maps of both ff and gg are tractable.

The Douglas–Rachford iterations read

x~(+1):=(1μ2)x~()+μ2rProxτg(rProxτf(x~()))andx(+1):=Proxτf(x~(+1)),(19.30)\tilde x^{(\ell+1)} \mathrel{:=}\left( 1-\frac{\mu}{2} \right) \tilde x^{(\ell)} + \frac{\mu}{2} \mathop{\mathrm{rProx}}_{\tau g}( \mathop{\mathrm{rProx}}_{\tau f}( \tilde x^{(\ell)} ) ) \quad \text{and} \quad x^{(\ell+1)} \mathrel{:=}\mathop{\mathrm{Prox}}_{\tau f}( \tilde x^{(\ell+1)}), \tag{19.30}

where the reflected proximal map is

rProxτf(x)=2Proxτf(x)x.\mathop{\mathrm{rProx}}_{\tau f}(x) = 2\mathop{\mathrm{Prox}}_{\tau f}(x)-x .

Assume 0f(x)+g(x)0\in\partial f(x^\star)+\partial g(x^\star) for some xx^\star (for example, a minimizer exists and the relative interiors of the domains intersect). Then, for any τ>0\tau>0, any 0<μ<20 < \mu < 2, and any x~0\tilde x_0, the shadow iterates x()x^{(\ell)} converge to a minimizer of f+gf+g, which may depend on the initialization.

Interchanging ff and gg gives another valid iteration.

More than two functions.

A product-space formulation treats KK functions (fk)k(f_k)_k symmetrically:

minx  kfk(x)=minX=(x1,,xK)  f(X)+g(X)wheref(X)=kfk(xk)andg(X)=ιΔ(X)\underset{x}{\min}\; \sum_k f_k(x) = \underset{X=(x_1,\ldots,x_K)}{\min}\; f(X)+g(X) \quad \text{where} \quad f(X) = \sum_k f_k(x_k) \quad \text{and} \quad g(X)=\iota_{\Delta}(X)

where Δ={X  ;  x1==xK}\Delta= \left\{ X \;;\; x_1=\ldots=x_K \right\} is the diagonal. The proximal operator of gg is

Proxτg(X)=ProjΔ(X)=(xˉ,,xˉ)wherexˉ=1Kkxk\mathop{\mathrm{Prox}}_{\tau g}(X)=\mathop{\mathrm{Proj}}_\Delta(X)=(\bar x,\ldots,\bar x) \quad \text{where} \quad \bar x = \frac{1}{K}\sum_k x_k

The proximal map of ff separates into the maps of (fk)k(f_k)_k by (19.14). Douglas–Rachford then applies through (19.30).

Handling a linear operator.

For an objective of the form (19.25), introduce an auxiliary variable:

infx  f1(x)+f2(Ax)=infz=(x,y)  f(z)+g(z)where{f(z)=f1(x)+f2(y)g(z)=ιC(x,y),\underset{x}{\inf}\; f_1(x) + f_2(Ax) = \underset{z=(x,y)}{\inf}\; f(z)+g(z) \quad \text{where} \quad \left\{ \begin{array}{l} f(z)=f_1(x)+f_2(y) \\ g(z)=\iota_\mathcal{C}(x,y), \end{array} \right.

where C={(x,y)  ;  Ax=y}\mathcal{C}= \left\{ (x,y) \;;\; Ax=y \right\}. Douglas–Rachford splitting applies because the proximal map of ff separates into those of f1f_1 and f2f_2 by (19.14). The proximal map of gg is projection onto C\mathcal{C}. The following proposition gives two equivalent formulas, allowing a choice between systems in the input and output spaces of AA.

19.5.3 Alternating Direction Method of Multipliers

Douglas–Rachford splitting, introduced in Section 19.5.2, can minimize f+gAf+g\circ A without strong convexity of ff. Its direct application requires the proximal maps Proxτf\mathop{\mathrm{Prox}}_{\tau f} and ProxτgA\mathop{\mathrm{Prox}}_{\tau g\circ 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\mathop{\mathrm{Prox}}_{\tau g^*}, computable from Proxτg\mathop{\mathrm{Prox}}_{\tau g} by Moreau decomposition, and Proxτ(fA)\mathop{\mathrm{Prox}}_{\tau(f^*\circ A^*)}. The primal updates derived below express these operations as alternating minimizations.

For ARn×pA \in \mathbb{R}^{n \times p}, introduce y=Axy=Ax as in (18.13) and scale the multiplier by γ>0\gamma>0. Define

L((x,y),z):=f(x)+g(y)+γz,Axy.\mathcal{L}((x,y),z)\mathrel{:=}f(x)+g(y)+\gamma\langle z,\,Ax-y\rangle.

The primal problem becomes

infxRp  f(x)+g(Ax)=infy=Ax  f(x)+g(y)=infxRp,yRn  supzRn  L((x,y),z).(19.32)\underset{x \in \mathbb{R}^p}{\inf}\; f(x) + g(Ax) = \underset{y = Ax}{\inf}\; f(x)+g(y) = \underset{x \in \mathbb{R}^p,y \in \mathbb{R}^n}{\inf}\; \underset{z \in \mathbb{R}^n}{\sup}\; \mathcal{L}((x,y),z). \tag{19.32}

Add a quadratic penalty for violating Ax=yAx=y to obtain the augmented Lagrangian

Lγ((x,y),z):=L((x,y),z)+γ2 ⁣Axy ⁣2=f(x)+g(y)+γz,Axy+γ2 ⁣Axy ⁣2.\mathcal{L}_\gamma((x,y),z) \mathrel{:=}\mathcal{L}((x,y),z) + \frac{\gamma}{2}|\!| Ax-y |\!|^2 = f(x) + g(y) + \gamma\langle z,\,Ax-y\rangle + \frac{\gamma}{2}|\!| Ax-y |\!|^2.

Replacing L\mathcal{L} by Lγ\mathcal{L}_\gamma in (19.32) preserves the constrained problem: the supremum over zz enforces Ax=yAx=y, where the added penalty vanishes.

The ADMM method then updates

y(+1):=argminy  Lγ((x(),y),z()),(19.33)\begin{aligned} y^{(\ell+1)} &\mathrel{:=}\underset{y}{\mathop{\mathrm{argmin}}}\; \mathcal{L}_\gamma( (x^{(\ell)},y),z^{(\ell)} ), \end{aligned} \tag{19.33}
x(+1):=argminx  Lγ((x,y(+1)),z()),(19.34)\begin{aligned} x^{(\ell+1)} &\mathrel{:=}\underset{x}{\mathop{\mathrm{argmin}}}\; \mathcal{L}_\gamma( (x,y^{(\ell+1)}),z^{(\ell)} ), \end{aligned} \tag{19.34}
z(+1):=z()+Ax(+1)y(+1).(19.35)\begin{aligned} z^{(\ell+1)} &\mathrel{:=}z^{(\ell)} + A x^{(\ell+1)}-y^{(\ell+1)}. \end{aligned} \tag{19.35}

For comparison, the method of multipliers jointly minimizes the augmented Lagrangian in xx and yy, then updates the multiplier:

(x(+1),y(+1)):=argminx,y  Lγ((x,y),z()),z(+1):=z()+Ax(+1)y(+1),\begin{aligned} (x^{(\ell+1)},y^{(\ell+1)}) &\mathrel{:=}\underset{x,y}{\mathop{\mathrm{argmin}}}\; \mathcal{L}_\gamma( (x,y),z^{(\ell)} ), \\ z^{(\ell+1)} &\mathrel{:=}z^{(\ell)} + A x^{(\ell+1)}-y^{(\ell+1)}, \end{aligned}

ADMM instead updates xx and yy alternately, which often makes the individual subproblems tractable.

Step (19.35) is gradient ascent in the multiplier zz with step 1/γ1/\gamma. Assume for this calculation that ff is differentiable. Combining the xx and zz updates enforces f(x(+1))+γAz(+1)=0\nabla f(x^{(\ell+1)})+\gamma A^\top z^{(\ell+1)}=0, the stationarity relation in xx. Indeed, the optimality condition for (19.34) reads

0=xLγ((x(+1),y(+1)),z())=f(x(+1))+γAz()+γA(Ax(+1)y(+1))=f(x(+1))+γAz(+1).0 = \nabla_x \mathcal{L}_\gamma( (x^{(\ell+1)},y^{(\ell+1)}),z^{(\ell)} ) = \nabla f(x^{(\ell+1)}) + \gamma A^\top z^{(\ell)}+\gamma A^\top(Ax^{(\ell+1)}-y^{(\ell+1)}) = \nabla f(x^{(\ell+1)}) + \gamma A^\top z^{(\ell+1)}.

Step (19.33) is a proximal step, since

y(+1)=argminy  g(y)+γz(),Ax()y+γ2 ⁣Ax()y ⁣2=argminy  12 ⁣yAx()z() ⁣2+1γg(y)=Proxg/γ(Ax()+z()).\begin{aligned} y^{(\ell+1)} &= \underset{y}{\mathop{\mathrm{argmin}}}\; g(y) + \gamma\langle z^{(\ell)},\,Ax^{(\ell)}-y\rangle + \frac{\gamma}{2}|\!| Ax^{(\ell)}-y |\!|^2 \\ &=\underset{y}{\mathop{\mathrm{argmin}}}\; \frac{1}{2}|\!| y - Ax^{(\ell)} - z^{(\ell)} |\!|^2 + \frac{1}{\gamma} g(y) = \mathop{\mathrm{Prox}}_{g/\gamma}( Ax^{(\ell)} + z^{(\ell)} ). \end{aligned}

Step (19.34) uses a quadratic penalty composed with AA:

x(+1)argminx  {12 ⁣Axy(+1)+z() ⁣2+1γf(x)}:=Proxf/γA(y(+1)z()).x^{(\ell+1)}\in\underset{x}{\mathop{\mathrm{argmin}}}\;\left\{\frac12|\!| Ax-y^{(\ell+1)}+z^{(\ell)} |\!|^2+\frac1\gamma f(x)\right\} \mathrel{:=}\mathop{\mathrm{Prox}}^A_{f/\gamma}(y^{(\ell+1)}-z^{(\ell)}).

Here Proxf/γA(u)\mathop{\mathrm{Prox}}^A_{f/\gamma}(u) denotes the minimizer set of 12 ⁣Axu ⁣2+f(x)/γ\frac12|\!| Ax-u |\!|^2+f(x)/\gamma; it can be set-valued when AA is not injective. Under the usual qualification for this subproblem, if

p=Proxγ(fA)(γu),p=\mathop{\mathrm{Prox}}_{\gamma(f^*\circ A^*)}(\gamma u),

then every minimizing xx satisfies Ax=up/γAx=u-p/\gamma and Apf(x)A^*p\in\partial f(x). If AA has full column rank, this gives

Proxf/γA(u)=A+(u1γProxγ(fA)(γu)).\mathop{\mathrm{Prox}}^A_{f/\gamma}(u)=A^+\left(u-\frac1\gamma\mathop{\mathrm{Prox}}_{\gamma(f^*\circ A^*)}(\gamma u)\right).

For noninjective AA, applying A+A^+ alone need not recover a minimizer; the component in ker(A)\ker(A) must also minimize ff.

19.5.4 Primal-Dual Splitting

If neither ProxτgA\mathop{\mathrm{Prox}}_{\tau g \circ A} nor ProxτfA\mathop{\mathrm{Prox}}_{\tau f^\star\circ 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)g=(g^*)^* gives the saddle formulation

infx  f(x)+g(Ax)=infx  f(x)+supu  Ax,ug(u)=supu  infx  f(x)+Ax,ug(u).(19.36)\begin{aligned} \underset{x}{\inf}\; f(x) + g(Ax) = \underset{x}{\inf}\; f(x) + \underset{u}{\sup}\; \langle Ax,\,u\rangle - g^*(u) = \underset{u}{\sup}\; \underset{x}{\inf}\; f(x) + \langle Ax,\,u\rangle - g^*(u). \end{aligned} \tag{19.36}

We assume a primal-dual saddle point exists, so strong duality holds; strong convexity of ff is not required.

A standard primal-dual algorithm, described in [11], initializes x~0=x0\tilde x^0=x^0 and updates

z(+1)=Proxσg(z()+σAx~()),x(+1)=Proxτf(x()τAz(+1)),x~(+1)=x(+1)+θ(x(+1)x()).\begin{aligned} z^{(\ell+1)}&=\mathop{\mathrm{Prox}}_{\sigma g^*}\bigl(z^{(\ell)}+\sigma A\tilde x^{(\ell)}\bigr),\\ x^{(\ell+1)}&=\mathop{\mathrm{Prox}}_{\tau f}\bigl(x^{(\ell)}-\tau A^*z^{(\ell+1)}\bigr),\\ \tilde x^{(\ell+1)}&=x^{(\ell+1)}+\theta(x^{(\ell+1)}-x^{(\ell)}). \end{aligned}

For θ=1\theta=1, σ,τ>0\sigma,\tau>0, and στ ⁣A ⁣2<1\sigma\tau|\!| A |\!|^2<1, the primal and dual iterates converge to a saddle point, provided one exists. The value θ=0\theta=0 is not covered by this general convergence guarantee.