First-Order and Stochastic Optimization Methods for Machine Learning VII: Gradient Sliding for Composite OptimizationTextbook
Motivation
Composite convex programs — objectives split into a smooth piece and a nonsmooth piece — are ubiquitous in data analysis: LASSO-type inverse problems, regularized empirical-risk minimization, and total-variation-type image reconstruction all minimize over a convex set, where is smooth (a data-fidelity term, often expensive to differentiate — a large matrix-vector product, a PDE solve, a black-box simulation), is nonsmooth but structurally cheap (an -type penalty, a simple subgradient), and enforces a "relatively simple" constraint absorbed into the proximal step. Classical accelerated proximal-gradient methods (Nesterov; Beck–Teboulle) solve such problems by computing and a subgradient once per iteration, giving an optimal bound on evaluations of both. But in every example above, the two oracle calls have wildly different costs, and paying for as often as for is wasteful. Ghadimi, Lan and Zhang (SIAM J. Optim., 2014, arXiv:1406.5613, "Generalized Uniformly Optimal Methods for Nonlinear Programming") posed the resulting question: given separate first-order access to and , can the number of -evaluations be reduced without inflating the (already-optimal) number of -evaluations? The gradient sliding (GS) algorithm formalized here, from Lan's textbook treatment (Chapter 8, building on Lan's own 2016 Mathematical Programming paper "Gradient sliding for composite optimization"), answers this in the affirmative: it "slides" past -evaluations on most iterations while still achieving the optimal subgradient count for .
Setting
Fix a real inner-product space and a closed convex set . The composite problem is
where is a "relatively simple" convex function (its own proximal step is assumed cheap), is convex with -Lipschitz gradient,
and is convex and -Lipschitz-like in the sense that for every subgradient ,
Let be a Bregman-type prox-function built from a 1-strongly-convex distance-generating function (Sect. 3.2), so .
The gradient sliding (GS) algorithm (Algorithm 8.1) keeps an outer iterate , model point , and running average (). Each outer step delegates to the prox-sliding (PS) procedure: given the affine model , prox-center , parameter , and sliding length , PS runs inner iterations
where (8.1.14), without ever recomputing during these steps — the single affine model is reused throughout. This is the mechanism by which GS "slides" past most -evaluations. PS returns , and the outer loop updates .
Formalization targets
Building block (Proposition 8.1)
where and satisfy the recursion (8.1.20). This is the per-inner-iteration guarantee on how close comes to solving 's own minimization.
Intermediate (Theorem 8.1(a))
Assuming the PS schedule (8.1.20) and GS schedule conditions (8.1.25), (8.1.33) (the case where may be unbounded),
a general bound in terms of the abstract schedule, obtained by telescoping Proposition 8.1's guarantee (via Proposition 8.2's per-outer-step recursion, cited but not restated here) across outer iterations.
Goal (Corollary 8.1(a))
With the concrete schedule , (8.1.39), and, for a fixed horizon and free parameter ,
This is the explicit-constant complexity bound: it is the weakest statement stable under changing , obtained purely algebraically from Theorem 8.1(a)'s general bound once the schedule is plugged in.
Significance
Corollary 8.1(a), together with the schedule of , shows the total number of outer
iterations — and hence -evaluations — needed for an -solution is , matching the optimal rate for smooth-only minimization (no penalty for the
nonsmooth term's presence), while the total number of inner iterations — and hence
-evaluations — remains , the rate that is already known to be unimprovable
for nonsmooth convex minimization. GS is thus the first method (per the section's own account) to
decouple the two oracle costs at their respective optimal rates, rather than paying the worse of
the two for both. This underlies later chapters' extensions (accelerated gradient sliding,
decentralized optimization over networks) and is directly applicable whenever a composite
objective's two components have asymmetric evaluation cost, as in the LASSO-type and
regularized-loss examples above. Formalizing it contributes a machine-checked account of the
telescoping/recursion argument across two nested loops (outer GS, inner PS) — a pattern distinct
from the single-loop accelerated-gradient arguments already in this series (Chapters 3, 7) and not
otherwise present in the corpus (q=gradient sliding, q=prox sliding, q=composite optimization
all return zero hits as of 2026-09-18).
Difficulty
The obvious first idea — treat the PS procedure's inexact inner solve as adding an error term to a standard accelerated-gradient argument and bound that error by the number of inner steps — fails because a naive termination criterion (the function-value optimality gap of the PS subproblem) does not yield the accelerated rate; the book's own analysis (the paragraph preceding Proposition 8.1) states this explicitly. The working criterion instead combines the optimality gap and the distance to the optimal solution, weighted by the -sequence — this is exactly the left-hand side of (8.1.21), not a simpler quantity, and it is this specific combination that telescopes cleanly across both the inner PS loop and, subsequently, the outer GS loop.
Formalization scope
E is NormedAddCommGroup E, InnerProductSpace ℝ E; X : Set E. The Bregman divergence V,
model function g/lh, and constraint function chi are hypothesis-carrying objects (functions
with the defining (in)equalities as hypotheses), matching this series' convention rather than
fixing them to the Euclidean/entropic special case. ps_procedure_bound (Proposition 8.1) takes
the three-point inequality that the argmin in (8.1.17) yields (a standard consequence of Lemma 3.5,
cited but not re-derived) as an explicit hypothesis on the sequence u, rather than proving
well-posedness of the argmin itself. gs_convergence_bound (Theorem 8.1(a)) similarly takes
Proposition 8.2's per-outer-step recursion (8.1.26) as a hypothesis — its own proof composes
Proposition 8.1 with model-function inequalities (8.1.27)-(8.1.31) that are outside this mission's
selected scope — and formalizes only part (a) (unbounded X), not part (b) (compact X, reverse
monotonicity), since only (a) is on the goal's dependency path. explicit_gs_rate (Corollary
8.1(a)) uses the closed forms and that the specific
schedule (8.1.39)-(8.1.40) produces (8.1.44, 8.1.46 — cited, not restated), rather than the general
recursion, and takes Theorem 8.1(a)'s bound, specialized to this schedule, as a hypothesis: its own
content is the purely algebraic simplification (8.1.45)-(8.1.48) into the closed-form bound
(8.1.41), not a re-derivation of the general theorem. The source PDF's own printed (8.1.40) is a text-extraction artifact (no such -indexed quantity appears anywhere in this
section); the proof's own algebra (, using
, ) is consistent only with , which is what is
formalized. A trivializing formalization would fix or , collapsing the
composite problem to plain smooth minimization and making the entire PS-procedure apparatus
vacuous; this is ruled out by keeping and as free convex functions throughout with
hMLip an active, non-degenerate hypothesis. Proposition 8.2 (the recursion gs_convergence_bound
cites) and Theorem 8.1(b) (the compact-X case) are natural extensions a further contribution
could add.
Selected references
- G. Lan, First-Order and Stochastic Optimization Methods for Machine Learning, Springer Series in the Data Sciences, 2020, Chapter 8. https://doi.org/10.1007/978-3-030-39568-1
- G. Lan, Gradient sliding for composite optimization, Mathematical Programming 159 (2016), 201–235. https://doi.org/10.1007/s10107-015-0955-5
- S. Ghadimi, G. Lan, H. Zhang, Generalized Uniformly Optimal Methods for Nonlinear Programming, Journal of Scientific Computing, 2019 (arXiv preprint 2015). arXiv:1406.5613