44.06.08 · optimization-control / 06-first-order-large-scale

Nesterov Smoothing of Structured Nonsmooth Functions

shipped3 tiersLean: none

Anchor (Master): Nesterov 2005 'Smooth minimization of non-smooth functions' (Math. Prog. 103:1, 127-152) full development including §4 the excessive-gap technique and the primal-dual O(1/epsilon) scheme; Beck & Teboulle 2012 'Smoothing and First Order Methods' (SIAM J. Optim. 22:2, 557-580); Nesterov 2018 Lectures on Convex Optimization (Springer, 2nd ed.) §2.3 smoothing

Intuition Beginner

A subgradient method treats a kinked cost as a black box: at each point it asks only for a downhill direction and steps. It works for any convex shape, but it is slow — to cut the error in half you may need four times the steps. The kinks are the problem. A smooth bowl can be descended quickly; a creased one cannot, because near a crease the method keeps zig-zagging across the fold.

Many kinked costs are not arbitrary, though. They are built from a hidden "worst-case" rule: the cost at a point is the largest payoff over a menu of choices an adversary could pick. The absolute value, the largest entry of a vector, the size of the biggest error — each is a maximum over simple options. That hidden menu is extra information the black box throws away.

Nesterov's smoothing uses the menu. Instead of letting the adversary pick the single best option, you charge a small fee for picking an extreme option — a fee that grows the more lopsided the choice. The adversary now prefers a soft blend of options, and the resulting cost is a rounded version of the original: the kinks are buffed out into gentle curves. You control how rounded with one knob.

The payoff is a speed-class jump. Run a fast smooth-problem method on the rounded cost, and tune the rounding to match the accuracy you want. The kinked problem that needed about one-over-error-squared steps now needs about one-over-error steps. You did not break the rule that black-box kinked problems are slow — you stopped treating the problem as a black box and used the menu you knew was there.

Visual Beginner

Picture the absolute-value cost, a sharp V with a corner at zero. Smoothing replaces the corner with a small smooth arc that hugs the V everywhere else. Make the arc tighter and the rounded cost matches the V more closely but curves harder near zero (steeper to descend); make it wider and the cost is easier to descend but sits a little above the true V.

   sharp cost (a kinked V)        smoothed cost (corner rounded)

   |\           /|                 |\           /|
   | \         / |                 | \         / |
   |  \       /  |                 |  \       /  |
   |   \     /   |                 |   \_   _/   |   <- rounded arc
   |    \   /    |                 |     \_/     |      (no kink)
   |     \ /     |                 |              |
   +------V------+                 +------_------+
        corner                        smooth bottom

   error ~ 1/k^2 to descend         error ~ mu (rounding gap)
   (kink forces zig-zag)            balance mu with accuracy -> 1/k overall
approach kinked problem rounded problem
steps to reach error about about
extra information used none (black box) the hidden max-menu
knob none rounding amount

Worked example Beginner

Round off the absolute value . The key fact is that the absolute value is a maximum over a menu: equals the largest of as ranges over the choices to . The adversary picks when and when , recovering , with the kink at where the choice flips.

Step 1. Charge a fee. Subtract a small fee from the adversary's payoff, with for a clean number. The adversary now maximizes over in to .

Step 2. Solve the adversary's choice. Ignoring the to limits, the best sets the slope to zero, so . That stays inside the limits when is between and . There the rounded cost is — a smooth bowl.

Step 3. Far from zero. When the unfettered choice exceeds the limit, so the adversary picks , giving . By symmetry, for the cost is .

Step 4. Read the rounded cost. It is for and for — a parabola spliced smoothly into the two straight arms of the V. This is the Huber function.

What this tells us. The rounded cost never exceeds the true by more than the fee budget (here at ), and it has no kink, so a fast smooth-problem method can descend it. Shrink and the rounding gap shrinks too; the whole art is choosing to match the accuracy you need.

Check your understanding Beginner

Formal definition Intermediate+

Throughout, is a structured nonsmooth convex function presented through a saddle (max-type) representation, the conjugate-style modeling form of 44.02.03. Let and be nonempty closed convex sets with bounded, let be linear with adjoint , and let be continuous convex. The Euclidean inner product is and is the operator norm.

Definition (structured nonsmooth model). The objective is

The maximum is a supremum of affine functions of , so is convex; it is generally nonsmooth, the kinks occurring where the maximiser in switches. This is exactly the conjugate/saddle form of 44.02.03: -type composition, and is the support-style value of an inner concave maximization in .

Definition (prox-function). A prox-function for is a continuous function that is -strongly convex on (), with prox-center normalised so , and prox-diameter

A symmetric prox-function with parameters is fixed on for the outer accelerated method.

