The complexity of the smoothing technique #
The smoothing technique solves the nonsmooth problem min H with H = f + h + g, h convex
and nonsmooth, f convex with an L_f-Lipschitz gradient and g proper, lower semicontinuous
and convex: FISTA with the Beck–Teboulle weights is applied to the smoothed problem
min f + h_μ + g (S-FISTA, Beck, Section 10.8.4). If h_μ is a μ⁻¹-smooth
approximation of h with parameters (α, β) (Beck, Definition 10.43), that is convex
and differentiable with an α / μ-Lipschitz gradient and h_μ ≤ h ≤ h_μ + β μ, then N + 1
steps with step 1 / L̃, L̃ ≥ α / μ + L_f, give
H (x (N + 1)) - H z ≤ β μ + 2 L̃ ‖x 0 - z‖² / (N + 2)², and the choice
μ = √(2 α / β) R / (N + 2) gives 2 √(2 α β) R / (N + 2) + 2 L_f R² / (N + 2)². So O(1 / ε)
steps reach accuracy ε, against O(1 / ε²) for the subgradient method.
The instances are Nesterov's smoothing of the max-type function
h x = sup_{u ∈ Q} (⟪A x, u⟫ - φ u) of Smoothing.lean with a σ-strongly convex
prox-function 0 ≤ d ≤ D on Q (α = ‖A‖² / σ, β = D), the Moreau envelope of an
ℓ-Lipschitz convex h (α = 1, β = ℓ² / 2) and the Huber function, the smoothing of the
norm (α = 1, β = 1 / 2).
Main statements #
ConvexAnalysis.sfista_rate_of_smoothApprox: the boundH (x (N + 1)) - H z ≤ β μ + 2 L̃ ‖x 0 - z‖² / (N + 2)²for anyμ⁻¹-smooth approximationh_μofhwith parameters(α, β), step1 / L̃withL̃ ≥ α / μ + L_f, and every comparison pointzin the domain ofg.ConvexAnalysis.sfista_complexity_of_smoothApprox: theO(1 / ε)complexity of S-FISTA: withμ = √(2 α / β) R / (N + 2),L̃ = α / μ + L_fand‖x 0 - z‖ ≤ R,H (x (M + 1)) - H z ≤ 2 √(2 α β) R / (N + 2) + 2 L_f R² / (N + 2)²for everyM ≥ N.ConvexAnalysis.sfista_rateandConvexAnalysis.sfista_complexity: the same for Nesterov's smoothing, withμ = √2 ‖A‖ R / ((N + 2) √(σ D))and the bound2 √2 ‖A‖ R √(D / σ) / (N + 2) + 2 L_f R² / (N + 2)²;ConvexAnalysis.sfista_complexity_nonsmoothis the casef = 0, the problemmin h + g.ConvexAnalysis.sfista_complexity_moreauEnvelope: S-FISTA with the Moreau envelope of anℓ-Lipschitz convexh,μ = 2 R / (ℓ (N + 2)):H (x (M + 1)) - H z ≤ 2 ℓ R / (N + 2) + 2 L_f R² / (N + 2)².ConvexAnalysis.sfista_complexity_huber: S-FISTA with the Huber function forh = ‖·‖,μ = 2 R / (N + 2):H (x (M + 1)) - H z ≤ 2 R / (N + 2) + 2 L_f R² / (N + 2)².
Implementation notes #
The library states the Euclidean (Hilbert space) case of the smoothing, as Smoothing.lean does.
The comparison point z is arbitrary (ConvexAnalysis.fista_rate_beckTeboulle_of_mem_dom), so
neither a minimizer of H or of the smoothed problem nor bounded level sets are assumed; for a
minimizer z the bounds are bounds on H (x (N + 1)) - min H. For Nesterov's smoothing,
boundedness of Q is not assumed separately: it follows from 0 ≤ d ≤ D on Q and the
σ-strong convexity of d, diam Q ≤ √(8 D / σ) (ConvexAnalysis.diam_le_of_strongConvexOn).
Beck's smooth approximations are not a structure here: the conditions of
Beck, Definition 10.43 (convexity, the gradient and its Lipschitz constant α / μ, and
h_μ ≤ h ≤ h_μ + β μ) are hypotheses of ConvexAnalysis.sfista_rate_of_smoothApprox.
The results differ from the sources in setting and constants:
- Beck, Theorem 10.57 assumes bounded level sets of
H(Assumption 10.56(D)), from which its proof obtains a minimizerx⋆_μof the smoothed problem, and a nonempty optimal set ofH(Assumption 10.56(E)); it states the result as an iteration count for accuracyε, withμdepending onε. In its proof the bound2 (L_f + α / μ) ‖x 0 - x⋆_μ‖² / (k + 1)² + β μonH (x k) - min H((10.67)–(10.69)) isConvexAnalysis.sfista_rate_of_smoothApproxwithk = N + 1, but with the minimizerx⋆_μof the smoothed problem in place ofz; ourμis Beck's (10.71) withK = N + 2andΛ = R², and as in Beck the bound holds for allk ≥ K. - Nesterov, Theorem 6.1.3 uses the method of similar triangles (6.1.19) on a bounded
Q₁with a prox-functiond₁ ≤ D₁onQ₁, and bounds the primal-dual gap afterNsteps by4 ‖A‖ √(D₁ D₂) / √(N (N + 1)) + 4 M D₁ / (N (N + 1))(σ = 1,M = L_f). Withd₁ = ½ ‖· - x 0‖²andD₁ = R² / 2this is2 √2 ‖A‖ R √D₂ / √(N (N + 1)) + 2 M R² / (N (N + 1)). Afterk = N + 1stepsConvexAnalysis.sfista_complexitybounds the primal gap by2 √2 ‖A‖ R √(D / σ) / (k + 1) + 2 L_f R² / (k + 1)², which forσ = 1is at most Nesterov's expression atN = k; it needsR ≥ ‖x 0 - z‖only, not a bounded feasible set, but gives no dual solution.
References #
- Yu. Nesterov, Smooth minimization of non-smooth functions, Math. Program. 103 (2005), 127–152.
- Yu. Nesterov, Lectures on Convex Optimization, 2nd ed., Springer, 2018, Section 6.1.4, Theorem 6.1.3.
- A. Beck, First-Order Methods in Optimization, SIAM, 2017, Section 10.8.4, Definition 10.43, Theorems 10.51 and 10.57, Examples 10.53 and 10.59.
Tags #
smoothing, Nesterov smoothing, S-FISTA, FISTA, complexity, nonsmooth optimization, Moreau envelope, Huber function
S-FISTA for any smooth approximation #
S-FISTA against any comparison point, for any smooth approximation (the bound before the
choice of μ in the proof of Beck, Theorem 10.57): let h_μ be convex, with gradient
h_μ' that is α / μ-Lipschitz, and h_μ ≤ h ≤ h_μ + β μ, that is a μ⁻¹-smooth
approximation of h with parameters (α, β) (Beck, Definition 10.43; no sign
conditions on α, β, μ are needed here). Let f be convex with an L_f-Lipschitz gradient
f' and g proper, lower semicontinuous and convex. FISTA with the Beck–Teboulle weights and
step 1 / L̃, L̃ ≥ α / μ + L_f, applied to (f + h_μ) + g, satisfies
H (x (N + 1)) - H z ≤ β μ + 2 L̃ ‖x 0 - z‖² / (N + 2)² for H = f + h + g and every z with
g z finite. No minimizer and no bounded level sets are needed.
The O(1 / ε) complexity of S-FISTA (Beck, Theorem 10.57, with μ chosen for a
number of steps instead of an accuracy): in the setting of
ConvexAnalysis.sfista_rate_of_smoothApprox, with α, β, R > 0, L_f ≥ 0, ‖x 0 - z‖ ≤ R,
the smoothing parameter μ = √(2 α / β) R / (N + 2), which minimizes
β μ + 2 α R² / (μ (N + 2)²), and the step 1 / L̃ with L̃ = α / μ + L_f:
H (x (M + 1)) - H z ≤ 2 √(2 α β) R / (N + 2) + 2 L_f R² / (N + 2)² for every M ≥ N.
Nesterov's smoothing #
S-FISTA with Nesterov's smoothing, against any comparison point (the bound before the
choice of μ in the proof of Beck, Theorem 10.57, and (6.1.32) in the proof of
Nesterov, Theorem 6.1.3 for a different method). Let
h = nesterovSmoothing A Q φ d 0 be the max-type function and h_μ its smoothing with a
σ-strongly convex prox-function 0 ≤ d ≤ D on Q, a μ⁻¹-smooth approximation with
parameters (‖A‖² / σ, D); let f be convex with an L_f-Lipschitz gradient f' and g
proper, lower semicontinuous and convex. FISTA with the Beck–Teboulle weights and step 1 / L̃,
L̃ ≥ ‖A‖² / (μ σ) + L_f, applied to (f + h_μ) + g, satisfies
H (x (N + 1)) - H z ≤ μ D + 2 L̃ ‖x 0 - z‖² / (N + 2)² for H = f + h + g and every z with
g z finite. No minimizer and no bounded level sets are needed, and boundedness of Q is not
assumed separately: it follows from 0 ≤ d ≤ D and the strong convexity of d
(ConvexAnalysis.diam_le_of_strongConvexOn). This is the case
α = ‖A‖² / σ, β = D of ConvexAnalysis.sfista_rate_of_smoothApprox.
The O(1 / ε) complexity of the smoothing technique (S-FISTA with Nesterov's smoothing;
compare Beck, Theorem 10.57 and Nesterov, Theorem 6.1.3, whose settings and
constants are compared in the module docstring). In the setting of ConvexAnalysis.sfista_rate,
with ‖A‖, D, R > 0, L_f ≥ 0, ‖x 0 - z‖ ≤ R, the smoothing parameter
μ = √2 ‖A‖ R / ((N + 2) √(σ D)), which minimizes μ D + 2 ‖A‖² R² / (μ σ (N + 2)²), and the
step 1 / L̃ with L̃ = ‖A‖² / (μ σ) + L_f:
H (x (M + 1)) - H z ≤ 2 √2 ‖A‖ R √(D / σ) / (N + 2) + 2 L_f R² / (N + 2)² for every M ≥ N.
So for L_f = 0, N + 2 ≥ 2 √2 ‖A‖ R √(D / σ) / ε steps give accuracy ε. This is the case
α = ‖A‖² / σ, β = D of ConvexAnalysis.sfista_complexity_of_smoothApprox.
The O(1 / ε) complexity of the smoothing technique for the nonsmooth problem
min h + g, the case f = 0 of ConvexAnalysis.sfista_complexity (compare
Beck, Example 10.59, with the Moreau envelope as smoothing, and the case M = 0 of
Nesterov, Theorem 6.1.3, (6.1.33)): FISTA with the Beck–Teboulle weights on
h_μ + g, μ = √2 ‖A‖ R / ((N + 2) √(σ D)) and step 1 / L̃, L̃ = ‖A‖² / (μ σ), gives
H (x (M + 1)) - H z ≤ 2 √2 ‖A‖ R √(D / σ) / (N + 2) for every M ≥ N and every z in the
domain of g with ‖x 0 - z‖ ≤ R, where H = h + g.
The Moreau envelope and the Huber function #
S-FISTA with the Moreau envelope (compare Beck, Example 10.59, there for f = 0,
g the indicator of a closed convex set and μ chosen for an accuracy ε): for a convex h
with |h x - h y| ≤ ℓ ‖x - y‖, ℓ > 0, the envelope e_μ h is a μ⁻¹-smooth approximation
of h with parameters (1, ℓ² / 2) (Beck, Theorem 10.51,
ConvexAnalysis.toReal_moreauEnvelope_le_and_le_add). With μ = 2 R / (ℓ (N + 2)) and the step
1 / L̃, L̃ = 1 / μ + L_f, FISTA with the Beck–Teboulle weights on f + e_μ h + g gives
H (x (M + 1)) - H z ≤ 2 ℓ R / (N + 2) + 2 L_f R² / (N + 2)² for H = f + h + g, every
M ≥ N and every z in the domain of g with ‖x 0 - z‖ ≤ R.
S-FISTA with the Huber function, for h = ‖·‖: H_μ is a μ⁻¹-smooth approximation of
the norm with parameters (1, 1 / 2) (Beck, Example 10.53; ConvexAnalysis.convexOn_huber,
ConvexAnalysis.hasGradientAt_huber, ConvexAnalysis.norm_gradient_huber_sub_le,
ConvexAnalysis.huber_le_norm, ConvexAnalysis.norm_le_huber_add). With μ = 2 R / (N + 2)
and the step 1 / L̃, L̃ = 1 / μ + L_f, FISTA with the Beck–Teboulle weights on
f + H_μ + g gives H (x (M + 1)) - H z ≤ 2 R / (N + 2) + 2 L_f R² / (N + 2)² for
H = f + ‖·‖ + g, every M ≥ N and every z in the domain of g with ‖x 0 - z‖ ≤ R.