Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Convex Optimization

556 missions · 338 completed

Missions

Open218Completed338All556
Operations ResearchOptimal TransportOptimization·Captain: mikedeng1

Optimal Transport-Based Distributionally Robust Optimization: Structural Properties and Iterative Schemes 2: The Dual Objective f_δ(β, λ) = E_P0[ℓ_rob(β, λ; X)] Is Proper and ConvexResearch Paper

Motivation

Distributionally robust optimization (DRO) replaces the expected loss EP0[ℓ(βTX)]E_{P_0}[\ell(\beta^{\mathsf T}X)]EP0​​[ℓ(βTX)] of a decision β\betaβ under a baseline distribution P0P_0P0​ by its worst case over all distributions PPP that are close to P0P_0P0​. When closeness is measured by an optimal transport cost, the worst case over this infinite-dimensional ball has a one-dimensional dual: by Theorem 1 of Blanchet, Murthy and Zhang (arXiv:1810.02403v3, Math. Oper. Res. 47(2), 2022), building on the strong duality of Blanchet and Murthy (arXiv:1604.01446),

sup⁡P:Dc(P0,P)≤δEP[ℓ(βTX)]=inf⁡λ≥0fδ(β,λ).\sup_{P : D_c(P_0, P) \le \delta} E_P\big[\ell(\beta^{\mathsf T}X)\big] = \inf_{\lambda \ge 0} f_\delta(\beta, \lambda).P:Dc​(P0​,P)≤δsup​EP​[ℓ(βTX)]=λ≥0inf​fδ​(β,λ).

The robust problem inf⁡β∈Bsup⁡PEP[ℓ(βTX)]\inf_{\beta \in B} \sup_P E_P[\ell(\beta^{\mathsf T}X)]infβ∈B​supP​EP​[ℓ(βTX)] thus becomes a joint minimization of the dual objective fδf_\deltafδ​ over (β,λ)(\beta, \lambda)(β,λ). Whether that minimization is a convex program, and on which set the objective is finite, decides whether first-order methods such as the stochastic gradient schemes of the same paper apply at all. This mission formalizes the paper's answer, Theorem 2.

Setting

The data XXX take values in Rd\mathbb{R}^dRd with law P0P_0P0​, a Borel probability measure. A decision is a vector β\betaβ in a convex set B⊆RdB \subseteq \mathbb{R}^dB⊆Rd, the loss is ℓ(βTx)\ell(\beta^{\mathsf T}x)ℓ(βTx) for ℓ:R→R\ell : \mathbb{R} \to \mathbb{R}ℓ:R→R, and δ>0\delta > 0δ>0 is the transport budget.

The transport cost is the state-dependent Mahalanobis cost c(x,x′)=(x−x′)TA(x)(x−x′)c(x, x') = (x - x')^{\mathsf T}A(x)(x - x')c(x,x′)=(x−x′)TA(x)(x−x′) for a map AAA from Rd\mathbb{R}^dRd to positive definite d×dd \times dd×d matrices. Assumption 1: ccc is lower semicontinuous (1a), and ρmin⁡∥v∥2≤vTA(x)v≤ρmax⁡∥v∥2\rho_{\min}\|v\|^2 \le v^{\mathsf T}A(x)v \le \rho_{\max}\|v\|^2ρmin​∥v∥2≤vTA(x)v≤ρmax​∥v∥2 for P0P_0P0​-almost every xxx, with ρmin⁡>0\rho_{\min} > 0ρmin​>0 (1b). Write qβ(x)=βTA(x)−1βq_\beta(x) = \beta^{\mathsf T}A(x)^{-1}\betaqβ​(x)=βTA(x)−1β.

Assumption 2: ℓ\ellℓ is convex, its growth exponent

κ=inf⁡{s≥0:sup⁡u∈R(ℓ(u)−su2)<∞}\kappa = \inf\Big\{ s \ge 0 : \sup_{u \in \mathbb{R}} \big(\ell(u) - s u^2\big) < \infty \Big\}κ=inf{s≥0:u∈Rsup​(ℓ(u)−su2)<∞}

is finite, and EP0∥X∥4<∞E_{P_0}\|X\|^4 < \inftyEP0​​∥X∥4<∞.

For γ∈R\gamma \in \mathbb{R}γ∈R, λ≥0\lambda \ge 0λ≥0 and x∈Rdx \in \mathbb{R}^dx∈Rd define, as in display (7),

F(γ,β,λ;x)=ℓ(βTx+γδ qβ(x))−λδ(γ2qβ(x)−1),F(\gamma, \beta, \lambda; x) = \ell\big(\beta^{\mathsf T}x + \gamma\sqrt{\delta}\, q_\beta(x)\big) - \lambda\sqrt{\delta}\big(\gamma^2 q_\beta(x) - 1\big),F(γ,β,λ;x)=ℓ(βTx+γδ​qβ​(x))−λδ​(γ2qβ​(x)−1),

the robust loss ℓrob(β,λ;x)=sup⁡γ∈RF(γ,β,λ;x)∈R∪{+∞}\ell_{rob}(\beta, \lambda; x) = \sup_{\gamma \in \mathbb{R}} F(\gamma, \beta, \lambda; x) \in \mathbb{R} \cup \{+\infty\}ℓrob​(β,λ;x)=supγ∈R​F(γ,β,λ;x)∈R∪{+∞}, its set of maximizers Γ∗(β,λ;x)\Gamma^*(\beta, \lambda; x)Γ∗(β,λ;x), and the dual objective

fδ(β,λ)=EP0[ℓrob(β,λ;X)]∈R∪{±∞}.f_\delta(\beta, \lambda) = E_{P_0}\big[\ell_{rob}(\beta, \lambda; X)\big] \in \mathbb{R} \cup \{\pm\infty\}.fδ​(β,λ)=EP0​​[ℓrob​(β,λ;X)]∈R∪{±∞}.

The effective domain is U={(β,λ)∈B×R+:fδ(β,λ)<∞}\mathbb{U} = \{(\beta, \lambda) \in B \times \mathbb{R}_+ : f_\delta(\beta, \lambda) < \infty\}U={(β,λ)∈B×R+​:fδ​(β,λ)<∞}, and with the threshold λthr(β)=κδ ess sup⁡P0qβ\lambda_{thr}(\beta) = \kappa\sqrt{\delta}\,\operatorname{ess\,sup}_{P_0} q_\betaλthr​(β)=κδ​esssupP0​​qβ​ the paper sets U1={λ>λthr(β)}\mathbb{U}_1 = \{\lambda > \lambda_{thr}(\beta)\}U1​={λ>λthr​(β)} and U2={λ≥λthr(β)}\mathbb{U}_2 = \{\lambda \ge \lambda_{thr}(\beta)\}U2​={λ≥λthr​(β)} inside B×R+B \times \mathbb{R}_+B×R+​.

Formalization targets

Goal: Theorem 2 (p. 10)

Under Assumptions 1 and 2, fδ:B×R+→R∪{∞}f_\delta : B \times \mathbb{R}_+ \to \mathbb{R} \cup \{\infty\}fδ​:B×R+​→R∪{∞} is proper and convex: fδ>−∞f_\delta > -\inftyfδ​>−∞ on B×R+B \times \mathbb{R}_+B×R+​; for each β∈B\beta \in Bβ∈B some λ≥0\lambda \ge 0λ≥0 has fδ(β,λ)<∞f_\delta(\beta, \lambda) < \inftyfδ​(β,λ)<∞; and for θ1,θ2∈B×R+\theta_1, \theta_2 \in B \times \mathbb{R}_+θ1​,θ2​∈B×R+​, α∈[0,1]\alpha \in [0, 1]α∈[0,1],

fδ(αθ1+(1−α)θ2)≤αfδ(θ1)+(1−α)fδ(θ2).f_\delta\big(\alpha\theta_1 + (1 - \alpha)\theta_2\big) \le \alpha f_\delta(\theta_1) + (1 - \alpha) f_\delta(\theta_2).fδ​(αθ1​+(1−α)θ2​)≤αfδ​(θ1​)+(1−α)fδ​(θ2​).

Milestones

  1. Lemma 3 (p. 32). For each ε>0\varepsilon > 0ε>0 there are C1,C2>0C_1, C_2 > 0C1​,C2​>0, not depending on xxx, β\betaβ, λ\lambdaλ, such that whenever λ≥(κ+ε)δ qβ(x)\lambda \ge (\kappa + \varepsilon)\sqrt{\delta}\,q_\beta(x)λ≥(κ+ε)δ​qβ​(x) we have δ∣g∣qβ(x)≤1+C1ε−1(1+∣βTx∣)\sqrt{\delta}|g|q_\beta(x) \le 1 + C_1\varepsilon^{-1}(1 + |\beta^{\mathsf T}x|)δ​∣g∣qβ​(x)≤1+C1​ε−1(1+∣βTx∣) for every g∈Γ∗(β,λ;x)g \in \Gamma^*(\beta, \lambda; x)g∈Γ∗(β,λ;x), and ℓrob(β,λ;x)≤λδ+C2(1+ε+ε−1)(1+∣βTx∣)2\ell_{rob}(\beta, \lambda; x) \le \lambda\sqrt{\delta} + C_2(1 + \varepsilon + \varepsilon^{-1})(1 + |\beta^{\mathsf T}x|)^2ℓrob​(β,λ;x)≤λδ​+C2​(1+ε+ε−1)(1+∣βTx∣)2.
  2. Display (25) (p. 32). sup⁡Δ∈Rd{ℓ(βT(x+Δ))−λδ(ΔTA(x)Δ−δ)}=ℓrob(β,λ;x)\sup_{\Delta \in \mathbb{R}^d}\{\ell(\beta^{\mathsf T}(x + \Delta)) - \tfrac{\lambda}{\sqrt\delta}(\Delta^{\mathsf T}A(x)\Delta - \delta)\} = \ell_{rob}(\beta, \lambda; x)supΔ∈Rd​{ℓ(βT(x+Δ))−δ​λ​(ΔTA(x)Δ−δ)}=ℓrob​(β,λ;x).
  3. Lemma 2 (p. 16). (β,λ)↦ℓrob(β,λ;x)(\beta, \lambda) \mapsto \ell_{rob}(\beta, \lambda; x)(β,λ)↦ℓrob​(β,λ;x) is convex on B×R+B \times \mathbb{R}_+B×R+​ for every xxx.
  4. Lemma 1 (p. 16). Γ∗≠∅\Gamma^* \neq \emptysetΓ∗=∅ and ℓrob\ell_{rob}ℓrob​ finite if λ>κδ qβ(x)\lambda > \kappa\sqrt{\delta}\,q_\beta(x)λ>κδ​qβ​(x); Γ∗=∅\Gamma^* = \emptysetΓ∗=∅ and ℓrob=∞\ell_{rob} = \inftyℓrob​=∞ if λ<κδ qβ(x)\lambda < \kappa\sqrt{\delta}\,q_\beta(x)λ<κδ​qβ​(x); consequently U1⊆U⊆U2\mathbb{U}_1 \subseteq \mathbb{U} \subseteq \mathbb{U}_2U1​⊆U⊆U2​.

Lemma 3 is stated with constants depending only on ε\varepsilonε (and the fixed data), as its proof produces them and as the paper's later arguments integrate bound (b) over xxx.

Significance

Theorem 2 is the structural fact behind the paper's algorithms: with Theorem 1 it turns a minimax problem over probability measures into a convex minimization in d+1d + 1d+1 real variables, on which the paper's strong convexity results (Theorems 3–5) and its stochastic gradient schemes are built. Lemma 1 identifies the effective domain up to its boundary, which tells an algorithm where the dual multiplier must lie, and Lemma 3 gives the growth control of the robust loss used throughout the appendix.

The results are proved in the paper; none of them has a machine-checked proof. The mission produces a Lean statement of the dual objective as an extended-real integral and of its convexity and properness, reusable by the other missions of this series (strong convexity near the optimizers, worst-case distributions, comparative statics in δ\deltaδ), and contributions of formal proofs of the milestones and the goal.

Difficulty

The objective takes the value +∞+\infty+∞ on part of its domain: Lemma 1(b) shows that ℓrob=+∞\ell_{rob} = +\inftyℓrob​=+∞ below the threshold, so the naive reading "fδf_\deltafδ​ is a real convex function" is false, and convexity must be handled for functions with values in R∪{∞}\mathbb{R} \cup \{\infty\}R∪{∞}, including the conventions 0⋅∞=00 \cdot \infty = 00⋅∞=0 at the endpoints of the segment. Properness requires a bound on ℓrob\ell_{rob}ℓrob​ that is integrable in xxx, so the constants of Lemma 3 must not depend on xxx; a bound that is only pointwise finite does not suffice. The identity (25) relates a supremum over Rd\mathbb{R}^dRd to a supremum over R\mathbb{R}R through a change of the dual variable, and the two multipliers must be kept apart. Finally, the expectation in fδf_\deltafδ​ is an integral of an extended-real function whose measurability is not assumed but has to be derived from Assumption 1.

Formalization scope

Rd\mathbb{R}^dRd is EuclideanSpace ℝ (Fin d) and parameters (β,λ)(\beta, \lambda)(β,λ) live in EuclideanSpace ℝ (Fin d) × ℝ. ℓrob\ell_{rob}ℓrob​ is an EReal supremum; fδf_\deltafδ​ is the published ModelRiskOT.Duality.extIntegral, ∫φ+ dP0−∫φ− dP0\int \varphi^+\,dP_0 - \int \varphi^-\,dP_0∫φ+dP0​−∫φ−dP0​ with lower Lebesgue integrals. κ\kappaκ is a real infimum and λthr\lambda_{thr}λthr​ uses the real essential supremum; both are used only under Assumptions 1–2, which make them meaningful. Convexity of extended-real maps is written as the explicit inequality in EReal, since ConvexOn does not apply.

Standing assumptions carried by every statement: P0P_0P0​ a probability measure, δ>0\delta > 0δ>0, BBB convex (the paper's standing assumption). Conventions committed to: "for any xxx" in Lemmas 1–2 is every xxx, not almost every; Lemma 2 assumes only Assumption 1a and the convexity of ℓ\ellℓ; the identity (25) is stated with the old multiplier written as λ/δ\lambda/\sqrt{\delta}λ/δ​; the typo "βA(x)−1β\beta A(x)^{-1}\betaβA(x)−1β" in Lemma 1 is read as βTA(x)−1β\beta^{\mathsf T}A(x)^{-1}\betaβTA(x)−1β; the goal's "finite somewhere" is stated for each β∈B\beta \in Bβ∈B, so the goal is vacuous only when B=∅B = \emptysetB=∅. The fourth-moment condition of Assumption 2 is kept as printed.

A trivializing formalization is ruled out: "proper" is not encoded as "finite everywhere" (false by Lemma 1(b)), and pointwise convexity of ℓrob\ell_{rob}ℓrob​ (Lemma 2) is a milestone, not the goal, which is about the expectation fδf_\deltafδ​.

A complete development needs: positive definite matrices and the quadratic minimization behind (25); continuity of convex functions and growth bounds; lower Lebesgue integrals of extended-real functions and their monotonicity and additivity; measurability of a supremum over γ\gammaγ of continuous functions. The definitions layer is shared with the other four missions of this series. Proofs of any milestone and of the goal are welcome.

Selected references

  • J. Blanchet, K. Murthy, F. Zhang, Optimal Transport-Based Distributionally Robust Optimization: Structural Properties and Iterative Schemes, Mathematics of Operations Research 47(2), 2022. arXiv:1810.02403v3, doi:10.1287/moor.2021.1178
  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Mathematics of Operations Research 44(2), 2019. arXiv:1604.01446, doi:10.1287/moor.2018.0936
8 thms1 active userReviewed
Dynamical SystemsOptimization·Captain: mikedeng1

First-Order Optimization Algorithms via Inertial Systems with Hessian Driven Damping I: Under (G₂)–(G₃), (DIN-AVD)α,β,b Trajectories Satisfy f(x(t)) − min f = O(1/(t²w(t)))Research Paper

Motivation

Accelerated first-order methods for convex minimization, starting with Nesterov's 1983 scheme, reach the rate f(xk)−min⁡f=O(1/k2)f(x_k)-\min f=\mathcal O(1/k^2)f(xk​)−minf=O(1/k2), which is optimal for the class of convex functions with Lipschitz gradient. Su, Boyd and Candès (NIPS 2014; JMLR 2016) showed that Nesterov's method is a discretization of the second-order ODE x¨+3tx˙+∇f(x)=0\ddot x+\frac3t\dot x+\nabla f(x)=0x¨+t3​x˙+∇f(x)=0, and since then continuous-time inertial dynamics have been the main tool for designing and analysing accelerated algorithms: a Lyapunov argument for the ODE is found first, and then transcribed to the discrete scheme.

Nesterov-type methods oscillate. Adding to the dynamic a damping term driven by the Hessian, β(t)∇2f(x(t))x˙(t)\beta(t)\nabla^2f(x(t))\dot x(t)β(t)∇2f(x(t))x˙(t), attenuates these oscillations, and because ∇2f(x(t))x˙(t)\nabla^2f(x(t))\dot x(t)∇2f(x(t))x˙(t) is the time derivative of ∇f(x(t))\nabla f(x(t))∇f(x(t)), time discretizations of such dynamics remain first-order methods. Attouch, Chbani, Fadili and Riahi (arXiv:1907.10536, Math. Program. 2020) develop this programme. This mission formalizes its first result: a convergence-rate theorem for the continuous dynamic with general damping and time-scale functions.

Timeline.

  • 2014: Su, Boyd and Candès identify x¨+3tx˙+∇f(x)=0\ddot x+\frac3t\dot x+\nabla f(x)=0x¨+t3​x˙+∇f(x)=0 as the continuous limit of Nesterov's method and prove O(1/t2)\mathcal O(1/t^2)O(1/t2).
  • 2016: Attouch, Peypouquet and Redont (J. Differential Equations 261; reference [12] of arXiv:1907.10536) add the constant Hessian damping β∇2f(x)x˙\beta\nabla^2 f(x)\dot xβ∇2f(x)x˙, prove O(1/t2)\mathcal O(1/t^2)O(1/t2) for α>3\alpha>3α>3 and ∫t2∥∇f(x(t))∥2dt<∞\int t^2\|\nabla f(x(t))\|^2dt<\infty∫t2∥∇f(x(t))∥2dt<∞.
  • 2019–2020: Attouch, Chbani, Fadili and Riahi allow time-dependent β(t)\beta(t)β(t) and a time scale b(t)b(t)b(t), and isolate the growth conditions (G2)(\mathcal G_2)(G2​), (G3)(\mathcal G_3)(G3​) under which the Lyapunov argument works (Theorem 1 here).

Setting

Let H\mathcal HH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Let f:H→Rf:\mathcal H\to\mathbb Rf:H→R be a convex function of class C2\mathcal C^2C2 that attains its minimum at some point x⋆x^\starx⋆. Fix a starting time t0>0t_0>0t0​>0, a constant α≥1\alpha\ge1α≥1, and two non-negative continuous functions β,b:[t0,+∞[→R+\beta,b:[t_0,+\infty[\to\mathbb R_+β,b:[t0​,+∞[→R+​. These are the paper's standing assumptions (H).

A solution trajectory of

(DIN-AVD)α,β,bx¨(t)+αtx˙(t)+β(t)∇2f(x(t))x˙(t)+b(t)∇f(x(t))=0(\mathrm{DIN\text{-}AVD})_{\alpha,\beta,b}\qquad \ddot x(t)+\frac{\alpha}{t}\dot x(t)+\beta(t)\nabla^2 f(x(t))\dot x(t)+b(t)\nabla f(x(t))=0(DIN-AVD)α,β,b​x¨(t)+tα​x˙(t)+β(t)∇2f(x(t))x˙(t)+b(t)∇f(x(t))=0

is a twice differentiable curve x:[t0,+∞[→Hx:[t_0,+\infty[\to\mathcal Hx:[t0​,+∞[→H satisfying this equation at every t≥t0t\ge t_0t≥t0​. The coefficient α/t\alpha/tα/t is an asymptotically vanishing viscous damping, β(t)\beta(t)β(t) weights the Hessian-driven damping, and b(t)b(t)b(t) is a time-scale factor in front of the gradient.

When β\betaβ is differentiable, set

w(t):=b(t)−β˙(t)−β(t)t,δ(t):=t2w(t).w(t):=b(t)-\dot\beta(t)-\frac{\beta(t)}{t},\qquad \delta(t):=t^2w(t).w(t):=b(t)−β˙​(t)−tβ(t)​,δ(t):=t2w(t).

The rate in Theorem 1 is expressed through www.

Formalization targets

Goal: Theorem 1

Assume www is differentiable and the growth conditions

(G2)b(t)>β˙(t)+β(t)t,(G3)tw˙(t)≤(α−3)w(t)(\mathcal G_2)\quad b(t)>\dot\beta(t)+\frac{\beta(t)}{t},\qquad (\mathcal G_3)\quad t\dot w(t)\le(\alpha-3)w(t)(G2​)b(t)>β˙​(t)+tβ(t)​,(G3​)tw˙(t)≤(α−3)w(t)

hold for all t≥t0t\ge t_0t≥t0​. Then w(t)>0w(t)>0w(t)>0 and

f(x(t))−min⁡Hf=O ⁣(1t2w(t)),∫t0∞t2β(t)w(t)∥∇f(x(t))∥2dt<∞,f(x(t))-\min_{\mathcal H}f=\mathcal O\!\Big(\frac1{t^2w(t)}\Big),\qquad \int_{t_0}^{\infty}t^2\beta(t)w(t)\|\nabla f(x(t))\|^2dt<\infty,f(x(t))−Hmin​f=O(t2w(t)1​),∫t0​∞​t2β(t)w(t)∥∇f(x(t))∥2dt<∞, ∫t0∞t((α−3)w(t)−tw˙(t))(f(x(t))−min⁡f)dt<∞.\int_{t_0}^{\infty}t\big((\alpha-3)w(t)-t\dot w(t)\big)\big(f(x(t))-\min f\big)dt<\infty .∫t0​∞​t((α−3)w(t)−tw˙(t))(f(x(t))−minf)dt<∞.

The goal leaves β\betaβ and bbb general. Specific choices are the companions below.

Milestones

The paper's own proof steps, in order:

  1. the derivative (3) of the energy E(t)=δ(t)(f(x(t))−f(x⋆))+12∥v(t)∥2E(t)=\delta(t)(f(x(t))-f(x^\star))+\frac12\|v(t)\|^2E(t)=δ(t)(f(x(t))−f(x⋆))+21​∥v(t)∥2, where v(t)=(α−1)(x(t)−x⋆)+t(x˙(t)+β(t)∇f(x(t)))v(t)=(\alpha-1)(x(t)-x^\star)+t(\dot x(t)+\beta(t)\nabla f(x(t)))v(t)=(α−1)(x(t)−x⋆)+t(x˙(t)+β(t)∇f(x(t)));
  2. the identity v˙(t)=t[β˙(t)+β(t)/t−b(t)]∇f(x(t))\dot v(t)=t[\dot\beta(t)+\beta(t)/t-b(t)]\nabla f(x(t))v˙(t)=t[β˙​(t)+β(t)/t−b(t)]∇f(x(t));
  3. the differential inequality (4);
  4. the monotonicity of EEE via (5)–(6);
  5. the two integral bounds by E(t0)E(t_0)E(t0​).

Companions

  • Theorem 3: β(t)≡β\beta(t)\equiv\betaβ(t)≡β, b(t)=1+β/tb(t)=1+\beta/tb(t)=1+β/t, α≥3\alpha\ge3α≥3 give O(1/t2)\mathcal O(1/t^2)O(1/t2) and, for β>0\beta>0β>0, ∫t2∥∇f(x(t))∥2<∞\int t^2\|\nabla f(x(t))\|^2<\infty∫t2∥∇f(x(t))∥2<∞.
  • Theorem 2: the Attouch–Peypouquet–Redont case b≡1b\equiv1b≡1, α>3\alpha>3α>3, with the same conclusions.

Significance

The result. Theorem 1 contains the O(1/t2)\mathcal O(1/t^2)O(1/t2) rate of the continuous Nesterov dynamic as the case β≡0\beta\equiv0β≡0, b≡1b\equiv1b≡1, α≥3\alpha\ge3α≥3. It recovers the Attouch–Peypouquet–Redont theorem and the vanishing-coefficient system of Case 2 as special cases. The time scale bbb gives faster rates O(1/(t2w(t)))\mathcal O(1/(t^2w(t)))O(1/(t2w(t))) when www grows. For β>0\beta>0β>0 it also gives the integral estimate on ∥∇f(x(t))∥2\|\nabla f(x(t))\|^2∥∇f(x(t))∥2, which is the continuous counterpart of the fast decay of gradients proved for the algorithms (IPAHD) and (IGAHD) later in the paper.

Formalizing it. The result is proved in the paper, and nothing about it has been machine-checked. The mission produces:

  • a reusable predicate for solutions of second-order ODEs with Hessian damping on a half-line;
  • the Lyapunov identity and inequality for that predicate;
  • a checked version of the integration step that turns a pointwise differential inequality into finite integrals.

Difficulty

The energy estimate is an exact computation that has to match term by term. The cross terms ⟨∇f(x(t)),x˙(t)⟩\langle\nabla f(x(t)),\dot x(t)\rangle⟨∇f(x(t)),x˙(t)⟩ cancel only because δ=t2w\delta=t^2wδ=t2w is chosen to match v˙\dot vv˙. That computation needs the chain rule ddt∇f(x(t))=∇2f(x(t))x˙(t)\frac{d}{dt}\nabla f(x(t))=\nabla^2 f(x(t))\dot x(t)dtd​∇f(x(t))=∇2f(x(t))x˙(t) in a Hilbert space.

The naive conclusion "E˙≤0\dot E\le0E˙≤0, so integrate (4)" hides two analytic steps:

  • monotonicity from a one-sided derivative on a closed half-line;
  • integrability on an unbounded interval of non-negative functions that need not be continuous, because w˙\dot ww˙ is only assumed to exist.

The (i) rate needs the positivity of www from (G2)(\mathcal G_2)(G2​) to divide by δ(t)\delta(t)δ(t).

Formalization scope

Lean conventions:

  • H\mathcal HH is a real inner product space that is complete. ∇f\nabla f∇f is Mathlib's gradient f, and ∇2f(x)u\nabla^2 f(x)u∇2f(x)u is fderiv ℝ (gradient f) x u.
  • Trajectories are maps R→H\mathbb R\to\mathcal HR→H with explicit velocity and acceleration maps, tied to them by HasDerivWithinAt on [t0,+∞[[t_0,+\infty[[t0​,+∞[. Values before t0t_0t0​ are irrelevant, and derivatives at t0t_0t0​ are one-sided.
  • β˙\dot\betaβ˙​ and w˙\dot ww˙ are explicit maps with derivative hypotheses. The paper writes them, so it presupposes they exist.
  • min⁡f\min fminf is f(x⋆)f(x^\star)f(x⋆) for a given global minimizer. O\mathcal OO is =O[atTop], with constants depending on all data.
  • "∫<∞\int<\infty∫<∞" is IntegrableOn on [t0,+∞[[t_0,+\infty[[t0​,+∞[, never a bound on a Bochner integral that could be the junk value 000.

These choices rule out trivial readings: Lean's zero value for the derivative of a non-differentiable function, an ODE with an unlinked velocity, and an integral that is zero because the integrand is not integrable. The goal assumes nothing about EEE, vvv or (4)–(6), which appear only in milestones.

Companion items:

  • Theorems 2 and 3 add β>0\beta>0β>0 to the gradient-integral claim. The paper derives it from Theorem 1 (ii), which carries a factor β\betaβ, so it says nothing at β=0\beta=0β=0.
  • Theorem 2 must cope with growth conditions that hold only for large ttt.

Contributions are welcome: the chain rule for gradient along a curve, a monotonicity lemma for one-sided derivatives on Ici, and the integrability lemma for non-negative functions bounded by a non-increasing energy.

Selected references

  • H. Attouch, Z. Chbani, J. Fadili, H. Riahi, First-order optimization algorithms via inertial systems with Hessian driven damping, Math. Program. (2020); arXiv:1907.10536v2. https://arxiv.org/abs/1907.10536
  • H. Attouch, J. Peypouquet, P. Redont, Fast convex minimization via inertial dynamics with Hessian driven damping, J. Differential Equations 261, No. 10 (2016) 5734–5783 (as cited in arXiv:1907.10536v2, ref. [12]). https://arxiv.org/abs/1907.10536
  • W. Su, S. Boyd, E. J. Candès, A differential equation for modeling Nesterov's accelerated gradient method: theory and insights, NIPS 27 (2014) 2510–2518; journal version J. Mach. Learn. Res. 17 (2016). https://jmlr.org/papers/v17/15-084.html
  • Y. Nesterov, A method of solving a convex programming problem with convergence rate O(1/k²), Soviet Math. Dokl. 27 (1983) 372–376.
7 thms1 active userReviewed
Numerical AnalysisOptimization·Captain: mikedeng1

First-Order Optimization Algorithms via Inertial Systems with Hessian Driven Damping II: The Inertial Proximal Algorithm (IPAHD) Satisfies f(x_k) − min f = O(1/δ_k)Research Paper

Motivation

Accelerated first-order methods, such as Nesterov's method and FISTA, reach a convergence rate of O(1/k2)\mathcal O(1/k^2)O(1/k2) on the objective values of a smooth convex function, against O(1/k)\mathcal O(1/k)O(1/k) for plain gradient descent. Since the work of Su, Boyd and Candès (arXiv:1503.01243), these methods are studied through their continuous-time limits, second-order differential equations with a vanishing viscous damping αtx˙\frac{\alpha}{t}\dot xtα​x˙. The trajectories of these equations, and the iterates of the corresponding algorithms, oscillate strongly around the minimizers.

Adding a Hessian-driven damping term β(t)∇2f(x(t))x˙(t)\beta(t)\nabla^2 f(x(t))\dot x(t)β(t)∇2f(x(t))x˙(t) to the dynamic damps these oscillations while keeping the fast rate. The idea goes back to Alvarez, Attouch, Bolte and Redont (2002) and was developed for fast convex minimization by Attouch, Peypouquet and Redont (arXiv:1601.07113, J. Differential Equations 2016). Shi, Du, Jordan and Su (arXiv:1810.08907) showed that the gradient-correction term of Nesterov's method is exactly such a Hessian damping, observed in a high-resolution limit. Because ∇2f(x(t))x˙(t)\nabla^2 f(x(t))\dot x(t)∇2f(x(t))x˙(t) is the time derivative of ∇f(x(t))\nabla f(x(t))∇f(x(t)), the Hessian never has to be evaluated after discretization, and the resulting algorithms are genuinely first-order.

Attouch, Chbani, Fadili and Riahi (arXiv:1907.10536, Math. Program. 2020) study the system (DIN-AVD)α,β,b_{\alpha,\beta,b}α,β,b​, x¨+αtx˙+β(t)∇2f(x)x˙+b(t)∇f(x)=0\ddot x+\frac{\alpha}{t}\dot x+\beta(t)\nabla^2f(x)\dot x+b(t)\nabla f(x)=0x¨+tα​x˙+β(t)∇2f(x)x˙+b(t)∇f(x)=0, with general time-dependent coefficients, and derive algorithms from it. This mission formalizes their first discrete result: the convergence rate of the implicit (proximal) discretization.

Setting

Let H\mathcal HH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥, and let f:H→Rf:\mathcal H\to\mathbb Rf:H→R be a convex function of class C1\mathcal C^1C1 with gradient ∇f\nabla f∇f, attaining its minimum at some point x⋆x^\starx⋆. Fix α≥1\alpha\ge1α≥1, a step size h>0h>0h>0 with s=h2s=h^2s=h2, and two non-negative sequences (βk)k∈N(\beta_k)_{k\in\mathbb N}(βk​)k∈N​ (the Hessian damping) and (bk)k∈N(b_k)_{k\in\mathbb N}(bk​)k∈N​ (the time scaling of the gradient).

For μ≥0\mu\ge0μ≥0 and y∈Hy\in\mathcal Hy∈H, the proximal point proxμf(y)\mathrm{prox}_{\mu f}(y)proxμf​(y) is the minimizer of z↦μf(z)+12∥z−y∥2z\mapsto\mu f(z)+\tfrac12\|z-y\|^2z↦μf(z)+21​∥z−y∥2.

The Inertial Proximal Algorithm with Hessian Damping (IPAHD) generates a sequence (xk)k∈N(x_k)_{k\in\mathbb N}(xk​)k∈N​ by, for k≥1k\ge1k≥1,

μk=kk+α(βks+sbk),yk=xk+(1−αk+α)(xk−xk−1)+βks(1−αk+α)∇f(xk),\mu_k=\frac{k}{k+\alpha}\big(\beta_k\sqrt s+sb_k\big),\qquad y_k=x_k+\Big(1-\frac{\alpha}{k+\alpha}\Big)(x_k-x_{k-1})+\beta_k\sqrt s\Big(1-\frac{\alpha}{k+\alpha}\Big)\nabla f(x_k),μk​=k+αk​(βk​s​+sbk​),yk​=xk​+(1−k+αα​)(xk​−xk−1​)+βk​s​(1−k+αα​)∇f(xk​), xk+1=proxμkf(yk).x_{k+1}=\mathrm{prox}_{\mu_kf}(y_k).xk+1​=proxμk​f​(yk​).

It is the implicit time discretization, with step hhh, of (DIN-AVD)α,β,b_{\alpha,\beta,b}α,β,b​:

k(xk+1−2xk+xk−1)+α(xk+1−xk)+βkhk(∇f(xk+1)−∇f(xk))+bkh2k∇f(xk+1)=0.(8)k(x_{k+1}-2x_k+x_{k-1})+\alpha(x_{k+1}-x_k)+\beta_khk\big(\nabla f(x_{k+1})-\nabla f(x_k)\big)+b_kh^2k\nabla f(x_{k+1})=0. \tag{8}k(xk+1​−2xk​+xk−1​)+α(xk+1​−xk​)+βk​hk(∇f(xk+1​)−∇f(xk​))+bk​h2k∇f(xk+1​)=0.(8)

The rate is measured by the sequence

δk:=h(bkhk−βk+1−k(βk+1−βk))(k+1),(9)\delta_k:=h\big(b_khk-\beta_{k+1}-k(\beta_{k+1}-\beta_k)\big)(k+1), \tag{9}δk​:=h(bk​hk−βk+1​−k(βk+1​−βk​))(k+1),(9)

under two growth conditions: (G2dis)(\mathcal G_2^{\rm dis})(G2dis​) bkhk−βk+1−k(βk+1−βk)>0b_khk-\beta_{k+1}-k(\beta_{k+1}-\beta_k)>0bk​hk−βk+1​−k(βk+1​−βk​)>0 and (G3dis)(\mathcal G_3^{\rm dis})(G3dis​) δk+1−δk≤(α−1)δkk+1\delta_{k+1}-\delta_k\le(\alpha-1)\frac{\delta_k}{k+1}δk+1​−δk​≤(α−1)k+1δk​​. They are the discrete counterparts of the conditions (G2)(\mathcal G_2)(G2​), (G3)(\mathcal G_3)(G3​) of the continuous analysis.

Formalization targets

Goal: Theorem 4 (p. 11)

If (G2dis)(\mathcal G_2^{\rm dis})(G2dis​) and (G3dis)(\mathcal G_3^{\rm dis})(G3dis​) hold for every k≥k0k\ge k_0k≥k0​, for some k0≥1k_0\ge1k0​≥1, then every sequence generated by (IPAHD) satisfies: δk>0\delta_k>0δk​>0 for k≥k0k\ge k_0k≥k0​, and

f(xk)−min⁡Hf=O(1δk),∑kδkβk+1∥∇f(xk+1)∥2<+∞.f(x_k)-\min_{\mathcal H}f=\mathcal O\Big(\frac1{\delta_k}\Big),\qquad \sum_k\delta_k\beta_{k+1}\|\nabla f(x_{k+1})\|^2<+\infty.f(xk​)−Hmin​f=O(δk​1​),k∑​δk​βk+1​∥∇f(xk+1​)∥2<+∞.

The rate is stated in terms of δk\delta_kδk​, with no constant fixed in advance, so it covers every admissible choice of (βk)(\beta_k)(βk​) and (bk)(b_k)(bk​) at once.

Milestones (the steps of the proof, pp. 10–13)

  1. Every run of (IPAHD) satisfies (8).
  2. Under (8), vk+1−vk=hCk∇f(xk+1)v_{k+1}-v_k=h C_k\nabla f(x_{k+1})vk+1​−vk​=hCk​∇f(xk+1​), where vk:=(α−1)(xk−x⋆)+k(xk−xk−1+βkh∇f(xk))v_k:=(\alpha-1)(x_k-x^\star)+k(x_k-x_{k-1}+\beta_kh\nabla f(x_k))vk​:=(α−1)(xk​−x⋆)+k(xk​−xk−1​+βk​h∇f(xk​)) and Ck=βk+1+k(βk+1−βk)−bkhkC_k=\beta_{k+1}+k(\beta_{k+1}-\beta_k)-b_khkCk​=βk+1​+k(βk+1​−βk​)−bk​hk.
  3. 12∥vk+1∥2−12∥vk∥2≤−(α−1)hCk(f(x⋆)−f(xk+1))−hCk(k+1)(f(xk)−f(xk+1))\tfrac12\|v_{k+1}\|^2-\tfrac12\|v_k\|^2\le-(\alpha-1)hC_k(f(x^\star)-f(x_{k+1}))-hC_k(k+1)(f(x_k)-f(x_{k+1}))21​∥vk+1​∥2−21​∥vk​∥2≤−(α−1)hCk​(f(x⋆)−f(xk+1​))−hCk​(k+1)(f(xk​)−f(xk+1​)).
  4. For the energy Ek:=δk(f(xk)−f(x⋆))+12∥vk∥2E_k:=\delta_k(f(x_k)-f(x^\star))+\tfrac12\|v_k\|^2Ek​:=δk​(f(xk​)−f(x⋆))+21​∥vk​∥2: Ek+1−Ek≤(δk+1−δk−(α−1)δkk+1)(f(xk+1)−f(x⋆))E_{k+1}-E_k\le\big(\delta_{k+1}-\delta_k-(\alpha-1)\frac{\delta_k}{k+1}\big)(f(x_{k+1})-f(x^\star))Ek+1​−Ek​≤(δk+1​−δk​−(α−1)k+1δk​​)(f(xk+1​)−f(x⋆)).
  5. f(xk)−min⁡f≤Ek0/δkf(x_k)-\min f\le E_{k_0}/\delta_kf(xk​)−minf≤Ek0​​/δk​ for k≥k0k\ge k_0k≥k0​.
  6. Ek+1−Ek+h(h2Ck2+δkβk+1)∥∇f(xk+1)∥2≤0E_{k+1}-E_k+h\big(\tfrac h2C_k^2+\delta_k\beta_{k+1}\big)\|\nabla f(x_{k+1})\|^2\le0Ek+1​−Ek​+h(2h​Ck2​+δk​βk+1​)∥∇f(xk+1​)∥2≤0.

Significance

With βk≡β>0\beta_k\equiv\beta>0βk​≡β>0 and bk=1+β/(hk)b_k=1+\beta/(hk)bk​=1+β/(hk) one gets δk=h2k(k+1)\delta_k=h^2k(k+1)δk​=h2k(k+1), so Theorem 4 gives the accelerated rate O(1/k2)\mathcal O(1/k^2)O(1/k2) for a proximal algorithm with Hessian damping, together with the summability of k2∥∇f(xk+1)∥2k^2\|\nabla f(x_{k+1})\|^2k2∥∇f(xk+1​)∥2, a fast decay of the gradients that the plain inertial proximal algorithm does not provide. The time-dependent coefficients let the user trade damping against speed, and Remark 2 of the paper gives O(1/(k(k+1)))\mathcal O(1/(k(k+1)))O(1/(k(k+1))) under a uniform version of (G2dis)(\mathcal G_2^{\rm dis})(G2dis​). The proximal scheme only needs fff of class C1\mathcal C^1C1; the non-smooth case (Theorem 5) is obtained from it through the Moreau envelope.

The result is proved in the paper. As far as the platform's catalog shows, neither the algorithm nor any Lyapunov analysis of an inertial algorithm with Hessian-driven damping has been machine-checked. A formal proof would certify a discrete energy argument whose printed version contains an index slip (a dropped factor k+1k+1k+1 in an intermediate display on p. 12), and the definitions are reused by the other missions of this series.

Difficulty

The proof is a discrete Lyapunov argument, and the difficulty is bookkeeping rather than a single deep step. The coefficient δk\delta_kδk​ is not chosen in advance: it is forced by the requirement that the terms f(xk)−f(xk+1)f(x_k)-f(x_{k+1})f(xk​)−f(xk+1​) cancel in Ek+1−EkE_{k+1}-E_kEk+1​−Ek​, and the inequality for 12∥vk+1∥2−12∥vk∥2\tfrac12\|v_{k+1}\|^2-\tfrac12\|v_k\|^221​∥vk+1​∥2−21​∥vk​∥2 only closes after the signs of CkC_kCk​, βk+1\beta_{k+1}βk+1​ and α−1\alpha-1α−1 are used in the right places. The convexity of fff enters twice, at different points (x⋆x^\starx⋆ and xkx_kxk​). Reading the proximal step as the first-order optimality condition xk+1+μk∇f(xk+1)=ykx_{k+1}+\mu_k\nabla f(x_{k+1})=y_kxk+1​+μk​∇f(xk+1​)=yk​ and converting it into (8) requires matching s\sqrt ss​ with hhh and the coefficient 1−αk+α1-\frac{\alpha}{k+\alpha}1−k+αα​ with kk+α\frac{k}{k+\alpha}k+αk​. A naive direct estimate of f(xk)−min⁡ff(x_k)-\min ff(xk​)−minf from the proximal inequality alone gives only the unaccelerated rate.

Formalization scope

The space is {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H], ∇f\nabla f∇f is Mathlib's gradient f, convexity is ConvexOn ℝ Set.univ f and C1\mathcal C^1C1 is ContDiff ℝ 1 f. The minimizer is a point x⋆x^\starx⋆ with f(x⋆)≤f(y)f(x^\star)\le f(y)f(x⋆)≤f(y) for all yyy, the concrete form of the paper's standing hypothesis argminf≠∅\mathrm{argmin}f\neq\emptysetargminf=∅. The proximal step is the published predicate GoldenRatioVI.Shared.IsProxPoint: xk+1x_{k+1}xk+1​ minimizes μkf(z)+12∥z−yk∥2\mu_kf(z)+\tfrac12\|z-y_k\|^2μk​f(z)+21​∥z−yk​∥2. No proximal function with a junk value is defined. Sequences are indexed by N\mathbb NN, the recursion is required for k≥1k\ge1k≥1, and x0x_0x0​, x1x_1x1​ are free. O\mathcal OO is =O[Filter.atTop] and the series is Summable in R\mathbb RR.

Hypotheses added relative to the printed theorem, all disclosed in the statements:

  • h>0h>0h>0, s=h2s=h^2s=h2;
  • βk,bk≥0\beta_k,b_k\ge0βk​,bk​≥0 for every kkk, the discrete analogue of the standing hypothesis (H), needed for μk≥0\mu_k\ge0μk​≥0 and used in the proof;
  • the growth conditions are assumed for k≥k0k\ge k_0k≥k0​, with k0≥1k_0\ge1k0​≥1.

At k=0k=0k=0, (G2dis)(\mathcal G_2^{\rm dis})(G2dis​) reads −β1>0-\beta_1>0−β1​>0, so reading the conditions "for all kkk" would make every hypothesis set unsatisfiable and the theorem empty. A sorry-free check shows the hypotheses hold for β≡0\beta\equiv0β≡0, b≡1b\equiv1b≡1, h=1h=1h=1, α=4\alpha=4α=4, k0=2k_0=2k0​=2. The goal statement mentions only fff, the run and δk\delta_kδk​; it does not refer to vkv_kvk​, EkE_kEk​ or CkC_kCk​, and a formalization that assumes an energy inequality would not prove Theorem 4.

The definitions μk\mu_kμk​, yky_kyk​, the run predicate, δk\delta_kδk​, CkC_kCk​, vkv_kvk​ and EkE_kEk​ live in one definition file. Proofs of the milestones are welcome individually; the identities (milestones 1–2) are algebra plus the first-order condition of the proximal step, and the inequalities (3–6) need the gradient inequality of a differentiable convex function. Theorem 5 (the non-smooth case) is not part of this mission.

Selected references

  • H. Attouch, Z. Chbani, J. Fadili, H. Riahi, First-order optimization algorithms via inertial systems with Hessian driven damping, Math. Program., 2020; arXiv:1907.10536v2. https://arxiv.org/abs/1907.10536
  • H. Attouch, J. Peypouquet, P. Redont, Fast convex minimization via inertial dynamics with Hessian driven damping, J. Differential Equations 261 (2016), 5734–5783. https://arxiv.org/abs/1601.07113
  • B. Shi, S. S. Du, M. I. Jordan, W. J. Su, Understanding the acceleration phenomenon via high-resolution differential equations, Math. Program., 2021. https://arxiv.org/abs/1810.08907
  • W. Su, S. Boyd, E. J. Candès, A differential equation for modeling Nesterov's accelerated gradient method: theory and insights, J. Mach. Learn. Res. 17 (2016). https://arxiv.org/abs/1503.01243
9 thms1 active userReviewed
Optimization·Captain: mikedeng1

From Error Bounds to the Complexity of First-Order Descent Methods for Convex Functions 1: Subgradient Descent Sequences of Convex KL Functions Obey f(x_k) ≤ ψ(α_k) for a 1-D Worst-Case Prox SequenceResearch Paper

Motivation

Many first-order methods for convex minimization — the forward–backward (proximal gradient) method, alternating minimization, trust-region and majorization–minimization schemes — produce sequences that decrease the objective by an amount proportional to the squared step and whose step controls a subgradient at the new point. Luo and Tseng (Ann. Oper. Res. 1993) used such conditions together with error bounds to derive convergence rates, and Attouch, Bolte and Svaiter (Math. Program. 2013) isolated them as an abstract definition of descent sequences analysed through the Kurdyka–Łojasiewicz (KL) inequality. Those analyses give convergence and asymptotic rates, but not explicit complexity bounds with the constants in view.

Bolte, Nguyen, Peypouquet and Suter (arXiv:1510.08234; Math. Program. 165, 2017) show that, for convex functions, the KL inequality yields such bounds: the values and iterates of every subgradient descent sequence are dominated by an explicit one-dimensional proximal recursion built from the desingularizing function. This is the paper's main theorem (Theorem 16), and the target of this mission.

Setting

Let HHH be a real Hilbert space and f:H→(−∞,+∞]f : H \to (-\infty, +\infty]f:H→(−∞,+∞] proper, lower semicontinuous and convex, with argmin⁡f≠∅\operatorname{argmin} f \neq \emptysetargminf=∅ and, after a shift, min⁡f=0\min f = 0minf=0. The subdifferential is

∂f(x)={u∈H:f(y)≥f(x)+⟨u,y−x⟩ for all y},\partial f(x) = \{u \in H : f(y) \ge f(x) + \langle u, y - x\rangle \ \text{for all } y\},∂f(x)={u∈H:f(y)≥f(x)+⟨u,y−x⟩ for all y},

and ∂0f(x)\partial^0 f(x)∂0f(x) denotes its least-norm element, with ∥∂0f(x)∥=+∞\|\partial^0 f(x)\| = +\infty∥∂0f(x)∥=+∞ when ∂f(x)=∅\partial f(x) = \emptyset∂f(x)=∅.

For rˉ>0\bar r > 0rˉ>0, the class K(0,rˉ)\mathcal K(0, \bar r)K(0,rˉ) consists of the functions φ\varphiφ continuous on [0,rˉ)[0, \bar r)[0,rˉ) and C1C^1C1 on (0,rˉ)(0, \bar r)(0,rˉ) with φ(0)=0\varphi(0) = 0φ(0)=0, φ\varphiφ concave and φ′>0\varphi' > 0φ′>0. The function fff has the KL property on [0<f<rˉ][0 < f < \bar r][0<f<rˉ] with desingularizing function φ∈K(0,rˉ)\varphi \in \mathcal K(0, \bar r)φ∈K(0,rˉ) if

φ′(f(x)) ∥∂0f(x)∥≥1whenever 0<f(x)<rˉ.\varphi'(f(x))\,\|\partial^0 f(x)\| \ge 1 \qquad \text{whenever } 0 < f(x) < \bar r.φ′(f(x))∥∂0f(x)∥≥1whenever 0<f(x)<rˉ.

A sequence (xk)k∈N(x_k)_{k \in \mathbb N}(xk​)k∈N​ is a subgradient descent sequence with constants a,b>0a, b > 0a,b>0 if x0∈dom⁡fx_0 \in \operatorname{dom} fx0​∈domf and, for every k≥1k \ge 1k≥1,

  • (H1) f(xk)+a∥xk−xk−1∥2≤f(xk−1)f(x_k) + a\|x_k - x_{k-1}\|^2 \le f(x_{k-1})f(xk​)+a∥xk​−xk−1​∥2≤f(xk−1​);
  • (H2) some ωk∈∂f(xk)\omega_k \in \partial f(x_k)ωk​∈∂f(xk​) satisfies ∥ωk∥≤b∥xk−xk−1∥\|\omega_k\| \le b\|x_k - x_{k-1}\|∥ωk​∥≤b∥xk​−xk−1​∥.

Fix 0<r0<rˉ0 < r_0 < \bar r0<r0​<rˉ, put α0=φ(r0)\alpha_0 = \varphi(r_0)α0​=φ(r0​), and let ψ=(φ∣[0,r0])−1:[0,α0]→[0,r0]\psi = (\varphi|_{[0, r_0]})^{-1} : [0, \alpha_0] \to [0, r_0]ψ=(φ∣[0,r0​]​)−1:[0,α0​]→[0,r0​], an increasing convex profile. Assumption (A): ψ′\psi'ψ′ is Lipschitz continuous on [0,α0][0, \alpha_0][0,α0​] with constant ℓ>0\ell > 0ℓ>0, and ψ′(0)=0\psi'(0) = 0ψ′(0)=0. With

ζ=1+2ℓab−2−1ℓ>0,αk+1=argmin⁡{ψ(u)+12ζ(u−αk)2:u≥0},\zeta = \frac{\sqrt{1 + 2\ell a b^{-2}} - 1}{\ell} > 0, \qquad \alpha_{k+1} = \operatorname{argmin}\Big\{\psi(u) + \tfrac{1}{2\zeta}(u - \alpha_k)^2 : u \ge 0\Big\},ζ=ℓ1+2ℓab−2​−1​>0,αk+1​=argmin{ψ(u)+2ζ1​(u−αk​)2:u≥0},

(αk)(\alpha_k)(αk​) is the one-dimensional worst-case proximal sequence.

Formalization targets

Goal: Theorem 16

If (xk)(x_k)(xk​) is a subgradient descent sequence with f(x0)=r0f(x_0) = r_0f(x0​)=r0​ and (A) holds, then xkx_kxk​ converges strongly to a minimizer x∗x^*x∗ and

f(xk)≤ψ(αk)(k≥0),∥xk−x∗∥≤ba αk+ψ(αk−1)a(k≥1).f(x_k) \le \psi(\alpha_k) \quad (k \ge 0), \qquad \|x_k - x^*\| \le \frac{b}{a}\,\alpha_k + \sqrt{\frac{\psi(\alpha_{k-1})}{a}} \quad (k \ge 1).f(xk​)≤ψ(αk​)(k≥0),∥xk​−x∗∥≤ab​αk​+aψ(αk−1​)​​(k≥1).

Milestones

  1. (20), in the proof of Theorem 14: while f(xk)>0f(x_k) > 0f(xk​)>0 and xk≠xk−1x_k \neq x_{k-1}xk​=xk−1​, φ(f(xk))−φ(f(xk+1))≥ab(2∥xk−xk+1∥−∥xk−1−xk∥)\varphi(f(x_k)) - \varphi(f(x_{k+1})) \ge \frac{a}{b}\big(2\|x_k - x_{k+1}\| - \|x_{k-1} - x_k\|\big)φ(f(xk​))−φ(f(xk+1​))≥ba​(2∥xk​−xk+1​∥−∥xk−1​−xk​∥).
  2. Theorem 14: with only f(x0)≤r0<rˉf(x_0) \le r_0 < \bar rf(x0​)≤r0​<rˉ, xk→x∗∈argmin⁡fx_k \to x^* \in \operatorname{argmin} fxk​→x∗∈argminf strongly and ∥xk−x∗∥≤baφ(f(xk))+f(xk−1)/a\|x_k - x^*\| \le \frac{b}{a}\varphi(f(x_k)) + \sqrt{f(x_{k-1})/a}∥xk​−x∗∥≤ab​φ(f(xk​))+f(xk−1​)/a​ for k≥1k \ge 1k≥1.
  3. (23): (αk)(\alpha_k)(αk​) exists, is positive, satisfies αk+1=(I+ζψ′)−1(αk)\alpha_{k+1} = (I + \zeta\psi')^{-1}(\alpha_k)αk+1​=(I+ζψ′)−1(αk​), decreases strictly to 000, and ψ(αk)→0\psi(\alpha_k) \to 0ψ(αk​)→0.
  4. (27): with βj=φ(f(xj))\beta_j = \varphi(f(x_j))βj​=φ(f(xj​)), every k≥1k \ge 1k≥1 with f(xk)>0f(x_k) > 0f(xk​)>0 has (βk−1−βk)/ψ′(βk)≥ζ(\beta_{k-1} - \beta_k)/\psi'(\beta_k) \ge \zeta(βk−1​−βk​)/ψ′(βk​)≥ζ.
  5. Claim 1: for λ0>λ1>0\lambda^0 > \lambda^1 > 0λ0>λ1>0 and γ>0\gamma > 0γ>0, (I+λ0ψ′)−1(γ)<(I+λ1ψ′)−1(γ)(I + \lambda^0\psi')^{-1}(\gamma) < (I + \lambda^1\psi')^{-1}(\gamma)(I+λ0ψ′)−1(γ)<(I+λ1ψ′)−1(γ).
  6. Claim 2: proximal sequences with step sizes λk0≥λk1>0\lambda^0_k \ge \lambda^1_k > 0λk0​≥λk1​>0 from a common start in (0,α0](0, \alpha_0](0,α0​] satisfy βk0≤βk1\beta^0_k \le \beta^1_kβk0​≤βk1​.

Significance

Theorem 16 turns the qualitative KL convergence theory into explicit complexity: once a desingularizing function is known, the number of iterations needed to reach a given accuracy, for both the values and the iterates, can be read off a scalar recursion with constants aaa, bbb, ℓ\ellℓ taken from the method and the function. The authors apply it, through its corollaries, to obtain the linear rate of ISTA for ℓ1\ell^1ℓ1-regularized least squares and complexity bounds for projection methods for convex feasibility problems. The bound on ∥xk−x∗∥\|x_k - x^*\|∥xk​−x∗∥ holds even when fff has a continuum of minimizers.

The theorem is proved in the paper and, to our knowledge, has no machine-checked proof. This mission asks for a Lean proof of Theorem 16 and of the six intermediate results its proof uses, each stated with the paper's exact constants.

Difficulty

The convergence part (Theorem 14) is set in an arbitrary Hilbert space: summability of the steps gives only a Cauchy sequence, identifying its limit as a minimizer needs a closedness property of ∂f\partial f∂f that is not available in Mathlib for EReal-valued functions, and the degenerate cases (xk=xk−1x_k = x_{k-1}xk​=xk−1​ or f(xk)=0f(x_k) = 0f(xk​)=0 at some step) need separate treatment.

The complexity part requires one-dimensional analysis that Mathlib does not package: derivatives of the inverse ψ=φ−1\psi = \varphi^{-1}ψ=φ−1 on a closed interval, a descent inequality for ψ\psiψ when ψ′\psi'ψ′ is Lipschitz only on [0,α0][0, \alpha_0][0,α0​], and monotonicity of the scalar resolvents (I+λψ′)−1(I + \lambda\psi')^{-1}(I+λψ′)−1. The obvious approach, comparing f(xk)f(x_k)f(xk​) with ψ(αk)\psi(\alpha_k)ψ(αk​) one step at a time with the same step size, fails: the sequence φ(f(xk))\varphi(f(x_k))φ(f(xk​)) is itself a proximal sequence for ψ\psiψ, but with step sizes that vary with kkk and are not known in advance.

Formalization scope

  • fff is a function H→H \toH→ EReal satisfying the published GammaZero (never −∞-\infty−∞, somewhere finite, convex epigraph, lower semicontinuous), with CompleteSpace H. ∂f\partial f∂f is the published subgrad; min⁡f=0\min f = 0minf=0 with argmin⁡f≠∅\operatorname{argmin} f \neq \emptysetargminf=∅ is the hypothesis "f≥0f \ge 0f≥0 and fff vanishes somewhere".
  • The KL inequality is required for every v∈∂f(x)v \in \partial f(x)v∈∂f(x), which is the least-norm form with the convention ∥∂0f(x)∥=+∞\|\partial^0 f(x)\| = +\infty∥∂0f(x)∥=+∞ off dom⁡∂f\operatorname{dom}\partial fdom∂f. The class K(0,rˉ)\mathcal K(0, \bar r)K(0,rˉ) is the published IsDesingularizer; φ′\varphi'φ′ is deriv φ, used only on (0,rˉ)(0, \bar r)(0,rˉ).
  • ψ\psiψ is a real function given as data with ψ(φ(s))=s\psi(\varphi(s)) = sψ(φ(s))=s on [0,r0][0, r_0][0,r0​]; only its values on [0,α0][0, \alpha_0][0,α0​] matter. ψ′\psi'ψ′ is the derivative within [0,α0][0, \alpha_0][0,α0​], and the minimization in (22) runs over [0,α0][0, \alpha_0][0,α0​], the domain of ψ\psiψ. The argmin is unique, so (22) is a predicate on sequences; (23) proves that the predicate is satisfiable, so Theorem 16 is not vacuous. Resolvent points (I+λψ′)−1(γ)(I + \lambda\psi')^{-1}(\gamma)(I+λψ′)−1(γ) are likewise predicates.
  • α0=φ(r0)\alpha_0 = \varphi(r_0)α0​=φ(r0​), ζ\zetaζ and the coefficient b/ab/ab/a are fixed by the data; none is existentially quantified. The inequality f(xk)≤ψ(αk)f(x_k) \le \psi(\alpha_k)f(xk​)≤ψ(αk​) is stated in EReal.
  • Claim 2 is printed with β00=β01∈(0,r0]\beta^0_0 = \beta^1_0 \in (0, r_0]β00​=β01​∈(0,r0​]; the resolvents act on [0,α0][0, \alpha_0][0,α0​] and the claim is applied with β0=α0\beta_0 = \alpha_0β0​=α0​, so it is formalized on (0,α0](0, \alpha_0](0,α0​].
  • Theorem numbers, equation numbers and pages refer to the arXiv version arXiv:1510.08234v3, not to the journal version.

Useful infrastructure, reusable beyond this mission: the inverse-function derivative on an interval, the one-dimensional descent lemma with a derivative Lipschitz on a closed interval, and monotonicity of scalar resolvents. Contributions of these as separate lemmas are welcome.

Selected references

  • J. Bolte, T. P. Nguyen, J. Peypouquet, B. W. Suter, From error bounds to the complexity of first-order descent methods for convex functions, Math. Program. 165 (2017) 471–507. arXiv:1510.08234v3, doi:10.1007/s10107-016-1091-6
  • H. Attouch, J. Bolte, B. F. Svaiter, Convergence of descent methods for semi-algebraic and tame problems, Math. Program. 137 (2013) 91–129. doi:10.1007/s10107-011-0484-9
  • Z.-Q. Luo, P. Tseng, Error bounds and convergence analysis of feasible descent methods: a general approach, Ann. Oper. Res. 46 (1993) 157–178. doi:10.1007/BF02096261
  • J. Bolte, A. Daniilidis, A. Lewis, The Łojasiewicz inequality for nonsmooth subanalytic functions with applications to subgradient dynamical systems, SIAM J. Optim. 17 (2007) 1205–1223. doi:10.1137/050644641
11 thms1 active userReviewed
Numerical AnalysisOptimization·Captain: mikedeng1

First-Order Optimization Algorithms via Inertial Systems with Hessian Driven Damping III: The Inertial Gradient Algorithm (IGAHD) Satisfies f(x_k) − min f = O(1/k²) and Σ k²‖∇f(x_k)‖² < ∞Research Paper

Motivation

Accelerated gradient methods use information from earlier iterates to reduce the objective gap of a smooth convex optimization problem faster than ordinary gradient descent. Their behavior depends on the precise momentum rule. Attouch, Chbani, Fadili, and Riahi study a discrete rule with an additional difference of consecutive gradients, motivated by an inertial differential equation with Hessian driven damping. This mission concerns their inertial gradient algorithm with Hessian damping, called IGAHD, and the rates proved for it in Theorem 6 of the source paper. The result matters when one wants a rate for objective values together with control of the gradients seen during the run.

The paper appeared as a 2020 preprint and subsequently in Mathematical Programming. The mission follows the pinned arXiv version, whose theorem and equation numbers supply all citations here. The proximal and strongly convex algorithms elsewhere in the paper have separate missions; their dynamics and rate statements differ from IGAHD.

Setting

Let HHH be a real Hilbert space and let f:H→Rf:H\to\mathbb Rf:H→R be convex and differentiable. Assume that its gradient ∇f\nabla f∇f is LLL-Lipschitz: ∥∇f(u)−∇f(v)∥≤L∥u−v∥\|\nabla f(u)-\nabla f(v)\|\le L\|u-v\|∥∇f(u)−∇f(v)∥≤L∥u−v∥ for every u,v∈Hu,v\in Hu,v∈H, where L>0L>0L>0. Choose a minimizer x∗x^*x∗, so f(x∗)=min⁡Hff(x^*)=\min_H ff(x∗)=minH​f. The positive step size sss satisfies s≤1/Ls\le1/Ls≤1/L. The momentum parameter α\alphaα is at least 333, and the damping parameter β\betaβ lies in [0,2s)[0,2\sqrt{s})[0,2s​).

Given x0,x1∈Hx_0,x_1\in Hx0​,x1​∈H, the algorithm takes the following two steps for every integer k≥1k\ge1k≥1:

yk=xk+(1−αk)(xk−xk−1)−βs(∇f(xk)−∇f(xk−1))−βsk∇f(xk−1),xk+1=yk−s∇f(yk).\begin{aligned} y_k={}&x_k+\left(1-\frac{\alpha}{k}\right)(x_k-x_{k-1}) -\beta\sqrt{s}\bigl(\nabla f(x_k)-\nabla f(x_{k-1})\bigr) -\frac{\beta\sqrt{s}}{k}\nabla f(x_{k-1}),\\ x_{k+1}={}&y_k-s\nabla f(y_k). \end{aligned}yk​=xk+1​=​xk​+(1−kα​)(xk​−xk−1​)−βs​(∇f(xk​)−∇f(xk−1​))−kβs​​∇f(xk−1​),yk​−s∇f(yk​).​

The paper sets tk+1=k/(α−1)t_{k+1}=k/(\alpha-1)tk+1​=k/(α−1) and vk=xk−1−x∗+tk(xk−xk−1+βs∇f(xk−1))v_k=x_{k-1}-x^*+t_k(x_k-x_{k-1}+\beta\sqrt{s}\nabla f(x_{k-1}))vk​=xk−1​−x∗+tk​(xk​−xk−1​+βs​∇f(xk−1​)). Its Lyapunov quantity is Ek=tk2(f(xk)−f(x∗))+(2s)−1∥vk∥2E_k=t_k^2(f(x_k)-f(x^*))+(2s)^{-1}\|v_k\|^2Ek​=tk2​(f(xk​)−f(x∗))+(2s)−1∥vk​∥2 for k≥1k\ge1k≥1. These expressions are fixed by the source formulas (14)–(15), p. 15, not chosen to simplify a later proof.

Formalization targets

The central target is the full rate statement of Theorem 6. In the range where the paper's monotonicity argument applies, EkE_kEk​ is eventually nonincreasing. For every IGAHD run,

f(xk)−min⁡Hf=O(k−2)(k→∞).f(x_k)-\min_H f=O(k^{-2})\quad(k\to\infty).f(xk​)−Hmin​f=O(k−2)(k→∞).

When β>0\beta>0β>0, the theorem also gives both weighted gradient summability claims:

∑k≥0k2∥∇f(yk)∥2<∞,∑k≥0k2∥∇f(xk)∥2<∞.\sum_{k\ge0} k^2\|\nabla f(y_k)\|^2<\infty, \qquad \sum_{k\ge0} k^2\|\nabla f(x_k)\|^2<\infty.k≥0∑​k2∥∇f(yk​)∥2<∞,k≥0∑​k2∥∇f(xk​)∥2<∞.

The milestone list follows claims the authors state while proving that target. It begins with the extended descent inequality (Lemma 1, (28)), records the identities for tkt_ktk​ and vkv_kvk​, and then captures the displayed energy and ε\varepsilonε inequalities. Remark 4 asks for the O(k−3)O(k^{-3})O(k−3) bound on the smallest squared gradient norm among the first kkk iterates; Remark 5 asks for the O(k−2)O(k^{-2})O(k−2) objective gap at yky_kyk​. Those are companion statements and are not substituted for the main theorem.

Significance

The rate bounds give three kinds of information about one trajectory. The objective gap controls the values attained at the iterates. The two summable series imply that the gradients at both the extrapolated points and the iterates become small in a weighted aggregate sense when damping is positive. The paper then uses this series estimate to derive the best-iterate estimate of Remark 4 and the extrapolated-value estimate of Remark 5, all on p. 18.

The result is proved in the cited paper; the open work here is its Lean proof and the supporting smooth convex analysis. The development makes the precise discrete algorithm, the Lyapunov quantity, and the descent inequality reusable as mathematical interfaces. A complete formal proof would also make explicit where the author's finite-index monotonicity wording needs correction.

Difficulty

The usual smooth descent estimate alone gives a decrease after one gradient step, but the extrapolated point yky_kyk​ also carries a momentum term and a gradient difference. Its objective value is therefore not the same quantity as f(xk)f(x_k)f(xk​), and a direct comparison of successive objective values does not give the claimed summability. The source uses a stronger descent inequality with a squared difference of gradients. The energy change then contains a quadratic expression in ∇f(yk)\nabla f(y_k)∇f(yk​) and ∇f(xk)\nabla f(x_k)∇f(xk​) whose sign depends on β<2s\beta<2\sqrt{s}β<2s​ and, at first, on how large kkk is. Establishing that sign uniformly over the relevant tail of the run is the central obstruction.

Formalization scope

The Lean space is a complete real inner product space. Convexity is ConvexOn ℝ Set.univ f; differentiability is explicit because the phrase “whose gradient is LLL-Lipschitz” presupposes a gradient. The existence of a minimizer is represented by a selected x∗x^*x∗ with f(x∗)≤f(z)f(x^*)\le f(z)f(x∗)≤f(z) for every zzz. Positive LLL and positive sss make s≤1/Ls\le1/Ls≤1/L meaningful. The algorithm is a predicate on sequences x,y:N→Hx,y:\mathbb N\to Hx,y:N→H, imposed from k=1k=1k=1 so no coefficient is divided by zero. The first two xxx terms are free, and y0y_0y0​ is unused. The OOO statements use the filter at infinity, so finite initial terms do not affect them; summability uses the ordinary series over natural indices.

The printed claim that (Ek)(E_k)(Ek​) is nonincreasing from its first term is false for the paper's own definitions. On H=RH=\mathbb RH=R with f(u)=u2/2f(u)=u^2/2f(u)=u2/2, L=s=1L=s=1L=s=1, α=3\alpha=3α=3, β=0\beta=0β=0, x0=0x_0=0x0​=0, and x1=1x_1=1x1​=1, one gets E1=0E_1=0E1​=0 and E2=1/8E_2=1/8E2​=1/8. The formal goal keeps eventual monotonicity, as supported by the proof on pp. 16–18. This correction is disclosed rather than treated as a new hypothesis. No energy decrease, gradient bound, or conclusion is assumed in the run predicate. The milestone definitions also specify BkB_kBk​ exactly as on p. 17. Contributions to the goal, to the extended descent lemma, or to the explicit energy estimates are all useful; the definition layer and smooth convex lemmas can serve later optimization formalizations.

Selected references

  • H. Attouch, Z. Chbani, J. Fadili, and H. Riahi, First-order optimization algorithms via inertial systems with Hessian driven damping, Mathematical Programming, 2020; arXiv:1907.10536v2, especially §3.2, pp. 15–18, and Appendix A.1, p. 34.
8 thms1 active userReviewed
Dynamical SystemsOptimization·Captain: mikedeng1

First-Order Optimization Algorithms via Inertial Systems with Hessian Driven Damping IV: For µ-Strongly Convex f, (DIN)2√µ,β Trajectories Satisfy f(x(t)) − min f ≤ Ce^{−√µ(t−t₀)/2}Research Paper

Motivation

Accelerated first-order methods for convex minimization, such as Nesterov's method and Polyak's heavy ball method, are now routinely studied through their continuous-time limits: second-order differential equations whose trajectories descend toward a minimizer. In the time-continuous setting the convergence analysis is a Lyapunov argument, and a good Lyapunov function for the ODE usually suggests one for the algorithm obtained by discretizing it.

Attouch, Chbani, Fadili and Riahi (arXiv:1907.10536v2, Math. Program. 2020) study inertial dynamics with Hessian-driven damping: besides the viscous friction term γx˙\gamma\dot xγx˙, the equation contains a term β∇2f(x(t))x˙(t)\beta\nabla^2 f(x(t))\dot x(t)β∇2f(x(t))x˙(t), which equals βddt∇f(x(t))\beta\frac{d}{dt}\nabla f(x(t))βdtd​∇f(x(t)). This damping is known to reduce the oscillations of the heavy ball trajectory, and because it is a time derivative of the gradient, explicit and implicit time discretizations of it produce first-order algorithms with no Hessian evaluation. This mission covers the strongly convex continuous-time result of the paper, Theorem 7 (§4.1, pp. 19–21). For β=0\beta=0β=0 it reduces to the heavy ball equation with friction 2μ2\sqrt\mu2μ​, whose exponential rate is due to Siegel (arXiv:1903.05671, Theorem 2.2), as the paper's Remark 7 records. For β>0\beta>0β>0, Remark 7 points to a result on a related but different dynamical system by Wilson, Recht and Jordan (arXiv:1611.02635, Theorem 1), whose rate is slightly worse. The algorithms (IPAHD-SC) and (IGAHD-SC) of §5 of the paper are the discrete counterparts of this theorem.

Setting

Let H\mathcal HH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Let f:H→Rf:\mathcal H\to\mathbb Rf:H→R be a convex function of class C2\mathcal C^2C2, with gradient ∇f\nabla f∇f and Hessian ∇2f\nabla^2 f∇2f. For μ>0\mu>0μ>0, fff is μ\muμ-strongly convex (Definition 1) if f−μ2∥⋅∥2f-\frac\mu2\|\cdot\|^2f−2μ​∥⋅∥2 is convex. Such an fff is assumed to have a minimizer x⋆x^\starx⋆, and min⁡Hf=f(x⋆)\min_{\mathcal H} f=f(x^\star)minH​f=f(x⋆).

Fix t0>0t_0>0t0​>0 and a real constant β\betaβ. A solution trajectory of

x¨(t)+2μ x˙(t)+β∇2f(x(t))x˙(t)+∇f(x(t))=0(19)\ddot x(t)+2\sqrt{\mu}\,\dot x(t)+\beta\nabla^2 f(x(t))\dot x(t)+\nabla f(x(t))=0 \tag{19}x¨(t)+2μ​x˙(t)+β∇2f(x(t))x˙(t)+∇f(x(t))=0(19)

is a twice differentiable map x:[t0,+∞[→Hx:[t_0,+\infty[\to\mathcal Hx:[t0​,+∞[→H satisfying the equation at every t≥t0t\ge t_0t≥t0​. This is the dynamic (DIN)γ,β(\mathrm{DIN})_{\gamma,\beta}(DIN)γ,β​ of the paper with the constant viscous damping γ=2μ\gamma=2\sqrt\muγ=2μ​.

The proof uses two auxiliary functions. The first is the Lyapunov function

E(t)=f(x(t))−min⁡Hf+12∥μ(x(t)−x⋆)+x˙(t)+β∇f(x(t))∥2.\mathcal E(t)=f(x(t))-\min_{\mathcal H}f+\tfrac12\big\|\sqrt\mu(x(t)-x^\star)+\dot x(t)+\beta\nabla f(x(t))\big\|^2 .E(t)=f(x(t))−Hmin​f+21​​μ​(x(t)−x⋆)+x˙(t)+β∇f(x(t))​2.

The second is Z(t)=2β(f(x(t))−f(x⋆))+μ∥x(t)−x⋆∥2Z(t)=2\beta(f(x(t))-f(x^\star))+\sqrt\mu\|x(t)-x^\star\|^2Z(t)=2β(f(x(t))−f(x⋆))+μ​∥x(t)−x⋆∥2. Both appear in the milestones under the names lyap and Zfun.

Formalization targets

Goal: Theorem 7 (p. 19)

Assume 0≤β≤12μ0\le\beta\le\frac1{2\sqrt\mu}0≤β≤2μ​1​. Then three statements hold. First, for all t≥t0t\ge t_0t≥t0​,

μ2∥x(t)−x⋆∥2≤f(x(t))−min⁡Hf≤Ce−μ2(t−t0),C:=f(x(t0))−min⁡Hf+μ∥x(t0)−x⋆∥2+∥x˙(t0)+β∇f(x(t0))∥2.\frac\mu2\|x(t)-x^\star\|^2\le f(x(t))-\min_{\mathcal H}f\le C e^{-\frac{\sqrt\mu}{2}(t-t_0)},\qquad C:=f(x(t_0))-\min_{\mathcal H}f+\mu\|x(t_0)-x^\star\|^2+\|\dot x(t_0)+\beta\nabla f(x(t_0))\|^2 .2μ​∥x(t)−x⋆∥2≤f(x(t))−Hmin​f≤Ce−2μ​​(t−t0​),C:=f(x(t0​))−Hmin​f+μ∥x(t0​)−x⋆∥2+∥x˙(t0​)+β∇f(x(t0​))∥2.

Second, there is C1>0C_1>0C1​>0 such that for all t≥t0t\ge t_0t≥t0​

e−μt∫t0teμs∥∇f(x(s))∥2 ds≤C1e−μ2t.e^{-\sqrt\mu t}\int_{t_0}^t e^{\sqrt\mu s}\|\nabla f(x(s))\|^2\,ds\le C_1e^{-\frac{\sqrt\mu}{2}t}.e−μ​t∫t0​t​eμ​s∥∇f(x(s))∥2ds≤C1​e−2μ​​t.

Third,

∫t0∞eμ2t∥x˙(t)∥2 dt<+∞.\int_{t_0}^\infty e^{\frac{\sqrt\mu}{2}t}\|\dot x(t)\|^2\,dt<+\infty .∫t0​∞​e2μ​​t∥x˙(t)∥2dt<+∞.

Milestones

The milestones are the displayed steps of the paper's proof, in order:

  1. the strong convexity inequality ⟨∇f(y),y−x⋆⟩≥f(y)−f(x⋆)+μ2∥y−x⋆∥2\langle\nabla f(y),y-x^\star\rangle\ge f(y)-f(x^\star)+\frac\mu2\|y-x^\star\|^2⟨∇f(y),y−x⋆⟩≥f(y)−f(x⋆)+2μ​∥y−x⋆∥2;
  2. the first differential inequality for E\mathcal EE;
  3. the nonnegativity of μ4X2+β2μY2−βμXY\frac\mu4X^2+\frac{\beta}{2\sqrt\mu}Y^2-\beta\sqrt\mu XY4μ​X2+2μ​β​Y2−βμ​XY;
  4. ddtE+μ2E+μ2∥x˙∥2≤0\frac{d}{dt}\mathcal E+\frac{\sqrt\mu}2\mathcal E+\frac{\sqrt\mu}2\|\dot x\|^2\le0dtd​E+2μ​​E+2μ​​∥x˙∥2≤0;
  5. E(t)≤E(t0)e−μ2(t−t0)\mathcal E(t)\le\mathcal E(t_0)e^{-\frac{\sqrt\mu}2(t-t_0)}E(t)≤E(t0​)e−2μ​​(t−t0​);
  6. the differential inequality for ZZZ.

Companion: the case β=0\beta=0β=0

The last sentence of Theorem 7 states that for β=0\beta=0β=0, f(x(t))−min⁡f=O(e−μt)f(x(t))-\min f=\mathcal O(e^{-\sqrt\mu t})f(x(t))−minf=O(e−μ​t). The paper gives no proof of it and attributes it to Siegel. It is a separate item, listed as the last milestone, and is not part of the goal.

Significance

Theorem 7 gives exponential decay, at the rate e−μ2te^{-\frac{\sqrt\mu}2 t}e−2μ​​t, of the values and of the distance to the minimizer for the whole range 0≤β≤1/(2μ)0\le\beta\le1/(2\sqrt\mu)0≤β≤1/(2μ​) of Hessian damping. It also gives an averaged exponential decay of ∥∇f(x(t))∥2\|\nabla f(x(t))\|^2∥∇f(x(t))∥2, which the authors describe as new in the literature, and weighted integrability of the squared velocity. These estimates guide the design of the strongly convex algorithms of §5, whose linear rates q=1/(1+12μs)q=1/(1+\frac12\sqrt{\mu s})q=1/(1+21​μs​) mirror the continuous rate.

Formalizing it builds machine-checked continuous-time Lyapunov arguments in a Hilbert space: differentiation of energy functions along a trajectory that is only one-sidedly differentiable at t0t_0t0​, the chain rule through ∇f\nabla f∇f (the Hessian term), and Grönwall-type integration of differential inequalities. To our knowledge none of Theorem 7 has a machine-checked proof; the paper's proof is complete apart from the gap at β=0\beta=0β=0 in part (ii) noted under Difficulty.

Difficulty

The algebra of the first differential inequality is a direct but long expansion, and the quadratic form is where the upper bound on β\betaβ enters. The main analytic steps are elsewhere. First, the energy must be shown differentiable along the trajectory, which requires the derivative of t↦∇f(x(t))t\mapsto\nabla f(x(t))t↦∇f(x(t)), a chain rule through the Fréchet derivative of the gradient. Second, the differential inequalities must be integrated on [t0,+∞[[t_0,+\infty[[t0​,+∞[ with one-sided derivatives at t0t_0t0​. Third, part (ii) must be derived from the ZZZ-inequality. The paper's derivation divides by β2\beta^2β2, so it covers only β>0\beta>0β>0. At β=0\beta=0β=0 part (ii) is still true, but it needs a separate argument, for example local Lipschitz continuity of ∇f\nabla f∇f near x⋆x^\starx⋆ together with the convergence x(t)→x⋆x(t)\to x^\starx(t)→x⋆ from part (i). A proof that only follows the printed text does not cover the case β=0\beta = 0β=0.

Formalization scope

  • Space and function. H\mathcal HH is a real inner product space that is complete. fff is ConvexOn ℝ univ and ContDiff ℝ 2, ∇f\nabla f∇f is Mathlib's gradient f, and the Hessian applied to vvv at xxx is fderiv ℝ (gradient f) x v.
  • Strong convexity is Definition 1 verbatim, with μ>0\mu>0μ>0 as a separate hypothesis. Convexity of fff is kept from the standing hypothesis (H) of p. 2 even though strong convexity implies it.
  • The minimizer. argmin⁡f≠∅\operatorname{argmin}f\neq\emptysetargminf=∅ is a point xstar with f(x⋆)≤f(y)f(x^\star)\le f(y)f(x⋆)≤f(y) for all yyy. min⁡f\min fminf is written f xstar.
  • The trajectory is a triple x,x˙,x¨:R→Hx,\dot x,\ddot x:\mathbb R\to\mathcal Hx,x˙,x¨:R→H. At every t≥t0t\ge t_0t≥t0​, xxx has derivative x˙(t)\dot x(t)x˙(t) and x˙\dot xx˙ has derivative x¨(t)\ddot x(t)x¨(t) within [t0,+∞[[t_0,+\infty[[t0​,+∞[, and (19) holds. Values before t0t_0t0​ play no role, and x˙(t0)\dot x(t_0)x˙(t0​) in the constant CCC is the right derivative. β\betaβ is a real constant and t0>0t_0>0t0​>0, as in (H).
  • Derivatives in milestones are stated as the existence of a number that is the one-sided derivative and satisfies the inequality. Such a number is unique.
  • Integrals. Part (ii) is an interval integral of a function continuous on [t0,t][t_0,t][t0​,t]. The "Moreover" clause is stated as integrability on [t0,+∞[[t_0,+\infty[[t0​,+∞[ of the nonnegative integrand. The constant C1C_1C1​ is existentially quantified after the trajectory, so it may depend on it, as on the page.
  • Ruling out trivial readings. The goal never mentions E\mathcal EE or ZZZ: its conclusions are about f(x(t))f(x(t))f(x(t)), ∥x(t)−x⋆∥\|x(t)-x^\star\|∥x(t)−x⋆∥, ∇f(x(t))\nabla f(x(t))∇f(x(t)) and x˙(t)\dot x(t)x˙(t) only. The solution predicate is satisfiable: the constant trajectory at x⋆x^\starx⋆ satisfies it.
  • Infrastructure needed: the chain rule for ∇f∘x\nabla f\circ x∇f∘x with one-sided derivatives, differentiation of ∥⋅∥2\|\cdot\|^2∥⋅∥2 and ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ along curves, and a Grönwall-type lemma u′≤−cu⇒u(t)≤u(t0)e−c(t−t0)u'\le-cu\Rightarrow u(t)\le u(t_0)e^{-c(t-t_0)}u′≤−cu⇒u(t)≤u(t0​)e−c(t−t0​) on [t0,∞)[t_0,\infty)[t0​,∞) with one-sided derivatives. These are reusable for the other continuous-time missions of the series. Contributions of these general lemmas are welcome as separate theorems.

Selected references

  • H. Attouch, Z. Chbani, J. Fadili, H. Riahi, First-order optimization algorithms via inertial systems with Hessian driven damping, Math. Program. (2020); arXiv:1907.10536v2. https://arxiv.org/abs/1907.10536
  • J. W. Siegel, Accelerated first-order methods: differential equations and Lyapunov functions, 2019. https://arxiv.org/abs/1903.05671
  • A. C. Wilson, B. Recht, M. I. Jordan, A Lyapunov analysis of momentum methods in optimization, J. Mach. Learn. Res. 22 (2021); arXiv:1611.02635. https://arxiv.org/abs/1611.02635
  • B. T. Polyak, Some methods of speeding up the convergence of iteration methods, USSR Comput. Math. Math. Phys. 4 (1964). https://doi.org/10.1016/0041-5553(64)90137-5
9 thms1 active userReviewed
Machine LearningOptimization·Captain: mikedeng1

Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization 3: Under Refined Dual Strong Convexity, SDCA Reaches Expected Dual Sub-optimality ε after 2(n/s)·log(2/ε) IterationsResearch Paper

Motivation

Regularized loss minimization covers support vector machines, logistic and ridge regression, and the absolute-deviation regression of robust statistics. Stochastic dual coordinate ascent (SDCA) solves these problems by maximizing the Fenchel dual one randomly chosen coordinate at a time. Shalev-Shwartz and Zhang (arXiv:1209.1873, JMLR 2013) gave the first analysis of SDCA in terms of the duality gap. For smooth losses their rate is linear; for Lipschitz but non-smooth losses such as the hinge loss it is of order 1/ϵ1/\epsilon1/ϵ, which is no better than stochastic gradient descent, although SDCA is observed to converge much faster than SGD on SVM problems asymptotically.

Section 5 of the paper explains that observation. Many non-smooth losses are smooth at most points: the hinge loss max⁡(0,1−uyi)\max(0,1-uy_i)max(0,1−uyi​) fails to be smooth only at uyi=1uy_i=1uyi​=1. If, at the optimum, most margins stay away from the kink, the dual is strongly concave in most coordinates, and SDCA converges linearly in the dual objective. Earlier linear-rate results for dual coordinate ascent on SVMs (Luo and Tseng, 1992) depend on the smallest nonzero eigenvalue of the data Gram matrix, which can be arbitrarily small when two data points are close; the condition of Section 5 avoids the Gram matrix.

Setting

Data x1,…,xn∈Rdx_1,\dots,x_n\in\mathbb R^dx1​,…,xn​∈Rd (Euclidean norm), scalar convex losses φ1,…,φn:R→R\varphi_1,\dots,\varphi_n:\mathbb R\to\mathbb Rφ1​,…,φn​:R→R and λ>0\lambda>0λ>0 define the primal problem

min⁡w∈RdP(w),P(w)=1n∑i=1nφi(w⊤xi)+λ2∥w∥2.\min_{w\in\mathbb R^d} P(w),\qquad P(w)=\frac1n\sum_{i=1}^n\varphi_i(w^\top x_i)+\frac\lambda2\|w\|^2 .w∈Rdmin​P(w),P(w)=n1​i=1∑n​φi​(w⊤xi​)+2λ​∥w∥2.

The convex conjugate of φi\varphi_iφi​ is φi∗(u)=sup⁡z(zu−φi(z))∈(−∞,+∞]\varphi_i^*(u)=\sup_z(zu-\varphi_i(z))\in(-\infty,+\infty]φi∗​(u)=supz​(zu−φi​(z))∈(−∞,+∞]. The dual problem is max⁡α∈RnD(α)\max_{\alpha\in\mathbb R^n}D(\alpha)maxα∈Rn​D(α) with

D(α)=1n∑i=1n−φi∗(−αi)−λ2∥w(α)∥2,w(α)=1λn∑i=1nαixi.D(\alpha)=\frac1n\sum_{i=1}^n-\varphi_i^*(-\alpha_i)-\frac\lambda2\|w(\alpha)\|^2,\qquad w(\alpha)=\frac{1}{\lambda n}\sum_{i=1}^n\alpha_ix_i .D(α)=n1​i=1∑n​−φi∗​(−αi​)−2λ​∥w(α)∥2,w(α)=λn1​i=1∑n​αi​xi​.

A dual variable is feasible when every φi∗(−αi)\varphi_i^*(-\alpha_i)φi∗​(−αi​) is finite. A function is LLL-Lipschitz if ∣φi(a)−φi(b)∣≤L∣a−b∣|\varphi_i(a)-\varphi_i(b)|\le L|a-b|∣φi​(a)−φi​(b)∣≤L∣a−b∣. The standing assumptions are ∥xi∥≤1\|x_i\|\le1∥xi​∥≤1, φi≥0\varphi_i\ge0φi​≥0 and φi(0)≤1\varphi_i(0)\le1φi​(0)≤1.

Procedure SDCA starts from α(0)=0\alpha^{(0)}=0α(0)=0. At iteration ttt it picks iii uniformly at random, independently of the past, chooses Δαi\Delta\alpha_iΔαi​ maximizing −φi∗(−(αi(t−1)+Δαi))−λn2∥w(α(t−1))+(λn)−1Δαixi∥2-\varphi_i^*(-(\alpha_i^{(t-1)}+\Delta\alpha_i))-\frac{\lambda n}{2}\|w(\alpha^{(t-1)})+(\lambda n)^{-1}\Delta\alpha_ix_i\|^2−φi∗​(−(αi(t−1)​+Δαi​))−2λn​∥w(α(t−1))+(λn)−1Δαi​xi​∥2, and sets α(t)=α(t−1)+Δαiei\alpha^{(t)}=\alpha^{(t-1)}+\Delta\alpha_ie_iα(t)=α(t−1)+Δαi​ei​. Let α∗\alpha^*α∗ be a dual optimum and w∗=w(α∗)w^*=w(\alpha^*)w∗=w(α∗).

The refined dual strong convexity condition (Definition 2, (4)) asks for functions γi(⋅)≥0\gamma_i(\cdot)\ge0γi​(⋅)≥0 with

φi∗(−a)−φi∗(−b)+u(a−b)≥γi(u)∣a−b∣2for all a,b and u∈∂φi∗(−b).\varphi_i^*(-a)-\varphi_i^*(-b)+u(a-b)\ge\gamma_i(u)|a-b|^2\qquad\text{for all }a,b\text{ and }u\in\partial\varphi_i^*(-b).φi∗​(−a)−φi∗​(−b)+u(a−b)≥γi​(u)∣a−b∣2for all a,b and u∈∂φi∗​(−b).

For the hinge loss one may take γi(u)=∣uyi−1∣\gamma_i(u)=|uy_i-1|γi​(u)=∣uyi​−1∣. With constants γi≥0\gamma_i\ge0γi​≥0, the dual strong convexity inequality (5) is

D(α∗)−D(α)≥1n∑i=1nγi∣αi−αi∗∣2+λ2∥w(α)−w∗∥2for every feasible α,D(\alpha^*)-D(\alpha)\ge\frac1n\sum_{i=1}^n\gamma_i|\alpha_i-\alpha_i^*|^2+\frac\lambda2\|w(\alpha)-w^*\|^2\quad\text{for every feasible }\alpha,D(α∗)−D(α)≥n1​i=1∑n​γi​∣αi​−αi∗​∣2+2λ​∥w(α)−w∗∥2for every feasible α,

and N(u)=#{i:γi<u}N(u)=\#\{i:\gamma_i<u\}N(u)=#{i:γi​<u} counts the coordinates with small modulus.

Formalization targets

Goal: Theorem 5 (p. 9)

Assume convex LLL-Lipschitz losses, the standing assumptions, and (5) with constants γi≥0\gamma_i\ge0γi​≥0. For every ϵD>0\epsilon_D>0ϵD​>0 and s∈(0,1]s\in(0,1]s∈(0,1] with ϵD≥8L2sλnN(sλn)/n\epsilon_D\ge 8L^2\frac{s}{\lambda n}N(\frac{s}{\lambda n})/nϵD​≥8L2λns​N(λns​)/n,

t≥2nslog⁡2ϵD⟹E[D(α∗)−D(α(t))]≤ϵD.t\ge2\frac ns\log\frac2{\epsilon_D}\quad\Longrightarrow\quad\mathbb E\bigl[D(\alpha^*)-D(\alpha^{(t)})\bigr]\le\epsilon_D .t≥2sn​logϵD​2​⟹E[D(α∗)−D(α(t))]≤ϵD​.

The constants 222 and 888 are the paper's.

Milestones

  1. Proposition 1 (pp. 8–9): condition (4), with γi=γi(w∗⊤xi)\gamma_i=\gamma_i(w^{*\top}x_i)γi​=γi​(w∗⊤xi​), implies (5), and ∣(w∗−w)⊤xi∣≥γi∣ai−αi∗∣|(w^*-w)^\top x_i|\ge\gamma_i|a_i-\alpha_i^*|∣(w∗−w)⊤xi​∣≥γi​∣ai​−αi∗​∣ whenever −ai∈∂φi(w⊤xi)-a_i\in\partial\varphi_i(w^\top x_i)−ai​∈∂φi​(w⊤xi​) (6).
  2. Lemma 5 (p. 19): under (5), one step raises the expected dual by at least s2n\frac{s}{2n}2ns​ times the dual sub-optimality, plus 3sλ4n∥w∗−w∥2\frac{3s\lambda}{4n}\|w^*-w\|^24n3sλ​∥w∗−w∥2, minus (sn)2G∗(s)/(2λ)(\frac sn)^2G_*(s)/(2\lambda)(ns​)2G∗​(s)/(2λ) with G∗(s)=1n∑i(∥xi∥2−γiλn/s)(αi∗−αi)2G_*(s)=\frac1n\sum_i(\|x_i\|^2-\gamma_i\lambda n/s)(\alpha_i^*-\alpha_i)^2G∗​(s)=n1​∑i​(∥xi​∥2−γi​λn/s)(αi∗​−αi​)2.
  3. Lemma 3 (p. 15): the conjugate of an LLL-Lipschitz function is +∞+\infty+∞ outside [−L,L][-L,L][−L,L].
  4. Lemma 6 (p. 20): G∗(s)≤4L2N(s/(λn))/nG_*(s)\le4L^2N(s/(\lambda n))/nG∗​(s)≤4L2N(s/(λn))/n.
  5. Dual recursion (§7.6, p. 20): ϵD(t)≤(1−s2n)ϵD(t−1)+(sn)2G∗(s)2λ\epsilon_D^{(t)}\le(1-\frac s{2n})\epsilon_D^{(t-1)}+(\frac sn)^2\frac{G_*(s)}{2\lambda}ϵD(t)​≤(1−2ns​)ϵD(t−1)​+(ns​)22λG∗​(s)​ and ϵD(t)≤(1−s2n)tϵD(0)+snG∗(s)λ\epsilon_D^{(t)}\le(1-\frac s{2n})^t\epsilon_D^{(0)}+\frac sn\frac{G_*(s)}\lambdaϵD(t)​≤(1−2ns​)tϵD(0)​+ns​λG∗​(s)​, with G∗(s)=4L2N(s/(λn))/nG_*(s)=4L^2N(s/(\lambda n))/nG∗​(s)=4L2N(s/(λn))/n.
  6. Lemma 2 (p. 13): D(α)≤P(w∗)≤P(0)≤1D(\alpha)\le P(w^*)\le P(0)\le1D(α)≤P(w∗)≤P(0)≤1 and D(0)≥0D(0)\ge0D(0)≥0.

Significance

Theorem 5 gives a linear rate for the dual sub-optimality of SDCA on non-smooth losses whenever few constants γi\gamma_iγi​ are small. If N(s0/(λn))=0N(s_0/(\lambda n))=0N(s0​/(λn))=0 for some s0>0s_0>0s0​>0 (for the SVM, λn∣w∗⊤xiyi−1∣≥s0\lambda n|w^{*\top}x_iy_i-1|\ge s_0λn∣w∗⊤xi​yi​−1∣≥s0​ for all iii), the iteration count is (2n/s0)log⁡(2/ϵD)(2n/s_0)\log(2/\epsilon_D)(2n/s0​)log(2/ϵD​), compared with order n+L2/(λϵ)n+L^2/(\lambda\epsilon)n+L2/(λϵ) from the Lipschitz analysis of Theorem 1 of the same paper. The paper uses Theorem 5 to explain the observed asymptotic advantage of SDCA over SGD, and its Theorem 6 converts it into a duality-gap bound.

The result is proved in the paper. It has not been formalized: no SDCA convergence result is on Prove2Me, and Mathlib has no conjugate-duality theory for this problem class. The mission produces a formal account of the dual objective in extended reals, of the exact coordinate maximization step, and of the averaging over uniformly random coordinate sequences, together with a checked proof of the rate. The companion missions of this series cover Theorem 1 (Lipschitz losses) and Theorem 2 (smooth losses).

Difficulty

Condition (5) gives a modulus γi\gamma_iγi​ per coordinate, and some γi\gamma_iγi​ may be zero, so the dual is not strongly concave and the standard linear-rate argument for strongly concave coordinate ascent does not apply. The per-step progress has a variance term with the sign of ∥xi∥2−γiλn/s\|x_i\|^2-\gamma_i\lambda n/s∥xi​∥2−γi​λn/s, which is positive exactly on the coordinates with small modulus; that term must be controlled by bounding the dual variables themselves, which requires the Lipschitz structure through the conjugate. The extended-real-valued conjugate is a second source of work: every quantity must be shown finite along the run before it can be manipulated as a real number.

Formalization scope

Lean works in EuclideanSpace ℝ (Fin d), with nnn data points indexed by Fin n, n>0n>0n>0. The conjugate is an EReal supremum and DDD is EReal-valued, −∞-\infty−∞ exactly at infeasible points. Real-valued expectations of dual values appear only together with a conjunct stating their finiteness. The SDCA step is a map Δ\DeltaΔ with the hypothesis that Δ(α,i)\Delta(\alpha,i)Δ(α,i) is an exact maximizer of the coordinate objective. The run is a fold over the sequence of chosen coordinates, and the expectation is the uniform average over all sequences of length ttt (SAGA.Convex.expectIdx, a published definition). The optimum α∗\alpha^*α∗ is a hypothesis D(β)≤D(α∗)D(\beta)\le D(\alpha^*)D(β)≤D(α∗) for all β\betaβ; in (5), w∗w^*w∗ is w(α∗)w(\alpha^*)w(α∗). Inequality (5) quantifies over feasible α\alphaα only. Lemmas 5 and 6 are stated for an arbitrary feasible current state, which is stronger than the history-averaged form printed. The paper's range s∈[0,1]s\in[0,1]s∈[0,1] becomes s∈(0,1]s\in(0,1]s∈(0,1], because at s=0s=0s=0 the iteration bound 2(n/s)log⁡(2/ϵD)2(n/s)\log(2/\epsilon_D)2(n/s)log(2/ϵD​) is undefined. A formalization that admits s=0s=0s=0 would evaluate it to 000 and claim the bound at t=0t=0t=0, which is false.

The development needs elementary facts about conjugates of scalar functions in EReal (convexity, the Fenchel–Young inequality, the Lipschitz domain bound), the weak duality inequality D≤PD\le PD≤P, and finite averages over coordinate sequences. The conjugate facts and the expectation calculus are reusable by the other two missions of the series. Proofs of individual milestones are welcome independently.

Selected references

  • S. Shalev-Shwartz and T. Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, Journal of Machine Learning Research 14 (2013), 567–599; preprint arXiv:1209.1873v2. https://arxiv.org/abs/1209.1873
  • Z.-Q. Luo and P. Tseng, On the convergence of coordinate descent method for convex differentiable minimization, Journal of Optimization Theory and Applications 72 (1992), 7–35. https://doi.org/10.1007/BF00939948
  • C.-J. Hsieh, K.-W. Chang, C.-J. Lin, S. S. Keerthi and S. Sundararajan, A dual coordinate descent method for large-scale linear SVM, ICML 2008. https://doi.org/10.1145/1390156.1390208
13 thms1 active userReviewed
Machine LearningOptimization·Captain: mikedeng1

Revisiting Frank-Wolfe: Projection-Free Sparse Convex Optimization 1: All Four Frank-Wolfe Variants Reach Duality Gap ≤ 2βC_f(1+δ)/(K+2), β = 27/8, Within K IterationsResearch Paper

Why a duality-gap guarantee matters

The Frank–Wolfe method, also called the conditional-gradient method, minimizes a smooth convex objective over a compact convex set while asking only for a minimizer of a linear function over that set. In domains where a linear optimization oracle is easier than a projection, this distinction changes which algorithms are practical. Examples in Jaggi's paper include optimization over convex hulls of atomic sets, norm-constrained matrix problems, and domains where iterates can be stored as combinations of a few atoms (Jaggi 2013, §§1–2).

A bound on the unknown difference between the current objective and the optimum does not, by itself, tell an implementation when to stop. The duality gap in this paper can be computed from the same linear optimization problem the method already solves. It provides a certificate tied to the current iterate, so an observed small gap is meaningful even when the optimal objective value is unavailable. The paper's Theorem 2 guarantees that one of the first KKK iterates of four variants has such a certificate, including variants whose linear subproblems are solved only approximately (Jaggi 2013, PDF pp. 2–4).

Setting and notation

Let DDD be a compact convex subset of a real vector space and let fff be a convex, continuously differentiable real-valued function. The optimization problem is min⁡x∈Df(x)\min_{x\in D}f(x)minx∈D​f(x), and x∗∈Dx^*\in Dx∗∈D denotes a minimizer. A Frank–Wolfe step begins at x(k)x^{(k)}x(k), chooses an atom s(k)∈Ds^{(k)}\in Ds(k)∈D by approximately minimizing the linear function s↦⟨s,∇f(x(k))⟩s\mapsto\langle s,\nabla f(x^{(k)})\rangles↦⟨s,∇f(x(k))⟩, and forms a new point from the current point and the chosen atom. In Algorithm 1 the minimization is exact; Algorithm 2 allows an additive oracle error. Algorithm 3 uses a line search along the segment to the atom. Algorithm 4 minimizes over the convex hull of all atoms selected so far, including s(0)=x(0)s^{(0)}=x^{(0)}s(0)=x(0) (Jaggi 2013, Algorithms 1–4).

For x∈Dx\in Dx∈D, the paper defines the duality gap by

g(x)=max⁡s∈D⟨x−s,∇f(x)⟩.g(x)=\max_{s\in D}\langle x-s,\nabla f(x)\rangle.g(x)=s∈Dmax​⟨x−s,∇f(x)⟩.

Convexity gives 0≤f(x)−f(x∗)≤g(x)0\le f(x)-f(x^*)\le g(x)0≤f(x)−f(x∗)≤g(x). An exact minimizer of the linear subproblem attains the maximum defining g(x)g(x)g(x), so its chosen atom gives the certificate directly (Jaggi 2013, equation (2) and §2).

The curvature constant measures the scaled departure of fff from its linearization along chords of DDD:

Cf=sup⁡x,s∈D,  0<γ≤12γ2[f(x+γ(s−x))−f(x)−⟨γ(s−x),∇f(x)⟩].C_f=\sup_{x,s\in D,\;0<\gamma\le1}\frac{2}{\gamma^2}\left[f(x+\gamma(s-x))-f(x)-\langle\gamma(s-x),\nabla f(x)\rangle\right].Cf​=x,s∈D,0<γ≤1sup​γ22​[f(x+γ(s−x))−f(x)−⟨γ(s−x),∇f(x)⟩].

The paper uses CfC_fCf​ in both the oracle tolerance δγkCf/2\delta\gamma_k C_f/2δγk​Cf​/2 and the convergence bounds, where γk=2/(k+2)\gamma_k=2/(k+2)γk​=2/(k+2) and δ≥0\delta\ge0δ≥0 measures linear-subproblem accuracy. For a linear objective Cf=0C_f=0Cf​=0; for f(x)=∥x∥22/2f(x)=\|x\|_2^2/2f(x)=∥x∥22​/2, it is the squared Euclidean diameter of DDD (Jaggi 2013, equation (3) and §3).

Formalization targets

The milestone path records the linearization inequality and its primal-error certificate, the identity between the exact linear subproblem and the gap, and the paper's primal convergence Theorem 1:

f(x(k))−f(x∗)≤2Cfk+2(1+δ),k≥1.f(x^{(k)})-f(x^*)\le\frac{2C_f}{k+2}(1+\delta),\qquad k\ge1.f(x(k))−f(x∗)≤k+22Cf​​(1+δ),k≥1.

The mission goal is primal-dual convergence, Theorem 2. If one of Algorithms 1–4 runs for K≥2K\ge2K≥2 iterations, there is an index 1≤k^≤K1\le\widehat k\le K1≤k≤K for which

g(x(k^))≤2βCfK+2(1+δ),β=278.g(x^{(\widehat k)})\le\frac{2\beta C_f}{K+2}(1+\delta),\qquad\beta=\frac{27}{8}.g(x(k))≤K+22βCf​​(1+δ),β=827​.

Both targets retain the paper's constants and its approximate-oracle tolerance. The mission also states the paper's curvature examples, Lipschitz-gradient comparison, and invariance of curvature under affine reparameterization. These companions clarify what CfC_fCf​ measures; the goal itself is the duality-gap theorem (Jaggi 2013, PDF pp. 3–4).

What the result supplies

Theorem 2 converts a rate expressed using an unknown optimum into a guarantee about a quantity available through the algorithm's linear oracle. Combined with the certificate inequality, a small observed gap also bounds the primal error. The same theorem covers an exact oracle, an approximate oracle, line search, and full correction over past atoms, with one numerical constant. That common guarantee is the reason the four update rules belong in one formal target rather than four unrelated asymptotic statements (Jaggi 2013, Theorems 1–2).

The paper proves these statements; this mission asks for machine-checked proofs of their precise Lean versions. The source PDF held here is the nine-page published proceedings paper, which states the results but does not contain its supplementary appendices with proofs. A complete formal development would therefore also be useful as a self-contained account of the gap, curvature, and four algorithms. The definitions of the gap and curvature, and the exact-oracle certificate, can be reused in later convex-optimization developments.

Where the difficulty lies

Theorem 1 bounds the objective difference at each iterate, but the bound on g(x(k^))g(x^{(\widehat k)})g(x(k)) asks for a good certificate at some iterate in a finite window. A small primal error alone does not assert that the current linear oracle sees a small gap. The analysis has to connect the gap to progress across steps while accounting for the approximate linear oracle and for updates that differ from the fixed convex-combination step. The fully corrective variant also remembers all prior atoms, whereas the line-search variant chooses its step length from the current segment. These differences are present in the Lean step predicate and cannot be erased by assuming a gap bound on the run (Jaggi 2013, Algorithm 2–4 and Theorem 2).

Formalization scope

Lean represents DDD as a set in a real normed vector space and writes the pairing with ∇f(x)\nabla f(x)∇f(x) as the Fréchet derivative f′(x)f'(x)f′(x) applied to a displacement. The paper's footnote names a Hilbert space; the normed-space statement is a disclosed generalization because the results use the inner product only through the derivative pairing. Convexity is required on DDD, rather than on the whole ambient space, while the paper's continuously differentiable hypothesis is retained. Compactness, convexity, feasibility of x(0)x^{(0)}x(0), and existence of x∗x^*x∗ appear explicitly in the convergence statements.

The curvature supremum excludes γ=0\gamma=0γ=0, where the source formula contains division by zero. Its defining set is required to be bounded above when a convergence theorem treats CfC_fCf​ as a finite real number; compactness and an existing feasible point make the duality-gap supremum meaningful. The selected variant is one of four explicit step rules. Algorithm 3's oracle tolerance uses γk=2/(k+2)\gamma_k=2/(k+2)γk​=2/(k+2) before line search, and Algorithm 4's atom hull contains x(0)x^{(0)}x(0). The iterates are zero-based; the goal constrains the source algorithm's steps 0,…,K0,\ldots,K0,…,K and selects k^\widehat kk from 1,…,K1,\ldots,K1,…,K. For Algorithm 1, the exact oracle is encoded for all δ≥0\delta\ge0δ≥0; δ=0\delta=0δ=0 recovers the page's stated case.

The construction relies on Mathlib's topology, convexity, continuous derivatives, real suprema, metric diameter, and continuous affine maps. Contributions that prove the milestone certificates, establish the curvature identities, or connect the four concrete step rules to the main finite-iteration bound are in scope. A run hypothesis that directly bounds its gap or primal error would remove the assertion being formalized and is excluded.

Selected references

  • Martin Jaggi, Revisiting Frank-Wolfe: Projection-Free Sparse Convex Optimization, Proceedings of the 30th International Conference on Machine Learning, JMLR Workshop and Conference Proceedings 28, 2013. Published paper.
5 thms1 active userReviewed
Optimization·Captain: mikedeng1

From Error Bounds to the Complexity of First-Order Descent Methods for Convex Functions 2: For Convex Functions, KL Inequalities Give Error Bounds and Moderate Error Bounds Give KL InequalitiesResearch Paper

Motivation

Complexity bounds for first-order methods (proximal gradient, forward–backward splitting, alternating minimization) rest on a quantitative description of how a function grows away from its set of minimizers. Two such descriptions are in common use. An error bound controls the distance to the minimizers by the function value; a Kurdyka–Łojasiewicz (KL) inequality controls the function value by the size of the subgradients, after a reparameterization φ\varphiφ. KL inequalities with an explicit φ\varphiφ are what the convergence-rate analysis of descent methods needs (Attouch–Bolte 2009, Bolte–Sabach–Teboulle 2014), while error bounds with explicit constants are known for many concrete problem classes (Hölderian bounds for convex polynomials, Hoffman-type bounds, the bounds surveyed by Pang 1997).

Bolte, Nguyen, Peypouquet and Suter (arXiv:1510.08234v3, Math. Program. 165 (2017)) show that for convex functions on a Hilbert space the two notions coincide, with essentially the same function φ\varphiφ, as soon as φ\varphiφ has a mild regularity property they call moderate behavior. This mission formalizes that equivalence (Theorem 5 of the paper) together with the subgradient-curve results its proof rests on.

Timeline:

  • 1963: Łojasiewicz's gradient inequality for real-analytic functions; 1998: Kurdyka's extension to functions definable in o-minimal structures.
  • 1973: Brézis (reference [23] of the paper) proves existence, uniqueness and regularity of solutions of χ˙∈−∂f(χ)\dot\chi \in -\partial f(\chi)χ˙​∈−∂f(χ) for convex lower semicontinuous fff on a Hilbert space; 1975: Bruck proves weak convergence of these curves to a minimizer.
  • 2007–2010: Bolte, Daniilidis, Lewis (and Ley, Mazet) establish the nonsmooth KL inequality and relate it to the length of subgradient curves (Bolte–Daniilidis–Ley–Mazet 2010).
  • 2016: the present paper proves the KL/error-bound equivalence for convex functions in Hilbert spaces.

Setting

Let HHH be a real Hilbert space and f:H→(−∞,+∞]f : H \to (-\infty, +\infty]f:H→(−∞,+∞] a proper, convex, lower semicontinuous function. Its minimizers form the set S=argmin⁡fS = \operatorname{argmin} fS=argminf, assumed nonempty, and fff is normalized so that min⁡f=0\min f = 0minf=0. The subdifferential of fff at xxx is

∂f(x)={u∈H:f(y)≥f(x)+⟨u,y−x⟩ for all y∈H},\partial f(x) = \{u \in H : f(y) \ge f(x) + \langle u, y - x\rangle \ \text{for all } y \in H\},∂f(x)={u∈H:f(y)≥f(x)+⟨u,y−x⟩ for all y∈H},

and dom⁡∂f\operatorname{dom}\partial fdom∂f is the set of points where it is nonempty. For x∈dom⁡∂fx \in \operatorname{dom}\partial fx∈dom∂f, ∂0f(x)\partial^0 f(x)∂0f(x) is the element of least norm of ∂f(x)\partial f(x)∂f(x); for x∉dom⁡∂fx \notin \operatorname{dom}\partial fx∈/dom∂f one sets ∥∂0f(x)∥=+∞\|\partial^0 f(x)\| = +\infty∥∂0f(x)∥=+∞. The band [0<f<r0][0 < f < r_0][0<f<r0​] is {x:0<f(x)<r0}\{x : 0 < f(x) < r_0\}{x:0<f(x)<r0​}, and B(xˉ,ρ)B(\bar x, \rho)B(xˉ,ρ) is the ball of radius ρ\rhoρ around xˉ\bar xxˉ.

A desingularizing function is an element of

K(0,r0)={φ∈C0[0,r0)∩C1(0,r0):φ(0)=0, φ concave, φ′>0}.\mathcal K(0, r_0) = \{\varphi \in C^0[0, r_0) \cap C^1(0, r_0) : \varphi(0) = 0,\ \varphi \text{ concave},\ \varphi' > 0\}.K(0,r0​)={φ∈C0[0,r0​)∩C1(0,r0​):φ(0)=0, φ concave, φ′>0}.

fff satisfies the KL inequality on [0<f<r0]∩B(xˉ,ρ)[0 < f < r_0] \cap B(\bar x, \rho)[0<f<r0​]∩B(xˉ,ρ) with φ\varphiφ if φ′(f(x)) ∥∂0f(x)∥≥1\varphi'(f(x))\,\|\partial^0 f(x)\| \ge 1φ′(f(x))∥∂0f(x)∥≥1 there, and the error bound with residual function φ\varphiφ if dist⁡(x,S)≤φ(f(x))\operatorname{dist}(x, S) \le \varphi(f(x))dist(x,S)≤φ(f(x)) there. φ\varphiφ has moderate behavior if sφ′(s)≥cφ(s)s\varphi'(s) \ge c\varphi(s)sφ′(s)≥cφ(s) on (0,r0)(0, r_0)(0,r0​) for some c>0c > 0c>0.

A subgradient curve issued from x∈dom⁡f‾x \in \overline{\operatorname{dom} f}x∈domf​ is a curve χx:[0,∞)→H\chi_x : [0, \infty) \to Hχx​:[0,∞)→H with χx(0)=x\chi_x(0) = xχx​(0)=x and χ˙x(t)∈−∂f(χx(t))\dot\chi_x(t) \in -\partial f(\chi_x(t))χ˙​x​(t)∈−∂f(χx​(t)) for almost every t>0t > 0t>0; its length between ttt and sss is length⁡(χx,t,s)=∫ts∥χ˙x(τ)∥ dτ\operatorname{length}(\chi_x, t, s) = \int_t^s \|\dot\chi_x(\tau)\|\,d\taulength(χx​,t,s)=∫ts​∥χ˙​x​(τ)∥dτ.

Formalization targets

Goal: Theorem 5 (p. 8)

Let r0>0r_0 > 0r0​>0, φ∈K(0,r0)\varphi \in \mathcal K(0, r_0)φ∈K(0,r0​), c>0c > 0c>0, ρ>0\rho > 0ρ>0 and xˉ∈S\bar x \in Sxˉ∈S. Then

(φ′(f) ∥∂0f∥≥1 on [0<f<r0]∩B(xˉ,ρ)) ⟹ (dist⁡(⋅,S)≤φ(f) on [0<f<r0]∩B(xˉ,ρ)),\Big(\varphi'(f)\,\|\partial^0 f\| \ge 1 \text{ on } [0<f<r_0]\cap B(\bar x,\rho)\Big) \ \Longrightarrow\ \Big(\operatorname{dist}(\cdot, S) \le \varphi(f) \text{ on } [0<f<r_0]\cap B(\bar x,\rho)\Big),(φ′(f)∥∂0f∥≥1 on [0<f<r0​]∩B(xˉ,ρ)) ⟹ (dist(⋅,S)≤φ(f) on [0<f<r0​]∩B(xˉ,ρ)),

and, if sφ′(s)≥cφ(s)s\varphi'(s) \ge c\varphi(s)sφ′(s)≥cφ(s) on (0,r0)(0, r_0)(0,r0​),

(dist⁡(⋅,S)≤φ(f) on [0<f<r0]∩B(xˉ,ρ)) ⟹ (φ′(f) ∥∂0f∥≥c on [0<f<r0]∩B(xˉ,ρ)).\Big(\operatorname{dist}(\cdot, S) \le \varphi(f) \text{ on } [0<f<r_0]\cap B(\bar x,\rho)\Big) \ \Longrightarrow\ \Big(\varphi'(f)\,\|\partial^0 f\| \ge c \text{ on } [0<f<r_0]\cap B(\bar x,\rho)\Big).(dist(⋅,S)≤φ(f) on [0<f<r0​]∩B(xˉ,ρ)) ⟹ (φ′(f)∥∂0f∥≥c on [0<f<r0​]∩B(xˉ,ρ)).

Both directions form the single goal theorem.

Milestones

  • Theorem 1 (Brézis, Bruck; p. 5): existence and uniqueness of the subgradient curve from each x∈dom⁡f‾x \in \overline{\operatorname{dom} f}x∈domf​; ddtχx(t+)=−∂0f(χx(t))\frac{d}{dt}\chi_x(t^+) = -\partial^0 f(\chi_x(t))dtd​χx​(t+)=−∂0f(χx​(t)) and ddtf(χx(t+))=−∥χ˙x(t+)∥2\frac{d}{dt}f(\chi_x(t^+)) = -\|\dot\chi_x(t^+)\|^2dtd​f(χx​(t+))=−∥χ˙​x​(t+)∥2 for all t>0t > 0t>0; ∥χx(t)−z∥\|\chi_x(t) - z\|∥χx​(t)−z∥ (z∈Sz \in Sz∈S) and f(χx(t))f(\chi_x(t))f(χx​(t)) nonincreasing, with f(χx(t))→min⁡ff(\chi_x(t)) \to \min ff(χx​(t))→minf. Part v) (weak convergence) is not needed and is not stated.
  • Theorem 27 (p. 25): for xˉ∈S\bar x \in Sxˉ∈S, ρ>0\rho > 0ρ>0, φ∈K(0,r0)\varphi \in \mathcal K(0, r_0)φ∈K(0,r0​), the KL inequality on B(xˉ,ρ)∩[0<f<r0]B(\bar x, \rho) \cap [0 < f < r_0]B(xˉ,ρ)∩[0<f<r0​] is equivalent to
length⁡(χx,t,s)≤φ(f(χx(t)))−φ(f(χx(s)))(x∈B(xˉ,ρ)∩[0<f≤r0], 0≤t<s),\operatorname{length}(\chi_x, t, s) \le \varphi(f(\chi_x(t))) - \varphi(f(\chi_x(s)))\quad (x \in B(\bar x,\rho)\cap[0<f\le r_0],\ 0 \le t < s),length(χx​,t,s)≤φ(f(χx​(t)))−φ(f(χx​(s)))(x∈B(xˉ,ρ)∩[0<f≤r0​], 0≤t<s),

and then χx(t)\chi_x(t)χx​(t) converges strongly to a minimizer.

Significance

Theorem 5 makes the computation of desingularizing functions a matter of proving error bounds. Since every semi-algebraic or subanalytic φ\varphiφ has moderate behavior (Lemma 4 of the paper), any known error bound with such a residual function yields a KL inequality with the same function up to the constant ccc, and through the complexity theorem of §4 of the paper an explicit iteration bound for subgradient descent sequences. The paper uses this route to obtain the linear rate of ISTA for ℓ1\ell^1ℓ1-regularized least squares and complexity bounds for projection methods.

The result is proved in the paper; to our knowledge none of it is machine-checked. A formalization adds three things: a Lean development of the Brézis subgradient semiflow on a general real Hilbert space (cited, not proved, in the paper), a checked proof of the length estimate of Theorem 27, and the two directions of Theorem 5 on top of them. The semiflow results are reusable well beyond this paper: they underlie the continuous-time analysis of proximal and gradient methods.

Difficulty

Direction (ii) is elementary convex analysis. Direction (i) is not: the error bound is a statement about dist⁡(x,S)\operatorname{dist}(x, S)dist(x,S), while the hypothesis only constrains subgradients on a band, and the minimizer realizing the bound must be produced. The paper produces it as the strong limit of the subgradient curve from xxx, which requires the existence and regularity theory of the nonlinear evolution equation χ˙∈−∂f(χ)\dot\chi \in -\partial f(\chi)χ˙​∈−∂f(χ) in an infinite-dimensional Hilbert space (Theorem 1), the energy identity along the curve, and strong (not merely weak) convergence. In finite dimensions compactness would supply limit points; in a Hilbert space Bruck's theorem only gives weak convergence, and it is the length bound of Theorem 27 that upgrades it. Neither the semiflow nor absolutely continuous Hilbert-valued curves with their a.e. derivative calculus are developed in Mathlib to the extent this needs.

Formalization scope

  • HHH is [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H]; f:H→f : H \tof:H→ EReal with the published GammaZero f (never −∞-\infty−∞, somewhere finite, convex epigraph, lower semicontinuous) and the published subdifferential subgrad. min⁡f=0\min f = 0minf=0 is the hypothesis "f≥0f \ge 0f≥0 and fff attains 000"; SSS is argminSet f, dist⁡(x,S)\operatorname{dist}(x, S)dist(x,S) is Metric.infDist.
  • K(0,r0)\mathcal K(0, r_0)K(0,r0​) is the published IsDesingularizer r0 φ for φ:R→R\varphi : \mathbb R \to \mathbb Rφ:R→R; values outside [0,r0)[0, r_0)[0,r0​) are irrelevant, and φ′\varphi'φ′ is deriv φ, used only on (0,r0)(0, r_0)(0,r0​).
  • "φ′(f(x)) ∥∂0f(x)∥≥κ\varphi'(f(x))\,\|\partial^0 f(x)\| \ge \kappaφ′(f(x))∥∂0f(x)∥≥κ" is formalized as "φ′(f(x)) ∥v∥≥κ\varphi'(f(x))\,\|v\| \ge \kappaφ′(f(x))∥v∥≥κ for every v∈∂f(x)v \in \partial f(x)v∈∂f(x)", which encodes the convention ∥∂0f(x)∥=+∞\|\partial^0 f(x)\| = +\infty∥∂0f(x)∥=+∞ off dom⁡∂f\operatorname{dom}\partial fdom∂f. Balls are open.
  • A subgradient curve is continuous on [0,∞)[0, \infty)[0,∞), absolutely continuous on every compact subinterval of (0,∞)(0, \infty)(0,∞) (and on every [0,b][0, b][0,b] when f(x)<+∞f(x) < +\inftyf(x)<+∞), and satisfies the inclusion at almost every t>0t > 0t>0; length is a [0,+∞][0, +\infty][0,+∞]-valued integral. Statements quantify over every curve from xxx; Theorem 1 makes this "the" curve.
  • In Theorem 27 ii) the length bound is required whenever f(χx(t))<r0f(\chi_x(t)) < r_0f(χx​(t))<r0​, since φ\varphiφ is undefined at r0r_0r0​.
  • A trivializing formalization is ruled out: the curve predicate is shown non-vacuous by the existence milestone (and is satisfied by χ(t)=xe−t\chi(t) = x e^{-t}χ(t)=xe−t for f(y)=y2/2f(y) = y^2/2f(y)=y2/2 on R\mathbb RR), and the KL hypothesis quantifies over all subgradients, so it cannot be met by choosing a convenient one.
  • Theorem indices and pages are those of the arXiv preprint version 3 (arXiv:1510.08234v3), not of the journal version.
  • Welcome contributions: the Brézis theory (Theorem 1), possibly via the Moreau–Yosida approximation or the proximal (implicit Euler) scheme; calculus for absolutely continuous Hilbert-valued curves; proofs of Theorem 27 and of Theorem 5.

Selected references

  • J. Bolte, T. P. Nguyen, J. Peypouquet, B. W. Suter, From error bounds to the complexity of first-order descent methods for convex functions, Math. Program. 165 (2017) 471–507; arXiv:1510.08234v3. https://arxiv.org/abs/1510.08234v3, https://doi.org/10.1007/s10107-016-1091-6
  • H. Brézis, Opérateurs maximaux monotones et semi-groupes de contractions dans les espaces de Hilbert, North-Holland Mathematics Studies 5, 1973 (reference [23] of arXiv:1510.08234v3).
  • R. E. Bruck, Asymptotic convergence of nonlinear contraction semigroups in Hilbert space, J. Funct. Anal. 18 (1975) 15–26. https://doi.org/10.1016/0022-1236(75)90027-0
  • J. Bolte, A. Daniilidis, O. Ley, L. Mazet, Characterizations of Łojasiewicz inequalities: subgradient flows, talweg, convexity, Trans. Amer. Math. Soc. 362 (2010) 3319–3363. https://doi.org/10.1090/S0002-9947-09-05048-X
  • H. Attouch, J. Bolte, On the convergence of the proximal algorithm for nonsmooth functions involving analytic features, Math. Program. 116 (2009) 5–16. https://doi.org/10.1007/s10107-007-0133-5
  • J. Bolte, S. Sabach, M. Teboulle, Proximal alternating linearized minimization for nonconvex and nonsmooth problems, Math. Program. 146 (2014) 459–494. https://doi.org/10.1007/s10107-013-0701-9
  • J.-S. Pang, Error bounds in mathematical programming, Math. Program. 79 (1997) 299–332. https://doi.org/10.1007/BF02614322
8 thms1 active userReviewed
Algorithmic Game TheoryOperations ResearchOptimization+1·Captain: mikedeng1

On Synchronous, Asynchronous, and Randomized Best-Response Schemes for Stochastic Nash Games 2: Randomized Inexact Best Response Reaches an ϵ-NE in Explicitly Bounded Expected SG StepsResearch Paper

Motivation

Many noncooperative problems in communication networks, power markets and supply chains are stochastic Nash games. Each player minimizes an expected cost that depends on its own decision and on the decisions of its rivals, and the expectation can only be sampled, not evaluated. A natural distributed way to compute an equilibrium is the best-response scheme: each player repeatedly replies optimally to the rivals' current strategies. In a stochastic game an exact best response is itself an expectation-valued optimization problem, so a practical scheme replies inexactly, running a few stochastic gradient steps per reply. Lei, Shanbhag, Pang and Sen (arXiv:1704.04578v2; Mathematics of Operations Research, 2020) analyse three such inexact proximal best-response schemes: synchronous, randomized and asynchronous. For each they prove a linear rate of convergence and a bound on the total number of projected stochastic gradient steps.

This mission concerns the randomized scheme. In large games it is unrealistic for all players to update at every round; in the paper's model each player independently decides to update with probability pip_ipi​. This is the game-theoretic analogue of randomized block-coordinate descent (Nesterov 2012; Richtárik–Takáč 2014). A local Poisson clock per player is a special case (Remark 5 of the paper). The synchronous scheme, the paper's Theorem 1, and the asynchronous scheme are separate missions of this series.

Setting

There are N≥1N \ge 1N≥1 players. Player iii chooses xix_ixi​ in a compact convex set Xi⊆RniX_i \subseteq \mathbb R^{n_i}Xi​⊆Rni​ and minimizes

fi(xi,x−i)=E[ψi(xi,x−i;ξ)],f_i(x_i, x_{-i}) = \mathbb E\big[\psi_i(x_i, x_{-i}; \xi)\big],fi​(xi​,x−i​)=E[ψi​(xi​,x−i​;ξ)],

where ξ\xiξ is a random vector and the oracle returns sampled gradients ∇xiψi(x;ξ)\nabla_{x_i}\psi_i(x; \xi)∇xi​​ψi​(x;ξ) with E∥∇xiψi∥2≤Mi2\mathbb E\|\nabla_{x_i}\psi_i\|^2 \le M_i^2E∥∇xi​​ψi​∥2≤Mi2​ (Assumption 1). A Nash equilibrium x∗x^*x∗ is a profile in X=∏iXiX = \prod_i X_iX=∏i​Xi​ from which no player can lower its cost by deviating alone.

For μ>0\mu > 0μ>0 the proximal best response to a profile yyy is

x^i(y)=argmin⁡xi∈Xi[fi(xi,y−i)+μ2∥xi−yi∥2].\widehat x_i(y) = \operatorname*{argmin}_{x_i \in X_i}\Big[f_i(x_i, y_{-i}) + \tfrac{\mu}{2}\|x_i - y_i\|^2\Big].xi​(y)=xi​∈Xi​argmin​[fi​(xi​,y−i​)+2μ​∥xi​−yi​∥2].

The N×NN\times NN×N matrix Γ\GammaΓ has entries γii=μ/(μ+ζi,min⁡)\gamma_{ii} = \mu/(\mu + \zeta_{i,\min})γii​=μ/(μ+ζi,min​) and γij=ζij,max⁡/(μ+ζi,min⁡)\gamma_{ij} = \zeta_{ij,\max}/(\mu + \zeta_{i,\min})γij​=ζij,max​/(μ+ζi,min​), built from the extreme curvatures ζi,min⁡=inf⁡Xλmin⁡(∇xi2fi)\zeta_{i,\min} = \inf_X \lambda_{\min}(\nabla^2_{x_i}f_i)ζi,min​=infX​λmin​(∇xi​2​fi​) and ζij,max⁡=sup⁡X∥∇xixj2fi∥\zeta_{ij,\max} = \sup_X\|\nabla^2_{x_ix_j}f_i\|ζij,max​=supX​∥∇xi​xj​2​fi​∥. Assumption 2 is a=∥Γ∥<1a = \|\Gamma\| < 1a=∥Γ∥<1 (spectral norm).

Algorithm 2. At major iteration kkk, each player iii flips an independent coin χi,k∈{0,1}\chi_{i,k} \in \{0,1\}χi,k​∈{0,1} with P(χi,k=1)=pi>0\mathbb P(\chi_{i,k} = 1) = p_i > 0P(χi,k​=1)=pi​>0, independent of the past information Fk\mathcal F_kFk​ (Assumption 3). If χi,k=1\chi_{i,k} = 1χi,k​=1, the player replaces xi,kx_{i,k}xi,k​ by an inexact proximal best response xi,k+1∈Xix_{i,k+1} \in X_ixi,k+1​∈Xi​ with

E[∥xi,k+1−x^i(xk)∥2∣Fk]≤αi,k2;\mathbb E\big[\|x_{i,k+1} - \widehat x_i(x_k)\|^2 \mid \mathcal F_k\big] \le \alpha_{i,k}^2;E[∥xi,k+1​−xi​(xk​)∥2∣Fk​]≤αi,k2​;

otherwise xi,k+1=xi,kx_{i,k+1} = x_{i,k}xi,k+1​=xi,k​. The accuracy αi,k=ηβi,k+1\alpha_{i,k} = \eta^{\beta_{i,k}+1}αi,k​=ηβi,k​+1 is tied to the number of updates βi,k=∑l<kχi,l\beta_{i,k} = \sum_{l<k}\chi_{i,l}βi,k​=∑l<k​χi,l​ the player has made so far. The reply is computed by ji,k=⌈Qi/η2(βi,k+1)⌉j_{i,k} = \lceil Q_i/\eta^{2(\beta_{i,k}+1)}\rceilji,k​=⌈Qi​/η2(βi,k​+1)⌉ projected stochastic gradient steps

zi,t+1=ΠXi[zi,t−γt(∇xiψi(zi,t,x−i,k;ξi,kt)+μ(zi,t−xi,k))],γt=1μ(t+1),z_{i,t+1} = \Pi_{X_i}\big[z_{i,t} - \gamma_t\big(\nabla_{x_i}\psi_i(z_{i,t}, x_{-i,k}; \xi^t_{i,k}) + \mu(z_{i,t} - x_{i,k})\big)\big],\qquad \gamma_t = \tfrac{1}{\mu(t+1)},zi,t+1​=ΠXi​​[zi,t​−γt​(∇xi​​ψi​(zi,t​,x−i,k​;ξi,kt​)+μ(zi,t​−xi,k​))],γt​=μ(t+1)1​,

from zi,1=xi,kz_{i,1} = x_{i,k}zi,1​=xi,k​, where Qi=2Mi2/μ2+2DXi2Q_i = 2M_i^2/\mu^2 + 2D_{X_i}^2Qi​=2Mi2​/μ2+2DXi​2​ and DXiD_{X_i}DXi​​ is the diameter of XiX_iXi​. The analysis uses the weighted norm ∥x∥P2=∑i∥xi∥2/pi\|x\|_P^2 = \sum_i \|x_i\|^2/p_i∥x∥P2​=∑i​∥xi​∥2/pi​ and the constants a~2=1−pmin⁡(1−a2)\tilde a^2 = 1 - p_{\min}(1 - a^2)a~2=1−pmin​(1−a2), η~2=1−pmin⁡(1−η2)\tilde\eta^2 = 1 - p_{\min}(1 - \eta^2)η~​2=1−pmin​(1−η2) and η~0−2=pmax⁡(η−2−1)+1\tilde\eta_0^{-2} = p_{\max}(\eta^{-2} - 1) + 1η~​0−2​=pmax​(η−2−1)+1.

Formalization targets

Goal: Theorem 2, (34)

Let c~=max⁡{a~,η~}\tilde c = \max\{\tilde a, \tilde\eta\}c~=max{a~,η~​}, q~∈(c~,1)\tilde q \in (\tilde c, 1)q~​∈(c~,1), D=1/(eln⁡(q~/c~))D = 1/(e\ln(\tilde q/\tilde c))D=1/(eln(q~​/c~)), C~=C(∑iN−1pi−1)1/2\tilde C = C(\sum_i N^{-1}p_i^{-1})^{1/2}C~=C(∑i​N−1pi−1​)1/2, D~=Dη/η~\tilde D = D\eta/\tilde\etaD~=Dη/η~​ and ϵ~=ϵ/((Npmax⁡)1/2(C~+D~))∈(0,1)\tilde\epsilon = \epsilon/((Np_{\max})^{1/2}(\tilde C + \tilde D)) \in (0,1)ϵ~=ϵ/((Npmax​)1/2(C~+D~))∈(0,1), where ∥xi,0−xi∗∥≤C\|x_{i,0} - x_i^*\| \le C∥xi,0​−xi∗​∥≤C. After K=⌈ln⁡(1/ϵ~)/ln⁡(1/q~)⌉K = \lceil\ln(1/\tilde\epsilon)/\ln(1/\tilde q)\rceilK=⌈ln(1/ϵ~)/ln(1/q~​)⌉ major iterations, xKx_KxK​ is an ϵ\epsilonϵ-NE2_22​, i.e. E(∑i∥xi,K−xi∗∥2)1/2≤ϵ\mathbb E\big(\sum_i\|x_{i,K} - x_i^*\|^2\big)^{1/2} \le \epsilonE(∑i​∥xi,K​−xi∗​∥2)1/2≤ϵ, and for every player

E[∑k=0K−1ji,kχi,k]≤piQiη2η~02ln⁡(1/η~02)(1ϵ~)ln⁡(1/η~02)/ln⁡(1/q~)+⌈ln⁡(1/ϵ~)ln⁡(1/q~)⌉.\mathbb E\Big[\sum_{k=0}^{K-1} j_{i,k}\chi_{i,k}\Big] \le \frac{p_iQ_i}{\eta^2\tilde\eta_0^2\ln(1/\tilde\eta_0^2)}\Big(\frac1{\tilde\epsilon}\Big)^{\ln(1/\tilde\eta_0^2)/\ln(1/\tilde q)} + \Big\lceil\frac{\ln(1/\tilde\epsilon)}{\ln(1/\tilde q)}\Big\rceil.E[k=0∑K−1​ji,k​χi,k​]≤η2η~​02​ln(1/η~​02​)pi​Qi​​(ϵ~1​)ln(1/η~​02​)/ln(1/q~​)+⌈ln(1/q~​)ln(1/ϵ~)​⌉.

Milestones

In the order the proof uses them:

  1. the Γ\GammaΓ-contraction (5);
  2. its Euclidean form (9);
  3. the fixed-point identity x^(x∗)=x∗\widehat x(x^*) = x^*x(x∗)=x∗;
  4. the one-step descent (A.3) and its contraction form (B.1) in ∥⋅∥P\|\cdot\|_P∥⋅∥P​;
  5. the binomial moments (B.3) and (36) of η±2βi,k\eta^{\pm2\beta_{i,k}}η±2βi,k​;
  6. the elementary inequalities Lemma 2 (zcz≤Dqzzc^z \le Dq^zzcz≤Dqz) and (30) (a geometric sum bounded by an integral);
  7. the linear rate, Lemma 5: E∥xk−x∗∥P≤N(C~+D~)q~k\mathbb E\|x_k - x^*\|_P \le \sqrt N(\tilde C + \tilde D)\tilde q^kE∥xk​−x∗∥P​≤N​(C~+D~)q~​k;
  8. its transfer to the unweighted error, Remark 6;
  9. the inner-loop bound, Lemma 6: E[∥zi,t−x^i(yk)∥2∣Fk]≤Qi/(t+1)\mathbb E[\|z_{i,t} - \widehat x_i(y_k)\|^2 \mid \mathcal F_k] \le Q_i/(t+1)E[∥zi,t​−xi​(yk​)∥2∣Fk​]≤Qi​/(t+1).

Significance

Theorem 2 gives an explicit, non-asymptotic sample complexity for computing a Nash equilibrium of a stochastic game when only a random subset of players acts at each round. Its exponent ln⁡(1/η~02)/ln⁡(1/q~)\ln(1/\tilde\eta_0^2)/\ln(1/\tilde q)ln(1/η~​02​)/ln(1/q~​) quantifies the price of randomization: Remark 7 of the paper shows it reduces to the synchronous exponent exactly when every pi=1p_i = 1pi​=1. Lemma 5 is the first linear-rate statement for inexact randomized best responses in this setting. The weighted-norm argument of App. A–B is the device that makes block-randomized fixed-point iterations contract.

The results are proved on paper. None of them has a machine-checked proof, and the platform holds no stochastic Nash game, proximal best-response map or randomized best-response scheme. A formal proof checks every constant of (34), including the interplay of the random inexactness ηβi,k+1\eta^{\beta_{i,k}+1}ηβi,k​+1 with the random number of steps ji,kj_{i,k}ji,k​. The paper does not prove (5): it adapts it from Facchinei–Pang 2009. A formal proof of (5) closes that gap.

Difficulty

The conditional-expectation bookkeeping is where a naive argument fails. The accuracy αi,k\alpha_{i,k}αi,k​ and the step count ji,kj_{i,k}ji,k​ are random, being functions of the past coins. The coin χi,k\chi_{i,k}χi,k​ must be independent of both the past and the samples the player uses in round kkk. The descent step (A.4) multiplies the coin with the inexactness error, and its factorization uses exactly this joint independence. Bounding the expected work requires the moment generating identities (B.3) and (36) of a binomial count, with two different constants η~\tilde\etaη~​ (through pmin⁡p_{\min}pmin​) and η~0\tilde\eta_0η~​0​ (through pmax⁡p_{\max}pmax​). Merging them gives a false bound. Lemma 6 is a stochastic approximation estimate conditional on Fk\mathcal F_kFk​, at a random, Fk\mathcal F_kFk​-measurable centre x^i(xk)\widehat x_i(x_k)xi​(xk​). Applying the unconditional O(1/t)O(1/t)O(1/t) bound for strongly convex SGD pointwise is not enough. On the deterministic side, (5) needs a mean-value argument along a segment in the product space, using the mixed Hessian blocks.

Formalization scope

Players are Fin N and player iii's space is EuclideanSpace ℝ (Fin (n i)). Costs are functions of the whole profile. The Euclidean norm of the vector of block norms and the weighted norm ∥⋅∥P\|\cdot\|_P∥⋅∥P​ are written out explicitly, since Lean's norm on the product type is the sup norm. ∥Γ∥\|\Gamma\|∥Γ∥ is the operator norm on Euclidean RN\mathbb R^NRN. ζi,min⁡\zeta_{i,\min}ζi,min​ is an infimum of Rayleigh quotients. The proximal best response is any map satisfying the argmin property on XXX. ΠXi\Pi_{X_i}ΠXi​​ is any map satisfying the published SpectralProjGrad.Shared.IsProjOnto. Randomness lives on a probability space with a filtration (Fk)(\mathcal F_k)(Fk​), and conditional expectations are Mathlib's condExp.

Statement repairs, all recorded in the items' Formalization Notes:

  • Starting point. x0x_0x0​ is deterministic, with ∥xi,0−xi∗∥≤C\|x_{i,0} - x_i^*\| \le C∥xi,0​−xi∗​∥≤C. The proof's bound ∥x0−x∗∥P≤C(∑ipi−1)1/2\|x_0 - x^*\|_P \le C(\sum_i p_i^{-1})^{1/2}∥x0​−x∗∥P​≤C(∑i​pi−1​)1/2 fails for a random start with only a first-moment bound.
  • Regularity. fif_ifi​ is C2C^2C2 jointly in the profile on a neighbourhood of XXX, which the mixed blocks of (4) require.
  • Independence. Assumption 3 is read as χi,k\chi_{i,k}χi,k​ independent of Fk\mathcal F_kFk​ together with player iii's round-kkk samples (or candidate), as step (A.4) needs.
  • Sampling. Samples are drawn for every player at every round and used only when χi,k=1\chi_{i,k} = 1χi,k​=1; in law this is the paper's scheme.
  • Range of ϵ~\tilde\epsilonϵ~. ϵ~<1\tilde\epsilon < 1ϵ~<1 is assumed.
  • Integrability. Every expectation hypothesis carries an integrability condition.
  • DDD. DDD reads 1/ln⁡((q/c)e)1/\ln((q/c)^e)1/ln((q/c)e) as 1/(eln⁡(q/c))1/(e\ln(q/c))1/(eln(q/c)).
  • Excluded. Statement (35), the case η=a\eta = aη=a, is not formalized.

A formalization in which the coins are almost surely 111 is the synchronous scheme, not this one. Coins and samples here are genuinely random with the stated laws and independence, and the expectation bounding the work is taken over both.

Reusable infrastructure includes the conditional O(1/t)O(1/t)O(1/t) bound for projected SGD on strongly convex problems (Lemma 6), the binomial moment identities (B.3)/(36), and Lemma 2 and (30). Contributions of intermediate lemmas, such as (A.4)–(A.5), (B.2) and the measurability of the iterates, are welcome as separate theorems.

Selected references

  • J. Lei, U. V. Shanbhag, J.-S. Pang, S. Sen, On Synchronous, Asynchronous, and Randomized Best-Response Schemes for Stochastic Nash Games, arXiv:1704.04578v2, 2018 (Mathematics of Operations Research, 2020). https://arxiv.org/abs/1704.04578v2
  • F. Facchinei, J.-S. Pang, Nash equilibria: the variational approach, in Convex Optimization in Signal Processing and Communications, Cambridge University Press, 2009. https://doi.org/10.1017/CBO9780511804458.013
  • Y. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, SIAM Journal on Optimization 22(2), 2012. https://doi.org/10.1137/100802001
  • P. Richtárik, M. Takáč, Iteration complexity of randomized block-coordinate descent methods for minimizing a composite function, Mathematical Programming 144, 2014. https://doi.org/10.1007/s10107-012-0614-z
  • H. Robbins, S. Monro, A stochastic approximation method, Annals of Mathematical Statistics 22, 1951. https://doi.org/10.1214/aoms/1177729586
21 thms1 active userReviewed
Algorithmic Game TheoryOperations ResearchOptimization+1·Captain: mikedeng1

On Synchronous, Asynchronous, and Randomized Best-Response Schemes for Stochastic Nash Games 3: Asynchronous Inexact Best Response with Delays Reaches an ϵ-NE in Explicitly Bounded SG StepsResearch Paper

Motivation

Many equilibrium problems in operations research have the form of a stochastic Nash game: each of NNN players minimizes an expected cost that depends on the strategies of the others, and the expectation can only be sampled. The paper's introduction lists applications in generation-capacity and power markets and in communication networks (Abada, de Maere d'Aertrycke and Smeers, 2017; Başar, 2007). A natural way to compute an equilibrium is a best-response scheme: each player repeatedly re-optimizes against the current strategies of its rivals. In a large network the players cannot synchronize. They update at different times and see their rivals' strategies with delays.

Lei, Shanbhag, Pang and Sen (arXiv:1704.04578v2; Mathematics of Operations Research, 2020) analyze inexact proximal best-response schemes in three regimes: synchronous, randomized and asynchronous. This mission formalizes the asynchronous one (§5 and Appendix C). It adapts the partially asynchronous iterations of Bertsekas and Tsitsiklis (1989) to stochastic games with inexact, sampled best responses, and it gives an explicit bound on the number of stochastic gradient steps each player needs.

Setting

Player iii chooses xix_ixi​ in a nonempty compact convex set Xi⊆RniX_i \subseteq \mathbb R^{n_i}Xi​⊆Rni​. A profile is x=(x1,…,xN)∈X=∏iXix = (x_1,\dots,x_N) \in X = \prod_i X_ix=(x1​,…,xN​)∈X=∏i​Xi​. Player iii's cost is fi(xi,x−i)=E[ψi(xi,x−i;ξ)]f_i(x_i, x_{-i}) = \mathbb E[\psi_i(x_i, x_{-i};\xi)]fi​(xi​,x−i​)=E[ψi​(xi​,x−i​;ξ)], which is convex and twice continuously differentiable in a neighbourhood of XXX. A sampling oracle returns ∇xiψi(x;ξ)\nabla_{x_i}\psi_i(x;\xi)∇xi​​ψi​(x;ξ), whose second moment is at most Mi2M_i^2Mi2​ (Assumption 1). A Nash equilibrium x∗x^*x∗ is a profile in which each xi∗x^*_ixi∗​ minimizes fi(⋅,x−i∗)f_i(\cdot, x^*_{-i})fi​(⋅,x−i∗​) over XiX_iXi​.

For μ>0\mu > 0μ>0, the proximal best response of player iii to a profile y∈Xy \in Xy∈X is

x^i(y)=argmin⁡xi∈Xi[fi(xi,y−i)+μ2∥xi−yi∥2].\hat x_i(y) = \operatorname*{argmin}_{x_i \in X_i}\Big[f_i(x_i, y_{-i}) + \tfrac{\mu}{2}\|x_i - y_i\|^2\Big].x^i​(y)=xi​∈Xi​argmin​[fi​(xi​,y−i​)+2μ​∥xi​−yi​∥2].

The curvature constants ζi,min⁡=inf⁡x∈Xλmin⁡(∇xi2fi(x))\zeta_{i,\min} = \inf_{x\in X}\lambda_{\min}(\nabla^2_{x_i}f_i(x))ζi,min​=infx∈X​λmin​(∇xi​2​fi​(x)) and ζij,max⁡=sup⁡x∈X∥∇xixj2fi(x)∥\zeta_{ij,\max} = \sup_{x\in X}\|\nabla^2_{x_ix_j}f_i(x)\|ζij,max​=supx∈X​∥∇xi​xj​2​fi​(x)∥ define the matrix Γ\GammaΓ with γii=μ/(μ+ζi,min⁡)\gamma_{ii} = \mu/(\mu+\zeta_{i,\min})γii​=μ/(μ+ζi,min​) and γij=ζij,max⁡/(μ+ζi,min⁡)\gamma_{ij} = \zeta_{ij,\max}/(\mu+\zeta_{i,\min})γij​=ζij,max​/(μ+ζi,min​). Assumption 5 (strict diagonal dominance) asks ζi,min⁡>∑j≠iζij,max⁡\zeta_{i,\min} > \sum_{j\ne i}\zeta_{ij,\max}ζi,min​>∑j=i​ζij,max​. It makes a∞=∥Γ∥∞a_\infty = \|\Gamma\|_\inftya∞​=∥Γ∥∞​, the maximum absolute row sum, smaller than one.

The asynchronous scheme (Algorithm 3) runs on a deterministic schedule. At time kkk the players in IkI_kIk​ update. Player i∈Iki \in I_ki∈Ik​ sees the outdated profile yki=(x1,k−τi1(k),…,xN,k−τiN(k))y^i_k = (x_{1,k-\tau_{i1}(k)},\dots,x_{N,k-\tau_{iN}(k)})yki​=(x1,k−τi1​(k)​,…,xN,k−τiN​(k)​) and computes xi,k+1∈Xix_{i,k+1} \in X_ixi,k+1​∈Xi​ with

E[∥xi,k+1−x^i(yki)∥2∣Fk]≤αi,k2.\mathbb E\big[\|x_{i,k+1} - \hat x_i(y^i_k)\|^2 \mid \mathcal F_k\big] \le \alpha_{i,k}^2 .E[∥xi,k+1​−x^i​(yki​)∥2∣Fk​]≤αi,k2​.

The other players keep their strategies. Assumption 4 requires every player to update at least once in every B1B_1B1​ consecutive times, and every delay to be at most B2B_2B2​. The accuracy is αi,k=ηβi,k\alpha_{i,k} = \eta^{\beta_{i,k}}αi,k​=ηβi,k​, where βi,k\beta_{i,k}βi,k​ counts player iii's updates so far. The inexact response is computed by ji,k=⌈Qi/η2(k+1)⌉j_{i,k} = \lceil Q_i/\eta^{2(k+1)}\rceilji,k​=⌈Qi​/η2(k+1)⌉ projected stochastic gradient steps (43), with step size 1/(μ(t+1))1/(\mu(t+1))1/(μ(t+1)) and Qi=2Mi2/μ2+2DXi2Q_i = 2M_i^2/\mu^2 + 2D_{X_i}^2Qi​=2Mi2​/μ2+2DXi​2​. Write n0=⌈B2/B1⌉n_0 = \lceil B_2/B_1\rceiln0​=⌈B2​/B1​⌉, ρ=(max⁡{a∞,η})1/(n0+1)\rho = (\max\{a_\infty,\eta\})^{1/(n_0+1)}ρ=(max{a∞​,η})1/(n0​+1) and c=ρ1/B1c = \rho^{1/B_1}c=ρ1/B1​.

Formalization targets

Goal: Theorem 3, (45)

Let q∈(c,1)q \in (c,1)q∈(c,1), D≥1/(eln⁡(q/c))D \ge 1/(e\ln(q/c))D≥1/(eln(q/c)), ϵ>0\epsilon > 0ϵ>0, and

ϵ^=ϵC+D ρB1−1B1<1,\hat\epsilon = \frac{\epsilon}{C+D}\,\rho^{\frac{B_1-1}{B_1}} < 1,ϵ^=C+Dϵ​ρB1​B1​−1​<1,

where E∥xi,0−xi∗∥2≤C2\mathbb E\|x_{i,0}-x^*_i\|^2 \le C^2E∥xi,0​−xi∗​∥2≤C2. After K=⌈ln⁡(1/ϵ^)/ln⁡(1/q)⌉K = \lceil \ln(1/\hat\epsilon)/\ln(1/q)\rceilK=⌈ln(1/ϵ^)/ln(1/q)⌉ major iterations, max⁡iE∥xi,K−xi∗∥≤ϵ\max_i \mathbb E\|x_{i,K}-x^*_i\| \le \epsilonmaxi​E∥xi,K​−xi∗​∥≤ϵ, and player iii has taken at most

ℓi(1)(η)=Qiη4ln⁡(1/η2)(1ϵ^)ln⁡(1/η2)ln⁡(1/q)+⌈ln⁡(1/ϵ^)ln⁡(1/q)⌉\ell^{(1)}_i(\eta) = \frac{Q_i}{\eta^4\ln(1/\eta^2)}\Big(\frac1{\hat\epsilon}\Big)^{\frac{\ln(1/\eta^2)}{\ln(1/q)}} + \Big\lceil\frac{\ln(1/\hat\epsilon)}{\ln(1/q)}\Big\rceilℓi(1)​(η)=η4ln(1/η2)Qi​​(ϵ^1​)ln(1/q)ln(1/η2)​+⌈ln(1/q)ln(1/ϵ^)​⌉

projected gradient steps.

Milestones

In the order the proof uses them:

  • the Γ\GammaΓ-contraction (5) of the proximal best response;
  • the fixed-point identity xi∗=x^i(x∗)x^*_i = \hat x_i(x^*)xi∗​=x^i​(x∗);
  • a∞<1a_\infty < 1a∞​<1 under Assumption 5;
  • its expected ∞\infty∞-norm form (40), E∥x^i(y)−xi∗∥≤a∞max⁡jE∥yj−xj∗∥\mathbb E\|\hat x_i(y)-x^*_i\| \le a_\infty\max_j\mathbb E\|y_j-x^*_j\|E∥x^i​(y)−xi∗​∥≤a∞​maxj​E∥yj​−xj∗​∥;
  • the one-step recursion (C.2) and the delay step (C.3) of Appendix C;
  • Lemma 2, zcz≤Dqzzc^z \le Dq^zzcz≤Dqz;
  • Lemma 7, the rate
max⁡iE∥xi,k−xi∗∥≤(C+k)ρ⌊k/B1⌋,max⁡iE∥xi,k−xi∗∥≤ρ−B1−1B1(C+D)qk;\max_i\mathbb E\|x_{i,k}-x^*_i\| \le (C+k)\rho^{\lfloor k/B_1\rfloor},\qquad \max_i\mathbb E\|x_{i,k}-x^*_i\| \le \rho^{-\frac{B_1-1}{B_1}}(C+D)q^k;imax​E∥xi,k​−xi∗​∥≤(C+k)ρ⌊k/B1​⌋,imax​E∥xi,k​−xi∗​∥≤ρ−B1​B1​−1​(C+D)qk;
  • Lemma 8, the Qi/(t+1)Q_i/(t+1)Qi​/(t+1) mean-square error of the inner stochastic approximation loop;
  • the summation bound (30).

Significance

Theorem 3 makes the cost of asynchrony explicit. Bounded delays and a bounded update window enter only through the rate per window, max⁡{a∞,η}1/(n0+1)\max\{a_\infty,\eta\}^{1/(n_0+1)}max{a∞​,η}1/(n0​+1). The overall effort stays polynomial in 1/ϵ1/\epsilon1/ϵ, and the paper's Table 1 summarizes the exponent as 2B1(1+⌈B2/B1⌉)+δ2B_1(1+\lceil B_2/B_1\rceil)+\delta2B1​(1+⌈B2​/B1​⌉)+δ for a suitable choice of qqq. The result connects classical partially asynchronous fixed-point theory with the sample-complexity analysis of stochastic approximation. Lemma 7 holds for any inexact solver that achieves the accuracy (38), not only for the stochastic gradient loop, so it applies to other subproblem solvers as well.

The paper proves these results by hand. As far as is known, no part of them has been machine-checked: there is no formal treatment of stochastic Nash games, of proximal best-response maps, or of asynchronous iterations with delays in Mathlib or on this platform. A formalization would check the induction over windows in Appendix C, whose index bookkeeping has several printed slips. It would also make precise which properties of the delays the argument needs.

Difficulty

The obvious argument does not carry over from the synchronous case. There, one step of the scheme contracts the whole error vector by aaa in one norm. Here a step updates only some players, and each of them uses information up to B2B_2B2​ steps old. No single step contracts anything. The proof has to show that every window of B1B_1B1​ steps contracts the worst-case expected error by a factor ρ\rhoρ, with the delays absorbed into the root 1/(n0+1)1/(n_0+1)1/(n0​+1). This requires a nested induction with case distinctions on the window position (Appendix C). The analysis also mixes three layers: a deterministic contraction of the exact best response; conditional expectations, Jensen's inequality and adaptedness for the inexact responses; and an O(1/t)O(1/t)O(1/t) stochastic-approximation bound for the inner loop, which in turn needs strong convexity, the first-order optimality conditions and nonexpansiveness of the projection.

Formalization scope

Players are indexed by Fin N. Player iii's space is EuclideanSpace ℝ (Fin (n i)), and costs are functions of the whole profile: fi(z,y−i)f_i(z, y_{-i})fi​(z,y−i​) is f i (Function.update y i z). The projection ΠXi\Pi_{X_i}ΠXi​​ is any map satisfying the published predicate SpectralProjGrad.Shared.IsProjOnto. The proximal best response is a map constrained by an argmin predicate on XXX. ζi,min⁡\zeta_{i,\min}ζi,min​ and ζij,max⁡\zeta_{ij,\max}ζij,max​ are Rayleigh-quotient infima and suprema of second Fréchet derivatives, and ∥Γ∥∞\|\Gamma\|_\infty∥Γ∥∞​ is the maximum absolute row sum. The probability space carries a filtration (Fk)(\mathcal F_k)(Fk​) to which the iterates are adapted. The inner-loop σ\sigmaσ-algebras σ{Fk,ξi,k[t−1]}\sigma\{\mathcal F_k,\xi^{[t-1]}_{i,k}\}σ{Fk​,ξi,k[t−1]​} are parameters satisfying the inclusions the proof uses. Conditional expectations are Mathlib's condExp.

Statement repairs and implicit hypotheses, each recorded in the item it affects:

  • Deterministic delays. Assumption 4(c) allows random delays, but step (C.5) of the proof bounds an expectation at a random past time by the maximum over past times. That step is valid only when the delays do not depend on the iterates. The delays here are deterministic functions τij(k)≤k\tau_{ij}(k) \le kτij​(k)≤k with τii(k)=0\tau_{ii}(k) = 0τii​(k)=0.
  • Oracle second moment. Lemma 8 prints ψi\psi_iψi​ for ∇xiψi\nabla_{x_i}\psi_i∇xi​​ψi​, and its hypothesis E[∥∇xiψi∥2∣⋅]=∥∇xifi∥2\mathbb E[\|\nabla_{x_i}\psi_i\|^2\mid\cdot] = \|\nabla_{x_i}f_i\|^2E[∥∇xi​​ψi​∥2∣⋅]=∥∇xi​​fi​∥2 forces zero noise. The bound ≤Mi2\le M_i^2≤Mi2​ that the proof uses replaces it.
  • Regularity. Joint C2C^2C2 regularity of fif_ifi​ is assumed, which the mixed Hessian blocks in Γ\GammaΓ need, and XiX_iXi​ is nonempty.
  • Constants. Theorem 3 assumes C≥0C \ge 0C≥0 and ϵ^<1\hat\epsilon < 1ϵ^<1. Its "D≥/ln⁡((q/c)e)D \ge /\ln((q/c)^e)D≥/ln((q/c)e)" is read as D≥1/(eln⁡(q/c))D \ge 1/(e\ln(q/c))D≥1/(eln(q/c)), as in Lemma 7.
  • Step count. Theorem 3 counts the steps over player iii's update times; the proof's bound is for the larger sum over all times.

The special case B1=1B_1 = 1B1​=1, B2=0B_2 = 0B2​=0 of Theorem 3, Corollary 3 (cyclic updates) and Theorem 4 are not stated.

The goal cannot be met trivially. The schedule is a parameter, not "every player at every step". The sampled gradients may be genuinely random, since the second-moment hypothesis is an inequality. x^\hat xx^ is tied to fif_ifi​ by its argmin property, and x∗x^*x∗ is a Nash equilibrium. Each expectation in a conclusion is of a bounded measurable quantity, so it cannot vanish by non-integrability.

The development needs the following:

  • the contraction (5), which the paper only cites from Facchinei and Pang (2009, §12.6.1) and which uses the mean-value theorem along segments in XXX;
  • strong-convexity optimality conditions on convex sets;
  • nonexpansiveness of Euclidean projections;
  • conditional Jensen and tower arguments;
  • an integer-index induction over windows.

The projection and strong-convexity lemmas, and (5) itself, are reusable for the synchronous and randomized missions of this series. Proofs of individual milestones, or of general Mathlib-level facts such as the first-order optimality condition over a convex set, are welcome.

Selected references

  • J. Lei, U. V. Shanbhag, J.-S. Pang, S. Sen, On Synchronous, Asynchronous, and Randomized Best-Response Schemes for Stochastic Nash Games, arXiv:1704.04578v2, 2018; Mathematics of Operations Research, 2020, https://doi.org/10.1287/moor.2018.0986. https://arxiv.org/abs/1704.04578v2
  • D. P. Bertsekas, J. N. Tsitsiklis, Parallel and Distributed Computation: Numerical Methods, Prentice Hall, 1989 (reference [9] of the paper).
  • F. Facchinei, J.-S. Pang, Nash equilibria: the variational approach, in Convex Optimization in Signal Processing and Communications, Cambridge University Press, 2009 (reference [19] of the paper).
  • I. Abada, G. de Maere d'Aertrycke, Y. Smeers, On the multiplicity of solutions in generation capacity investment models with incomplete markets, Mathematical Programming 165(1):5–69, 2017 (reference [1] of the paper).
18 thms1 active userReviewed
Machine LearningOptimization·Captain: mikedeng1

Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization 2: With (1/γ)-Smooth Losses, SDCA Reaches Expected Duality Gap ε after (n + 1/(λγ))·log((n + 1/(λγ))/ε) IterationsResearch Paper

Motivation

Regularized loss minimization (training a linear predictor with a convex loss and an ℓ2\ell_2ℓ2​ penalty) covers support vector machines, ridge and logistic regression, and much of classical linear learning. A standard way to solve these problems at scale is dual coordinate ascent: optimize the dual problem one coordinate, i.e. one training example, at a time. Hsieh et al. (ICML 2008) reported that it can outperform stochastic gradient descent when moderately high accuracy is needed. Its theory, however, was unsatisfying (paper, §2): the known linear rates, adapted from Luo and Tseng's analysis of coordinate ascent, have a contraction factor that may be arbitrarily close to 111 (it depends on the smallest nonzero eigenvalue of X⊤XX^\top XX⊤X), and they bound only the dual sub-optimality, which translates into a much weaker primal guarantee.

Shai Shalev-Shwartz and Tong Zhang (JMLR 14, 2013; arXiv:1209.1873) analysed stochastic dual coordinate ascent (SDCA), in which the coordinate is drawn uniformly at random, and bounded the expected duality gap, hence the primal sub-optimality, with explicit constants. For (1/γ)(1/\gamma)(1/γ)-smooth losses the bound is linear: (n+1λγ)log⁡((n+1λγ)/ϵ)(n+\tfrac1{\lambda\gamma})\log\big((n+\tfrac1{\lambda\gamma})/\epsilon\big)(n+λγ1​)log((n+λγ1​)/ϵ) iterations. This mission formalizes that result, the paper's Theorem 2.

Timeline:

  • 1992: Luo and Tseng prove linear convergence of coordinate descent methods for a class of convex problems, with an unspecified rate parameter.
  • 2008: Hsieh, Chang, Lin, Keerthi and Sundararajan analyse dual coordinate descent for linear SVMs (bounds on the dual objective).
  • 2012: Le Roux, Schmidt and Bach (SAG) obtain a linear rate for a primal stochastic method on smooth strongly convex finite sums.
  • 2012–2013: Shalev-Shwartz and Zhang prove duality-gap rates for SDCA: for LLL-Lipschitz losses (Theorem 1) and the linear rate above for smooth losses (Theorem 2).

Setting

Let x1,…,xn∈Rdx_1,\dots,x_n\in\mathbb R^dx1​,…,xn​∈Rd, let φ1,…,φn:R→R\varphi_1,\dots,\varphi_n:\mathbb R\to\mathbb Rφ1​,…,φn​:R→R be convex, and let λ>0\lambda>0λ>0. The primal problem is to minimize

P(w)=1n∑i=1nφi(w⊤xi)+λ2∥w∥2.P(w)=\frac1n\sum_{i=1}^n\varphi_i(w^\top x_i)+\frac\lambda2\|w\|^2 .P(w)=n1​i=1∑n​φi​(w⊤xi​)+2λ​∥w∥2.

The convex conjugate of φi\varphi_iφi​ is φi∗(u)=sup⁡z (zu−φi(z))∈(−∞,+∞]\varphi_i^*(u)=\sup_z\,(zu-\varphi_i(z))\in(-\infty,+\infty]φi∗​(u)=supz​(zu−φi​(z))∈(−∞,+∞]. The dual problem is to maximize

D(α)=1n∑i=1n−φi∗(−αi)−λ2∥1λn∑i=1nαixi∥2,α∈Rn,D(\alpha)=\frac1n\sum_{i=1}^n-\varphi_i^*(-\alpha_i)-\frac\lambda2\Big\|\frac1{\lambda n}\sum_{i=1}^n\alpha_ix_i\Big\|^2,\qquad \alpha\in\mathbb R^n,D(α)=n1​i=1∑n​−φi∗​(−αi​)−2λ​​λn1​i=1∑n​αi​xi​​2,α∈Rn,

and the dual point α\alphaα determines the primal point w(α)=1λn∑iαixiw(\alpha)=\frac1{\lambda n}\sum_i\alpha_ix_iw(α)=λn1​∑i​αi​xi​. Weak duality gives D(α)≤P(w)D(\alpha)\le P(w)D(α)≤P(w) for all α,w\alpha,wα,w, so the duality gap P(w(α))−D(α)P(w(\alpha))-D(\alpha)P(w(α))−D(α) bounds the primal sub-optimality of w(α)w(\alpha)w(α).

A loss is (1/γ)(1/\gamma)(1/γ)-smooth if it is differentiable with a (1/γ)(1/\gamma)(1/γ)-Lipschitz derivative. Procedure SDCA starts from α(0)=0\alpha^{(0)}=0α(0)=0. At iteration ttt it draws iii uniformly from {1,…,n}\{1,\dots,n\}{1,…,n}, independently of the past, chooses Δαi\Delta\alpha_iΔαi​ to maximize

−φi∗(−(αi(t−1)+Δαi))−λn2∥w(t−1)+(λn)−1Δαixi∥2,-\varphi_i^*\big(-(\alpha_i^{(t-1)}+\Delta\alpha_i)\big)-\frac{\lambda n}2\big\|w^{(t-1)}+(\lambda n)^{-1}\Delta\alpha_i x_i\big\|^2,−φi∗​(−(αi(t−1)​+Δαi​))−2λn​​w(t−1)+(λn)−1Δαi​xi​​2,

and sets α(t)=α(t−1)+Δαiei\alpha^{(t)}=\alpha^{(t-1)}+\Delta\alpha_ie_iα(t)=α(t−1)+Δαi​ei​, w(t)=w(α(t))w^{(t)}=w(\alpha^{(t)})w(t)=w(α(t)). Its outputs are the last iterate, the average αˉ=1T−T0∑t=T0+1Tα(t−1)\bar\alpha=\frac1{T-T_0}\sum_{t=T_0+1}^T\alpha^{(t-1)}αˉ=T−T0​1​∑t=T0​+1T​α(t−1) with wˉ=w(αˉ)\bar w=w(\bar\alpha)wˉ=w(αˉ), or a random iterate from the same range. The paper's standing assumptions are ∥xi∥≤1\|x_i\|\le1∥xi​∥≤1, φi≥0\varphi_i\ge0φi​≥0 and φi(0)≤1\varphi_i(0)\le1φi​(0)≤1.

Formalization targets

Goal: Theorem 2 (p. 6)

For convex (1/γ)(1/\gamma)(1/γ)-smooth losses under the standing assumptions, and every ϵP>0\epsilon_P>0ϵP​>0,

T ≥ (n+1λγ)log⁡((n+1λγ)1ϵP) ⟹ E[P(w(T))−D(α(T))]≤ϵP,T\ \ge\ \Big(n+\frac1{\lambda\gamma}\Big)\log\Big(\Big(n+\frac1{\lambda\gamma}\Big)\frac1{\epsilon_P}\Big)\ \Longrightarrow\ \mathbb E\big[P(w^{(T)})-D(\alpha^{(T)})\big]\le\epsilon_P,T ≥ (n+λγ1​)log((n+λγ1​)ϵP​1​) ⟹ E[P(w(T))−D(α(T))]≤ϵP​,

and, for T>T0T>T_0T>T0​,

T0 ≥ (n+1λγ)log⁡((n+1λγ)1(T−T0)ϵP) ⟹ E[P(wˉ)−D(αˉ)]≤ϵPT_0\ \ge\ \Big(n+\frac1{\lambda\gamma}\Big)\log\Big(\Big(n+\frac1{\lambda\gamma}\Big)\frac1{(T-T_0)\epsilon_P}\Big)\ \Longrightarrow\ \mathbb E\big[P(\bar w)-D(\bar\alpha)\big]\le\epsilon_PT0​ ≥ (n+λγ1​)log((n+λγ1​)(T−T0​)ϵP​1​) ⟹ E[P(wˉ)−D(αˉ)]≤ϵP​

for the averaging and the random outputs. The constants are the paper's.

Milestones (in the order the proof uses them)

  1. (p. 2) (1/γ)(1/\gamma)(1/γ)-smooth φ\varphiφ ⇒\Rightarrow⇒ φ∗\varphi^*φ∗ is γ\gammaγ-strongly convex.
  2. (p. 13) The duality-gap identity P(w(α))−D(α)=1n∑i(φi(w⊤xi)+φi∗(−αi)+αiw⊤xi)P(w(\alpha))-D(\alpha)=\frac1n\sum_i\big(\varphi_i(w^\top x_i)+\varphi_i^*(-\alpha_i)+\alpha_iw^\top x_i\big)P(w(α))−D(α)=n1​∑i​(φi​(w⊤xi​)+φi∗​(−αi​)+αi​w⊤xi​).
  3. (10), p. 13: the one-coordinate dual increase.
  4. Lemma 1 (p. 12): the expected dual increase is at least sn\frac snns​ times the duality gap, minus a variance term.
  5. Lemma 2 (p. 13): D(α)≤P(w∗)≤P(0)≤1D(\alpha)\le P(w^*)\le P(0)\le1D(α)≤P(w∗)≤P(0)≤1 and D(0)≥0D(0)\ge0D(0)≥0.
  6. (p. 14) E[ϵD(t)]≤(1−s/n)t≤exp⁡(−λγt/(1+λγn))\mathbb E[\epsilon_D^{(t)}]\le(1-s/n)^t\le\exp(-\lambda\gamma t/(1+\lambda\gamma n))E[ϵD(t)​]≤(1−s/n)t≤exp(−λγt/(1+λγn)) for s=λnγ/(1+λnγ)s=\lambda n\gamma/(1+\lambda n\gamma)s=λnγ/(1+λnγ).
  7. (12), p. 14: E[P(w(t))−D(α(t))]≤nsE[ϵD(t)−ϵD(t+1)]≤nsE[ϵD(t)]\mathbb E[P(w^{(t)})-D(\alpha^{(t)})]\le\frac ns\mathbb E[\epsilon_D^{(t)}-\epsilon_D^{(t+1)}]\le\frac ns\mathbb E[\epsilon_D^{(t)}]E[P(w(t))−D(α(t))]≤sn​E[ϵD(t)​−ϵD(t+1)​]≤sn​E[ϵD(t)​].

Significance

Theorem 2 shows that a stochastic method whose per-iteration cost is a single example converges linearly in the primal objective, through the duality gap, with a condition number 1/(λγ)1/(\lambda\gamma)1/(λγ) that enters additively with nnn rather than multiplicatively. This additive n+1/(λγ)n+1/(\lambda\gamma)n+1/(λγ) dependence is the benchmark against which later variance-reduced and accelerated methods (SVRG, SAGA, accelerated proximal SDCA, Katyusha) are compared. The duality gap is computable, so the bound also yields a stopping criterion.

The result is proved in the paper. As far as the platform's catalogue shows, no part of it, nor the smoothness/strong-convexity duality for scalar conjugates, has been machine-checked. The mission produces a checked statement of the rate with explicit constants and checked versions of the lemmas reused by the series' other two missions (Lipschitz losses, almost-smooth losses).

Difficulty

The proof is short on paper, but each step crosses between objects that Lean keeps apart. The conjugates are extended-valued: φi∗\varphi_i^*φi∗​ is +∞+\infty+∞ off a bounded set for many smooth losses (logistic loss), so the dual objective, the coordinate step and the strong-convexity inequality all live in extended reals, and every passage to real arithmetic must be justified by finiteness along the run. The smoothness-to-strong-convexity step (milestone 1) is the classical duality, but Mathlib has no scalar conjugate calculus and no ready statement of it. The expectation is over the coordinate sequence, and the recursion compares expectations over histories of different lengths. The obvious attempt, a deterministic per-sequence bound, fails: the linear rate holds only in expectation.

Formalization scope

Data are x : Fin n → EuclideanSpace ℝ (Fin d), φ : Fin n → ℝ → ℝ (convex), lam : ℝ with 0 < lam, and 0 < n. (1/γ)(1/\gamma)(1/γ)-smoothness is a derivative function φ' with HasDerivAt everywhere and ∣φi′(a)−φi′(b)∣≤1γ∣a−b∣|φ'_i(a)-φ'_i(b)|\le\frac1\gamma|a-b|∣φi′​(a)−φi′​(b)∣≤γ1​∣a−b∣. The conjugate conj and the dual dual are EReal-valued (⨆, never a real sSup). Dual values are converted to reals only under conjuncts asserting their finiteness. The SDCA step is a map Δ : (Fin n → ℝ) → Fin n → ℝ constrained by the argmax predicate IsSDCAStep, which is satisfiable. The run is a fold over an index sequence js : Fin T → Fin n from α⁽⁰⁾ = 0, and E\mathbb EE is the uniform average over all nTn^TnT sequences (the published SAGA.Convex.expectIdx). Indices are 0-based. Lemma 1 and (10) are stated in the conditional one-step form at an arbitrary dual-feasible point, which implies the printed history-averaged form. The goal assumes no dual optimum; milestones 6–7 take a maximizer α∗\alpha^*α∗ of DDD as a hypothesis (it exists under the standing assumptions). The random output is stated over the iterates α(T0),…,α(T−1)\alpha^{(T_0)},\dots,\alpha^{(T-1)}α(T0​),…,α(T−1), which is what the proof bounds.

A trivializing formalization is ruled out: no statement takes the step, the conjugate or the expectation as an unconstrained variable, no real-valued toReal absorbs an infinite dual value, and the bounds are stated for the paper's exact iteration counts.

Needed infrastructure: scalar Fenchel conjugates in EReal (Fenchel–Young inequality and equality at subgradients), smooth/strongly convex duality, and averages over finite index sequences. The conjugate facts and the expectation bookkeeping are reusable beyond this mission, by the series' Lipschitz and almost-smooth missions in particular. Proofs of any milestone, and lemmas on EReal conjugates, are welcome.

Selected references

  • S. Shalev-Shwartz, T. Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, JMLR 14:567–599, 2013. arXiv:1209.1873v2
  • C.-J. Hsieh, K.-W. Chang, C.-J. Lin, S. S. Keerthi, S. Sundararajan, A Dual Coordinate Descent Method for Large-scale Linear SVM, ICML 2008. doi:10.1145/1390156.1390208
  • Z.-Q. Luo, P. Tseng, On the Convergence of the Coordinate Descent Method for Convex Differentiable Minimization, J. Optim. Theory Appl. 72:7–35, 1992. doi:10.1007/BF00939948
  • N. Le Roux, M. Schmidt, F. Bach, A Stochastic Gradient Method with an Exponential Convergence Rate for Finite Training Sets, NeurIPS 2012. arXiv:1202.6258
  • J.-B. Hiriart-Urruty, C. Lemaréchal, Fundamentals of Convex Analysis, Springer, 2001 (conjugacy of smooth and strongly convex functions, §E.4.2). doi:10.1007/978-3-642-56468-0
12 thms1 active userReviewed
Optimization·Captain: mikedeng1

Smooth Strongly Convex Interpolation and Exact Worst-case Performance of First-order Methods: A Fixed-Step Method's Worst Case over F_{μ,L}(ℝ^d), d ≥ N+2, Equals the Value of (sdp-PEP)Research Paper

Motivation

Analysts of first-order optimization methods often know how quickly an error bound decreases as the number of iterations grows, but the bound may leave a substantial gap from the method's actual worst case at a fixed iteration count. This matters when comparing concrete methods or step sizes: an asymptotic rate alone does not determine which method has the smaller worst-case error after ten or twenty steps. A performance estimation problem asks for that fixed-count worst case over a specified function class, initial radius, method, and performance criterion. Taylor, Hendrickx, and Glineur show that, for a broad class of fixed-step methods, this question has an exact semidefinite formulation rather than merely a relaxation Taylor, Hendrickx & Glineur, 2016, §§1–3.

Setting

Work in Euclidean space Rd\mathbb R^dRd with its usual norm and inner product. Fix 0≤μ<L<∞0\leq\mu<L<\infty0≤μ<L<∞. The class Fμ,L(Rd)\mathcal F_{\mu,L}(\mathbb R^d)Fμ,L​(Rd) consists of convex functions fff for which f(x)−μ∥x∥2/2f(x)-\mu\|x\|^2/2f(x)−μ∥x∥2/2 is convex and any subgradients g1∈∂f(x1)g_1\in\partial f(x_1)g1​∈∂f(x1​) and g2∈∂f(x2)g_2\in\partial f(x_2)g2​∈∂f(x2​) satisfy ∥g1−g2∥/L≤∥x1−x2∥\|g_1-g_2\|/L\leq\|x_1-x_2\|∥g1​−g2​∥/L≤∥x1​−x2​∥. A subgradient here means that f(x)+⟨g,y−x⟩≤f(y)f(x)+\langle g,y-x\rangle\leq f(y)f(x)+⟨g,y−x⟩≤f(y) for every yyy. The interpolation milestones also cover L=∞L=\inftyL=∞, using 1/∞=01/\infty=01/∞=0 and ∞−μ=∞\infty-\mu=\infty∞−μ=∞ Taylor, Hendrickx & Glineur, 2016, Definition 1, p. 5.

A fixed-step method uses coefficients hi,kh_{i,k}hi,k​ chosen before seeing the function. Starting at x0x_0x0​, its iterates satisfy xi=x0−∑k<ihi,k∇f(xk)x_i=x_0-\sum_{k<i}h_{i,k}\nabla f(x_k)xi​=x0​−∑k<i​hi,k​∇f(xk​) for 1≤i≤N1\leq i\leq N1≤i≤N. The coefficients are recorded in a lower triangular N×NN\times NN×N matrix HHH. A minimizer x∗x_*x∗​ and radius R≥0R\geq0R≥0 constrain the start by ∥x0−x∗∥≤R\|x_0-x_*\|\leq R∥x0​−x∗​∥≤R. The criterion uses coefficients b∈RN+1b\in\mathbb R^{N+1}b∈RN+1 and a symmetric matrix C∈SN+2C\in\mathbb S^{N+2}C∈SN+2. Its function values are normalized as vi=f(xi)−f(x∗)v_i=f(x_i)-f(x_*)vi​=f(xi​)−f(x∗​), and its Gram matrix comes from the columns [∇f(x0),…,∇f(xN),x0−x∗][\nabla f(x_0),\ldots,\nabla f(x_N),x_0-x_*][∇f(x0​),…,∇f(xN​),x0​−x∗​]. The value to maximize is b⊤v+Tr⁡(CG)b^\top v+\operatorname{Tr}(CG)b⊤v+Tr(CG) Taylor, Hendrickx & Glineur, 2016, Definition 4 and §§3.2–3.3, pp. 12–13.

The semidefinite performance estimation program, denoted (sdp-PEP), instead chooses a positive semidefinite matrix G∈SN+2G\in\mathbb S^{N+2}G∈SN+2 and normalized values v∈RN+1v\in\mathbb R^{N+1}v∈RN+1. For each ordered pair from I={0,…,N,∗}I=\{0,\ldots,N,*\}I={0,…,N,∗}, it requires vj−vi+Tr⁡(GAij)≤0v_j-v_i+\operatorname{Tr}(GA_{ij})\leq0vj​−vi​+Tr(GAij​)≤0, where the star value is zero. It also requires Tr⁡(GAR)≤R2\operatorname{Tr}(GA_R)\leq R^2Tr(GAR​)≤R2. The matrices AijA_{ij}Aij​ and ARA_RAR​ are the explicit coefficient matrices on page 13, computed from HHH, μ\muμ, and LLL Taylor, Hendrickx & Glineur, 2016, §3.3, pp. 13–14.

Formalization targets

The main target is Theorem 5. Write wμ,L(d)(R,H,N,b,C)w^{(d)}_{\mu,L}(R,H,N,b,C)wμ,L(d)​(R,H,N,b,C) for the supremum of the criterion over actual class members, minimizers, and fixed-step runs in Rd\mathbb R^dRd, and wμ,Lsdp(R,H,N,b,C)w^{\mathrm{sdp}}_{\mu,L}(R,H,N,b,C)wμ,Lsdp​(R,H,N,b,C) for the (sdp-PEP) supremum. For every d≥N+2d\geq N+2d≥N+2,

wμ,L(d)(R,H,N,b,C)=wμ,Lsdp(R,H,N,b,C).w^{(d)}_{\mu,L}(R,H,N,b,C)=w^{\mathrm{sdp}}_{\mu,L}(R,H,N,b,C).wμ,L(d)​(R,H,N,b,C)=wμ,Lsdp​(R,H,N,b,C).

The milestones follow the paper's path: convex interpolation (Theorem 1), curvature subtraction (Theorem 3 and Lemma 1), conjugate interpolation (Lemma 2), the exact pairwise interpolation criterion (Theorem 4), and the page 13 translation between that criterion, actual runs, and SDP feasible points. Theorem 4 states a necessary and sufficient condition for finite triples (xi,gi,fi)(x_i,g_i,f_i)(xi​,gi​,fi​) to be realized by one function in Fμ,L\mathcal F_{\mu,L}Fμ,L​. The final two milestones require both directions of the correspondence between a function instance and a feasible SDP pair. These targets use the paper's fixed constants and its full ordered-pair index set Taylor, Hendrickx & Glineur, 2016, Theorems 1, 3–5 and §3.3, pp. 7–14.

Significance

The equality means an SDP optimum is the exact worst-case value for the stated dimension range, for every linear criterion of this form. A feasible SDP point can represent a concrete adverse function and run when its rank fits the dimension; a dual certificate can supply an upper bound. The paper also gives a rank-constrained formulation below dimension N+2N+2N+2, so the dimension threshold has a precise role rather than being a technical ornament Taylor, Hendrickx & Glineur, 2016, Theorem 5 and Proposition 2, pp. 14–15.

The result is already proved in the cited paper. The formalization task is to give its definitions, interpolation claims, matrix constraints, and two-way correspondence machine-checkable statements and eventually proofs. The subgradient predicate, finite interpolation interface, and Gram-matrix representation are reusable beyond this mission. Formalized instances can then support verified worst-case calculations for particular methods and choices of bbb and CCC.

Difficulty

Sampling a smooth convex function at finitely many points gives necessary inequalities, but arbitrary triples satisfying familiar local smoothness or convexity bounds need not come from one common function. Theorem 4 supplies a simultaneous criterion over every ordered pair. The next obstacle is that the function-level problem contains whole functions and iterates, while the SDP retains only normalized values and inner products. Its matrix must encode every iterate relation and interpolation condition, and its rank determines whether those inner products can be realized in Rd\mathbb R^dRd. Dropping the rank condition below N+2N+2N+2 changes the problem Taylor, Hendrickx & Glineur, 2016, §§2–3.

Formalization scope

Lean uses EuclideanSpace ℝ (Fin d) and the ordinary Euclidean inner product. A general subgradient has its defining inequality; FClass records Definition 1, and Interpolable quantifies over a single class member realizing all finite data. The SDP file defines the fixed-step run, the coefficient vectors and matrices, Gram matrices, the criterion, feasibility, and both optimal values. The values lie in EReal, preserving empty or unbounded suprema. The function-level problem explicitly quantifies over a minimizer and actual runs. A gradient appears in a run only in the finite-LLL regime, where the class is differentiable. The theorem requires μ<L\mu<Lμ<L, L<∞L<\inftyL<∞, CCC symmetric, R≥0R\geq0R≥0, and d≥N+2d\geq N+2d≥N+2.

The original Definition 1 allows proper closed functions taking +∞+\infty+∞, and Definition 2 allows an arbitrary index set. This mission uses real-valued functions and finite interpolation data. For the finite-LLL result, the paper notes that functions in its class have full domain; its interpolation constructions also yield real-valued functions. The SDP coefficients L/(L−μ)L/(L-\mu)L/(L−μ) and Lμ/(L−μ)L\mu/(L-\mu)Lμ/(L−μ) do not have values at L=∞L=\inftyL=∞ under the paper's two stated conventions, and Remark 4 confines the later SDP analysis to finite LLL Taylor, Hendrickx & Glineur, 2016, pp. 5, 14. The radius domain is explicit because the SDP constraint squares RRR: a negative radius would admit G=0G=0G=0 in the SDP while excluding every actual start.

The goal cannot be met by a junk gradient, a real-valued supremum with a default at an empty or unbounded set, omitting the minimizer, allowing μ≥L\mu\geq Lμ≥L, or discarding the rank requirement at small dimensions. Contributions that establish the interpolation equivalences, the matrix identities, Gram realization, and the two directions of instance correspondence directly advance the goal.

Selected references

  • A. B. Taylor, J. M. Hendrickx, and F. Glineur, Smooth strongly convex interpolation and exact worst-case performance of first-order methods, accepted version of Mathematical Programming 161 (2017), 307–345, arXiv:1502.05666v6.
12 thms1 active userReviewed
Machine LearningOptimization·Captain: mikedeng1

Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization 1: With L-Lipschitz Losses, SDCA Reaches Expected Duality Gap ε after ⌈n log(λn/(2L²))⌉ + n + 20L²/(λε) IterationsResearch Paper

Motivation

Regularized loss minimization over linear predictors is the training problem behind support vector machines, logistic regression, ridge regression and their many variants. Given examples x1,…,xn∈Rdx_1,\dots,x_n\in\mathbb R^dx1​,…,xn​∈Rd, one minimizes an average of convex losses of the predictions w⊤xiw^\top x_iw⊤xi​ plus a quadratic penalty. Dual coordinate ascent (DCA) solves the Fenchel dual of this problem by optimizing one dual variable at a time; it has been the workhorse of linear SVM solvers such as LIBLINEAR (Hsieh et al., ICML 2008). Before Shalev-Shwartz and Zhang's work, the available analyses of DCA either gave linear rates with constants depending on unknown problem quantities or did not control the duality gap, which is the quantity a practitioner can actually monitor as a stopping criterion.

Shalev-Shwartz and Zhang (2013) analysed stochastic dual coordinate ascent (SDCA), where the coordinate is picked uniformly at random, and proved explicit bounds on the expected duality gap. For Lipschitz losses (hinge loss, absolute loss) the bound is O~(n+L2/(λϵ))\tilde O(n+L^2/(\lambda\epsilon))O~(n+L2/(λϵ)) iterations, which matches stochastic gradient descent when the accuracy is low and improves on it when nnn is small compared with L2/(λϵ)L^2/(\lambda\epsilon)L2/(λϵ). This mission formalizes that result, Theorem 1 of the paper, together with the lemmas of its proof.

Timeline. Hsieh, Chang, Lin, Keerthi and Sundararajan (2008) proposed dual coordinate descent for linear SVMs and proved linear convergence with an unspecified constant. Shalev-Shwartz and Zhang (arXiv 2012, JMLR 2013) gave the first explicit duality-gap rates for SDCA, for Lipschitz and for smooth losses. Proximal and accelerated variants followed (Shalev-Shwartz and Zhang, Math. Program. 2016).

Setting

Fix n≥1n\ge1n≥1 examples x1,…,xn∈Rdx_1,\dots,x_n\in\mathbb R^dx1​,…,xn​∈Rd (Euclidean norm), convex losses ϕ1,…,ϕn:R→R\phi_1,\dots,\phi_n:\mathbb R\to\mathbb Rϕ1​,…,ϕn​:R→R and a regularization parameter λ>0\lambda>0λ>0. The primal problem (1) is to minimize

P(w)=1n∑i=1nϕi(w⊤xi)+λ2∥w∥2.P(w)=\frac1n\sum_{i=1}^n\phi_i(w^\top x_i)+\frac\lambda2\|w\|^2 .P(w)=n1​i=1∑n​ϕi​(w⊤xi​)+2λ​∥w∥2.

The convex conjugate of a scalar function is ϕ∗(u)=sup⁡z(zu−ϕ(z))∈(−∞,+∞]\phi^*(u)=\sup_z(zu-\phi(z))\in(-\infty,+\infty]ϕ∗(u)=supz​(zu−ϕ(z))∈(−∞,+∞]. The dual problem (2) is to maximize, over α∈Rn\alpha\in\mathbb R^nα∈Rn,

D(α)=1n∑i=1n−ϕi∗(−αi)−λ2∥w(α)∥2,w(α)=1λn∑i=1nαixi.D(\alpha)=\frac1n\sum_{i=1}^n-\phi_i^*(-\alpha_i)-\frac\lambda2\|w(\alpha)\|^2,\qquad w(\alpha)=\frac1{\lambda n}\sum_{i=1}^n\alpha_ix_i .D(α)=n1​i=1∑n​−ϕi∗​(−αi​)−2λ​∥w(α)∥2,w(α)=λn1​i=1∑n​αi​xi​.

Weak duality gives D(α)≤P(w)D(\alpha)\le P(w)D(α)≤P(w) for all α,w\alpha,wα,w, so the duality gap P(w(α))−D(α)P(w(\alpha))-D(\alpha)P(w(α))−D(α) bounds the primal sub-optimality of w(α)w(\alpha)w(α).

A loss ϕ\phiϕ is LLL-Lipschitz if ∣ϕ(a)−ϕ(b)∣≤L∣a−b∣|\phi(a)-\phi(b)|\le L|a-b|∣ϕ(a)−ϕ(b)∣≤L∣a−b∣ for all a,ba,ba,b. The paper's standing assumptions are ∥xi∥≤1\|x_i\|\le1∥xi​∥≤1, ϕi≥0\phi_i\ge0ϕi​≥0 and ϕi(0)≤1\phi_i(0)\le1ϕi​(0)≤1.

Procedure SDCA starts from α(0)=0\alpha^{(0)}=0α(0)=0. At iteration t=1,…,Tt=1,\dots,Tt=1,…,T it picks a coordinate iii uniformly at random, chooses Δαi\Delta\alpha_iΔαi​ maximizing

−ϕi∗(−(αi(t−1)+Δαi))−λn2∥w(t−1)+(λn)−1Δαixi∥2,-\phi_i^*\bigl(-(\alpha_i^{(t-1)}+\Delta\alpha_i)\bigr)-\frac{\lambda n}{2}\bigl\|w^{(t-1)}+(\lambda n)^{-1}\Delta\alpha_i x_i\bigr\|^2,−ϕi∗​(−(αi(t−1)​+Δαi​))−2λn​​w(t−1)+(λn)−1Δαi​xi​​2,

and sets α(t)=α(t−1)+Δαiei\alpha^{(t)}=\alpha^{(t-1)}+\Delta\alpha_ie_iα(t)=α(t−1)+Δαi​ei​ and w(t)=w(α(t))w^{(t)}=w(\alpha^{(t)})w(t)=w(α(t)). The averaging option outputs αˉ=1T−T0∑t=T0+1Tα(t−1)\bar\alpha=\frac1{T-T_0}\sum_{t=T_0+1}^T\alpha^{(t-1)}αˉ=T−T0​1​∑t=T0​+1T​α(t−1) and wˉ=w(αˉ)\bar w=w(\bar\alpha)wˉ=w(αˉ). Let α∗\alpha^*α∗ maximize DDD and write ϵD(t)=D(α∗)−D(α(t))\epsilon_D^{(t)}=D(\alpha^*)-D(\alpha^{(t)})ϵD(t)​=D(α∗)−D(α(t)) for the dual sub-optimality.

Formalization targets

Goal: Theorem 1 (p. 5)

For convex LLL-Lipschitz losses under the standing assumptions, if ϵP>0\epsilon_P>0ϵP​>0 and

T ≥ T0+n+4L2λϵP ≥ max⁡(0,⌈nlog⁡(0.5λnL−2)⌉)+n+20L2λϵP,T\ \ge\ T_0+n+\frac{4L^2}{\lambda\epsilon_P}\ \ge\ \max\bigl(0,\lceil n\log(0.5\lambda nL^{-2})\rceil\bigr)+n+\frac{20L^2}{\lambda\epsilon_P},T ≥ T0​+n+λϵP​4L2​ ≥ max(0,⌈nlog(0.5λnL−2)⌉)+n+λϵP​20L2​,

then

E[P(wˉ)−D(αˉ)]≤ϵP,andE[D(α∗)−D(α(t))]≤ϵP/2  for all t≥T0.\mathbb E\bigl[P(\bar w)-D(\bar\alpha)\bigr]\le\epsilon_P,\qquad\text{and}\qquad\mathbb E\bigl[D(\alpha^*)-D(\alpha^{(t)})\bigr]\le\epsilon_P/2\ \text{ for all }t\ge T_0 .E[P(wˉ)−D(αˉ)]≤ϵP​,andE[D(α∗)−D(α(t))]≤ϵP​/2  for all t≥T0​.

The constants 444 and 202020 are the paper's.

Milestones

In the order the proof uses them: the one-coordinate increase (10); the identity P(w(α))−D(α)=1n∑i(ϕi(w⊤xi)+ϕi∗(−αi)+αiw⊤xi)P(w(\alpha))-D(\alpha)=\frac1n\sum_i(\phi_i(w^\top x_i)+\phi_i^*(-\alpha_i)+\alpha_iw^\top x_i)P(w(α))−D(α)=n1​∑i​(ϕi​(w⊤xi​)+ϕi∗​(−αi​)+αi​w⊤xi​); Lemma 1 (expected dual increase at least sn\frac snns​ times the gap minus (sn)2G2λ(\frac sn)^2\frac{G}{2\lambda}(ns​)22λG​); Lemma 2 (D(α)≤P(w∗)≤P(0)≤1D(\alpha)\le P(w^*)\le P(0)\le1D(α)≤P(w∗)≤P(0)≤1, D(0)≥0D(0)\ge0D(0)≥0); Lemma 3 (ϕ∗=+∞\phi^*=+\inftyϕ∗=+∞ outside [−L,L][-L,L][−L,L]); Lemma 4 (G≤4L2G\le4L^2G≤4L2); the recursion after (13); the rate (14), E[ϵD(t)]≤2Gλ(2n+t−t0)\mathbb E[\epsilon_D^{(t)}]\le\frac{2G}{\lambda(2n+t-t_0)}E[ϵD(t)​]≤λ(2n+t−t0​)2G​; and the averaged duality-gap bound of p. 16.

Significance

Theorem 1 makes the duality gap of SDCA a certified stopping criterion with an explicit iteration count. Because the gap upper-bounds the primal sub-optimality, it also gives a primal guarantee for the averaged output wˉ\bar wwˉ. It covers non-smooth losses, the hinge loss in particular, where linear rates are not available. The analysis pattern, a lower bound on the expected dual increase by the duality gap (Lemma 1) followed by a recursion for the dual sub-optimality, was reused in the analyses of proximal, accelerated and mini-batch dual methods.

The result is proved in the paper; to the best of current knowledge it has no machine-checked proof. The mission produces a formal account of the primal–dual pair of regularized loss minimization with extended-real conjugates, a formal SDCA run with uniformly random coordinates, and the complete chain of lemmas. Lemma 1 is stated with a general strong-convexity modulus γ≥0\gamma\ge0γ≥0, as in the paper, so it serves the smooth-loss analysis as well.

Difficulty

The obvious first idea is to treat SDCA as stochastic coordinate ascent on a concave function and import a standard rate. That fails: DDD is neither smooth nor strongly concave for Lipschitz losses, and its domain {α:ϕi∗(−αi)<∞}\{\alpha:\phi_i^*(-\alpha_i)<\infty\}{α:ϕi∗​(−αi​)<∞} is a box, so the per-coordinate progress cannot be bounded by a gradient norm. The argument instead compares the exact coordinate maximizer with an explicit interpolation towards a sub-gradient, which needs the conjugate's value at a sub-gradient (Fenchel–Young equality) and its infinite values outside [−L,L][-L,L][−L,L].

The rate (14) is not a plain geometric recursion. It needs a burn-in phase and then an induction with a step size sss that changes with ttt, and the duality gap of the output has to be recovered from the dual progress by Jensen's inequality over the averaged iterates. Everything happens in expectation over the coordinate sequence, while the dual values have to be kept finite along every run.

Formalization scope

Lean conventions:

  • Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d), examples and losses are indexed by Fin n, and w⊤xw^\top xw⊤x is inner ℝ w x.
  • The conjugate is an EReal supremum, and DDD is EReal-valued. Real values of DDD are used only where the same statement asserts that they are finite.
  • The coordinate step is a free map Δ : (Fin n → ℝ) → Fin n → ℝ constrained by an arg-max predicate (IsSDCAStep). Any maximizer is admissible, and one exists for convex real losses.
  • The run is a function of the coordinate sequence js : Fin T → Fin n, started at α(0)=0\alpha^{(0)}=0α(0)=0, with w(t)=w(α(t))w^{(t)}=w(\alpha^{(t)})w(t)=w(α(t)).
  • Expectations are uniform averages over coordinate sequences (SAGA.Convex.expectIdx, a published definition).
  • α∗\alpha^*α∗ is any maximizer of DDD, and w∗w^*w∗ any minimizer of PPP.
  • The constant G=max⁡tG(t)G=\max_tG^{(t)}G=maxt​G(t) of the proof is pinned to its bound 4L24L^24L2. Theorem 1's burn-in max⁡(0,⌈nlog⁡(0.5λnL−2)⌉)\max(0,\lceil n\log(0.5\lambda nL^{-2})\rceil)max(0,⌈nlog(0.5λnL−2)⌉) is exactly the value of t0t_0t0​ obtained with G=4L2G=4L^2G=4L2 and ϵD(0)≤1\epsilon_D^{(0)}\le1ϵD(0)​≤1.
  • Lemmas 1 and 4 are stated for a fixed dual-feasible state. The paper's history-averaged form follows from this.

A real-valued conjugate, which returns 000 where the supremum is infinite, or an unconstrained step map would make the statements false or vacuous. The EReal conjugate and the arg-max predicate rule both out.

Infrastructure needed: Fenchel–Young for scalar convex functions, the existence of sub-gradients of convex real functions and their bound by the Lipschitz constant, Jensen's inequality for the convex PPP and the concave DDD, and the algebra of uniform averages over {1,…,n}t\{1,\dots,n\}^t{1,…,n}t. The conjugate and sub-differential definitions and the duality-gap identity can be reused beyond this mission. Proofs of any milestone are welcome, as are lemmas on EReal sums that keep the finiteness bookkeeping short.

Selected references

  • S. Shalev-Shwartz and T. Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, arXiv:1209.1873v2, 2013; Journal of Machine Learning Research 14:567–599, 2013. https://arxiv.org/abs/1209.1873
  • C.-J. Hsieh, K.-W. Chang, C.-J. Lin, S. S. Keerthi and S. Sundararajan, A Dual Coordinate Descent Method for Large-scale Linear SVM, ICML 2008. https://doi.org/10.1145/1390156.1390208
  • S. Shalev-Shwartz and T. Zhang, Accelerated Proximal Stochastic Dual Coordinate Ascent for Regularized Loss Minimization, Mathematical Programming 155:105–145, 2016. https://doi.org/10.1007/s10107-014-0839-0
13 thms1 active userReviewed
Algorithmic Game TheoryOperations ResearchOptimization+1·Captain: mikedeng1

On Synchronous, Asynchronous, and Randomized Best-Response Schemes for Stochastic Nash Games 1: Synchronous Inexact Best Response Reaches an ϵ-NE in Explicitly Bounded Projected SG StepsResearch Paper

Motivation

Many equilibrium problems in operations research, such as networked Cournot competition, power markets and communication networks, are stochastic Nash games: each player minimizes an expected cost fi(xi,x−i)=E[ψi(xi,x−i;ξ)]f_i(x_i,x_{-i})=\mathbb E[\psi_i(x_i,x_{-i};\xi)]fi​(xi​,x−i​)=E[ψi​(xi​,x−i​;ξ)] that depends on the rivals' strategies and on a random vector ξ\xiξ whose law is accessible only through samples. Best-response schemes, in which every player in turn solves its own optimization problem given the others' latest strategies, are the natural distributed method for such games. In the stochastic setting no player can compute an exact best response, because evaluating fif_ifi​ requires the expectation itself. Lei, Shanbhag, Pang and Sen (arXiv:1704.04578v2; Mathematics of Operations Research, 2020) analyze inexact proximal best-response schemes in which each best response is approximated by a finite number of stochastic gradient steps, and they ask how many sampled gradients each player needs to reach an approximate equilibrium.

The deterministic theory of proximal best responses, including the contraction matrix Γ\GammaΓ used here, is due to Facchinei and Pang (Nash equilibria: the variational approach, 2009, §12.6; reference [19] of the paper). The present mission covers the paper's first scheme, the synchronous one, in which all players update simultaneously.

Setting

There are NNN players. Player iii chooses xix_ixi​ from a closed, compact, convex, nonempty set Xi⊆RniX_i\subseteq\mathbb R^{n_i}Xi​⊆Rni​; a profile is x=(x1,…,xN)∈X=∏iXix=(x_1,\dots,x_N)\in X=\prod_iX_ix=(x1​,…,xN​)∈X=∏i​Xi​, and (z,y−i)(z,y_{-i})(z,y−i​) is the profile yyy with its iii-th block replaced by zzz. A Nash equilibrium is a profile x∗∈Xx^*\in Xx∗∈X such that every xi∗x^*_ixi∗​ minimizes fi(⋅,x−i∗)f_i(\cdot,x^*_{-i})fi​(⋅,x−i∗​) over XiX_iXi​.

Assumption 1 asks that each fif_ifi​ be convex in xix_ixi​ and twice continuously differentiable near XXX, that the sampled gradients ∇xiψi(x;ξ)\nabla_{x_i}\psi_i(x;\xi)∇xi​​ψi​(x;ξ) be unbiased for ∇xifi(x)\nabla_{x_i}f_i(x)∇xi​​fi​(x), and that E∥∇xiψi(x;ξ)∥2≤Mi2\mathbb E\|\nabla_{x_i}\psi_i(x;\xi)\|^2\le M_i^2E∥∇xi​​ψi​(x;ξ)∥2≤Mi2​. For μ>0\mu>0μ>0 the proximal best response is

x^i(y)=argmin⁡xi∈Xi[fi(xi,y−i)+μ2∥xi−yi∥2].\hat x_i(y)=\operatorname*{argmin}_{x_i\in X_i}\Big[f_i(x_i,y_{-i})+\tfrac\mu2\|x_i-y_i\|^2\Big].x^i​(y)=xi​∈Xi​argmin​[fi​(xi​,y−i​)+2μ​∥xi​−yi​∥2].

The N×NN\times NN×N matrix Γ\GammaΓ has entries γii=μ/(μ+ζi,min⁡)\gamma_{ii}=\mu/(\mu+\zeta_{i,\min})γii​=μ/(μ+ζi,min​) and γij=ζij,max⁡/(μ+ζi,min⁡)\gamma_{ij}=\zeta_{ij,\max}/(\mu+\zeta_{i,\min})γij​=ζij,max​/(μ+ζi,min​), where ζi,min⁡\zeta_{i,\min}ζi,min​ is the least eigenvalue of ∇xi2fi\nabla^2_{x_i}f_i∇xi​2​fi​ over XXX and ζij,max⁡\zeta_{ij,\max}ζij,max​ the largest spectral norm of the mixed block ∇xixj2fi\nabla^2_{x_ix_j}f_i∇xi​xj​2​fi​ over XXX. Assumption 2 is a:=∥Γ∥<1a:=\|\Gamma\|<1a:=∥Γ∥<1 (spectral norm).

Algorithm 1 starts from a deterministic x0∈Xx_0\in Xx0​∈X. At major iteration kkk every player computes xi,k+1∈Xix_{i,k+1}\in X_ixi,k+1​∈Xi​ with E[∥xi,k+1−x^i(xk)∥2∣Fk]≤αi,k2\mathbb E[\|x_{i,k+1}-\hat x_i(x_k)\|^2\mid\mathcal F_k]\le\alpha_{i,k}^2E[∥xi,k+1​−x^i​(xk​)∥2∣Fk​]≤αi,k2​, by running ji,kj_{i,k}ji,k​ projected stochastic gradient steps

zi,t+1=ΠXi[zi,t−1μ(t+1)(∇xiψi(zi,t,x−i,k;ξi,kt)+μ(zi,t−xi,k))],zi,1=xi,k,z_{i,t+1}=\Pi_{X_i}\Big[z_{i,t}-\tfrac{1}{\mu(t+1)}\big(\nabla_{x_i}\psi_i(z_{i,t},x_{-i,k};\xi^t_{i,k})+\mu(z_{i,t}-x_{i,k})\big)\Big],\qquad z_{i,1}=x_{i,k},zi,t+1​=ΠXi​​[zi,t​−μ(t+1)1​(∇xi​​ψi​(zi,t​,x−i,k​;ξi,kt​)+μ(zi,t​−xi,k​))],zi,1​=xi,k​,

and setting xi,k+1=zi,ji,kx_{i,k+1}=z_{i,j_{i,k}}xi,k+1​=zi,ji,k​​. A random profile xxx is an ϵ\epsilonϵ-NE2_22​ if E[(∑i∥xi−xi∗∥2)1/2]≤ϵ\mathbb E\big[(\sum_i\|x_i-x^*_i\|^2)^{1/2}\big]\le\epsilonE[(∑i​∥xi​−xi∗​∥2)1/2]≤ϵ.

Formalization targets

Goal: Theorem 1(a)

With αi,k=ηk+1\alpha_{i,k}=\eta^{k+1}αi,k​=ηk+1, η∈(0,1)\eta\in(0,1)η∈(0,1), ∥xi,0−xi∗∥≤C\|x_{i,0}-x^*_i\|\le C∥xi,0​−xi∗​∥≤C, c=max⁡{a,η}c=\max\{a,\eta\}c=max{a,η}, q∈(c,1)q\in(c,1)q∈(c,1), D=1/ln⁡((q/c)e)D=1/\ln((q/c)^e)D=1/ln((q/c)e), Qi=2Mi2/μ2+2DXi2Q_i=2M_i^2/\mu^2+2D_{X_i}^2Qi​=2Mi2​/μ2+2DXi​2​ and ji,k=⌈Qi/η2(k+1)⌉j_{i,k}=\lceil Q_i/\eta^{2(k+1)}\rceilji,k​=⌈Qi​/η2(k+1)⌉, the iterate xKx_KxK​ after K=⌈ln⁡(N(C+D)/ϵ)/ln⁡(1/q)⌉K=\lceil\ln(\sqrt N(C+D)/\epsilon)/\ln(1/q)\rceilK=⌈ln(N​(C+D)/ϵ)/ln(1/q)⌉ major iterations is an ϵ\epsilonϵ-NE2_22​, and player iii uses at most

ℓi(η)=Qiη4ln⁡(1/η2)(N(C+D)ϵ)ln⁡(1/η2)ln⁡(1/q)+⌈ln⁡(N(C+D)/ϵ)ln⁡(1/q)⌉\ell_i(\eta)=\frac{Q_i}{\eta^4\ln(1/\eta^2)}\left(\frac{\sqrt N(C+D)}{\epsilon}\right)^{\frac{\ln(1/\eta^2)}{\ln(1/q)}}+\left\lceil\frac{\ln(\sqrt N(C+D)/\epsilon)}{\ln(1/q)}\right\rceilℓi​(η)=η4ln(1/η2)Qi​​(ϵN​(C+D)​)ln(1/q)ln(1/η2)​+⌈ln(1/q)ln(N​(C+D)/ϵ)​⌉

projected stochastic gradient steps. The goal fixes the paper's explicit expression, not its O(⋅)O(\cdot)O(⋅) summary.

Milestones

  1. (5): ∥x^i(y′)−x^i(y)∥≤∑jγij∥yj′−yj∥\|\hat x_i(y')-\hat x_i(y)\|\le\sum_j\gamma_{ij}\|y'_j-y_j\|∥x^i​(y′)−x^i​(y)∥≤∑j​γij​∥yj′​−yj​∥ for y,y′∈Xy,y'\in Xy,y′∈X.
  2. (9): the same in the Euclidean norm of block distances, with factor aaa.
  3. A Nash equilibrium is a fixed point: x^(x∗)=x∗\hat x(x^*)=x^*x^(x∗)=x∗.
  4. Lemma 2: zcz≤Dqzzc^z\le Dq^zzcz≤Dqz for z≥0z\ge0z≥0, 0<c<q<10<c<q<10<c<q<1, D≥1/(eln⁡(q/c))D\ge1/(e\ln(q/c))D≥1/(eln(q/c)).
  5. (20): uk+1≤auk+Nmax⁡iαi,ku_{k+1}\le au_k+\sqrt N\max_i\alpha_{i,k}uk+1​≤auk​+N​maxi​αi,k​, where uku_kuk​ is the mean Euclidean norm of block errors.
  6. Proposition 4: uk≤N(C+D)qku_k\le\sqrt N(C+D)q^kuk​≤N​(C+D)qk.
  7. Lemma 3: E[∥zi,t−x^i(xk)∥2∣Fk]≤Qi/(t+1)\mathbb E[\|z_{i,t}-\hat x_i(x_k)\|^2\mid\mathcal F_k]\le Q_i/(t+1)E[∥zi,t​−x^i​(xk​)∥2∣Fk​]≤Qi​/(t+1).
  8. (30): ∑k=1Kβk≤∫1K+1βxdx≤βK+1/ln⁡β\sum_{k=1}^K\beta^k\le\int_1^{K+1}\beta^xdx\le\beta^{K+1}/\ln\beta∑k=1K​βk≤∫1K+1​βxdx≤βK+1/lnβ for β>1\beta>1β>1.

Significance

Theorem 1(a) shows that the synchronous inexact scheme keeps the linear rate of the exact best-response iteration, with factor arbitrarily close to max⁡{∥Γ∥,η}\max\{\|\Gamma\|,\eta\}max{∥Γ∥,η}, and turns it into a sample complexity explicit in ϵ\epsilonϵ, in the number of players and in the game's constants. Choosing η=∥Γ∥\eta=\|\Gamma\|η=∥Γ∥ gives a bound of order (N/ϵ)2+δ(\sqrt N/\epsilon)^{2+\delta}(N​/ϵ)2+δ for any δ>0\delta>0δ>0 (Theorem 1(b)), close to the O(1/ϵ2)O(1/\epsilon^2)O(1/ϵ2) of a single stochastic convex program; the dependence on NNN is mild, which matters for games with many players. The same building blocks (the contraction (5), Lemma 2, Lemma 3 and (30)) are reused by the randomized and asynchronous schemes of the same paper.

The result is proved in the paper; it has not been machine-checked. A formalization adds a verified proof of the complexity bound together with fully explicit hypotheses: several conditions that the paper leaves implicit or states imprecisely (listed under Formalization scope) are made exact, and the Lean statement records which version of each is used.

Difficulty

The arithmetic of Theorem 1(a) from Proposition 4, Lemma 3 and (30) is routine. The weight lies elsewhere. The contraction (5) is quoted from Facchinei–Pang and not proved in the paper; it needs the variational optimality conditions of the two proximal problems and a mean-value argument along a segment of XXX for the partial gradient, which mixes the Hessian blocks ∇xi2fi\nabla^2_{x_i}f_i∇xi​2​fi​ and ∇xixj2fi\nabla^2_{x_ix_j}f_i∇xi​xj​2​fi​. Lemma 3 is a conditional-expectation argument about a stochastic approximation recursion: the iterate zi,tz_{i,t}zi,t​ must be shown measurable for the nested σ\sigmaσ-fields generated by the samples, and the conditional unbiasedness and moment hypotheses must be combined with the tower property and the projection's nonexpansiveness. Proposition 4 then needs conditional Jensen to pass from (8) to the Euclidean norm of block errors.

Formalization scope

Players are Fin N, player iii's space is EuclideanSpace ℝ (Fin (n i)), profiles are dependent functions, and (z,y−i)(z,y_{-i})(z,y−i​) is Function.update y i z. The Euclidean norm of the vector of block distances is written out (blockDist), since Mathlib's norm on profiles is the sup norm; ∥Γ∥\|\Gamma\|∥Γ∥ is the operator norm of Matrix.toEuclideanCLM Γ. ζi,min⁡\zeta_{i,\min}ζi,min​ and ζij,max⁡\zeta_{ij,\max}ζij,max​ are the infimum and supremum of Rayleigh-type quotients of the second derivative over XXX and unit vectors. The proximal BR is any map minimizing the proximal objective on XXX (unique there), and ΠXi\Pi_{X_i}ΠXi​​ is any map satisfying the published SpectralProjGrad.Shared.IsProjOnto. The σ\sigmaσ-fields Fk\mathcal F_kFk​ and σ{Fk,ξi,k[t−1]}\sigma\{\mathcal F_k,\xi^{[t-1]}_{i,k}\}σ{Fk​,ξi,k[t−1]​} are generated by the samples. Every expectation carries an integrability hypothesis.

Statement repairs, each recorded in the item's Formalization Note:

  • the initial point is deterministic, as Algorithm 1 states, so E∥xi,0−xi∗∥≤C\mathbb E\|x_{i,0}-x^*_i\|\le CE∥xi,0​−xi∗​∥≤C reads ∥xi,0−xi∗∥≤C\|x_{i,0}-x^*_i\|\le C∥xi,0​−xi∗​∥≤C (the proof's u0≤NCu_0\le\sqrt NCu0​≤N​C needs this);
  • Assumption 1(b) is twice continuous differentiability in the whole profile, which (4) needs for the mixed blocks, and convexity on an open set containing XiX_iXi​;
  • in Lemma 3, ψi\psi_iψi​ is read as ∇xiψi\nabla_{x_i}\psi_i∇xi​​ψi​, and the second hypothesis is the bound E[∥∇xiψi∥2∣⋅]≤Mi2\mathbb E[\|\nabla_{x_i}\psi_i\|^2\mid\cdot]\le M_i^2E[∥∇xi​​ψi​∥2∣⋅]≤Mi2​ that the proof uses (the printed equality would force zero sampling noise);
  • 0<ϵ<N(C+D)0<\epsilon<\sqrt N(C+D)0<ϵ<N​(C+D), without which the ceiling in (27) can be non-positive;
  • D=1/(eln⁡(q/c))D=1/(e\ln(q/c))D=1/(eln(q/c)), the reading of ln⁡((q/c)e)\ln((q/c)^e)ln((q/c)e) confirmed by Lemma 2's proof.

The goal is not trivialized by deterministic gradients: the sampled gradients are random, constrained only by conditional unbiasedness and a conditional second-moment bound, the proximal BR is tied to fif_ifi​ by its argmin property, x∗x^*x∗ must be a Nash equilibrium, and the norms are Euclidean. A deterministic instance (N=1N=1N=1, f1(x)=∥x∥2f_1(x)=\|x\|^2f1​(x)=∥x∥2 on a ball, exact gradients) satisfies every hypothesis jointly.

Needed infrastructure: optimality conditions for constrained strongly convex minimization, the mean-value inequality for partial gradients of C2C^2C2 functions on convex sets, conditional expectation of vector-valued functions with the tower property and conditional Jensen, and the nonexpansiveness of Euclidean projection. The contraction (5) and Lemma 3 are reusable beyond this mission. Proofs of any milestone are welcome.

Selected references

  • J. Lei, U. V. Shanbhag, J.-S. Pang, S. Sen, On Synchronous, Asynchronous, and Randomized Best-Response Schemes for Stochastic Nash Games, arXiv:1704.04578v2, 2018; published in Mathematics of Operations Research, 2020. https://arxiv.org/abs/1704.04578v2
  • F. Facchinei, J.-S. Pang, Nash equilibria: the variational approach, in Convex Optimization in Signal Processing and Communications, Cambridge University Press, 2009 (reference [19] of arXiv:1704.04578v2).
  • B. T. Polyak, Introduction to Optimization, Optimization Software, 1987 (reference [38] of the paper).
13 thms1 active userReviewed
AnalysisOperations ResearchOptimization·Captain: mikedeng1

A Primal-Dual Interior-Point Algorithm for Nonsymmetric Exponential-Cone Optimization 3: The Exponential-Cone Barrier Does Not Have Negative CurvatureResearch Paper

Motivation

Interior-point methods for conic optimization are best understood on symmetric cones: the nonnegative orthant, the second-order cone and the cone of positive semidefinite matrices. On these cones the barrier functions are self-scaled, and Nesterov and Todd showed that every primal-dual pair (x,s)(x, s)(x,s) then has a unique scaling point www with s=F′′(w)xs = F''(w)xs=F′′(w)x and F′(x)=F′′(w)F∗′(s)F'(x) = F''(w)F_*'(s)F′(x)=F′′(w)F∗′​(s). The resulting primal-dual algorithms, implemented in solvers such as SeDuMi and MOSEK, combine long steps with good worst-case complexity.

Many models in statistics, geometric programming, entropy maximization and logistic regression need the exponential cone, which is not symmetric. Dahl and Andersen (Math. Program. 194, 2022) designed the primal-dual algorithm behind MOSEK's exponential-cone support. To explain why they cannot simply transplant the Nesterov–Todd construction, they use a property that sits between "self-scaled" and "arbitrary": negative curvature of the barrier. Barriers of symmetric cones have it; a barrier is self-scaled if and only if both it and its conjugate have it (Nesterov–Tunçel, 2016); and barriers with negative curvature still admit a unique scaling point satisfying one secant equation. Dahl and Andersen observe in §5 that the exponential-cone barrier lies outside this class, by an explicit witness. This mission formalizes that observation and the derivative formulas of their Appendix A it rests on.

Timeline:

  • 1997–1998: Nesterov and Todd introduce self-scaled barriers and their primal-dual scalings (Math. Oper. Res. 22; SIAM J. Optim. 8).
  • 2001: Tunçel generalizes primal-dual scalings to arbitrary convex cones (Found. Comput. Math. 1).
  • 2009: Chares studies the exponential cone and its 3-self-concordant barrier (thesis, Université catholique de Louvain).
  • 2016: Nesterov and Tunçel characterize self-scaled barriers through negative curvature of the barrier and its conjugate.
  • 2022: Dahl and Andersen give a primal-dual algorithm for the exponential cone with Tunçel-type scalings, and note that its barrier does not have negative curvature.

Setting

Points of R3\mathbb{R}^3R3 are written x=(x1,x2,x3)x = (x_1, x_2, x_3)x=(x1​,x2​,x3​). The exponential cone is the closure

Kexp⁡=cl⁡{x∈R3∣x1≥x2exp⁡(x3/x2), x2>0},K_{\exp} = \operatorname{cl}\{x \in \mathbb{R}^3 \mid x_1 \ge x_2 \exp(x_3/x_2),\ x_2 > 0\},Kexp​=cl{x∈R3∣x1​≥x2​exp(x3​/x2​), x2​>0},

whose interior is {x∣x2>0, x1>x2exp⁡(x3/x2)}\{x \mid x_2 > 0,\ x_1 > x_2\exp(x_3/x_2)\}{x∣x2​>0, x1​>x2​exp(x3​/x2​)}. Its standard barrier is

F(x)=−log⁡(x2log⁡(x1/x2)−x3)−log⁡x1−log⁡x2,(2)F(x) = -\log\bigl(x_2\log(x_1/x_2) - x_3\bigr) - \log x_1 - \log x_2, \qquad (2)F(x)=−log(x2​log(x1​/x2​)−x3​)−logx1​−logx2​,(2)

defined and smooth on int⁡(Kexp⁡)\operatorname{int}(K_{\exp})int(Kexp​). Appendix A of the paper writes F=g+hF = g + hF=g+h with

ψ(x)=x2log⁡(x1/x2)−x3,g(x)=−log⁡ψ(x),h(x)=−log⁡x1−log⁡x2.\psi(x) = x_2\log(x_1/x_2) - x_3,\qquad g(x) = -\log\psi(x),\qquad h(x) = -\log x_1 - \log x_2 .ψ(x)=x2​log(x1​/x2​)−x3​,g(x)=−logψ(x),h(x)=−logx1​−logx2​.

For a smooth FFF on an open set, F′′(x)F''(x)F′′(x) is its Hessian, a symmetric linear map of Rn\mathbb{R}^nRn, and the third directional derivative is the symmetric linear map

F′′′(x)[u]=ddtF′′(x+tu)∣t=0,F′′′(x)[u,v,v]=⟨F′′′(x)[u] v,v⟩.F'''(x)[u] = \frac{d}{dt}F''(x + tu)\Big|_{t=0}, \qquad F'''(x)[u, v, v] = \langle F'''(x)[u]\,v, v\rangle .F′′′(x)[u]=dtd​F′′(x+tu)​t=0​,F′′′(x)[u,v,v]=⟨F′′′(x)[u]v,v⟩.

A barrier FFF of a cone KKK has negative curvature if for all x∈int⁡(K)x \in \operatorname{int}(K)x∈int(K) and for u∈Ku \in Ku∈K

F′′′(x)[u]⪯0,F'''(x)[u] \preceq 0,F′′′(x)[u]⪯0,

where ⪯\preceq⪯ is the Loewner order: ⟨F′′′(x)[u] v,v⟩≤0\langle F'''(x)[u]\,v, v\rangle \le 0⟨F′′′(x)[u]v,v⟩≤0 for every vvv. The direction uuu ranges over the closed cone KKK, including its boundary.

Formalization targets

Goal: the exponential-cone barrier does not have negative curvature

¬(∀x∈int⁡(Kexp⁡), ∀u∈Kexp⁡, ∀v∈R3: ⟨F′′′(x)[u] v,v⟩≤0).\neg\Bigl(\forall x \in \operatorname{int}(K_{\exp}),\ \forall u \in K_{\exp},\ \forall v \in \mathbb{R}^3:\ \langle F'''(x)[u]\,v, v\rangle \le 0\Bigr).¬(∀x∈int(Kexp​), ∀u∈Kexp​, ∀v∈R3: ⟨F′′′(x)[u]v,v⟩≤0).

The goal asserts only the qualitative failure, so it does not depend on the particular witness.

Milestones

  1. The witness: x^:=(1,e−2,0)∈int⁡(Kexp⁡)\hat x := (1, e^{-2}, 0) \in \operatorname{int}(K_{\exp})x^:=(1,e−2,0)∈int(Kexp​) and u^:=(1,0,0)∈Kexp⁡∖int⁡(Kexp⁡)\hat u := (1, 0, 0) \in K_{\exp}\setminus\operatorname{int}(K_{\exp})u^:=(1,0,0)∈Kexp​∖int(Kexp​) (§5, p. 356).
  2. First-order derivatives (A.1, p. 367): ψ′(x)=(x2/x1, log⁡(x1/x2)−1, −1)\psi'(x) = (x_2/x_1,\ \log(x_1/x_2) - 1,\ -1)ψ′(x)=(x2​/x1​, log(x1​/x2​)−1, −1), h′(x)=−(1/x1,1/x2,0)h'(x) = -(1/x_1, 1/x_2, 0)h′(x)=−(1/x1​,1/x2​,0), g′(x)=−ψ′(x)/ψ(x)g'(x) = -\psi'(x)/\psi(x)g′(x)=−ψ′(x)/ψ(x), F′=g′+h′F' = g' + h'F′=g′+h′ on int⁡(Kexp⁡)\operatorname{int}(K_{\exp})int(Kexp​).
  3. Second-order derivatives (A.2, p. 367):
F′′(x)=−1ψ(x)(ψ′′(x)−ψ′(x)ψ′(x)Tψ(x))+h′′(x).F''(x) = -\frac{1}{\psi(x)}\Bigl(\psi''(x) - \frac{\psi'(x)\psi'(x)^T}{\psi(x)}\Bigr) + h''(x).F′′(x)=−ψ(x)1​(ψ′′(x)−ψ(x)ψ′(x)ψ′(x)T​)+h′′(x).
  1. Third-order directional derivatives (A.3 and (33), p. 368): the closed form of F′′′(x)[u]F'''(x)[u]F′′′(x)[u] in terms of ψ\psiψ, its derivatives and h′′′(x)[u]h'''(x)[u]h′′′(x)[u].
  2. The matrix at the witness (§5, p. 356):
F′′′(x^)[u^]=[−4e2/2e2/2e2/200e2/20−e4/4].F'''(\hat x)[\hat u] = \begin{bmatrix} -4 & e^2/2 & e^2/2 \\ e^2/2 & 0 & 0 \\ e^2/2 & 0 & -e^4/4 \end{bmatrix}.F′′′(x^)[u^]=​−4e2/2e2/2​e2/200​e2/20−e4/4​​.
  1. The positive value (§5, p. 356): F′′′(x^)[u^,v^,v^]=4F'''(\hat x)[\hat u, \hat v, \hat v] = 4F′′′(x^)[u^,v^,v^]=4 for v^:=(1,8e−2,4e−2)\hat v := (1, 8e^{-2}, 4e^{-2})v^:=(1,8e−2,4e−2).

Significance

The result. Negative curvature is the property that gives symmetric-cone barriers their long-step Hessian estimates and a unique scaling point with one secant equation. Its failure for the exponential-cone barrier means that none of these consequences can be invoked for the exponential cone. An algorithm for this cone has to obtain its scalings by other means; Dahl and Andersen take them from Tunçel's framework, via the quasi-Newton secant updates of §5. The witness also shows that the failure occurs already for a direction on the boundary of the cone, at an interior point with simple coordinates.

Formalizing it. The claim is proved in the paper by a computation "using the expressions in the appendix", with the details left to the reader. The appendix formulas for the gradient, Hessian and third directional derivative of the exponential-cone barrier are the ones an implementation evaluates, including the higher-order corrector term −12F′′′(x)[u,v]-\tfrac12F'''(x)[u, v]−21​F′′′(x)[u,v]. A machine-checked version certifies these closed forms, including the zero padding of the 2×22\times22×2 "leading parts" in (33), and gives a reusable definition of negative curvature that applies to any cone and barrier. As far as is known, none of these statements has a machine-checked proof.

Difficulty

The obstacle is computational, not conceptual. The barrier is a composition of logarithms with a function ψ\psiψ that is itself a perspective of the logarithm, so its third derivative is a sum of terms with denominators ψ(x)k\psi(x)^kψ(x)k, x1kx_1^kx1k​ and x2kx_2^kx2k​. Stating it as a derivative of the Hessian map requires showing that the Hessian is differentiable on the open interior, which in turn requires a description of that interior, a set defined as the interior of a closure. The membership claims about u^\hat uu^ are not definitional either: u^\hat uu^ lies on the boundary, reached only as a limit of points of the generating set, and its non-interiority needs a neighbourhood argument. Finally, the cone condition on uuu matters: replacing u∈Kexp⁡u \in K_{\exp}u∈Kexp​ by u∈R3u \in \mathbb{R}^3u∈R3 makes the claim nearly trivial, because F′′′(x)[−u]=−F′′′(x)[u]F'''(x)[-u] = -F'''(x)[u]F′′′(x)[−u]=−F′′′(x)[u].

Formalization scope

  • Points of R3\mathbb{R}^3R3 are EuclideanSpace ℝ (Fin 3); the paper's (x1,x2,x3)(x_1, x_2, x_3)(x1​,x2​,x3​) are (x 0, x 1, x 2), and vectors are written !₂[·, ·, ·].
  • Kexp⁡K_{\exp}Kexp​ is the closure of the printed set, not its interior or an equivalent description. FFF, ψ\psiψ, ggg, hhh are defined on all of R3\mathbb{R}^3R3 by their formulas with Real.log; every statement evaluates them, and their derivatives, only at points of int⁡(Kexp⁡)\operatorname{int}(K_{\exp})int(Kexp​), where all logarithms are the genuine ones. The appendix formulas carry the hypothesis x∈int⁡(Kexp⁡)x \in \operatorname{int}(K_{\exp})x∈int(Kexp​).
  • F′′F''F′′ is the published SelfScaledIPM.ShortStep.hess (derivative of the gradient), and F′′′(x)[u]F'''(x)[u]F′′′(x)[u] is fderiv ℝ (hess F) x u. The Loewner order is stated through the quadratic form for every vvv. Matrices act through the standard basis (Matrix.toEuclideanCLM).
  • Disclosed deviations from the page: milestone 1 asserts x^∈int⁡(Kexp⁡)\hat x \in \operatorname{int}(K_{\exp})x^∈int(Kexp​), stronger than the printed x^∈Kexp⁡\hat x \in K_{\exp}x^∈Kexp​ and the form the definition needs. In A.3 the 2×22\times22×2 leading parts h^′′′\hat h'''h^′′′, ψ^′′′\hat\psi'''ψ^​′′′ of (33) are padded with a zero third row and column, and g′′(x)g''(x)g′′(x) is written out by the A.2 formula. Only the first display of A.2 is stated, not the factorization F′′(x)=R(x)R(x)TF''(x) = R(x)R(x)^TF′′(x)=R(x)R(x)T.
  • A trivializing formalization would let uuu range over all of R3\mathbb{R}^3R3, or read ⪯0\preceq 0⪯0 entrywise; both are excluded, and uuu ranges over the closed cone exactly as in the paper.
  • The claim that FFF is a 3-self-concordant barrier (quoted from Chares) is not part of the mission. The definition of negative curvature applies to any cone in any dimension and can be reused for other barriers. Contributions of calculus lemmas for logarithmic barriers on open sets (differentiability of the Hessian map, interiors of closures of epigraph-type sets) are welcome.

Selected references

  • J. Dahl, E. D. Andersen, A primal-dual interior-point algorithm for nonsymmetric exponential-cone optimization, Mathematical Programming 194 (2022), 341–370. https://doi.org/10.1007/s10107-021-01631-4
  • Yu. Nesterov, M. J. Todd, Self-scaled barriers and interior-point methods for convex programming, Mathematics of Operations Research 22 (1997), 1–42. https://doi.org/10.1287/moor.22.1.1
  • Yu. Nesterov, M. J. Todd, Primal-dual interior-point methods for self-scaled cones, SIAM Journal on Optimization 8 (1998), 324–364. https://doi.org/10.1137/S1052623495290209
  • L. Tunçel, Generalization of primal-dual interior-point methods to convex optimization problems in conic form, Foundations of Computational Mathematics 1 (2001), 229–254. https://doi.org/10.1007/s102080010008
  • Yu. Nesterov, L. Tunçel, Local superlinear convergence of polynomial-time interior-point methods for hyperbolicity cone optimization problems, SIAM Journal on Optimization 26 (2016), 139–170. https://doi.org/10.1137/140978296
  • P. R. Chares, Cones and interior-point algorithms for structured convex optimization involving powers and exponentials, PhD thesis, Université catholique de Louvain, 2009.
10 thms1 active userReviewed
Operations ResearchOptimization·Captain: mikedeng1

A Primal-Dual Interior-Point Algorithm for Nonsymmetric Exponential-Cone Optimization 1: Along the Combined Corrector Direction the Residuals and the Complementarity Gap Both Scale by 1 − α(1 − γ)Research Paper

Motivation

Conic optimization over the exponential cone Kexp⁡=cl⁡{x∈R3:x1≥x2ex3/x2, x2>0}K_{\exp}=\operatorname{cl}\{x\in\mathbb R^3: x_1\ge x_2e^{x_3/x_2},\ x_2>0\}Kexp​=cl{x∈R3:x1​≥x2​ex3​/x2​, x2​>0} models entropy, relative entropy, logistic regression, log-sum-exp and geometric programming. Unlike the nonnegative orthant, the second-order cone and the semidefinite cone, the exponential cone is not symmetric (self-scaled), so the Nesterov–Todd primal-dual machinery that makes solvers such as SeDuMi and MOSEK fast does not apply as is. Dahl and Andersen (Math. Program. 194 (2022) 341–370) describe the nonsymmetric-cone algorithm implemented in MOSEK (version 9.2 in the paper's experiments). Its central new ingredient is a corrector for nonsymmetric cones, an analogue of Mehrotra's predictor-corrector that is responsible for much of the practical performance of symmetric-cone solvers. The paper reports that the corrector gives a substantial and consistent reduction in iteration counts across its test sets.

Timeline. Nesterov and Todd (1997, 1998) built primal-dual methods for self-scaled cones. Nesterov, Todd and Ye (1999) and Tunçel (2001) studied primal-dual scalings for general cones, Tunçel proving polynomial complexity of an infeasible method without a corrector under bounded scalings. Skajaa and Ye (2015) gave a homogeneous method for nonsymmetric cones with a Runge–Kutta corrector. Myklebust and Tunçel (2014) analysed BFGS-type scalings. Dahl and Andersen (2022) introduced the third-order corrector studied in this mission.

Setting

Let A ⁣:Rn→RmA\colon\mathbb R^n\to\mathbb R^mA:Rn→Rm be linear with full row rank, b∈Rmb\in\mathbb R^mb∈Rm, c∈Rnc\in\mathbb R^nc∈Rn, and let K^⊆Rn\hat K\subseteq\mathbb R^nK^⊆Rn be a proper cone (pointed, closed, convex, with nonempty interior). A ϑ^\hat\varthetaϑ^-logarithmically homogeneous self-concordant barrier (LHSCB) for K^\hat KK^ is a C3C^3C3 convex function F^\hat FF^ on int⁡K^\operatorname{int}\hat KintK^ with ∣F^′′′(x)[u,u,u]∣≤2(F^′′(x)[u,u])3/2|\hat F'''(x)[u,u,u]|\le2(\hat F''(x)[u,u])^{3/2}∣F^′′′(x)[u,u,u]∣≤2(F^′′(x)[u,u])3/2 and F^(τx)=F^(x)−ϑ^log⁡τ\hat F(\tau x)=\hat F(x)-\hat\vartheta\log\tauF^(τx)=F^(x)−ϑ^logτ. The primal problem minimizes ⟨c,x^⟩\langle c,\hat x\rangle⟨c,x^⟩ subject to Ax^=bA\hat x=bAx^=b, x^∈K^\hat x\in\hat Kx^∈K^; the dual maximizes ⟨b,y⟩\langle b,y\rangle⟨b,y⟩ subject to c−ATy=s^∈K^∗c-A^Ty=\hat s\in\hat K^*c−ATy=s^∈K^∗.

The homogeneous model adds τ,κ≥0\tau,\kappa\ge0τ,κ≥0: x=(x^,τ)x=(\hat x,\tau)x=(x^,τ), s=(s^,κ)s=(\hat s,\kappa)s=(s^,κ), K=K^×R+K=\hat K\times\mathbb R_+K=K^×R+​, F(x)=F^(x^)−log⁡τF(x)=\hat F(\hat x)-\log\tauF(x)=F^(x^)−logτ, ϑ=ϑ^+1\vartheta=\hat\vartheta+1ϑ=ϑ^+1. With z=(x,s,y)z=(x,s,y)z=(x,s,y), the residual is

G(z)=(Ax^−bτ, −ATy+cτ−s^, bTy−cTx^−κ),G(z)=\bigl(A\hat x-b\tau,\ -A^Ty+c\tau-\hat s,\ b^Ty-c^T\hat x-\kappa\bigr),G(z)=(Ax^−bτ, −ATy+cτ−s^, bTy−cTx^−κ),

a linear map whose (y,x^,τ)(y,\hat x,\tau)(y,x^,τ)-block is skew-symmetric. An iterate has x∈int⁡Kx\in\operatorname{int}Kx∈intK, s∈int⁡K∗s\in\operatorname{int}K^*s∈intK∗, and μ=⟨x,s⟩/ϑ\mu=\langle x,s\rangle/\varthetaμ=⟨x,s⟩/ϑ. The shadow iterates are x~=−F∗′(s)\tilde x=-F_*'(s)x~=−F∗′​(s) and s~=−F′(x)\tilde s=-F'(x)s~=−F′(x), with F∗F_*F∗​ the conjugate barrier. A scaling is a nonsingular WWW with v=Wx=W−Tsv=Wx=W^{-T}sv=Wx=W−Ts and v~=Wx~=W−Ts~\tilde v=W\tilde x=W^{-T}\tilde sv~=Wx~=W−Ts~ (the double secant equations (8)).

The affine direction Δza\Delta z^aΔza solves G(Δza)=−G(z)G(\Delta z^a)=-G(z)G(Δza)=−G(z), WΔxa+W−TΔsa=−vW\Delta x^a+W^{-T}\Delta s^a=-vWΔxa+W−TΔsa=−v (11). The corrector is η=−12F′′′(x)[Δxa,(F′′(x))−1Δsa]\eta=-\tfrac12F'''(x)[\Delta x^a,(F''(x))^{-1}\Delta s^a]η=−21​F′′′(x)[Δxa,(F′′(x))−1Δsa] (16). For a centering parameter γ>0\gamma>0γ>0, the combined direction Δz\Delta zΔz solves

G(Δz)=−(1−γ)G(z),WΔx+W−TΔs=−v+γμv~−W−Tη.(18)G(\Delta z)=-(1-\gamma)G(z),\qquad W\Delta x+W^{-T}\Delta s=-v+\gamma\mu\tilde v-W^{-T}\eta. \tag{18}G(Δz)=−(1−γ)G(z),WΔx+W−TΔs=−v+γμv~−W−Tη.(18)

Formalization targets

Goal: Lemma 4 (p. 353)

Every solution of (18) satisfies

⟨s,Δx⟩+⟨x,Δs⟩=−(1−γ)⟨x,s⟩,⟨Δx,Δs⟩=0,\langle s,\Delta x\rangle+\langle x,\Delta s\rangle=-(1-\gamma)\langle x,s\rangle,\qquad\langle\Delta x,\Delta s\rangle=0,⟨s,Δx⟩+⟨x,Δs⟩=−(1−γ)⟨x,s⟩,⟨Δx,Δs⟩=0,

and for all α∈R\alpha\in\mathbb Rα∈R

G(z+αΔz)=(1−α(1−γ))G(z),⟨x+αΔx,s+αΔs⟩=(1−α(1−γ))⟨x,s⟩.G(z+\alpha\Delta z)=(1-\alpha(1-\gamma))G(z),\qquad\langle x+\alpha\Delta x,s+\alpha\Delta s\rangle=(1-\alpha(1-\gamma))\langle x,s\rangle.G(z+αΔz)=(1−α(1−γ))G(z),⟨x+αΔx,s+αΔs⟩=(1−α(1−γ))⟨x,s⟩.

The goal fixes no constants beyond those of the direction itself. It holds for every solution of (18), not a chosen one.

Milestones

  1. §2 homogeneity identities (p. 345): F′(τx)=F′(x)/τF'(\tau x)=F'(x)/\tauF′(τx)=F′(x)/τ, F′′(τx)=F′′(x)/τ2F''(\tau x)=F''(x)/\tau^2F′′(τx)=F′′(x)/τ2, F′′(x)x=−F′(x)F''(x)x=-F'(x)F′′(x)x=−F′(x), F′′′(x)[x]=−2F′′(x)F'''(x)[x]=-2F''(x)F′′′(x)[x]=−2F′′(x), ⟨F′(x),x⟩=−ϑ\langle F'(x),x\rangle=-\vartheta⟨F′(x),x⟩=−ϑ.
  2. §2 sum rule for the homogenizing block (pp. 345, 347): F^(x^)−log⁡τ\hat F(\hat x)-\log\tauF^(x^)−logτ is a (ϑ^+1)(\hat\vartheta+1)(ϑ^+1)-LHSCB for K^×R+\hat K\times\mathbb R_+K^×R+​.
  3. Lemma 2 (p. 351): the affine direction satisfies ⟨s,Δxa⟩+⟨x,Δsa⟩=−⟨x,s⟩\langle s,\Delta x^a\rangle+\langle x,\Delta s^a\rangle=-\langle x,s\rangle⟨s,Δxa⟩+⟨x,Δsa⟩=−⟨x,s⟩, ⟨Δxa,Δsa⟩=0\langle\Delta x^a,\Delta s^a\rangle=0⟨Δxa,Δsa⟩=0, and ⟨x+αΔxa,s+αΔsa⟩=(1−α)⟨x,s⟩\langle x+\alpha\Delta x^a,s+\alpha\Delta s^a\rangle=(1-\alpha)\langle x,s\rangle⟨x+αΔxa,s+αΔsa⟩=(1−α)⟨x,s⟩.
  4. Lemma 3 (p. 352): the pure corrector direction (G(Δzc)=0G(\Delta z^c)=0G(Δzc)=0, WΔxc+W−TΔsc=−W−TηW\Delta x^c+W^{-T}\Delta s^c=-W^{-T}\etaWΔxc+W−TΔsc=−W−Tη) satisfies ⟨s,Δxc⟩+⟨x,Δsc⟩=0\langle s,\Delta x^c\rangle+\langle x,\Delta s^c\rangle=0⟨s,Δxc⟩+⟨x,Δsc⟩=0 and ⟨Δxc,Δsc⟩=0\langle\Delta x^c,\Delta s^c\rangle=0⟨Δxc,Δsc⟩=0.

Significance

The result. Lemma 4 says that a step of any length along the combined direction reduces the infeasibility residuals and the complementarity gap by exactly the same factor. Starting from a point with μ0=1\mu^0=1μ0=1, the iterates satisfy G(zk)=μkG(z0)G(z^k)=\mu^kG(z^0)G(zk)=μkG(z0) and ⟨xk,sk⟩=μkϑ\langle x^k,s^k\rangle=\mu^k\vartheta⟨xk,sk⟩=μkϑ, so the algorithm needs no merit function to balance feasibility against optimality, in contrast with earlier nonsymmetric methods. The lemma also shows that adding the third-order corrector does not cost this property, which is what justifies using the corrector in MOSEK's exponential-cone solver.

Formalizing it. The result is proved in the paper; nothing here is open. To our knowledge none of Lemmas 2–4, the §2 homogeneity identities or the barrier sum rule has a machine-checked proof. The mission produces a formal homogeneous model for a general proper cone with a general LHSCB and a formal account of third-derivative calculus for logarithmically homogeneous barriers. Both are reusable in any analysis of interior-point methods for nonsymmetric cones (power cones, generalized power cones, hyperbolicity cones).

Difficulty

The obvious reading of Lemma 4 as bookkeeping with the linear map GGG stalls at the corrector: the term W−TηW^{-T}\etaW−Tη in (18) involves the third derivative of the barrier, and nothing in linear algebra says how it interacts with the complementarity gap. Controlling it needs the third-derivative calculus of logarithmically homogeneous barriers. In Lean that means relating gradient, the Hessian as fderiv of the gradient, and the third derivative as fderiv of the Hessian, and working with the symmetry of iterated Fréchet derivatives of a C3C^3C3 function, for which the Mathlib interface is thin. A second obstacle is the augmented barrier: the barrier properties of F^\hat FF^ must be transported to F^(x^)−log⁡τ\hat F(\hat x)-\log\tauF^(x^)−logτ on Rn+1\mathbb R^{n+1}Rn+1 through the splitting Rn+1=Rn×R\mathbb R^{n+1}=\mathbb R^n\times\mathbb RRn+1=Rn×R, including the boundary behaviour at the corner x^∈∂K^\hat x\in\partial\hat Kx^∈∂K^, τ=0\tau=0τ=0.

The first identity of Lemma 4 is misprinted in the paper as =0=0=0. A formalization following the printed statement would be false, not merely awkward.

Formalization scope

Vectors of the augmented space are EuclideanSpace ℝ (Fin (n + 1)); x^\hat xx^ is the first nnn coordinates and τ\tauτ (resp. κ\kappaκ) the last. AAA is a continuous linear map and ATA^TAT its Hilbert adjoint; full row rank is surjectivity. Proper cones, the Hessian hess, the barrier class IsLogHomBarrier and the conjugate conj are the published SelfScaledIPM.ShortStep.Setting. That barrier class adds three standard conditions to the paper's two (boundary blow-up, the ϑ\varthetaϑ-inequality and a positive definite Hessian), which the paper uses implicitly when it writes (F′′(x))−1(F''(x))^{-1}(F′′(x))−1 and calls FFF a barrier. WWW is a continuous linear equivalence and W−TW^{-T}W−T the adjoint of W−1W^{-1}W−1. F′′′(x)[u,w]F'''(x)[u,w]F′′′(x)[u,w] is fderiv ℝ (hess F) x u w and (F′′(x))−1(F''(x))^{-1}(F′′(x))−1 is ContinuousLinearMap.inverse. Every inner product includes the homogenizing term τκ\tau\kappaτκ.

Repairs, generalizations and specializations, each disclosed in the item statements:

  • Repair: Lemma 4's first identity is stated as −(1−γ)⟨x,s⟩-(1-\gamma)\langle x,s\rangle−(1−γ)⟨x,s⟩, as derived in the paper's own proof, instead of the printed 000.
  • Generalization: one proper cone K^\hat KK^ with one barrier replaces the paper's product K1×⋯×KkK_1\times\dots\times K_kK1​×⋯×Kk​. The product with the sum barrier is a special case.
  • Generalization: WWW is any nonsingular map satisfying (8). The paper's block-diagonal scaling with Wk+1=κ/τW_{k+1}=\sqrt{\kappa/\tau}Wk+1​=κ/τ​ is a special case.
  • Specialization: the sum rule is stated for K2=R+K_2=\mathbb R_+K2​=R+​, F2=−log⁡F_2=-\logF2​=−log, ϑ2=1\vartheta_2=1ϑ2​=1, the only case the paper applies.

The directions are predicates ("Δz\Delta zΔz solves (11)"), and the lemmas quantify over all solutions. The hypotheses are satisfiable. For the linear program n=m=1n=m=1n=m=1, A=1A=1A=1, b=c=1b=c=1b=c=1, K^=R+\hat K=\mathbb R_+K^=R+​, F^=−log⁡\hat F=-\logF^=−log, x=s=(1,1)x=s=(1,1)x=s=(1,1), y=0y=0y=0, W=IW=IW=I, system (11) has the unique solution Δxa=(0,0)\Delta x^a=(0,0)Δxa=(0,0), Δsa=(−1,−1)\Delta s^a=(-1,-1)Δsa=(−1,−1), Δya=1\Delta y^a=1Δya=1. Statements that hold only because a junk value appears are ruled out: every statement requires x∈int⁡Kx\in\operatorname{int}Kx∈intK and s∈int⁡K∗s\in\operatorname{int}K^*s∈intK∗, where log⁡τ\log\taulogτ, the inverse Hessian and the conjugate barrier take their true values. A formalization that drops τ,κ\tau,\kappaτ,κ from the inner products, or that fixes one solution of (18) instead of quantifying over all, would be a different lemma and does not count.

Welcome contributions: the general sum rule for products of cones, a Fin.append splitting library for EuclideanSpace, and proofs of the homogeneity identities that can be reused by the series' other missions.

Selected references

  • J. Dahl, E. D. Andersen, A primal-dual interior-point algorithm for nonsymmetric exponential-cone optimization, Math. Program. 194 (2022) 341–370. https://doi.org/10.1007/s10107-021-01631-4
  • Yu. Nesterov, M. J. Todd, Primal-dual interior-point methods for self-scaled cones, SIAM J. Optim. 8 (1998) 324–364. https://doi.org/10.1137/S1052623495290209
  • L. Tunçel, Generalization of primal-dual interior-point methods to convex optimization problems in conic form, Found. Comput. Math. 1 (2001) 229–254. https://doi.org/10.1007/s002080010009
  • A. Skajaa, Y. Ye, A homogeneous interior-point algorithm for nonsymmetric convex conic optimization, Math. Program. 150 (2015) 391–422. https://doi.org/10.1007/s10107-014-0773-1
  • T. Myklebust, L. Tunçel, Interior-point algorithms for convex optimization based on primal-dual metrics, arXiv:1411.2129 (2014). https://arxiv.org/abs/1411.2129
8 thms1 active userReviewed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

Efficiency of Coordinate Descent Methods on Huge-Scale Optimization Problems 3: For Block-Constrained Problems, Uniform Coordinate Descent Has Rate n/(n + k), Linear Under Strong ConvexityResearch Paper

Motivation

Coordinate descent methods update one block of variables at a time. They are the method of choice when the number of variables is so large that even one full gradient is too expensive, while a single partial derivative is cheap: support vector machines, ℓ1\ell_1ℓ1​-regularized regression, and large sparse least-squares problems are the standard examples. Yu. Nesterov's paper Efficiency of coordinate descent methods on huge-scale optimization problems (CORE Discussion Paper 2010/2; journal version SIAM J. Optim. 22 (2012), doi:10.1137/100802001) gave the first global efficiency estimates for randomized coordinate descent, and these estimates started a large literature on random coordinate and block methods.

Many applications carry simple constraints on each block: bounds on each variable, a simplex or a ball per block. Section 4 of the paper shows that randomized coordinate descent handles such block-separable constraints at no loss: a projected block step, chosen uniformly at random, enjoys the same O(n/k)O(n/k)O(n/k) expected rate as the unconstrained method, and a linear rate under strong convexity. This mission formalizes that result, Theorem 5.

Setting

The space RN\mathbb R^NRN is split into n≥1n\ge1n≥1 blocks, RN=Rn1×⋯×Rnn\mathbb R^N=\mathbb R^{n_1}\times\cdots\times\mathbb R^{n_n}RN=Rn1​×⋯×Rnn​ with N=∑iniN=\sum_in_iN=∑i​ni​ and every ni≥1n_i\ge1ni​≥1. A point xxx is the family of its blocks x(i)∈Rnix^{(i)}\in\mathbb R^{n_i}x(i)∈Rni​, and UihU_ihUi​h is the point whose iii-th block is hhh and whose other blocks are zero. Each block carries a Euclidean norm ∥h∥(i)2=⟨Bih,h⟩\|h\|_{(i)}^2=\langle B_ih,h\rangle∥h∥(i)2​=⟨Bi​h,h⟩ with Bi≻0B_i\succ0Bi​≻0 (3.4).

The objective f:RN→Rf:\mathbb R^N\to\mathbb Rf:RN→R is convex and differentiable, and its gradient is coordinate-wise Lipschitz (2.2): writing fi′(x)=UiT∇f(x)f'_i(x)=U_i^T\nabla f(x)fi′​(x)=UiT​∇f(x) for the iii-th block of the gradient, there are constants Li>0L_i>0Li​>0 with

∥fi′(x+Uih)−fi′(x)∥(i)∗≤Li∥h∥(i)for all x, i, h.\|f'_i(x+U_ih)-f'_i(x)\|^*_{(i)}\le L_i\|h\|_{(i)}\quad\text{for all }x,\ i,\ h .∥fi′​(x+Ui​h)−fi′​(x)∥(i)∗​≤Li​∥h∥(i)​for all x, i, h.

The weighted norm is ∥x∥12=∑iLi∥x(i)∥(i)2\|x\|_1^2=\sum_iL_i\|x^{(i)}\|_{(i)}^2∥x∥12​=∑i​Li​∥x(i)∥(i)2​ (3.5). The function fff is strongly convex in ∥⋅∥1\|\cdot\|_1∥⋅∥1​ with constant σ>0\sigma>0σ>0 if f(y)≥f(x)+⟨∇f(x),y−x⟩+σ2∥y−x∥12f(y)\ge f(x)+\langle\nabla f(x),y-x\rangle+\frac\sigma2\|y-x\|_1^2f(y)≥f(x)+⟨∇f(x),y−x⟩+2σ​∥y−x∥12​ for all x,yx,yx,y (3.1).

The problem is (4.1), min⁡x∈Qf(x)\min_{x\in Q}f(x)minx∈Q​f(x) with Q=Q1×⋯×QnQ=Q_1\times\cdots\times Q_nQ=Q1​×⋯×Qn​ and each Qi⊆RniQ_i\subseteq\mathbb R^{n_i}Qi​⊆Rni​ nonempty, closed and convex. Its optimal value is f∗f^*f∗, attained at an optimal solution x∗∈Qx_*\in Qx∗​∈Q. The constrained coordinate update (4.2) is

u(i)(x)=arg⁡min⁡u∈Qi[⟨fi′(x),u−x(i)⟩+Li2∥u−x(i)∥(i)2],Vi(x)=x+Ui(u(i)(x)−x(i)).u^{(i)}(x)=\arg\min_{u\in Q_i}\Big[\langle f'_i(x),u-x^{(i)}\rangle+\tfrac{L_i}2\|u-x^{(i)}\|_{(i)}^2\Big],\qquad V_i(x)=x+U_i\big(u^{(i)}(x)-x^{(i)}\big).u(i)(x)=argu∈Qi​min​[⟨fi′​(x),u−x(i)⟩+2Li​​∥u−x(i)∥(i)2​],Vi​(x)=x+Ui​(u(i)(x)−x(i)).

The uniform coordinate descent method UCDM(x0)(x_0)(x0​) (4.5) draws iki_kik​ uniformly from {1,…,n}\{1,\dots,n\}{1,…,n} and sets xk+1=Vik(xk)x_{k+1}=V_{i_k}(x_k)xk+1​=Vik​​(xk​). Its expected objective is φk=Ef(xk)\varphi_k=\mathbb E f(x_k)φk​=Ef(xk​), the expectation over i0,…,ik−1i_0,\dots,i_{k-1}i0​,…,ik−1​. The level-set radius R1(x0)R_1(x_0)R1​(x0​) is the largest ∥⋅∥1\|\cdot\|_1∥⋅∥1​-distance between a feasible xxx with f(x)≤f(x0)f(x)\le f(x_0)f(x)≤f(x0​) and an optimal solution.

Formalization targets

Goal: Theorem 5

For every k≥0k\ge0k≥0,

φk−f∗≤nn+k[12R12(x0)+f(x0)−f∗],\varphi_k-f^*\le\frac n{n+k}\Big[\tfrac12R_1^2(x_0)+f(x_0)-f^*\Big],φk​−f∗≤n+kn​[21​R12​(x0​)+f(x0​)−f∗],

and, if fff is strongly convex in ∥⋅∥1\|\cdot\|_1∥⋅∥1​ with constant σ>0\sigma>0σ>0,

φk−f∗≤(1−2σn(1+σ))k(12R12(x0)+f(x0)−f∗).(4.6)\varphi_k-f^*\le\Big(1-\frac{2\sigma}{n(1+\sigma)}\Big)^k\Big(\tfrac12R_1^2(x_0)+f(x_0)-f^*\Big).\qquad(4.6)φk​−f∗≤(1−n(1+σ)2σ​)k(21​R12​(x0​)+f(x0​)−f∗).(4.6)

Milestones

  1. (4.3): the optimality condition ⟨fi′(x)+LiBi(u(i)(x)−x(i)),u−u(i)(x)⟩≥0\langle f'_i(x)+L_iB_i(u^{(i)}(x)-x^{(i)}),u-u^{(i)}(x)\rangle\ge0⟨fi′​(x)+Li​Bi​(u(i)(x)−x(i)),u−u(i)(x)⟩≥0 for all u∈Qiu\in Q_iu∈Qi​.
  2. (4.4): for feasible xxx, f(x)−f(Vi(x))≥Li2∥u(i)(x)−x(i)∥(i)2f(x)-f(V_i(x))\ge\frac{L_i}2\|u^{(i)}(x)-x^{(i)}\|_{(i)}^2f(x)−f(Vi​(x))≥2Li​​∥u(i)(x)−x(i)∥(i)2​.
  3. (4.7): with rk=∥xk−x∗∥1r_k=\|x_k-x_*\|_1rk​=∥xk​−x∗​∥1​,  Eik(12rk+12+f(xk+1)−f∗)≤12rk2+f(xk)−f∗+1n⟨∇f(xk),x∗−xk⟩\ \mathbb E_{i_k}\big(\frac12r_{k+1}^2+f(x_{k+1})-f^*\big)\le\frac12r_k^2+f(x_k)-f^*+\frac1n\langle\nabla f(x_k),x_*-x_k\rangle Eik​​(21​rk+12​+f(xk+1​)−f∗)≤21​rk2​+f(xk​)−f∗+n1​⟨∇f(xk​),x∗​−xk​⟩.
  4. Footnote 2: under (2.2), the strong convexity constant satisfies σ≤1\sigma\le1σ≤1.

Significance

The result. Theorem 5 shows that the cost of a constrained problem with separable constraints is, up to the projection onto each QiQ_iQi​, the cost of the unconstrained one: O(n/ϵ)O(n/\epsilon)O(n/ϵ) block steps for accuracy ϵ\epsilonϵ, and O(nσlog⁡1ϵ)O\big(\frac n\sigma\log\frac1\epsilon\big)O(σn​logϵ1​) under strong convexity. The method needs no knowledge of σ\sigmaσ; the same iteration attains whichever rate applies. The Lyapunov function 12∥x−x∗∥12+f(x)−f∗\frac12\|x-x_*\|_1^2+f(x)-f^*21​∥x−x∗​∥12​+f(x)−f∗ of (4.7) needs no level-set argument, so it applies wherever the projected step is cheap.

Formalizing it. The theorem is proved in the paper; no machine-checked proof of it, or of any rate for a randomized constrained coordinate method, appears in the Prove2Me catalogue or in Mathlib. The Prove2Me catalogue holds Bubeck's scalar, unconstrained random coordinate descent results (ConvexOptAlg.CoordDescent.*) and the deterministic Tseng–Yun coordinate gradient descent; neither covers a projected block step. A formalization produces the first verified rate for a randomized method with constraints, and a reusable model of block-structured spaces, block projections and expectations over random index sequences.

Difficulty

The unconstrained analysis of the paper (Theorem 1) bounds the distance to the optimum by a level-set radius and uses the decrease f(x)−f(Ti(x))≥(∥fi′(x)∥(i)∗)2/(2Li)f(x)-f(T_i(x))\ge(\|f'_i(x)\|^*_{(i)})^2/(2L_i)f(x)−f(Ti​(x))≥(∥fi′​(x)∥(i)∗​)2/(2Li​) of a gradient step. Neither carries over: with constraints the gradient at the optimum need not vanish, so the decrease of a projected step is not controlled by the gradient norm, and the unconstrained recursion φk−φk+1≥(φk−f∗)2/C\varphi_k-\varphi_{k+1}\ge(\varphi_k-f^*)^2/Cφk​−φk+1​≥(φk​−f∗)2/C is not available. A different potential is needed, and its one-step estimate (4.7) is the central milestone. For the linear rate, the contraction factor must be shown nonnegative without assuming σ≤1\sigma\le1σ≤1, which is where footnote 2 enters.

Formalization scope

RN\mathbb R^NRN is the dependent product Blocks E =∏i:Fin nEi=\prod_{i:\mathrm{Fin}\,n}E_i=∏i:Finn​Ei​, each EiE_iEi​ a finite-dimensional real inner product space whose inner product is the paper's ⟨Bi⋅,⋅⟩\langle B_i\cdot,\cdot\rangle⟨Bi​⋅,⋅⟩. Indices are 0-based. The dual norm is the operator norm of linear functionals, and fi′(x)f'_i(x)fi′​(x) is the Fréchet derivative of fff composed with the block inclusion. Random draws are explicit index sequences, so φk\varphi_kφk​ is the finite average of f(xk)f(x_k)f(xk​) over all nkn^knk sequences of draws; no measure theory is involved.

Explicit choices where the paper is silent:

  • n≥1n\ge1n≥1, every block nontrivial (ni≥1n_i\ge1ni​≥1), and Li>0L_i>0Li​>0 are hypotheses.
  • Every QiQ_iQi​ is nonempty, and x0∈Qx_0\in Qx0​∈Q. The paper leaves both implicit; without x0∈Qx_0\in Qx0​∈Q the iterates are infeasible and φk−f∗\varphi_k-f^*φk​−f∗ can be negative.
  • u(i)(x)u^{(i)}(x)u(i)(x) is a choice among the minimizers of the block subproblem. Under the hypotheses the minimizer exists and is unique, so the choice is the paper's update.
  • R1(x0)R_1(x_0)R1​(x0​) is never computed: the theorem takes any RRR with ∥x−x∗∥1≤R\|x-x_*\|_1\le R∥x−x∗​∥1​≤R for every feasible xxx with f(x)≤f(x0)f(x)\le f(x_0)f(x)≤f(x0​) and every optimal solution x∗x_*x∗​. This is equivalent to the paper's bound when R1(x0)R_1(x_0)R1​(x0​) is finite and avoids the default value of a supremum. The level set is taken inside QQQ, the reading of the p. 7 definition for problem (4.1).
  • f∗f^*f∗ is the constrained optimum f(x∗)f(x_*)f(x∗​) for an optimal solution x∗∈Qx_*\in Qx∗​∈Q, not an unconstrained minimum.
  • Strong convexity is (3.1) on all of RN\mathbb R^NRN in ∥⋅∥1\|\cdot\|_1∥⋅∥1​. The linear rate does not assume σ≤1\sigma\le1σ≤1; footnote 2 derives it.
  • Printed typos are corrected in the Lean: UiTU_i^TUiT​ in (4.2) is UiU_iUi​; uiu^iui in (4.3) is u(i)u^{(i)}u(i).

A formalization in which the update is an arbitrary point of QiQ_iQi​ or an unprojected gradient step, the draws are not uniform, or f∗f^*f∗ is the unconstrained minimum, proves a different theorem and is ruled out by the definitions above.

Needed infrastructure: existence and the variational characterization of the minimizer of a strongly convex quadratic over a closed convex set (Mathlib has projections onto closed convex sets in Hilbert spaces), the block descent inequality (2.3) obtained from (2.2), and manipulation of the finite expectations over index sequences (conditioning on the last draw). The block model, the weighted norm and the expectation are shared with the other missions of this series. Proofs of the milestones, and of (2.3) as a supporting lemma, are welcome.

Selected references

  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, CORE Discussion Paper 2010/2, Université catholique de Louvain, 2010. https://core.ac.uk/download/6430808.pdf
  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, SIAM Journal on Optimization 22(2) (2012), 341–362. https://doi.org/10.1137/100802001
  • Yu. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004 (Section 2.1, cited in the proof). https://doi.org/10.1007/978-1-4419-8853-9
  • P. Tseng and S. Yun, A coordinate gradient descent method for nonsmooth separable minimization, Mathematical Programming 117 (2009), 387–423. https://doi.org/10.1007/s10107-007-0170-0
8 thms1 active userReviewed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

Efficiency of Coordinate Descent Methods on Huge-Scale Optimization Problems 4: Accelerated Coordinate Descent ACDM Has Expected Error at Most (n/(k + 1))²·(2‖x₀ − x*‖₁² + (f(x₀) − f*)/n²)Research Paper

Motivation

Coordinate descent methods update one block of variables at a time. For problems with millions or billions of variables, where even one full gradient is too expensive to compute or store, a step that touches a single block can be orders of magnitude cheaper than a full gradient step. Nesterov's Efficiency of coordinate descent methods on huge-scale optimization problems (CORE Discussion Paper 2010/2; journal version SIAM J. Optim. 22 (2012) 341–362, doi:10.1137/100802001) gave the first global complexity bounds for randomized coordinate descent on smooth convex functions: choosing the block at random makes the expected progress per step comparable to that of a full gradient step divided by the number of blocks.

Section 5 of the paper asks whether the multistep acceleration of the full gradient method (Nesterov 1983) carries over to the randomized coordinate setting, and answers it with the accelerated coordinate descent method ACDM. This mission formalizes that answer: Theorem 6, the O(n2/k2)O(n^2/k^2)O(n2/k2) expected rate of ACDM, together with the lemmas of its proof.

Timeline. Nesterov (1983) introduced the accelerated full-gradient method with rate O(1/k2)O(1/k^2)O(1/k2). Nesterov (CORE DP 2010/2; SIAM J. Optim. 2012) proved the O(n/k)O(n/k)O(n/k) rate of random block coordinate descent and the O(n2/k2)O(n^2/k^2)O(n2/k2) rate of its accelerated variant ACDM. Later work (Lee and Sidford 2013; Fercoq and Richtárik 2015, arXiv:1312.5799; Allen-Zhu, Qu, Richtárik and Yuan 2016, arXiv:1512.09103) made the accelerated scheme efficient per iteration and sharpened its constants.

Setting

The space is RN=Rn1×⋯×Rnn\mathbb R^N=\mathbb R^{n_1}\times\cdots\times\mathbb R^{n_n}RN=Rn1​×⋯×Rnn​, split into n≥1n\ge1n≥1 blocks. A point xxx has blocks x(i)∈Rnix^{(i)}\in\mathbb R^{n_i}x(i)∈Rni​, and UihU_ihUi​h is the point whose iii-th block is hhh and whose other blocks vanish. Each block carries a Euclidean norm ∥h∥(i)2=⟨Bih,h⟩\|h\|_{(i)}^2=\langle B_ih,h\rangle∥h∥(i)2​=⟨Bi​h,h⟩ with Bi≻0B_i\succ0Bi​≻0.

The objective f:RN→Rf:\mathbb R^N\to\mathbb Rf:RN→R is convex and differentiable, and has a coordinate-wise Lipschitz gradient: the partial gradient fi′(x)=UiT∇f(x)f'_i(x)=U_i^T\nabla f(x)fi′​(x)=UiT​∇f(x) satisfies ∥fi′(x+Uih)−fi′(x)∥(i)∗≤Li∥h∥(i)\|f'_i(x+U_ih)-f'_i(x)\|^*_{(i)}\le L_i\|h\|_{(i)}∥fi′​(x+Ui​h)−fi′​(x)∥(i)∗​≤Li​∥h∥(i)​ with constants Li>0L_i>0Li​>0. The method weighs blocks by these constants through the norm

∥x∥12=∑i=1nLi∥x(i)∥(i)2.\|x\|_1^2=\sum_{i=1}^nL_i\|x^{(i)}\|_{(i)}^2 .∥x∥12​=i=1∑n​Li​∥x(i)∥(i)2​.

The function fff is strongly convex in this norm with parameter σ≥0\sigma\ge0σ≥0 if f(y)≥f(x)+⟨∇f(x),y−x⟩+σ2∥y−x∥12f(y)\ge f(x)+\langle\nabla f(x),y-x\rangle+\frac\sigma2\|y-x\|_1^2f(y)≥f(x)+⟨∇f(x),y−x⟩+2σ​∥y−x∥12​ for all x,yx,yx,y; σ=0\sigma=0σ=0 is plain convexity. A point x∗x^*x∗ minimizes fff, and f∗=f(x∗)f^*=f(x^*)f∗=f(x∗).

The optimal coordinate step is Ti(x)=x−1LiUifi′(x)#T_i(x)=x-\frac1{L_i}U_if'_i(x)^\#Ti​(x)=x−Li​1​Ui​fi′​(x)#, where s#s^\#s# maximizes ⟨s,x⟩−12∥x∥2\langle s,x\rangle-\frac12\|x\|^2⟨s,x⟩−21​∥x∥2. ACDM(x0)(x_0)(x0​) keeps two sequences xk,vkx_k,v_kxk​,vk​ with v0=x0v_0=x_0v0​=x0​ and deterministic scalars a0=1/na_0=1/na0​=1/n, b0=2b_0=2b0​=2. At step kkk it computes γk≥1/n\gamma_k\ge1/nγk​≥1/n from γk2−γk/n=(1−γkσ/n)ak2/bk2\gamma_k^2-\gamma_k/n=(1-\gamma_k\sigma/n)a_k^2/b_k^2γk2​−γk​/n=(1−γk​σ/n)ak2​/bk2​, sets αk=n−γkσγk(n2−σ)\alpha_k=\frac{n-\gamma_k\sigma}{\gamma_k(n^2-\sigma)}αk​=γk​(n2−σ)n−γk​σ​ and βk=1−γkσ/n\beta_k=1-\gamma_k\sigma/nβk​=1−γk​σ/n, forms yk=αkvk+(1−αk)xky_k=\alpha_kv_k+(1-\alpha_k)x_kyk​=αk​vk​+(1−αk​)xk​, draws a block iki_kik​ uniformly at random, and updates

xk+1=Tik(yk),vk+1=βkvk+(1−βk)yk−γkLikUikfik′(yk)#,x_{k+1}=T_{i_k}(y_k),\qquad v_{k+1}=\beta_kv_k+(1-\beta_k)y_k-\frac{\gamma_k}{L_{i_k}}U_{i_k}f'_{i_k}(y_k)^\#,xk+1​=Tik​​(yk​),vk+1​=βk​vk​+(1−βk​)yk​−Lik​​γk​​Uik​​fik​′​(yk​)#,

bk+1=bk/βkb_{k+1}=b_k/\sqrt{\beta_k}bk+1​=bk​/βk​​, ak+1=γkbk+1a_{k+1}=\gamma_kb_{k+1}ak+1​=γk​bk+1​. The quantity ϕk=E f(xk)\phi_k=\mathbb E\,f(x_k)ϕk​=Ef(xk​) is the expectation over the first kkk draws.

Formalization targets

Goal: Theorem 6, (5.3)

For every k≥0k\ge0k≥0, with D=2∥x0−x∗∥12+1n2(f(x0)−f∗)D=2\|x_0-x^*\|_1^2+\frac1{n^2}(f(x_0)-f^*)D=2∥x0​−x∗∥12​+n21​(f(x0​)−f∗),

ϕk−f∗≤(nk+1)2D,\phi_k-f^*\le\Big(\frac n{k+1}\Big)^2D,ϕk​−f∗≤(k+1n​)2D,

and, when σ>0\sigma>0σ>0,

ϕk−f∗≤σD[(1+σ2n)k+1−(1−σ2n)k+1]−2≤(nk+1)2D.\phi_k-f^*\le\sigma D\Big[\Big(1+\tfrac{\sqrt\sigma}{2n}\Big)^{k+1}-\Big(1-\tfrac{\sqrt\sigma}{2n}\Big)^{k+1}\Big]^{-2}\le\Big(\frac n{k+1}\Big)^2D .ϕk​−f∗≤σD[(1+2nσ​​)k+1−(1−2nσ​​)k+1]−2≤(k+1n​)2D.

Milestones

  1. (5.1), well-definedness: γk≥1/n\gamma_k\ge1/nγk​≥1/n is the unique such root, 0<αk,βk≤10<\alpha_k,\beta_k\le10<αk​,βk​≤1.
  2. (5.2): γk2−γk/n=βkak2/bk2=(βkγk/n)(1−αk)/αk\gamma_k^2-\gamma_k/n=\beta_ka_k^2/b_k^2=(\beta_k\gamma_k/n)(1-\alpha_k)/\alpha_kγk2​−γk​/n=βk​ak2​/bk2​=(βk​γk​/n)(1−αk​)/αk​.
  3. The potential inequality: 2ak+12(ϕk+1−f∗)+bk+12Erk+12≤2ak2(ϕk−f∗)+bk2Erk22a_{k+1}^2(\phi_{k+1}-f^*)+b_{k+1}^2\mathbb E r_{k+1}^2\le2a_k^2(\phi_k-f^*)+b_k^2\mathbb E r_k^22ak+12​(ϕk+1​−f∗)+bk+12​Erk+12​≤2ak2​(ϕk​−f∗)+bk2​Erk2​, rk=∥vk−x∗∥1r_k=\|v_k-x^*\|_1rk​=∥vk​−x∗∥1​.
  4. (5.4) bk+1≥bk+σ2nakb_{k+1}\ge b_k+\frac\sigma{2n}a_kbk+1​≥bk​+2nσ​ak​ and (5.5) ak+1≥ak+12nbka_{k+1}\ge a_k+\frac1{2n}b_kak+1​≥ak​+2n1​bk​.
  5. ak≥1σ[Q1k+1−Q2k+1]a_k\ge\frac1{\sqrt\sigma}[Q_1^{k+1}-Q_2^{k+1}]ak​≥σ​1​[Q1k+1​−Q2k+1​] and bk≥Q1k+1+Q2k+1b_k\ge Q_1^{k+1}+Q_2^{k+1}bk​≥Q1k+1​+Q2k+1​, Q1,2=1±σ2nQ_{1,2}=1\pm\frac{\sqrt\sigma}{2n}Q1,2​=1±2nσ​​.
  6. (1+t)k−(1−t)k≥2kt(1+t)^k-(1-t)^k\ge2kt(1+t)k−(1−t)k≥2kt for t≥0t\ge0t≥0, hence Q1k+1−Q2k+1≥k+1nσQ_1^{k+1}-Q_2^{k+1}\ge\frac{k+1}n\sqrt\sigmaQ1k+1​−Q2k+1​≥nk+1​σ​.

Significance

The result. Theorem 6 shows that randomized coordinate descent can be accelerated: the expected error falls as n2/k2n^2/k^2n2/k2 instead of the n/kn/kn/k of the plain method, so after k=n⋅mk=n\cdot mk=n⋅m iterations (about mmm full-gradient equivalents) the error is O(1/m2)O(1/m^2)O(1/m2), the rate of the accelerated full-gradient method. For σ>0\sigma>0σ>0 the same scheme converges linearly with a ratio governed by σ/n\sqrt\sigma/nσ​/n rather than σ/n\sigma/nσ/n. This is the starting point of the accelerated randomized coordinate methods (APPROX, NU-ACDM, accelerated proximal coordinate gradient) now used in large-scale machine learning.

Formalizing it. The theorem is proved in the paper; to our knowledge neither it nor any accelerated coordinate method has a machine-checked proof. The Lean development pins down a scheme whose correctness rests on a delicate parameter identity and on several conventions left implicit in the text (the range of σ\sigmaσ, the reading of (5.3) at σ=0\sigma=0σ=0).

Difficulty

The plain coordinate descent analysis tracks f(xk)f(x_k)f(xk​) alone and fails to accelerate: one coordinate step gains only 1n\frac1nn1​ of a full gradient step, and a momentum term built naively from coordinate steps does not keep the expected progress. The accelerated proof needs a potential mixing the function gap with a squared distance ∥vk−x∗∥12\|v_k-x^*\|_1^2∥vk​−x∗∥12​, weighted by the deterministic sequences ak2a_k^2ak2​ and bk2b_k^2bk2​; the weights must make the cross terms in ∥yk−x∗∥12\|y_k-x^*\|_1^2∥yk​−x∗∥12​ and f(yk)f(y_k)f(yk​) cancel exactly after taking the expectation in the drawn block, which is what the coupled choice of γk,αk,βk\gamma_k,\alpha_k,\beta_kγk​,αk​,βk​ achieves. The second difficulty is quantitative: the growth of aka_kak​ follows from coupled recursions for aka_kak​ and bkb_kbk​, not from a closed form.

Formalization scope

  • Space. RN\mathbb R^NRN is Blocks E, the dependent product of finite-dimensional real inner-product spaces E i over Fin n (indices 0,…,n−10,\dots,n-10,…,n−1); BiB_iBi​ is absorbed into the inner product of E i. The dual norm is the operator norm of E i →L[ℝ] ℝ.
  • Randomness. Draws are explicit sequences Fin k → Fin n; ϕk\phi_kϕk​ and Erk2\mathbb E r_k^2Erk2​ are finite averages over all nkn^knk sequences with weight n−kn^{-k}n−k. No measure theory is needed.
  • s#s^\#s#. Theorems hold for every selection satisfying (1.8), not a fixed choice.
  • Explicit hypotheses. The paper's standing assumptions become hypotheses: n≥1n\ge1n≥1; Li>0L_i>0Li​>0; fff differentiable with (2.2); a minimizer x∗x^*x∗ exists. The convexity parameter σ\sigmaσ is any valid one (not necessarily the largest) with 0≤σ<n20\le\sigma<n^20≤σ<n2. The paper states σ≥0\sigma\ge0σ≥0 only; σ<n2\sigma<n^2σ<n2 is needed because αk\alpha_kαk​ divides by n2−σn^2-\sigman2−σ, and by footnote 2 (σ≤1\sigma\le1σ≤1) it excludes only n=1n=1n=1, σ=1\sigma=1σ=1.
  • The case σ=0\sigma=0σ=0 of (5.3). The paper's middle expression is 0⋅[0]−20\cdot[0]^{-2}0⋅[0]−2 at σ=0\sigma=0σ=0, read as a limit. Lean would evaluate it to 000, which would turn the statement into the false claim ϕk≤f∗\phi_k\le f^*ϕk​≤f∗; the chain is therefore stated for σ>0\sigma>0σ>0, and the outer bound (n/(k+1))2D(n/(k+1))^2D(n/(k+1))2D separately for all σ≥0\sigma\ge0σ≥0. Likewise the bound on aka_kak​ involving 1/σ1/\sqrt\sigma1/σ​ is stated for σ>0\sigma>0σ>0.
  • The coefficient γk\gamma_kγk​ is the closed-form larger root of the quadratic in step 1; a milestone certifies it is the unique root ≥1/n\ge1/n≥1/n.
  • No trivialization. A formalization in which σ=0\sigma=0σ=0 is allowed in the middle bound, or in which ϕk\phi_kϕk​ is computed with a draw distribution other than uniform, or in which the coefficients depend on the draws, is not this theorem.
  • Corrections of the printed text. The update of vk+1v_{k+1}vk+1​ prints fi′(yk)#f'_i(y_k)^\#fi′​(yk​)#; the index is iki_kik​. The middle term bk2rk2b_k^2r_k^2bk2​rk2​ of the potential inequality, written after the expectation in ξk−1\xi_{k-1}ξk−1​, is bk2Erk2b_k^2\mathbb E r_k^2bk2​Erk2​.
  • Reusable parts. The block encoding (Blocks, partialGrad, CoordLipschitz, coordStep, wnorm, expect) is shared verbatim with the other missions of this series. The coefficient lemmas (5.2), (5.4), (5.5) and the growth bounds are pure real analysis and welcome as standalone contributions; so is a Lean proof of the block descent inequality (2.3)–(2.4) for Euclidean blocks, which the potential inequality needs.

Selected references

  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, CORE Discussion Paper 2010/2, Université catholique de Louvain, 2010. Journal version: SIAM J. Optim. 22(2) (2012) 341–362. https://doi.org/10.1137/100802001
  • Yu. Nesterov, A method for solving the convex programming problem with convergence rate O(1/k²), Soviet Math. Dokl. 27 (1983) 372–376.
  • Y. T. Lee, A. Sidford, Efficient accelerated coordinate descent methods and faster algorithms for solving linear systems, FOCS 2013. https://arxiv.org/abs/1305.1922
  • O. Fercoq, P. Richtárik, Accelerated, parallel and proximal coordinate descent, SIAM J. Optim. 25(4) (2015) 1997–2023. https://arxiv.org/abs/1312.5799
  • Z. Allen-Zhu, Z. Qu, P. Richtárik, Y. Yuan, Even faster accelerated coordinate descent using non-uniform sampling, ICML 2016. https://arxiv.org/abs/1512.09103
  • S. Bubeck, Convex optimization: algorithms and complexity, Found. Trends Mach. Learn. 8 (2015), §3.7 (Nesterov's accelerated gradient descent, formalized on Prove2Me as ConvexOptAlg.NesterovSmooth.theorem_3_19). https://arxiv.org/abs/1405.4980
11 thms1 active userReviewed
Machine Learning·Captain: mikedeng1

Online Learning and Online Convex Optimization 3: Winnow Makes at Most (Σₜ fₜ(u) + k log(d)/η)/(1 − 2η) Mistakes, and 8k log d on Separable k-Literal DisjunctionsResearch Paper

Motivation

A monotone disjunction over ddd Boolean variables is a rule of the form x[i1]∨⋯∨x[ik]x[i_1]\vee\dots\vee x[i_k]x[i1​]∨⋯∨x[ik​]. Learning such a rule online — predicting the label of each example before it is revealed and paying one unit per wrong prediction — is the basic test case for learning when only a few of many features matter. Littlestone's Winnow algorithm (Littlestone 1988) learns a kkk-literal disjunction with O(klog⁡d)O(k\log d)O(klogd) mistakes, while additive algorithms such as the Perceptron need a number of mistakes that grows linearly in ddd on the same problem. Kivinen and Warmuth (1997) placed this gap inside a general theory of multiplicative versus additive updates. Shalev-Shwartz's survey (2011) derives Winnow as a special case of Online Mirror Descent with an unnormalized entropy regularizer, and obtains its mistake bound from a general local-norm regret bound. This mission formalizes that derivation.

Setting

Throughout, labels are yt∈{−1,1}y_t\in\{-1,1\}yt​∈{−1,1} and instances are xt∈{0,1}dx_t\in\{0,1\}^dxt​∈{0,1}d. For u∈{0,1}du\in\{0,1\}^du∈{0,1}d with ∥u∥1=k\|u\|_1=k∥u∥1​=k, the hypothesis x↦sign⁡(⟨u,x⟩−1/2)x\mapsto\operatorname{sign}(\langle u,x\rangle-1/2)x↦sign(⟨u,x⟩−1/2) is the disjunction of the kkk variables with u[i]=1u[i]=1u[i]=1. A weight vector www errs on (x,y)(x,y)(x,y) when y(2⟨w,x⟩−1)≤0y(2\langle w,x\rangle-1)\le0y(2⟨w,x⟩−1)≤0.

Winnow with parameter η>0\eta>0η>0 starts from w1=(1/d,…,1/d)w_1=(1/d,\dots,1/d)w1​=(1/d,…,1/d). On round ttt it receives xtx_txt​, predicts sign⁡(2⟨wt,xt⟩−1)\operatorname{sign}(2\langle w_t,x_t\rangle-1)sign(2⟨wt​,xt​⟩−1), and receives yty_tyt​. If yt(2⟨wt,xt⟩−1)≤0y_t(2\langle w_t,x_t\rangle-1)\le0yt​(2⟨wt​,xt​⟩−1)≤0 it sets wt+1[i]=wt[i]e2ηytxt[i]w_{t+1}[i]=w_t[i]e^{2\eta y_tx_t[i]}wt+1​[i]=wt​[i]e2ηyt​xt​[i] for every iii; otherwise wt+1=wtw_{t+1}=w_twt+1​=wt​. The set M\mathcal MM collects the rounds on which it errs. On those rounds the surrogate loss is the hinge loss ft(w)=[1−yt(2⟨w,xt⟩−1)]+f_t(w)=[1-y_t(2\langle w,x_t\rangle-1)]_+ft​(w)=[1−yt​(2⟨w,xt​⟩−1)]+​, and ft=0f_t=0ft​=0 on all other rounds.

Unnormalized Exponentiated Gradient with parameters η,λ>0\eta,\lambda>0η,λ>0, run on linear losses zt∈Rdz_t\in\mathbb R^dzt​∈Rd, keeps wt[i]=λe−ηz1:t−1[i]w_t[i]=\lambda e^{-\eta z_{1:t-1}[i]}wt​[i]=λe−ηz1:t−1​[i], where z1:t−1=∑s<tzsz_{1:t-1}=\sum_{s<t}z_sz1:t−1​=∑s<t​zs​. Winnow is this algorithm with λ=1/d\lambda=1/dλ=1/d and zt=−2ytxtz_t=-2y_tx_tzt​=−2yt​xt​ on t∈Mt\in\mathcal Mt∈M, zt=0z_t=0zt​=0 otherwise.

Online Mirror Descent (OMD) with link function ggg predicts wt=g(−z1:t−1)w_t=g(-z_{1:t-1})wt​=g(−z1:t−1​). Its analysis uses the Fenchel conjugate R⋆(θ)=sup⁡w∈S(⟨w,θ⟩−R(w))R^\star(\theta)=\sup_{w\in S}(\langle w,\theta\rangle-R(w))R⋆(θ)=supw∈S​(⟨w,θ⟩−R(w)) of a regularizer RRR on a set SSS, and the Bregman divergence DF(a∥b)=F(a)−F(b)−⟨∇F(b),a−b⟩D_F(a\|b)=F(a)-F(b)-\langle\nabla F(b),a-b\rangleDF​(a∥b)=F(a)−F(b)−⟨∇F(b),a−b⟩.

Formalization targets

Goal: Theorem 3.10

For 0<η<1/20<\eta<1/20<η<1/2, k≥1k\ge1k≥1 and every u∈{0,1}du\in\{0,1\}^du∈{0,1}d with ∥u∥1=k\|u\|_1=k∥u∥1​=k,

∣M∣≤∑t=1Tft(wt)≤11−2η(∑t=1Tft(u)+klog⁡dη),|\mathcal M|\le\sum_{t=1}^T f_t(w_t)\le\frac{1}{1-2\eta}\Bigl(\sum_{t=1}^T f_t(u)+\frac{k\log d}{\eta}\Bigr),∣M∣≤t=1∑T​ft​(wt​)≤1−2η1​(t=1∑T​ft​(u)+ηklogd​),

and if yt(2⟨u,xt⟩−1)≥1y_t(2\langle u,x_t\rangle-1)\ge1yt​(2⟨u,xt​⟩−1)≥1 for all ttt, the run with η=1/4\eta=1/4η=1/4 satisfies

∣M∣≤8klog⁡d.|\mathcal M|\le8k\log d.∣M∣≤8klogd.

Milestones

  1. Lemma 2.20: for OMD with link g=∇R⋆g=\nabla R^\starg=∇R⋆ and every u∈Su\in Su∈S,
∑t=1T⟨wt−u,zt⟩≤R(u)−R(w1)+∑t=1TDR⋆(−z1:t∥−z1:t−1),\sum_{t=1}^T\langle w_t-u,z_t\rangle\le R(u)-R(w_1)+\sum_{t=1}^TD_{R^\star}(-z_{1:t}\|-z_{1:t-1}),t=1∑T​⟨wt​−u,zt​⟩≤R(u)−R(w1​)+t=1∑T​DR⋆​(−z1:t​∥−z1:t−1​),

with equality at a minimizer of R(u)+∑t⟨u,zt⟩R(u)+\sum_t\langle u,z_t\rangleR(u)+∑t​⟨u,zt​⟩. 2. Theorem 2.23: if ηzt[i]≥−1\eta z_t[i]\ge-1ηzt​[i]≥−1 for all t,it,it,i, then for all u≥0u\ge0u≥0

∑t=1T⟨wt−u,zt⟩≤dλ+∑iu[i]log⁡(u[i]/(eλ))η+η∑t=1T∑iwt[i]zt[i]2,\sum_{t=1}^T\langle w_t-u,z_t\rangle\le\frac{d\lambda+\sum_iu[i]\log(u[i]/(e\lambda))}{\eta}+\eta\sum_{t=1}^T\sum_iw_t[i]z_t[i]^2,t=1∑T​⟨wt​−u,zt​⟩≤ηdλ+∑i​u[i]log(u[i]/(eλ))​+ηt=1∑T​i∑​wt​[i]zt​[i]2,

together with its specialization to λ=1/d\lambda=1/dλ=1/d. 3. (3.3): ∑t(ft(wt)−ft(u))≤∑t⟨wt−u,zt⟩≤klog⁡(d)/η+η∑t∑iwt[i]zt[i]2\sum_t(f_t(w_t)-f_t(u))\le\sum_t\langle w_t-u,z_t\rangle\le k\log(d)/\eta+\eta\sum_t\sum_iw_t[i]z_t[i]^2∑t​(ft​(wt​)−ft​(u))≤∑t​⟨wt​−u,zt​⟩≤klog(d)/η+η∑t​∑i​wt​[i]zt​[i]2 for Winnow. 4. (3.4): ∑iwt[i]zt[i]2≤2ft(wt)\sum_iw_t[i]z_t[i]^2\le2f_t(w_t)∑i​wt​[i]zt​[i]2≤2ft​(wt​) for every round.

Significance

The theorem gives a mistake bound for learning sparse disjunctions that is logarithmic in the number of irrelevant features, against the 4(d+1)k4(d+1)k4(d+1)k of the Perceptron run on the same surrogate (p. 173). The first inequality also covers non-separable data: the bound degrades by ∑tft(u)\sum_tf_t(u)∑t​ft​(u), the total hinge violation of the best disjunction. The milestones are general and carry weight beyond Winnow. Lemma 2.20 is the standard duality form of the OMD regret bound. Theorem 2.23 is a local-norm bound that also allows negative losses down to −1/η-1/\eta−1/η.

All four results are proved on paper. To our knowledge none has a machine-checked proof, in Lean or elsewhere. This mission produces such proofs for the survey's own route: OMD duality, then unnormalized EG, then Winnow.

Difficulty

The obvious route bounds Winnow directly with a potential function, but the survey's statement sits at the end of a chain. The chain needs Fenchel–Young with an attained supremum, a telescoping identity for the conjugate, and the inequality e−a≤1−a+a2e^{-a}\le1-a+a^2e−a≤1−a+a2 for a≥−1a\ge-1a≥−1. It also needs a reduction in which the surrogate losses ftf_tft​ depend on the algorithm's own error set M\mathcal MM. Since ftf_tft​ is defined after the run, the subgradient inequality must be argued for exactly these losses. The bound 1+∑iu[i]log⁡(du[i]/e)≤klog⁡d1+\sum_iu[i]\log(du[i]/e)\le k\log d1+∑i​u[i]log(du[i]/e)≤klogd uses that uuu is Boolean and that k≥1k\ge1k≥1; for fractional u∈[0,1]du\in[0,1]^du∈[0,1]d or for k=0k=0k=0 it fails. Solving (3.3) and (3.4) for ∑tft(wt)\sum_tf_t(w_t)∑t​ft​(wt​) needs 1−2η>01-2\eta>01−2η>0.

Formalization scope

Vectors are Fin d → ℝ with explicit sums ∑i\sum_i∑i​; Lemma 2.20 is stated in an arbitrary real Hilbert space. Rounds are numbered 0,…,T−10,\dots,T-10,…,T−1 in place of 1,…,T1,\dots,T1,…,T. Instances, labels and comparators carry the hypotheses xt[i]∈{0,1}x_t[i]\in\{0,1\}xt​[i]∈{0,1}, yt∈{−1,1}y_t\in\{-1,1\}yt​∈{−1,1}, u[i]∈{0,1}u[i]\in\{0,1\}u[i]∈{0,1}, ∑iu[i]=k\sum_iu[i]=k∑i​u[i]=k. log⁡\loglog is the natural logarithm, and 0log⁡0=00\log0=00log0=0 through Real.log 0 = 0.

Erratum corrected. The Winnow box on p. 173 prints the update wt+1[i]=wt[i]e−η2ytxt[i]w_{t+1}[i]=w_t[i]e^{-\eta2y_tx_t[i]}wt+1​[i]=wt​[i]e−η2yt​xt​[i], and the proof on p. 174 uses zt=2ytxtz_t=2y_tx_tzt​=2yt​xt​. With that sign the algorithm demotes on a false negative, and Theorem 3.10 is false. Take d=2d=2d=2, k=1k=1k=1, u=(1,0)u=(1,0)u=(1,0), η=1/4\eta=1/4η=1/4, and xt=(1,0)x_t=(1,0)xt​=(1,0), yt=1y_t=1yt​=1 on every round. The margin condition holds, and w1=(1/2,1/2)w_1=(1/2,1/2)w1​=(1/2,1/2) errs on round 1. The printed update only shrinks w[1]w[1]w[1], so every round is an error, and T=6T=6T=6 exceeds 8log⁡2≈5.558\log2\approx5.558log2≈5.55. On an error round the hinge surrogate has gradient −2ytxt-2y_tx_t−2yt​xt​ at wtw_twt​. The mission therefore formalizes the update wt+1[i]=wt[i]e2ηytxt[i]w_{t+1}[i]=w_t[i]e^{2\eta y_tx_t[i]}wt+1​[i]=wt​[i]e2ηyt​xt​[i] (Littlestone's Winnow) and zt=−2ytxtz_t=-2y_tx_tzt​=−2yt​xt​ on M\mathcal MM. With this update the run above errs once. The milestone texts are quoted verbatim, with the printed sign.

Implicit hypotheses made explicit.

  • η>0\eta>0η>0 is Winnow's parameter.
  • The goal requires η<1/2\eta<1/2η<1/2: at η=1/2\eta=1/2η=1/2 the factor 1/(1−2η)1/(1-2\eta)1/(1−2η) is undefined.
  • k≥1k\ge1k≥1 is required: the theorem fails for k=0k=0k=0 (take u=0u=0u=0, d=2d=2d=2, xt=(1,1)x_t=(1,1)xt​=(1,1), yt=−1y_t=-1yt​=−1).
  • The particular case is a statement about the separate run with η=1/4\eta=1/4η=1/4, and its margin condition is required on the TTT rounds considered.
  • The milestone (3.3) keeps the page's η≤1/2\eta\le1/2η≤1/2.

Conventions.

  • M\mathcal MM contains ties (yt(2⟨wt,xt⟩−1)=0y_t(2\langle w_t,x_t\rangle-1)=0yt​(2⟨wt​,xt​⟩−1)=0), as in the proof on p. 174.
  • In Lemma 2.20, "g=∇R⋆g=\nabla R^\starg=∇R⋆" is three hypotheses: g(θ)∈Sg(\theta)\in Sg(θ)∈S, g(θ)g(\theta)g(θ) attains the conjugate's supremum, and R⋆R^\starR⋆ has gradient g(θ)g(\theta)g(θ) at θ\thetaθ. The comparator ranges over SSS.
  • Theorem 2.23's ∥u∥1\|u\|_1∥u∥1​ is ∑iu[i]\sum_iu[i]∑i​u[i], which equals it because u≥0u\ge0u≥0.

The bounds carry no O(⋅)O(\cdot)O(⋅) and no constant is instantiated. A trivializing formalization is ruled out: ftf_tft​ is the run's own surrogate, not a free function, and the η=1/4\eta=1/4η=1/4 conjunct quantifies over the η=1/4\eta=1/4η=1/4 weights.

Infrastructure needed: conjugates and the Fenchel–Young inequality on a subtype, telescoping sums, elementary exponential inequalities, and the case analysis on {0,1}\{0,1\}{0,1}-valued data. Lemma 2.20 and Theorem 2.23 are reusable for other OMD and EG analyses. Lemma 2.20 is also stated in the companion mission on normalized EG. Proofs of any milestone, and alternative routes to the goal, are welcome. Excluded: the Perceptron comparison 4(d+1)k4(d+1)k4(d+1)k (p. 173), and Theorem 3.9 (Perceptron), which is already proved on the platform.

Selected references

  • S. Shalev-Shwartz, Online Learning and Online Convex Optimization, Foundations and Trends in Machine Learning 4(2) (2011) 107–194. https://doi.org/10.1561/2200000018
  • N. Littlestone, Learning quickly when irrelevant attributes abound: a new linear-threshold algorithm, Machine Learning 2 (1988) 285–318. https://doi.org/10.1007/BF00116827
  • J. Kivinen, M. K. Warmuth, Exponentiated gradient versus gradient descent for linear predictors, Information and Computation 132(1) (1997) 1–63. https://doi.org/10.1006/inco.1996.2612
8 thms1 active userReviewed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

Efficiency of Coordinate Descent Methods on Huge-Scale Optimization Problems 2: On a Regularized Objective, RCDM(1, x₀) Finds an ε-Solution with Probability ≥ β Within the Iteration Bound (3.11)Research Paper

Motivation

Randomized coordinate descent updates one block of variables per iteration, chosen at random. For problems whose dimension makes even one full gradient expensive (the "huge-scale" problems of the title, such as sparse least squares or truss topology design), a coordinate step can cost a tiny fraction of a gradient step. Nesterov's paper (CORE Discussion Paper 2010/2; journal version SIAM J. Optim. 22 (2012) 341–362) gave the first global complexity bounds for such methods with non-uniform sampling, and it is the reference point for the later literature on randomized block methods (Richtárik and Takáč 2014, Lu and Xiao 2015, Allen-Zhu et al. 2016).

The first results of the paper (Theorem 1, the subject of a companion mission) bound the expected objective value after k iterations. An expected bound does not say what happens in a single run. This mission formalizes the paper's answer to that question in §3: by running the method on a slightly regularized objective, one run returns an ε-solution with any prescribed probability β, after a number of iterations that grows only logarithmically in 1/(1 − β).

Setting

The variable space is a product RN=Rn1×⋯×Rnn\mathbb R^N=\mathbb R^{n_1}\times\cdots\times\mathbb R^{n_n}RN=Rn1​×⋯×Rnn​ of n≥1n\ge1n≥1 blocks; a point xxx has blocks x(i)x^{(i)}x(i), and UihU_ihUi​h is the point whose iii-th block is hhh and whose other blocks vanish. In this mission each block carries a Euclidean norm ∥h(i)∥(i)2=⟨Bih(i),h(i)⟩\|h^{(i)}\|_{(i)}^2=\langle B_ih^{(i)},h^{(i)}\rangle∥h(i)∥(i)2​=⟨Bi​h(i),h(i)⟩ with Bi≻0B_i\succ0Bi​≻0 (3.4), and the whole space carries

∥h∥02=∑i=1n∥h(i)∥(i)2,∥g∥0∗=[∑i=1n(∥g(i)∥(i)∗)2]1/2.\|h\|_0^2=\sum_{i=1}^n\|h^{(i)}\|_{(i)}^2,\qquad \|g\|_0^*=\Big[\sum_{i=1}^n\big(\|g^{(i)}\|_{(i)}^*\big)^2\Big]^{1/2}.∥h∥02​=i=1∑n​∥h(i)∥(i)2​,∥g∥0∗​=[i=1∑n​(∥g(i)∥(i)∗​)2]1/2.

The objective f:RN→Rf:\mathbb R^N\to\mathbb Rf:RN→R is convex and differentiable, has a minimizer x∗x_*x∗​ with value f∗f^*f∗, and its partial gradients fi′(x)=UiT∇f(x)f'_i(x)=U_i^T\nabla f(x)fi′​(x)=UiT​∇f(x) are Lipschitz along their own block with constants Li>0L_i>0Li​>0 (2.2): ∥fi′(x+Uih)−fi′(x)∥(i)∗≤Li∥h∥(i)\|f'_i(x+U_ih)-f'_i(x)\|^*_{(i)}\le L_i\|h\|_{(i)}∥fi′​(x+Ui​h)−fi′​(x)∥(i)∗​≤Li​∥h∥(i)​. Write Sα=∑iLiαS_\alpha=\sum_iL_i^\alphaSα​=∑i​Liα​.

The method RCDM(α,x0)(\alpha,x_0)(α,x0​) (2.6) draws, independently at each step, block iii with probability Liα/SαL_i^\alpha/S_\alphaLiα​/Sα​ and replaces xxx by Ti(x)=x−1LiUifi′(x)#T_i(x)=x-\frac1{L_i}U_if'_i(x)^\#Ti​(x)=x−Li​1​Ui​fi′​(x)#, where s#s^\#s# is a maximizer of ⟨s,x⟩−12∥x∥2\langle s,x\rangle-\frac12\|x\|^2⟨s,x⟩−21​∥x∥2 (1.8). The quantity ϕk\phi_kϕk​ is the expectation of f(xk)f(x_k)f(xk​) over the first kkk draws.

The level-set radius is R0(x0)=max⁡x{max⁡x∗∥x−x∗∥0:f(x)≤f(x0)}R_0(x_0)=\max_x\{\max_{x_*}\|x-x_*\|_0: f(x)\le f(x_0)\}R0​(x0​)=maxx​{maxx∗​​∥x−x∗​∥0​:f(x)≤f(x0​)}, and for μ>0\mu>0μ>0 the regularized objective is

fμ(x)=f(x)+μ2∥x−x0∥02.f_\mu(x)=f(x)+\frac\mu2\|x-x_0\|_0^2 .fμ​(x)=f(x)+2μ​∥x−x0​∥02​.

It has block constants Li+μL_i+\muLi​+μ, so RCDM(1,x0)(1,x_0)(1,x0​) applied to fμf_\mufμ​ samples block iii with probability (Li+μ)/(S1+nμ)(L_i+\mu)/(S_1+n\mu)(Li​+μ)/(S1​+nμ) and steps with 1/(Li+μ)1/(L_i+\mu)1/(Li​+μ).

Formalization targets

Goal: Theorem 4 (p. 11)

For ϵ>0\epsilon>0ϵ>0, β∈(0,1)\beta\in(0,1)β∈(0,1), μ=ϵ/(4R02(x0))\mu=\epsilon/(4R_0^2(x_0))μ=ϵ/(4R02​(x0​)) and

k ≥ 2[n+4S1R02(x0)ϵ](ln⁡11−β+ln⁡(12+2S1R02(x0)ϵ)),k\ \ge\ 2\Big[n+\frac{4S_1R_0^2(x_0)}{\epsilon}\Big]\Big(\ln\frac1{1-\beta}+\ln\Big(\frac12+\frac{2S_1R_0^2(x_0)}{\epsilon}\Big)\Big),k ≥ 2[n+ϵ4S1​R02​(x0​)​](ln1−β1​+ln(21​+ϵ2S1​R02​(x0​)​)),

the point xkx_kxk​ produced by RCDM(1,x0)(1,x_0)(1,x0​) on fμf_\mufμ​ satisfies

Prob(f(xk)−f∗≤ϵ)≥β.\mathrm{Prob}\big(f(x_k)-f^*\le\epsilon\big)\ge\beta .Prob(f(xk​)−f∗≤ϵ)≥β.

Milestones

  1. Theorem 2 (p. 9), for arbitrary block norms: if fff is σ\sigmaσ-strongly convex in ∥⋅∥1−α\|\cdot\|_{1-\alpha}∥⋅∥1−α​, then ϕk−f∗≤(1−σ/Sα)k(f(x0)−f∗)\phi_k-f^*\le(1-\sigma/S_\alpha)^k(f(x_0)-f^*)ϕk​−f∗≤(1−σ/Sα​)k(f(x0​)−f∗).
  2. The constants of fμf_\mufμ​ (p. 11): fμf_\mufμ​ is μ\muμ-strongly convex in ∥⋅∥0\|\cdot\|_0∥⋅∥0​, has block constants Li+μL_i+\muLi​+μ, so that S1(fμ)=S1(f)+nμS_1(f_\mu)=S_1(f)+n\muS1​(fμ​)=S1​(f)+nμ, and its gradient is (S1(f)+μ)(S_1(f)+\mu)(S1​(f)+μ)-Lipschitz in ∥⋅∥0\|\cdot\|_0∥⋅∥0​.
  3. Lemma 4 (p. 11): E ∥∇fμ(xk)∥0∗≤[2(S1+μ)(f(x0)−f∗)(1−μ/(S1+nμ))k]1/2\mathbb E\,\|\nabla f_\mu(x_k)\|_0^*\le\big[2(S_1+\mu)(f(x_0)-f^*)(1-\mu/(S_1+n\mu))^k\big]^{1/2}E∥∇fμ​(xk​)∥0∗​≤[2(S1​+μ)(f(x0​)−f∗)(1−μ/(S1​+nμ))k]1/2.

Significance

Theorem 4 turns an in-expectation guarantee into a single-run guarantee with an explicit, non-asymptotic iteration count. Its dependence on the confidence level is logarithmic, so very high confidence costs little; and the count O((n+S1R02/ϵ)log⁡(1/ϵ))O\big((n+S_1R_0^2/\epsilon)\log(1/\epsilon)\big)O((n+S1​R02​/ϵ)log(1/ϵ)) replaces the largest eigenvalue of the Hessian, which governs the full gradient method, by the trace-type quantity S1S_1S1​, which for sparse problems makes groups of nnn coordinate steps competitive with one gradient step. Theorem 2 is the linear-rate result for strongly convex objectives that later analyses of randomized block methods take as their starting point.

The results are proved in the paper. None of them is formalized in the block setting. The scalar Euclidean case ni=1n_i=1ni​=1 of Theorem 2 is proved on Prove2Me as ConvexOptAlg.CoordDescent.theorem_6_8 (Bubeck, Theorem 6.8), and the bound (3.2), f(x)−f∗≤12σ(∥∇f(x)∥∗)2f(x)-f^*\le\frac1{2\sigma}(\|\nabla f(x)\|^*)^2f(x)−f∗≤2σ1​(∥∇f(x)∥∗)2 for a σ\sigmaσ-strongly convex fff in any norm, is proved as ConvexOptAlg.CoordDescent.lemma_6_9. This mission adds block variables with general norms (Theorem 2), the regularization constants, the gradient-norm bound, and the high-probability statement itself, which has no formalized counterpart.

Difficulty

The obvious argument fails. Theorem 2 controls the expected suboptimality of fμf_\mufμ​, not of fff, and Markov's inequality applied to fμ(xk)−fμ∗f_\mu(x_k)-f_\mu^*fμ​(xk​)−fμ∗​ does not reach accuracy ε: fμ∗f_\mu^*fμ∗​ and f∗f^*f∗ differ by an amount comparable to ε, and the contraction factor itself depends on μ. Relating the run on fμf_\mufμ​ to the original problem requires the global Lipschitz constant of ∇fμ\nabla f_\mu∇fμ​ in ∥⋅∥0\|\cdot\|_0∥⋅∥0​, which for fff is the weighted co-coercivity statement of Lemma 2 of the paper and is not a consequence of (2.2) alone without convexity. The constants of (3.11) are exact, including the factor 2 and the ½, so no estimate may lose a constant. Finally, the iterates depend on all previous draws, so even the finite-sum expectations need a careful account of linearity and of conditioning on the last draw.

Formalization scope

  • RN\mathbb R^NRN is the dependent product Blocks E of finite-dimensional real spaces E i indexed by Fin n (0-based for the paper's 1, …, n). Euclidean blocks (3.4) are inner-product spaces, with BiB_iBi​ absorbed into the inner product; Theorem 2 is stated for arbitrary normed blocks. The dual norm of a block is the operator norm of a functional.
  • The draws are explicit sequences Fin k → Fin n; expectations and probabilities are finite sums weighted by ∏sp(is)\prod_sp(i_s)∏s​p(is​). No measure theory is involved.
  • The vectors s#s^\#s# are an arbitrary selection satisfying (1.8); the theorems hold for every selection.
  • R0(x0)R_0(x_0)R0​(x0​) is replaced by any positive upper bound RRR (every point of the level set within RRR of every minimizer), and μ=ϵ/(4R2)\mu=\epsilon/(4R^2)μ=ϵ/(4R2) is defined from it. The paper's theorem is the case R=R0(x0)R=R_0(x_0)R=R0​(x0​); R>0R>0R>0 excludes the case R0(x0)=0R_0(x_0)=0R0​(x0​)=0, in which the paper's μ is undefined.
  • Explicit hypotheses the paper leaves implicit: n≥1n\ge1n≥1, Li>0L_i>0Li​>0, fff convex and differentiable, existence of a minimizer, and ϵ>0\epsilon>0ϵ>0, β∈(0,1)\beta\in(0,1)β∈(0,1) (fixed on p. 10).
  • The paper prints Theorem 2's left side as ϕk−ϕ∗\phi_k-\phi^*ϕk​−ϕ∗; the statement uses ϕk−f∗\phi_k-f^*ϕk​−f∗, which is what its proof establishes.
  • The run in Theorem 4 and Lemma 4 is on fμf_\mufμ​ with fμf_\mufμ​'s constants Li+μL_i+\muLi​+μ (step and sampling); the event of Theorem 4 is about fff and f∗f^*f∗ of the original problem. Running RCDM with fff's constants LiL_iLi​, or stating the event for fμf_\mufμ​, would be a different theorem.
  • Lemma 3 and Theorem 3 (the variant in the norm ∥⋅∥1\|\cdot\|_1∥⋅∥1​) are not posed: applied to fμf_\mufμ​ with constants (1+μ)Li(1+\mu)L_i(1+μ)Li​, Theorem 2 gives a contraction factor weaker than the printed 1−μ/n1-\mu/n1−μ/n, and the paper's argument does not establish them as printed.

Contributions are welcome on the probabilistic bookkeeping for expect (normalization, linearity, conditioning on the last draw, Jensen for a concave function), which is reusable by every mission of this series; on Lemma 2 of the paper in the block setting; and on the milestones in the stated order.

Selected references

  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, CORE Discussion Paper 2010/2, Université catholique de Louvain, 2010. https://core.ac.uk/download/6430808.pdf
  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, SIAM Journal on Optimization 22(2), 341–362, 2012. https://doi.org/10.1137/100802001
  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4), 231–357, 2015, §6.4. https://arxiv.org/abs/1405.4980
  • P. Richtárik and M. Takáč, Iteration complexity of randomized block-coordinate descent methods for minimizing a composite function, Mathematical Programming 144, 1–38, 2014. https://doi.org/10.1007/s10107-012-0614-z
  • Yu. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
6 thms1 active userReviewed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

Efficiency of Coordinate Descent Methods on Huge-Scale Optimization Problems 1: Random Block Coordinate Descent RCDM(α, x₀) Has Expected Error at Most 2·S_α·R²_{1−α}(x₀)/(k + 4)Research Paper

Motivation

Many large optimization problems arising in machine learning, statistics and network analysis have so many variables that computing a single full gradient is already expensive, while a single partial derivative, or a gradient with respect to a small block of variables, is cheap. Coordinate descent methods exploit this: at each iteration they update one block of variables only. They are among the oldest methods of numerical optimization, but for a long time their worst-case efficiency was not understood, because deterministic rules for choosing the next coordinate (cyclic order, greedy choice) are hard to analyse globally.

Nesterov (2010/2012) showed that choosing the coordinate at random, with probabilities tied to the coordinate-wise Lipschitz constants of the gradient, yields clean global complexity bounds. This paper started the modern theory of randomized coordinate descent, which was then extended to composite objectives, parallel and accelerated variants, and became a standard tool for huge-scale problems. This mission formalizes the first of its results: the expected sublinear rate of the basic method RCDM(α,x0)(\alpha,x_0)(α,x0​) (Theorem 1 of the CORE Discussion Paper 2010/2).

Setting

The variable x∈RNx\in\mathbb R^Nx∈RN is split into n≥1n\ge1n≥1 blocks, RN=Rn1×⋯×Rnn\mathbb R^N=\mathbb R^{n_1}\times\cdots\times\mathbb R^{n_n}RN=Rn1​×⋯×Rnn​. Write x(i)∈Rnix^{(i)}\in\mathbb R^{n_i}x(i)∈Rni​ for the iii-th block and UihU_ihUi​h for the point whose iii-th block is hhh and whose other blocks vanish. Each block space carries a norm ∥⋅∥(i)\|\cdot\|_{(i)}∥⋅∥(i)​ with dual norm ∥s∥(i)∗=max⁡∥h∥(i)=1⟨s,h⟩\|s\|^*_{(i)}=\max_{\|h\|_{(i)}=1}\langle s,h\rangle∥s∥(i)∗​=max∥h∥(i)​=1​⟨s,h⟩.

The objective f:RN→Rf:\mathbb R^N\to\mathbb Rf:RN→R is convex and differentiable, and its set X∗X_*X∗​ of minimizers is nonempty and bounded; f∗f^*f∗ is its optimal value. The partial gradient fi′(x)=UiT∇f(x)f'_i(x)=U_i^T\nabla f(x)fi′​(x)=UiT​∇f(x) is the iii-th block of the gradient. The gradient is coordinate-wise Lipschitz with constants Li>0L_i>0Li​>0:

∥fi′(x+Uihi)−fi′(x)∥(i)∗≤Li∥hi∥(i)(2.2)\|f'_i(x+U_ih_i)-f'_i(x)\|^*_{(i)}\le L_i\|h_i\|_{(i)}\qquad(2.2)∥fi′​(x+Ui​hi​)−fi′​(x)∥(i)∗​≤Li​∥hi​∥(i)​(2.2)

for all xxx, iii and hi∈Rnih_i\in\mathbb R^{n_i}hi​∈Rni​.

For a linear functional sss, s#s^\#s# is any maximizer of ⟨s,x⟩−12∥x∥2\langle s,x\rangle-\frac12\|x\|^2⟨s,x⟩−21​∥x∥2. The optimal coordinate step is Ti(x)=x−1LiUifi′(x)#T_i(x)=x-\frac1{L_i}U_if'_i(x)^\#Ti​(x)=x−Li​1​Ui​fi′​(x)#. For α∈R\alpha\in\mathbb Rα∈R let Sα=∑i=1nLiαS_\alpha=\sum_{i=1}^nL_i^\alphaSα​=∑i=1n​Liα​ and pα(i)=Liα/Sαp_\alpha^{(i)}=L_i^\alpha/S_\alphapα(i)​=Liα​/Sα​. The method RCDM(α,x0)(\alpha,x_0)(α,x0​) starts at x0x_0x0​ and, for k≥0k\ge0k≥0, draws iki_kik​ independently with Pr⁡(ik=i)=pα(i)\Pr(i_k=i)=p^{(i)}_\alphaPr(ik​=i)=pα(i)​ and sets xk+1=Tik(xk)x_{k+1}=T_{i_k}(x_k)xk+1​=Tik​​(xk​). Its expected objective value is φk=Eξk−1f(xk)\varphi_k=E_{\xi_{k-1}}f(x_k)φk​=Eξk−1​​f(xk​), the expectation over the draws ξk−1=(i0,…,ik−1)\xi_{k-1}=(i_0,\dots,i_{k-1})ξk−1​=(i0​,…,ik−1​).

The weighted norms are ∥x∥β=[∑iLiβ∥x(i)∥(i)2]1/2\|x\|_\beta=\big[\sum_iL_i^\beta\|x^{(i)}\|^2_{(i)}\big]^{1/2}∥x∥β​=[∑i​Liβ​∥x(i)∥(i)2​]1/2 and ∥g∥β∗=[∑iLi−β(∥g(i)∥(i)∗)2]1/2\|g\|^*_\beta=\big[\sum_iL_i^{-\beta}(\|g^{(i)}\|^*_{(i)})^2\big]^{1/2}∥g∥β∗​=[∑i​Li−β​(∥g(i)∥(i)∗​)2]1/2, and the size of the initial level set is

Rβ(x0)=max⁡x{max⁡x∗∈X∗∥x−x∗∥β: f(x)≤f(x0)}.R_\beta(x_0)=\max_x\Big\{\max_{x_*\in X_*}\|x-x_*\|_\beta:\ f(x)\le f(x_0)\Big\}.Rβ​(x0​)=xmax​{x∗​∈X∗​max​∥x−x∗​∥β​: f(x)≤f(x0​)}.

Formalization targets

Goal: Theorem 1

For every k≥0k\ge0k≥0,

φk−f∗≤2k+4⋅[∑j=1nLjα]⋅R1−α2(x0).\varphi_k-f^*\le\frac2{k+4}\cdot\Big[\sum_{j=1}^nL_j^\alpha\Big]\cdot R^2_{1-\alpha}(x_0).φk​−f∗≤k+42​⋅[j=1∑n​Ljα​]⋅R1−α2​(x0​).

The statement holds for every real α\alphaα, every choice of the vectors s#s^\#s#, and every block decomposition with arbitrary block norms. With α=0\alpha=0α=0 (uniform sampling) it reads φk−f∗≤2nk+4R12(x0)\varphi_k-f^*\le\frac{2n}{k+4}R_1^2(x_0)φk​−f∗≤k+42n​R12​(x0​).

Milestones

  1. ∥s#∥=∥s∥∗\|s^\#\|=\|s\|_*∥s#∥=∥s∥∗​ (§1, after (1.8)).
  2. The block descent inequality (2.3).
  3. The guaranteed decrease of an optimal coordinate step, f(x)−f(Ti(x))≥12Li(∥fi′(x)∥(i)∗)2f(x)-f(T_i(x))\ge\frac1{2L_i}(\|f'_i(x)\|^*_{(i)})^2f(x)−f(Ti​(x))≥2Li​1​(∥fi′​(x)∥(i)∗​)2 (2.4).
  4. Lemma 2: the weighted Lipschitz bound ∥∇f(x)−∇f(y)∥1−α∗≤Sα∥x−y∥1−α\|\nabla f(x)-\nabla f(y)\|^*_{1-\alpha}\le S_\alpha\|x-y\|_{1-\alpha}∥∇f(x)−∇f(y)∥1−α∗​≤Sα​∥x−y∥1−α​ (2.9) and the quadratic upper bound (2.10).
  5. The expected one-step decrease (2.13).
  6. The recursion φk−φk+1≥1C(φk−f∗)2\varphi_k-\varphi_{k+1}\ge\frac1C(\varphi_k-f^*)^2φk​−φk+1​≥C1​(φk​−f∗)2 with C=2SαR1−α2(x0)C=2S_\alpha R^2_{1-\alpha}(x_0)C=2Sα​R1−α2​(x0​).
  7. Lemma 1, a block-diagonal Loewner bound for positive semidefinite matrices, which the paper states in §1 but does not use later.

Significance

Theorem 1 is the first global efficiency estimate for a coordinate descent method on general smooth convex functions. Its constant is governed by SαS_\alphaSα​, an average of the coordinate Lipschitz constants, rather than by the global Lipschitz constant of the gradient; for α=1\alpha=1α=1 and Euclidean blocks this makes the method competitive with the full-gradient method even when partial derivatives are not cheap, and much faster when they are. The later results of the paper (linear convergence under strong convexity, high-probability bounds, the constrained and accelerated variants, adaptive Lipschitz estimates) reuse the objects and the one-step estimates of this mission.

The result is proved in the paper; nothing in it is open. As far as we know it has not been machine-checked. The platform contains a related item, ConvexOptAlg.CoordDescent.theorem_6_7 (Bubeck's monograph, Theorem 6.7, open), which treats scalar Euclidean coordinates, α≥0\alpha\ge0α≥0, and the weaker factor 2/(t−1)2/(t-1)2/(t−1); together with its proved one-step lemmas (thm_6_7_coord_step, thm_6_7_expected_decrease) it covers the special case ni=1n_i=1ni​=1 of milestones 3 and 5. This mission states the result in the paper's generality: arbitrary blocks and block norms, non-Euclidean dual norms through s#s^\#s#, every real α\alphaα, and the constant 2/(k+4)2/(k+4)2/(k+4).

Difficulty

The bound is a statement about an expectation, not about individual runs: the recursion on φk\varphi_kφk​ needs Jensen's inequality, E[(f(xk)−f∗)2]≥(φk−f∗)2E[(f(x_k)-f^*)^2]\ge(\varphi_k-f^*)^2E[(f(xk​)−f∗)2]≥(φk​−f∗)2, and the fact that every run stays in the initial level set, so that R1−α(x0)R_{1-\alpha}(x_0)R1−α​(x0​) controls f(xk)−f∗f(x_k)-f^*f(xk​)−f∗ along every path. Lemma 2 is the step that links the coordinate-wise condition (2.2) to the weighted full gradient, and it is easy to misjudge: it is false without convexity, since f(x)=x1x2f(x)=x_1x_2f(x)=x1​x2​ on R2\mathbb R^2R2 satisfies (2.2) with arbitrarily small constants. The non-Euclidean block norms add a layer of convex analysis (the dual norm, the vector s#s^\#s# and its identities) on top of the probabilistic bookkeeping.

Formalization scope

  • RN\mathbb R^NRN is the dependent product Blocks E =∏i: Fin nEi=\prod_{i:\,\texttt{Fin }n}E_i=∏i:Fin n​Ei​ of finite-dimensional real normed spaces; indices are 0-based. The norm Lean puts on the product is never used; statements use only the block norms and the weighted norms (2.7).
  • The dual norm is the operator norm of E i →L[ℝ] ℝ; the partial gradient is the derivative of fff composed with the inclusion of block iii.
  • s#s^\#s# is an arbitrary selection satisfying (1.8) (IsSharpSelection); all results quantify over every selection.
  • Random draws are explicit index sequences, so φk\varphi_kφk​ is a finite sum over {0,…,n−1}k\{0,\dots,n-1\}^k{0,…,n−1}k weighted by products of the probabilities (2.5). No measure theory is involved.
  • R1−α(x0)R_{1-\alpha}(x_0)R1−α​(x0​) is never computed as a supremum: the statements assume an upper bound RRR (every point of the level set is within RRR of every minimizer), which is equivalent when the maximum is finite.
  • Explicit hypotheses the paper leaves implicit: n≥1n\ge1n≥1, Li>0L_i>0Li​>0, and convexity of fff in Lemma 2 (the standing assumption of §2, used in its proof). α\alphaα is any real number; the remark "SαS_\alphaSα​ … with α≥0\alpha\ge0α≥0" on p. 6 is notation and is not imposed.
  • The recursion of milestone 6 is stated multiplied by CCC, so that no statement divides by a quantity that may vanish.
  • A trivializing formalization is ruled out: replacing φk\varphi_kφk​ by f(xk)f(x_k)f(xk​) along a single path, taking R1−α(x0)R_{1-\alpha}(x_0)R1−α​(x0​) as a supremum that defaults to 000 on unbounded level sets, or fixing one particular s#s^\#s# would each change the theorem, and none is used. A sorry-free check confirms that all hypotheses of the goal hold for n=1n=1n=1, f(x)=x2/2f(x)=x^2/2f(x)=x2/2, x0=1x_0=1x0​=1, R=1R=1R=1.

Contributions welcome: proofs of the one-step estimates (2.3), (2.4), (2.13), which need a block mean-value argument and the convex analysis of s#s^\#s#; Lemma 2, which needs the convex conjugate argument of its proof; and the final summation argument. The block encoding and the identities for s#s^\#s# are reusable for every other mission of this paper.

Selected references

  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, CORE Discussion Paper 2010/2, Université catholique de Louvain, 2010. https://core.ac.uk/download/6430808.pdf ; journal version: SIAM J. Optim. 22(2) (2012) 341–362, https://doi.org/10.1137/100802001
  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4), 2015, §6.4. https://arxiv.org/abs/1405.4980
  • Yu. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004, §2.1 (the descent lemma behind (2.3)). https://doi.org/10.1007/978-1-4419-8853-9
11 thms1 active userReviewed
Machine LearningOptimization·Captain: mikedeng1

A Stochastic Gradient Method with an Exponential Convergence Rate for Finite Training Sets 1: SAG with Step Size 1/(2nL) Converges Linearly at Rate (1 − μ/(8Ln))ᵏResearch Paper

Motivation

Many problems in machine learning and statistics minimize an average of nnn smooth losses, one per training example: regularized least squares, logistic regression, and other forms of empirical risk minimization. Two classical families of methods attack such finite sums. The full gradient method evaluates all nnn component gradients per iteration and converges linearly for strongly convex objectives, but each iteration costs nnn gradient evaluations. The stochastic gradient method evaluates a single component gradient per iteration, so its iterations are cheap, but it converges only sublinearly, at rate O(1/k)O(1/k)O(1/k), even under strong convexity.

Le Roux, Schmidt and Bach (arXiv:1202.6258, NIPS 2012) introduced the stochastic average gradient (SAG) method, which keeps a table of the most recently evaluated gradient of every component and moves along their average. It evaluates one component gradient per iteration, like the stochastic gradient method, and the paper proves that it nevertheless converges linearly in expectation. SAG was among the first of the variance-reduced incremental methods; SAGA (Defazio, Bach & Lacoste-Julien, 2014), SVRG (Johnson & Zhang, 2013) and their accelerated variants followed. Its predecessor, the incremental aggregated gradient method of Blatt, Hero & Gauchman (2007), selects the components cyclically and had a linear rate only for strongly convex quadratics, without an explicit constant.

This mission covers the paper's first main result, Proposition 1, which uses the step size 1/(2nL)1/(2nL)1/(2nL). The second result, Proposition 2, for the larger step size 1/(2nμ)1/(2n\mu)1/(2nμ), is a separate mission of this series.

Setting

Let f1,…,fn:Rp→Rf_1,\dots,f_n:\mathbb R^p\to\mathbb Rf1​,…,fn​:Rp→R and minimize

g(x)=1n∑i=1nfi(x).g(x)=\frac1n\sum_{i=1}^n f_i(x).g(x)=n1​i=1∑n​fi​(x).

Each fif_ifi​ is convex and differentiable, and its gradient fi′f'_ifi′​ is Lipschitz continuous with constant L>0L>0L>0: ∥fi′(x)−fi′(y)∥≤L∥x−y∥\|f'_i(x)-f'_i(y)\|\le L\|x-y\|∥fi′​(x)−fi′​(y)∥≤L∥x−y∥ for all x,yx,yx,y. The average ggg is strongly convex with constant μ>0\mu>0μ>0: the function x↦g(x)−μ2∥x∥2x\mapsto g(x)-\frac\mu2\|x\|^2x↦g(x)−2μ​∥x∥2 is convex. Then ggg has a unique minimizer x∗x^*x∗. The gradient variance at the optimum is σ2=1n∑i=1n∥fi′(x∗)∥2\sigma^2=\frac1n\sum_{i=1}^n\|f'_i(x^*)\|^2σ2=n1​∑i=1n​∥fi′​(x∗)∥2.

The SAG iteration with step size α\alphaα maintains a state θk=(y1k,…,ynk,xk)\theta^k=(y^k_1,\dots,y^k_n,x^k)θk=(y1k​,…,ynk​,xk). Starting from x0x^0x0 and the zero table yi0=0y^0_i=0yi0​=0, for k≥1k\ge1k≥1 an index iki_kik​ is drawn uniformly from {1,…,n}\{1,\dots,n\}{1,…,n}, independently of the past, and

yik={fi′(xk−1)i=ik,yik−1otherwise,xk=xk−1−αn∑i=1nyik.y^k_i=\begin{cases}f'_i(x^{k-1}) & i=i_k,\\ y^{k-1}_i & \text{otherwise,}\end{cases} \qquad x^k=x^{k-1}-\frac{\alpha}{n}\sum_{i=1}^n y^k_i .yik​={fi′​(xk−1)yik−1​​i=ik​,otherwise,​xk=xk−1−nα​i=1∑n​yik​.

The table is refreshed before the iterate moves, so xkx^kxk uses the new gradient. Expectations are over the indices i1,…,iki_1,\dots,i_ki1​,…,ik​ only; the data are fixed.

Formalization targets

Goal: Proposition 1 (p. 5)

With the constant step size α=12nL\alpha=\frac1{2nL}α=2nL1​, for every k≥1k\ge1k≥1,

E[∥xk−x∗∥2]≤(1−μ8Ln)k[3∥x0−x∗∥2+9σ24L2].\mathbb E\big[\|x^k-x^*\|^2\big]\le\Big(1-\frac{\mu}{8Ln}\Big)^k\Big[3\|x^0-x^*\|^2+\frac{9\sigma^2}{4L^2}\Big].E[∥xk−x∗∥2]≤(1−8Lnμ​)k[3∥x0−x∗∥2+4L29σ2​].

The constants are those printed in the paper.

Milestones (the steps of the proof in §A.5, pp. 16–23)

The proof tracks a quadratic Lyapunov function Q(θ)=(θ−θ∗)⊤P(θ−θ∗)Q(\theta)=(\theta-\theta^*)^\top P(\theta-\theta^*)Q(θ)=(θ−θ∗)⊤P(θ−θ∗) with θ∗=(f1′(x∗),…,fn′(x∗),x∗)\theta^*=(f'_1(x^*),\dots,f'_n(x^*),x^*)θ∗=(f1′​(x∗),…,fn′​(x∗),x∗) and an explicit block matrix PPP (p. 19). The milestones, in the order the proof uses them, are:

  1. Lemma 1 (p. 16): an exact formula for E[(θk−θ∗)⊤P(θk−θ∗)∣Fk−1]\mathbb E[(\theta^k-\theta^*)^\top P(\theta^k-\theta^*)\mid\mathcal F_{k-1}]E[(θk−θ∗)⊤P(θk−θ∗)∣Fk−1​] for an arbitrary block matrix PPP with symmetric diagonal blocks.
  2. Summed co-coercivity (p. 20): ∑i∥fi′(x)−fi′(x∗)∥2≤nL (g′(x)−g′(x∗))⊤(x−x∗)\sum_i\|f'_i(x)-f'_i(x^*)\|^2\le nL\,(g'(x)-g'(x^*))^\top(x-x^*)∑i​∥fi′​(x)−fi′​(x∗)∥2≤nL(g′(x)−g′(x∗))⊤(x−x∗).
  3. Completing the square (p. 21): s⊤Ms+s⊤t≤−14t⊤M−1ts^\top Ms+s^\top t\le-\frac14t^\top M^{-1}ts⊤Ms+s⊤t≤−41​t⊤M−1t for symmetric negative definite MMM.
  4. The one-step difference bound for 0≤δ≤13n0\le\delta\le\frac1{3n}0≤δ≤3n1​ and any α>0\alpha>0α>0 (p. 21).
  5. The one-step contraction E[Q(θk)∣Fk−1]≤(1−μ8nL)Q(θk−1)\mathbb E[Q(\theta^k)\mid\mathcal F_{k-1}]\le(1-\frac{\mu}{8nL})Q(\theta^{k-1})E[Q(θk)∣Fk−1​]≤(1−8nLμ​)Q(θk−1) at α=12nL\alpha=\frac1{2nL}α=2nL1​ (p. 22).
  6. EQ(θk)≤(1−μ8nL)kQ(θ0)\mathbb EQ(\theta^k)\le(1-\frac{\mu}{8nL})^kQ(\theta^0)EQ(θk)≤(1−8nLμ​)kQ(θ0) (p. 22).
  7. Q(θ)≥13∥x−x∗∥2Q(\theta)\ge\frac13\|x-x^*\|^2Q(θ)≥31​∥x−x∗∥2 (pp. 22–23).
  8. Q(θ0)=3σ24L2+∥x0−x∗∥2Q(\theta^0)=\frac{3\sigma^2}{4L^2}+\|x^0-x^*\|^2Q(θ0)=4L23σ2​+∥x0−x∗∥2 for y0=0y^0=0y0=0 (p. 23).

Significance

Proposition 1 gives a linear rate for a method whose per-iteration cost does not depend on nnn. Measured in passes through the data, its rate (1−μ8Ln)n≈e−μ/(8L)(1-\frac{\mu}{8Ln})^{n}\approx e^{-\mu/(8L)}(1−8Lnμ​)n≈e−μ/(8L) per pass is comparable to the full gradient method's, while each pass of SAG touches every component only once on average. The bound depends on the initial point only through ∥x0−x∗∥2\|x^0-x^*\|^2∥x0−x∗∥2 and on the data only through σ2\sigma^2σ2, which is zero when every component is minimized at x∗x^*x∗.

The result is proved in the paper and has been widely re-derived, but it has no machine-checked proof that this mission is aware of. A formalization would be the first verified linear-rate theorem for SAG. Lemma 1 is an exact identity, valid for every quadratic Lyapunov function of the same block form, and is reused verbatim in the proof of Proposition 2. Milestones 2, 3 and 7 are general facts (co-coercivity, completing the square, a Schur-complement domination) that recur throughout the analysis of incremental methods.

Difficulty

The iterate xkx^kxk alone is not a Markov chain: its evolution depends on the stale gradients in the table, so neither ∥xk−x∗∥2\|x^k-x^*\|^2∥xk−x∗∥2 nor g(xk)−g(x∗)g(x^k)-g(x^*)g(xk)−g(x∗) decreases in expectation from one step to the next. The obvious first idea, bounding E[∥xk−x∗∥2∣Fk−1]\mathbb E[\|x^k-x^*\|^2\mid\mathcal F_{k-1}]E[∥xk−x∗∥2∣Fk−1​] in terms of ∥xk−1−x∗∥2\|x^{k-1}-x^*\|^2∥xk−1−x∗∥2 as for the stochastic gradient method, fails because the cross terms between the table error yk−1−f′(x∗)y^{k-1}-f'(x^*)yk−1−f′(x∗) and the iterate error have no sign. The analysis must therefore control the table and the iterate jointly, through a function of the whole state θk\theta^kθk; the exact expected one-step change of a general quadratic form in θk\theta^kθk (Lemma 1) is the computation everything else rests on, and it requires careful bookkeeping of block matrices.

Formalization scope

Rp\mathbb R^pRp is EuclideanSpace ℝ (Fin p) and the components are indexed by Fin n with n≥1n\ge1n≥1. The components fif_ifi​ and their gradients fi′f'_ifi′​ are both given, tied by HasGradientAt; each fif_ifi​ is convex (§A.1, p. 13), which the proof's co-coercivity step needs; ggg and g′g'g′ are the published SAGA.Convex.fAvg and SAGA.Convex.gradAvg. Strong convexity is stated literally as on p. 5, as convexity of g−μ2∥⋅∥2g-\frac\mu2\|\cdot\|^2g−2μ​∥⋅∥2. The point x∗x^*x∗ is any minimizer of ggg; uniqueness and g′(x∗)=0g'(x^*)=0g′(x∗)=0 are consequences. The restriction μ≤L\mu\le Lμ≤L used in the proof is not assumed, since it follows from the hypotheses when p≥1p\ge1p≥1.

The SAG state is a pair (table, iterate); SAG.SmallStep.step refreshes the table entry and then moves the iterate, and SAG.SmallStep.runFrom applies the steps for a given index sequence. The goal starts from the zero table and fixes the step size 12nL\frac1{2nL}2nL1​. The expectation is SAGA.Convex.expectIdx n k, the uniform average over all nkn^knk index sequences, which is exactly the law of kkk independent uniform indices; a conditional expectation given Fk−1\mathcal F_{k-1}Fk−1​ is the average over the next index from an arbitrary current state. Block matrices are families of p×pp\times pp×p blocks (continuous linear maps), and Lemma 1 makes explicit the symmetry of AAA and ccc and the identity ∑ifi′(x∗)=0\sum_if'_i(x^*)=0∑i​fi′​(x∗)=0 that its proof uses. The domination Q≥13∥x−x∗∥2Q\ge\frac13\|x-x^*\|^2Q≥31​∥x−x∗∥2 is stated for every n≥1n\ge1n≥1: the page's closing remark "for n≥2n\ge2n≥2" is stronger than its own computation needs.

The goal bounds the average over all index sequences; a bound for each fixed sequence would be false, and a bound for one sequence would be a different, weaker statement. Proposition 1 is not to be formalized with a free step size, an arbitrary initial table, or a variance quantity other than σ2\sigma^2σ2 at x∗x^*x∗: each of these changes the constant 9σ2/(4L2)9\sigma^2/(4L^2)9σ2/(4L2).

Needed infrastructure: algebra of finite sums of inner products over block families, the tower property for the uniform average over index sequences, co-coercivity of convex smooth functions (published on the platform as ConvexOptAlg.SmoothGD.eq_3_6), and strong-convexity monotonicity of the gradient. Proofs of individual milestones are welcome, as are alternative proofs of the goal that bypass the Lyapunov function.

Selected references

  • N. Le Roux, M. Schmidt, F. Bach, A Stochastic Gradient Method with an Exponential Convergence Rate for Finite Training Sets, NIPS 2012; arXiv:1202.6258v4, 2013. https://arxiv.org/abs/1202.6258
  • D. Blatt, A. O. Hero, H. Gauchman, A Convergent Incremental Gradient Method with a Constant Step Size, SIAM J. Optim. 18(1), 2007. https://doi.org/10.1137/040615961
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
  • A. Defazio, F. Bach, S. Lacoste-Julien, SAGA: A Fast Incremental Gradient Method with Support for Non-Strongly Convex Composite Objectives, NIPS 2014. https://arxiv.org/abs/1407.0202
  • R. Johnson, T. Zhang, Accelerating Stochastic Gradient Descent using Predictive Variance Reduction, NIPS 2013. https://papers.nips.cc/paper/4937
14 thms1 active userReviewed
Machine LearningOptimization·Captain: mikedeng1

A Stochastic Gradient Method with an Exponential Convergence Rate for Finite Training Sets 2: For n ≥ 8L/μ, SAG with Step 1/(2nμ) after an SG Warm Start Converges at Rate (1 − 1/(8n))ᵏResearch Paper

Motivation

Many problems in machine learning are finite-sum problems: minimize the average of nnn loss functions, one per training example,

min⁡x∈Rp  g(x)=1n∑i=1nfi(x).\min_{x\in\mathbb R^p}\; g(x)=\frac1n\sum_{i=1}^n f_i(x).x∈Rpmin​g(x)=n1​i=1∑n​fi​(x).

Two classical methods sit at opposite ends. Full gradient (FG) descent evaluates all nnn gradients per iteration and converges linearly on strongly convex problems, at a cost proportional to nnn per step. Stochastic gradient (SG) descent evaluates one gradient per iteration, independent of nnn, but its error decreases only sublinearly, as O(1/k)O(1/k)O(1/k).

Le Roux, Schmidt and Bach (arXiv:1202.6258, NIPS 2012) introduced the stochastic average gradient (SAG) method, which keeps the one-gradient-per-iteration cost of SG and attains a linear rate, as FG does. SAG was the first method of this kind and started the line of variance-reduced methods (SVRG, SAGA, Katyusha) that are now standard for finite sums.

The paper has two convergence results. This mission formalizes the second one, Proposition 2: when the number of examples is at least 8L/μ8L/\mu8L/μ, SAG with the larger step size 12nμ\frac1{2n\mu}2nμ1​ reduces the expected suboptimality by a constant factor per pass through the data, independently of the conditioning of the problem. Proposition 1 (step size 12nL\frac1{2nL}2nL1​, any nnn) is the subject of a separate mission.

Setting

Let f1,…,fn:Rp→Rf_1,\dots,f_n:\mathbb R^p\to\mathbb Rf1​,…,fn​:Rp→R with n≥1n\ge1n≥1. The standing assumptions (p. 5, §3, and p. 13, §A.1) are:

  1. each fif_ifi​ is convex and differentiable, with gradient fi′f_i'fi′​;
  2. each fi′f_i'fi′​ is LLL-Lipschitz: ∥fi′(x)−fi′(y)∥≤L∥x−y∥\|f_i'(x)-f_i'(y)\|\le L\|x-y\|∥fi′​(x)−fi′​(y)∥≤L∥x−y∥;
  3. ggg is μ\muμ-strongly convex: x↦g(x)−μ2∥x∥2x\mapsto g(x)-\frac\mu2\|x\|^2x↦g(x)−2μ​∥x∥2 is convex, μ>0\mu>0μ>0;
  4. x∗x^*x∗ minimizes ggg.

Write g′=1n∑ifi′g'=\frac1n\sum_if_i'g′=n1​∑i​fi′​ and σ2=1n∑i∥fi′(x∗)∥2\sigma^2=\frac1n\sum_i\|f_i'(x^*)\|^2σ2=n1​∑i​∥fi′​(x∗)∥2, the variance of the gradients at the optimum.

SAG. The state is θ=(y,x)\theta=(y,x)θ=(y,x): a table y=(y1,…,yn)y=(y_1,\dots,y_n)y=(y1​,…,yn​) of stored gradients and an iterate xxx. At iteration kkk an index iki_kik​ is drawn uniformly from {1,…,n}\{1,\dots,n\}{1,…,n}, independently of the past, and

yik={fi′(xk−1)i=ikyik−1otherwise,xk=xk−1−αn∑i=1nyik.y_i^k=\begin{cases}f_i'(x^{k-1})&i=i_k\\ y_i^{k-1}&\text{otherwise}\end{cases},\qquad x^k=x^{k-1}-\frac{\alpha}{n}\sum_{i=1}^n y_i^k .yik​={fi′​(xk−1)yik−1​​i=ik​otherwise​,xk=xk−1−nα​i=1∑n​yik​.

Warm start. Proposition 2 is about a specific run. The first nnn iterations are stochastic gradient steps x~j=x~j−1−γjfij′(x~j−1)\tilde x^j=\tilde x^{j-1}-\gamma_jf'_{i_j}(\tilde x^{j-1})x~j=x~j−1−γj​fij​′​(x~j−1) from x~0=x0\tilde x^0=x^0x~0=x0 with γj=1/(2L+μ2j)\gamma_j=1/(2L+\frac\mu2 j)γj​=1/(2L+2μ​j). SAG is then started from the average xn=1n∑j=0n−1x~jx^n=\frac1n\sum_{j=0}^{n-1}\tilde x^jxn=n1​∑j=0n−1​x~j, with all yiy_iyi​ set to 000 and step size α=12nμ\alpha=\frac1{2n\mu}α=2nμ1​.

Lyapunov function. For parameters α,η,ν\alpha,\eta,\nuα,η,ν and ui=yi−fi′(x∗)u_i=y_i-f_i'(x^*)ui​=yi​−fi′​(x∗), the proof uses

Q(θ)=2g(x+αn∑iyi)−2g(x∗)+ηαn∑i∥ui∥2+αn(1−2ν)∥∑iui∥2−2ν⟨∑iui,x−x∗⟩,Q(\theta)=2g\Big(x+\frac\alpha n\sum_iy_i\Big)-2g(x^*)+\frac{\eta\alpha}n\sum_i\|u_i\|^2+\frac\alpha n(1-2\nu)\Big\|\sum_iu_i\Big\|^2-2\nu\Big\langle\sum_iu_i,x-x^*\Big\rangle,Q(θ)=2g(x+nα​i∑​yi​)−2g(x∗)+nηα​i∑​∥ui​∥2+nα​(1−2ν)​i∑​ui​​2−2ν⟨i∑​ui​,x−x∗⟩,

at η=2\eta=2η=2, ν=12n\nu=\frac1{2n}ν=2n1​, α=12nμ\alpha=\frac1{2n\mu}α=2nμ1​.

Formalization targets

Goal: Proposition 2 (p. 6)

If n≥8L/μn\ge 8L/\mun≥8L/μ, the warm-started run satisfies, for every k≥nk\ge nk≥n,

E[g(xk)−g(x∗)]≤C(1−18n)k,C=16L3n∥x0−x∗∥2+4σ23nμ(8log⁡(1+μn4L)+1).\mathbb E\big[g(x^k)-g(x^*)\big]\le C\Big(1-\frac1{8n}\Big)^k,\qquad C=\frac{16L}{3n}\|x^0-x^*\|^2+\frac{4\sigma^2}{3n\mu}\Big(8\log\Big(1+\frac{\mu n}{4L}\Big)+1\Big).E[g(xk)−g(x∗)]≤C(1−8n1​)k,C=3n16L​∥x0−x∗∥2+3nμ4σ2​(8log(1+4Lμn​)+1).

The constant is the paper's own; the goal fixes it as printed.

Milestones

In the order the proof uses them:

  1. §A.3, p. 14. One SG step: δk≤δk−1−2γk(1−γkL)E[g′(x~k−1)⊤(x~k−1−x∗)]+2γk2σ2\delta_k\le\delta_{k-1}-2\gamma_k(1-\gamma_kL)\mathbb E[g'(\tilde x^{k-1})^\top(\tilde x^{k-1}-x^*)]+2\gamma_k^2\sigma^2δk​≤δk−1​−2γk​(1−γk​L)E[g′(x~k−1)⊤(x~k−1−x∗)]+2γk2​σ2, with δk=E∥x~k−x∗∥2\delta_k=\mathbb E\|\tilde x^k-x^*\|^2δk​=E∥x~k−x∗∥2.
  2. §A.3, p. 15. The averaged SG iterate: Eg(1k∑i<kx~i)−g(x∗)≤2Lk∥x0−x∗∥2+4σ2kμlog⁡(1+μk4L)\mathbb Eg(\frac1k\sum_{i<k}\tilde x^i)-g(x^*)\le\frac{2L}k\|x^0-x^*\|^2+\frac{4\sigma^2}{k\mu}\log(1+\frac{\mu k}{4L})Eg(k1​∑i<k​x~i)−g(x∗)≤k2L​∥x0−x∗∥2+kμ4σ2​log(1+4Lμk​).
  3. Lemma 1, p. 16. The exact conditional expectation of a block quadratic form after one SAG step.
  4. §A.6, p. 24. Summed co-coercivity: ∑i∥fi′(x)−fi′(x∗)∥2≤nL (g′(x)−g′(x∗))⊤(x−x∗)\sum_i\|f_i'(x)-f_i'(x^*)\|^2\le nL\,(g'(x)-g'(x^*))^\top(x-x^*)∑i​∥fi′​(x)−fi′​(x∗)∥2≤nL(g′(x)−g′(x∗))⊤(x−x∗).
  5. §A.6, pp. 27–28. One-step contraction: E[Q(θk)∣Fk−1]≤(1−18n)Q(θk−1)\mathbb E[Q(\theta^k)\mid\mathcal F_{k-1}]\le(1-\frac1{8n})Q(\theta^{k-1})E[Q(θk)∣Fk−1​]≤(1−8n1​)Q(θk−1) when nμ/L≥8n\mu/L\ge8nμ/L≥8.
  6. §A.6, p. 28. EQ(θk)≤(1−18n)kQ(θ0)\mathbb EQ(\theta^k)\le(1-\frac1{8n})^kQ(\theta^0)EQ(θk)≤(1−8n1​)kQ(θ0), and Q(θ0)=2(g(x0)−g(x∗))+σ2nμQ(\theta^0)=2(g(x^0)-g(x^*))+\frac{\sigma^2}{n\mu}Q(θ0)=2(g(x0)−g(x∗))+nμσ2​ when y0=0y^0=0y0=0.
  7. §A.6, p. 29. Domination: Q(θ)≥6364(g(x)−g(x∗))Q(\theta)\ge\frac{63}{64}(g(x)-g(x^*))Q(θ)≥6463​(g(x)−g(x∗)) for every state.
  8. §A.6, p. 30. SAG from y0=0y^0=0y0=0 without warm start: E[g(xk)−g(x∗)]≤(1−18n)k[73(g(x0)−g(x∗))+7σ26nμ]\mathbb E[g(x^k)-g(x^*)]\le(1-\frac1{8n})^k[\frac73(g(x^0)-g(x^*))+\frac{7\sigma^2}{6n\mu}]E[g(xk)−g(x∗)]≤(1−8n1​)k[37​(g(x0)−g(x∗))+6nμ7σ2​].
  9. §A.6, p. 30. (1−18n)−n≤87(1-\frac1{8n})^{-n}\le\frac87(1−8n1​)−n≤78​.

Significance

The result. Proposition 2 gives a rate per pass through the data, (1−18n)n≤e−1/8(1-\frac1{8n})^n\le e^{-1/8}(1−8n1​)n≤e−1/8, that depends on neither μ\muμ nor LLL once n≥8L/μn\ge8L/\mun≥8L/μ. On p. 6 the paper compares it with the FG rate ((L−μ)/(L+μ))2((L-\mu)/(L+\mu))^2((L−μ)/(L+μ))2 and the accelerated FG rate 1−μ/L1-\sqrt{\mu/L}1−μ/L​. With n=100000n=100000n=100000, L=100L=100L=100, μ=0.01\mu=0.01μ=0.01, nnn SAG iterations contract by 0.88250.88250.8825 at the cost of one FG iteration, while FG contracts by 0.99960.99960.9996 and accelerated FG by 0.990.990.99. The SG warm start replaces a constant proportional to nnn by one of order log⁡n\log nlogn, so the bound also captures the O((log⁡n)/k)O((\log n)/k)O((logn)/k) behaviour of the early iterations.

Formalizing it. The paper's proof is complete, and a machine-checked proof is new; no SAG statement exists on the platform. A formalization would check the paper's long appendix computation (pp. 23–29: a Lyapunov argument with completing the square on block vectors) and fix its slips: on p. 30 the proof writes E[g(xk)−g(x∗)]≤2EQ(θk)\mathbb E[g(x^k)-g(x^*)]\le2\mathbb EQ(\theta^k)E[g(xk)−g(x∗)]≤2EQ(θk), where its own Step 2 gives the factor 76\frac7667​, and the bracket that follows matches 76\frac7667​. Lemma 1 is shared with Proposition 1, and the SG bound of §A.3 is a standalone result (after Bach and Moulines, 2011).

Difficulty

The obvious approach does not work. SAG's update direction is a biased estimate of g′(xk−1)g'(x^{k-1})g′(xk−1): the stored gradients were computed at old iterates. So the usual SG argument, an unbiased step followed by a bound on E∥xk−x∗∥2\mathbb E\|x^k-x^*\|^2E∥xk−x∗∥2, breaks down. The proof instead tracks the joint state (y,x)(y,x)(y,x) through a Lyapunov function that couples the table and the iterate, and it needs a function-value term 2g(x+αne⊤y)2g(x+\frac\alpha ne^\top y)2g(x+nα​e⊤y) to handle the large step 12nμ\frac1{2n\mu}2nμ1​. The one-step bound (pp. 24–28) is an inequality between quadratic forms in (y−f′(x∗),x−x∗,g′(x))(y-f'(x^*),x-x^*,g'(x))(y−f′(x∗),x−x∗,g′(x)). It holds only after completing the square in the yyy block, and it closes only under nμ/L≥8n\mu/L\ge8nμ/L≥8; the margin there is small (104/15≈6.93≤8104/15\approx6.93\le8104/15≈6.93≤8). The domination step similarly minimizes over ∑iyi\sum_iy_i∑i​yi​.

Formalization scope

  • Carrier and indices. Rp\mathbb R^pRp is EuclideanSpace ℝ (Fin p), and the components are indexed by Fin n. ggg and g′g'g′ are the published SAGA.Convex.fAvg and SAGA.Convex.gradAvg.
  • Assumptions. The standing assumptions are the structure SAG.LargeStep.Assumptions. Strong convexity is stated in the paper's form: g−μ2∥⋅∥2g-\frac\mu2\|\cdot\|^2g−2μ​∥⋅∥2 is convex. Each fif_ifi​ is convex (§A.1), and gradients are tied to the functions by HasGradientAt.
  • Randomness. Indices are modelled as all sequences in Fin k → Fin n, weighted uniformly (SAGA.Convex.expectIdx), which is the law of kkk independent uniform draws. A conditional expectation given Fk−1\mathcal F_{k-1}Fk−1​ is the average over the nnn indices of one step from an arbitrary fixed state.
  • The run. hybrid draws k≥nk\ge nk≥n indices. The SG phase uses the first n−1n-1n−1, index nnn is drawn and unused, and SAG uses the last k−nk-nk−n, from (0,xn)(0,x^n)(0,xn) with α=12nμ\alpha=\frac1{2n\mu}α=2nμ1​. The SG step sizes are γj=1/(2L+μ2j)\gamma_j=1/(2L+\frac\mu2j)γj​=1/(2L+2μ​j).
  • Lyapunov function. QQQ is defined with α,η,ν\alpha,\eta,\nuα,η,ν as parameters and used at (12nμ,2,12n)(\frac1{2n\mu},2,\frac1{2n})(2nμ1​,2,2n1​).
  • Lemma 1 is stated for general blocks: AAA and ccc symmetric, and bj⊤b_j^\topbj⊤​ the adjoint.
  • Not a trivializing formalization. Proposition 2's constant CCC, with its logarithm and its 16L3n\frac{16L}{3n}3n16L​, holds only for the warm-started run. Stating it for SAG started at x0x^0x0 would be a different and unproved claim, so the goal is stated for hybrid. Every hypothesis is satisfiable: n=8n=8n=8, p=1p=1p=1, fi(x)=x2/2f_i(x)=x^2/2fi​(x)=x2/2, L=μ=1L=\mu=1L=μ=1, x∗=0x^*=0x∗=0.
  • Slips on the page. Milestones 2 and 8 state what the proof establishes; their natural-language statements explain the misprints.
  • Contributions welcome. Proofs of any milestone. The SG lemmas (milestones 1–2) and co-coercivity (milestone 4, also published as ConvexOptAlg.SmoothGD.eq_3_6) are reusable beyond this mission.

Selected references

  • N. Le Roux, M. Schmidt, F. Bach, A Stochastic Gradient Method with an Exponential Convergence Rate for Finite Training Sets, NIPS 2012; arXiv:1202.6258v4 (2013). https://arxiv.org/abs/1202.6258
  • F. Bach, E. Moulines, Non-asymptotic analysis of stochastic approximation algorithms for machine learning, NIPS 2011. https://proceedings.neurips.cc/paper_files/paper/2011 (NIPS 24 proceedings)
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
  • A. Defazio, F. Bach, S. Lacoste-Julien, SAGA: A Fast Incremental Gradient Method with Support for Non-Strongly Convex Composite Objectives, NIPS 2014; arXiv:1407.0202. https://arxiv.org/abs/1407.0202
18 thms1 active userReviewed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

Efficiency of Coordinate Descent Methods on Huge-Scale Optimization Problems 5: RCDM with Adaptive Lipschitz Estimates (RACDM) Has Expected Error at Most 8nR₁²(x₀)/(16 + 3k)Research Paper

Motivation

Random coordinate descent minimizes a smooth convex function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R by updating one coordinate at a time, chosen at random. Each iteration needs a single partial derivative instead of the full gradient, which is what makes the method usable on problems whose dimension is in the millions or billions ("huge-scale" problems). Nesterov's paper Efficiency of coordinate descent methods on huge-scale optimization problems (CORE Discussion Paper 2010/2; journal version SIAM J. Optim. 22 (2012) 341–362, doi:10.1137/100802001) gave the first global efficiency estimates for such methods and started a large literature on randomized block and coordinate methods.

The basic method RCDM of the paper takes, along coordinate iii, a step of length 1/Li1/L_i1/Li​, where LiL_iLi​ is a Lipschitz constant of the iii-th partial derivative along the iii-th coordinate. For simple functions these constants are known; for more complicated ones they are not, and a practical method has to estimate them on the fly. Section 6.1 of the paper analyses a backtracking strategy with restore for this purpose and proves that it keeps the efficiency of RCDM up to a constant factor. This mission formalizes that analysis, Theorem 7 of the paper.

Setting

Write ∇if(x)=∂f/∂xi(x)\nabla_i f(x)=\partial f/\partial x_i(x)∇i​f(x)=∂f/∂xi​(x) and eie_iei​ for the iii-th standard basis vector of Rn\mathbb R^nRn, n≥1n\ge1n≥1. The function fff is convex and differentiable, attains its minimum f∗=f(x∗)f^*=f(x^*)f∗=f(x∗), and its partial derivatives are coordinate-wise Lipschitz with constants Li>0L_i>0Li​>0 ((2.2) with one-dimensional blocks):

∣∇if(x+uei)−∇if(x)∣≤Li∣u∣(x∈Rn, u∈R, i=1,…,n).|\nabla_i f(x+ue_i)-\nabla_i f(x)|\le L_i|u|\qquad(x\in\mathbb R^n,\ u\in\mathbb R,\ i=1,\dots,n).∣∇i​f(x+uei​)−∇i​f(x)∣≤Li​∣u∣(x∈Rn, u∈R, i=1,…,n).

The weighted norm and its dual are ∥x∥1=(∑iLixi2)1/2\|x\|_1=(\sum_iL_ix_i^2)^{1/2}∥x∥1​=(∑i​Li​xi2​)1/2 and ∥g∥1∗=(∑igi2/Li)1/2\|g\|_1^*=(\sum_ig_i^2/L_i)^{1/2}∥g∥1∗​=(∑i​gi2​/Li​)1/2 ((2.7) with α=1\alpha=1α=1), and

R1(x0)=max⁡x{max⁡x∗∈X∗∥x−x∗∥1: f(x)≤f(x0)}R_1(x_0)=\max_x\Big\{\max_{x^*\in X^*}\|x-x^*\|_1:\ f(x)\le f(x_0)\Big\}R1​(x0​)=xmax​{x∗∈X∗max​∥x−x∗∥1​: f(x)≤f(x0​)}

measures the size of the initial level set, X∗X^*X∗ being the set of minimizers.

The random adaptive coordinate descent method RACDM(x0)(x_0)(x0​) (6.1) keeps estimates L^1,…,L^n\hat L_1,\dots,\hat L_nL^1​,…,L^n​, initialised with given lower bounds Li0∈(0,Li]L_i^0\in(0,L_i]Li0​∈(0,Li​]. At iteration kkk it

  1. draws i=iki=i_ki=ik​ uniformly from {1,…,n}\{1,\dots,n\}{1,…,n};
  2. sets xk+1=xk−L^i−1∇if(xk)eix_{k+1}=x_k-\hat L_i^{-1}\nabla_if(x_k)e_ixk+1​=xk​−L^i−1​∇i​f(xk​)ei​ and, as long as ∇if(xk)⋅∇if(xk+1)<0\nabla_if(x_k)\cdot\nabla_if(x_{k+1})<0∇i​f(xk​)⋅∇i​f(xk+1​)<0, doubles L^i\hat L_iL^i​ and recomputes xk+1x_{k+1}xk+1​;
  3. halves L^i\hat L_iL^i​.

The loop test uses only the sign of one partial derivative and never a function value. With φk=Ef(xk)\varphi_k=\mathbb E f(x_k)φk​=Ef(xk​) (the expectation over i0,…,ik−1i_0,\dots,i_{k-1}i0​,…,ik−1​) and NkN_kNk​ the number of partial derivatives computed in iterations 0,…,k0,\dots,k0,…,k, Theorem 7 states three facts about this method.

Formalization targets

Goal: Theorem 7, item 2, (6.2)

φk−f∗ ≤ 8nR12(x0)16+3k,k≥0.\varphi_k-f^*\ \le\ \frac{8nR_1^2(x_0)}{16+3k},\qquad k\ge0.φk​−f∗ ≤ 16+3k8nR12​(x0​)​,k≥0.

This is the rate of RCDM(0,x0)(0,x_0)(0,x0​), φk−f∗≤2nR12(x0)/(k+4)\varphi_k-f^*\le 2nR_1^2(x_0)/(k+4)φk​−f∗≤2nR12​(x0​)/(k+4) ((2.14)), with a larger constant.

Milestones

  1. (6.4) — started from an estimate 0<L^i≤Li0<\hat L_i\le L_i0<L^i​≤Li​, the doubling loop terminates and the accepted estimate satisfies L^i≤2Li\hat L_i\le2L_iL^i​≤2Li​.
  2. Theorem 7, item 1 — at the beginning of each iteration L^i≤Li\hat L_i\le L_iL^i​≤Li​ for every iii.
  3. One-step decrease (proof of Theorem 7, p. 19) — f(xk)−f(xk+1)≥38Lik(∇ikf(xk))2f(x_k)-f(x_{k+1})\ge\frac{3}{8L_{i_k}}(\nabla_{i_k}f(x_k))^2f(xk​)−f(xk+1​)≥8Lik​​3​(∇ik​​f(xk​))2.
  4. Expected decrease (proof of Theorem 7, p. 19) — f(xk)−Eikf(xk+1)≥38n(∥∇f(xk)∥1∗)2f(x_k)-\mathbb E_{i_k}f(x_{k+1})\ge\frac3{8n}(\|\nabla f(x_k)\|_1^*)^2f(xk​)−Eik​​f(xk+1​)≥8n3​(∥∇f(xk​)∥1∗​)2.
  5. Theorem 7, item 3, (6.3) — Nk≤2(k+1)+∑i=1nlog⁡2(Li/Li0)N_k\le 2(k+1)+\sum_{i=1}^n\log_2(L_i/L_i^0)Nk​≤2(k+1)+∑i=1n​log2​(Li​/Li0​).

Significance

The result shows that the constants LiL_iLi​ in RCDM need not be known: a method that starts from any lower bounds and adjusts them by doubling and halving converges at the same O(nR12(x0)/k)O(nR_1^2(x_0)/k)O(nR12​(x0​)/k) rate, and pays on average about two partial derivatives per iteration plus a logarithmic one-time overhead. This is what makes random coordinate descent applicable to functions whose coordinate smoothness is not available in closed form, and the doubling-with-restore pattern recurs in later adaptive and accelerated coordinate methods (the paper itself indicates the same technique for its accelerated method, (6.5)).

The theorem is proved in the paper; to our knowledge no machine-checked proof exists. The known-constant analogues for scalar coordinates are on Prove2Me in Bubeck's §6.4 development (the one-step and expected decreases are proved there; the rate is open). This mission adds a formal model of the adaptive method itself, including its doubling loop as a first-failure search, and the three statements of Theorem 7 on top of the published coordinate-descent definitions.

Difficulty

The analysis of RCDM rests on the one-step bound f(x)−f(x−Li−1∇if(x)ei)≥(∇if(x))2/(2Li)f(x)-f(x-L_i^{-1}\nabla_if(x)e_i)\ge(\nabla_if(x))^2/(2L_i)f(x)−f(x−Li−1​∇i​f(x)ei​)≥(∇i​f(x))2/(2Li​), which follows from the smoothness of fff along the coordinate line. For RACDM the step uses an estimate L^i\hat L_iL^i​ that may be smaller than LiL_iLi​, and then the same argument gives no decrease at all: a step that is too long can increase fff. The method never checks function values, so the decrease has to be extracted from the sign test alone, and it holds only because fff is convex along the line, not merely smooth. A second point is that the estimates are random and depend on the whole history, so the expected decrease must hold for every state the method can reach; this is what item 1 secures. The counting statement needs the exact number of loop iterations, so the loop has to be modelled as the least number of doublings after which the test fails, not as some number of doublings.

Formalization scope

The formalization works with scalar coordinates (N=nN=nN=n, as the paper does in §6.1) on EuclideanSpace ℝ (Fin n), coordinates indexed 0,…,n−10,\dots,n-10,…,n−1. It reuses the published definition ConvexOptAlg_CoordDescent_Defs: IsCoordSmooth f g L is (2.2) with an explicit gradient map g=∇fg=\nabla fg=∇f, wnorm L 1 and wnormDual L 1 are ∥⋅∥1\|\cdot\|_1∥⋅∥1​ and ∥⋅∥1∗\|\cdot\|_1^*∥⋅∥1∗​, and rcdExpect L 0 k is the expectation over kkk uniform draws as a finite weighted sum. The mission's own definition NesterovRCD.Adaptive.RACDM encodes the trial point, the number of doublings (a minimum over N\mathbb NN), one iteration, the run along an explicit sequence of draws, and the count NkN_kNk​.

The following choices are made explicitly.

  • Step 3 of (6.1) is printed "Set Lik:=12LikL_{i_k}:=\frac12L_{i_k}Lik​​:=21​Lik​​"; it is read as L^ik:=12L^ik\hat L_{i_k}:=\frac12\hat L_{i_k}L^ik​​:=21​L^ik​​, as the paper's proof requires. The true constants LiL_iLi​ never change and enter only hypotheses and bounds.
  • R1(x0)R_1(x_0)R1​(x0​) is not computed: the goal takes any RRR with ∥x−y∗∥1≤R\|x-y^*\|_1\le R∥x−y∗∥1​≤R for all xxx in the level set and all minimizers y∗y^*y∗. "X∗X^*X∗ nonempty" is a hypothesis; "X∗X^*X∗ bounded" follows from the existence of RRR.
  • Implicit hypotheses made explicit: n≥1n\ge1n≥1; Li0>0L_i^0>0Li0​>0 and Li0≤LiL_i^0\le L_iLi0​≤Li​; in the milestones, 0<L^i≤Li0<\hat L_i\le L_i0<L^i​≤Li​ on the entry state.
  • Convexity is assumed in the statements that need it (the decreases and the rate); (6.4) and items 1 and 3 hold without it and are stated without it.
  • NkN_kNk​ counts dj+1d_j+1dj​+1 evaluations of ∇ijf\nabla_{i_j}f∇ij​​f at iteration jjj with djd_jdj​ doublings, the count the paper's proof uses; counting ∇ijf(xj)\nabla_{i_j}f(x_j)∇ij​​f(xj​) as well would give 3(k+1)+∑ilog⁡2(Li/Li0)3(k+1)+\sum_i\log_2(L_i/L_i^0)3(k+1)+∑i​log2​(Li​/Li0​).

A trivializing encoding is ruled out: the loop count is the least ddd at which the sign test fails (an arbitrary admissible ddd would change the method and make the count meaningless), the draws are uniform, and the rate is stated in the norm of the true constants LiL_iLi​, not of the estimates. Contributions welcome: proofs of the milestones, a one-dimensional co-coercivity lemma for convex smooth functions of one variable (reusable well beyond this mission), and the recursion argument from the expected decrease to the rate.

Selected references

  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, CORE Discussion Paper 2010/2, Université catholique de Louvain, 2010. Journal version: SIAM J. Optim. 22(2) (2012) 341–362. doi:10.1137/100802001
  • Yu. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004 (reference [6] of the paper; inequality (2.1.17)). doi:10.1007/978-1-4419-8853-9
  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4) (2015) 231–357, §6.4. arXiv:1405.4980
8 thms1 active userReviewed
PreviousPage 7 of 9Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me