Definition (smooth approximation). For smoothing parameter , the Nesterov smoothing of is

Subtracting the strongly convex penalty makes the inner objective strongly concave in , so the maximiser is unique and depends smoothly on . Write .

Definition (smoothable function, Beck-Teboulle abstraction). A convex is -smoothable if for each there is a convex with for all and Lipschitz with constant . The conjugate-smoothing above realises this with and [Beck & Teboulle 2012].

Counterexamples to common slips Intermediate+

  • "Smoothing beats the nonsmooth lower bound, so the subgradient lower bound is wrong." It is not a contradiction. The bound of 44.06.01 is for the black-box oracle model, where the method sees only and a subgradient. Smoothing is not a black-box method: it consumes the explicit max-representation as side information the oracle never supplied. The structure is the extra input that escapes the lower bound's hypotheses.

  • "Just send to get the exact problem cheaply." As the gradient-Lipschitz constant , so an accelerated method's per-target iteration count blows up. The error and the conditioning pull in opposite directions; the rate comes only from balancing them, .

  • "This is the same as Moreau-Yosida / proximal smoothing." The Moreau envelope of 44.06.02 smooths via infimal convolution in the primal variable and needs a computable proximal operator. Nesterov smoothing regularizes the dual/inner variable in the saddle representation by a prox-function. The two coincide for special but differ in general, and the conjugate route gives the explicit even when is unavailable.

Key theorem with proof Intermediate+

The result that powers the whole technique is that the regularized inner maximum is not merely continuous but continuously differentiable with a controlled Lipschitz gradient, and that it approximates uniformly with error governed by the single parameter . These two facts let an accelerated smooth-class method run on and a balance of against accuracy convert its rate into on the nonsmooth .

Theorem (smoothness, approximation, and the complexity). With the data above, the smoothing is convex and continuously differentiable on with

and is Lipschitz with constant . Moreover approximates uniformly,

Running the optimal accelerated gradient method of 44.06.03 on over for steps and choosing

yields

so iterations suffice for an -accurate value.

Proof. Differentiability and gradient formula. Fix . The inner objective is strongly concave in with modulus (since is convex and is -strongly convex), so its maximiser over the closed convex is unique. The value is a maximum of functions affine in , hence convex. Danskin's theorem for a unique maximiser gives differentiability with .

Gradient Lipschitz constant. Let with maximisers , . First-order optimality of the strongly concave inner problem on gives, for the supergradient pointing out of at ,

Adding the two and using monotonicity of () and -strong monotonicity of ,

By Cauchy-Schwarz the left side is , so . Then

Uniform approximation. For every , since on (as is the minimum), subtracting inside the max can only lower the value: . Conversely, evaluating the -defining max at and using ,

and taking the maximiser in gives . Hence .

Complexity balance. Accelerated gradient on over (the prox-function supplying the distance term) attains, after steps, — the rate of 44.06.03 specialized to the -smooth , with bounding the squared distance to the optimum via the outer prox-function. Pass the rate to using the approximation bound: . Substitute :

The right side is convex in and minimized at , where both terms equal , summing to the stated bound . This is , so .

Bridge. The two halves of the theorem — the smoothness from strong concavity of the regularized inner max, and the uniform error — are the foundational reason structure beats the black-box barrier; this builds toward the excessive-gap technique and the entropy// smoothings of the Advanced results, where the same balance reappears with explicit prox-functions. This is exactly the conjugate/saddle representation of 44.02.03 with the inner variable regularized rather than the primal, and it is dual to the Moreau smoothing of 44.06.02, which regularizes the primal; putting these together, the central insight is that the per-step accuracy of the accelerated method 44.06.03 and the smoothing error are two error sources balanced at , which generalises the single-error analysis of smooth problems to the structured-nonsmooth class and appears again in primal-dual saddle-point solvers 44.06.04.

Exercises Intermediate+

Advanced results Master

The smoothing over admits a self-contained development: the structured complexity bound that beats the black-box barrier, the resolution of the apparent conflict with the nonsmooth lower bound, the excessive-gap primal-dual scheme that drops the need to fix , the entropy smoothing as the canonical instance, and the placement against Moreau-Yosida smoothing.

Theorem 1 (structured complexity). With prox-functions of parameters , , the accelerated method on with produces with [Nesterov 2005]. Equivalently iterations reach value accuracy , each costing one gradient — one inner maximization over . The complexity is , linear in and in , against the of the subgradient method.

Theorem 2 (structure versus the black-box lower bound). The first-order lower bound for the nonsmooth convex class 44.06.01 is an information bound in the black-box oracle model: the method is charged only with calls returning and one subgradient, and the bound exhibits a function on which any such method is slow. Smoothing operates in a structured model: the triple and the prox-function are inputs, so the method can compute and its exact gradient — information no subgradient oracle returns. The rate therefore lives outside the lower bound's hypothesis class; there is no contradiction, only a strictly more informative model [Nesterov 2005]. The boundary between and is exactly the boundary between structured and black-box access.

Theorem 3 (excessive-gap technique). Fix smoothings of both the primal and the dual , where is the primal part. A pair satisfies the excessive-gap condition if . Nesterov's primal-dual scheme generates keeping the excessive-gap condition invariant while shrinking , yielding

a genuine primal-dual gap certificate of size in , without committing in advance [Nesterov 2005]. The scheme alternates a gradient step on the smoothed primal and a gradient step on the smoothed dual, each step decreasing the relevant , so the method self-tunes the smoothing as it converges and returns a verifiable duality gap rather than only a primal value.

Theorem 4 (entropy smoothing of the max / softmax). For with entropy prox-function ( in by Pinsker's inequality, ), the smoothing is the temperature- log-sum-exp

with governed by and uniform error [Beck & Teboulle 2012]. The (rather than ) dependence of under the entropy prox is the discrete-simplex analogue of mirror descent's logarithmic dimension dependence; it is why softmax smoothing is the preferred relaxation of the max in high-dimensional structured-prediction and attention models.

Theorem 5 (smoothing versus Moreau-Yosida). The Moreau envelope of 44.06.02 is the special case of conjugate smoothing in which the dual prox-function is the squared norm: , so Moreau smoothing regularizes the conjugate by on all of [Beck & Teboulle 2012]. Nesterov smoothing generalizes this in two ways: the prox-function need not be the squared norm (entropy on a simplex, for instance), and the inner domain may be a proper bounded set, so the prox-diameter and modulus can be tuned to the geometry of . The Moreau route needs a computable ; the conjugate route needs only a computable inner maximization — available whenever the max-representation is explicit, even when is not.

Synthesis. The smoothing is exactly the conjugate/saddle representation of 44.02.03 with the inner variable regularized by a prox-function, and this single move is the foundational reason the structured nonsmooth class falls to : strong concavity of the regularized inner max delivers with , the accelerated method 44.06.03 turns that smoothness into an value gap, and balancing it against the approximation error at is what produces the rate. The two error sources — algorithmic and approximation — are dual faces of one trade-off, and putting these together is what beats the black-box barrier of 44.06.01 without contradicting it: the lower bound is a black-box statement and smoothing is a structured method, so the central insight is that the complexity boundary is the boundary of the oracle model, not of convexity. Moreau-Yosida smoothing 44.06.02 is the squared-norm special case, so Nesterov smoothing generalises it; the excessive-gap technique is the primal-dual refinement that self-tunes and certifies a duality gap, and it is the bridge to the saddle-point and operator-splitting solvers 44.06.04 that attack the same min-max structure. The entropy smoothing realises all of this with the softmax, where the prox-diameter is dual to mirror descent's logarithmic geometry and the temperature parameter is exactly .

Full proof set Master

Proposition 1 (gradient of the smoothing). Under the standing hypotheses, is convex and differentiable with , where is the unique maximiser of the regularized inner problem.

Proof. The inner objective is -strongly concave (convex , -strongly convex ), so over the closed convex it has a unique maximiser . As a pointwise maximum of functions affine in , is convex. Danskin's theorem for a strongly concave inner problem with unique maximiser gives that is differentiable with , since depends on only through the bilinear term whose -gradient is .

Proposition 2 (gradient Lipschitz constant). is Lipschitz with constant .

Proof. For , , first-order optimality on gives and with , . Summing and using (monotonicity of ) and (strong convexity of ) gives . Cauchy-Schwarz bounds the left by , so , and .

Proposition 3 (uniform approximation). For all , .

Proof. Since on , subtracting inside the inner max only decreases it, so . For the upper bound, , and , while taking the maximiser of the -defining problem gives .

Proposition 4 ( complexity). Accelerated gradient on over for steps with gives .

Proof. The accelerated method 44.06.03 on the -smooth with prox-function attains . By Proposition 3, . Insert to get . Minimizing the convex-in- expression (Exercise 6) at equalizes the two terms at each, summing to the bound.

Proposition 5 (entropy smoothing closed form). For and , and , with in , .

Proof. The inner problem has Lagrangian stationarity (over the simplex constraint , ) , giving , normalised — the softmax. Substituting back, the entropy and linear terms combine to (the conjugate of the negative entropy is log-sum-exp, 44.02.03 Proposition 4). By Proposition 1, . Pinsker's inequality makes the negative entropy -strongly convex in , so ; at a vertex.

Proposition 6 (Moreau envelope as squared-norm smoothing). For proper closed convex with conjugate , the Moreau envelope satisfies , i.e. it is the conjugate smoothing of with , , .

Proof. By definition . The infimal-convolution duality of 44.02.03 gives , since the conjugate of is . Biconjugating (both sides closed convex), . This is with , , (), and recovers the standard envelope gradient.

Connections Master

  • The smoothing is the conjugate/saddle representation of 44.02.03 with the inner (dual) variable regularized by a prox-function; the support-function and dual-norm conjugate pairs assembled there are exactly the max-representations smoothed here, and the softmax/log-sum-exp smoothing of the max is the temperature- instance of the negative-entropy/log-sum-exp conjugate pair proved in that unit.

  • The outer engine is the accelerated gradient method of 44.06.03: smoothing produces an -smooth precisely so that the optimal method applies, and the complexity is its rate balanced against the smoothing error at . Without the accelerated rate the same balance would give only from a plain gradient method on , so the acceleration is load-bearing.

  • The optimality story is dual to the lower-bound theory of 44.06.01: that unit proves the black-box bound for nonsmooth convex minimization and shows the subgradient method attains it, while this unit shows that admitting the explicit max-structure as side information lets a structured method reach — the two results partition the nonsmooth landscape by oracle model, structured versus black-box, with the smoothing technique on the structured side.

  • Nesterov smoothing generalizes the Moreau-Yosida / proximal smoothing of 44.06.02: the Moreau envelope is the special case in which the dual prox-function is the squared norm and the inner domain is all of the space, so the proximal smoothing of that unit is the squared-norm conjugate smoothing, and the excessive-gap primal-dual scheme is the precursor of the saddle-point and operator-splitting solvers 44.06.04 that attack the same min-max structured model directly.

Historical & philosophical context Master

The smoothing technique was introduced by Yurii Nesterov in 2005 in Smooth minimization of non-smooth functions (Mathematical Programming 103(1), 127-152), which showed that a large class of nonsmooth convex problems with explicit max-structure can be solved in iterations rather than the dictated by the black-box subgradient lower bound of Nemirovski and Yudin [Nesterov 2005]. The paper's resolution of the apparent conflict — that the lower bound governs the black-box oracle model while smoothing exploits known structure — clarified that complexity in optimization is a property of the access model, not of the function class alone. The same paper introduced the excessive-gap technique as a primal-dual scheme producing the rate with a verifiable duality-gap certificate and without fixing the smoothing parameter in advance.

The unifying abstraction — the notion of a smoothable function with the versus trade-off, covering both the conjugate smoothing and the Moreau envelope as instances — was given by Amir Beck and Marc Teboulle in 2012 in Smoothing and First Order Methods: A Unified Framework (SIAM Journal on Optimization 22(2), 557-580), who packaged the smoothing-then-FISTA combination (S-FISTA) and made the constant trade-off explicit for the , , hinge, and max smoothings [Beck & Teboulle 2012]. The entropy smoothing of the max, equivalent to the temperature-controlled log-sum-exp, predates the optimization framing in the exponential-family and statistical-mechanics literature and connects the technique to the negative-entropy/log-sum-exp conjugate duality and to mirror descent's logarithmic geometry. Nesterov returned to the technique in the smoothing chapter of his Lectures on Convex Optimization [Nesterov 2018].

Bibliography Master

@article{nesterov2005smooth,
  author  = {Nesterov, Yurii},
  title   = {Smooth minimization of non-smooth functions},
  journal = {Mathematical Programming},
  volume  = {103},
  number  = {1},
  pages   = {127--152},
  year    = {2005}
}

@article{nesterov2005excessive,
  author  = {Nesterov, Yurii},
  title   = {Excessive Gap Technique in Nonsmooth Convex Minimization},
  journal = {SIAM Journal on Optimization},
  volume  = {16},
  number  = {1},
  pages   = {235--249},
  year    = {2005}
}

@article{becktebeoulle2012smoothing,
  author  = {Beck, Amir and Teboulle, Marc},
  title   = {Smoothing and First Order Methods: A Unified Framework},
  journal = {SIAM Journal on Optimization},
  volume  = {22},
  number  = {2},
  pages   = {557--580},
  year    = {2012}
}

@book{nesterov2018lectures,
  author    = {Nesterov, Yurii},
  title     = {Lectures on Convex Optimization},
  edition   = {2},
  series    = {Springer Optimization and Its Applications},
  volume    = {137},
  publisher = {Springer},
  year      = {2018}
}

@book{nemirovskiyudin1983,
  author    = {Nemirovski, Arkadi S. and Yudin, David B.},
  title     = {Problem Complexity and Method Efficiency in Optimization},
  publisher = {Wiley-Interscience},
  year      = {1983}
}