Lemma 1 — the expected dual increase of one SDCA step is at least times the duality gap, minus a variance term
ProvedSDCA.Smooth.lemma_1Let with , convex losses , and . Assume every conjugate is -strongly convex for some ( is allowed). Let be an SDCA step, and for every and let be a number with .
Let be a dual-feasible point ( for all ), , and let one SDCA iteration from pick the coordinate uniformly from and move to . Then every is finite and, for every ,
This is the key estimate of the paper: the expected increase of the dual objective in one step is bounded below by a fraction of the duality gap. With and an outer expectation over the history it is the paper's Lemma 1.
Formalization Note The statement is the one-step (conditional) form: it holds at every feasible dual point, and averaging over the history gives the printed form with over the run. is . Dual values are EReal and are converted to reals only where finite (the input point by feasibility, the updated points by the first conjunct). The range excludes , where divides by . is the subgradient inequality.
import Mathlib import Definitions.Def_SDCA_Smooth_Model open scoped InnerProductSpace
namespace SDCA.Smooth
/-- Lemma 1, p. 12 (Shalev-Shwartz–Zhang, arXiv:1209.1873v2), in conditional one-step form.
Assume every `φᵢ*` is `γ`-strongly convex (`γ ≥ 0`), `Δ` is an SDCA step, and `u i a` is a choice
with `−u i a ∈ ∂φᵢ(a)`. Then at every dual-feasible point `α` (all `φᵢ*(−αᵢ) < ∞`), for a coordinate
`i` drawn uniformly from `{1, …, n}` and every `s ∈ (0, 1]`:
the updated dual values are finite, and
`E_i[D(α + Δαᵢ eᵢ)] − D(α) ≥ (s/n)(P(w(α)) − D(α)) − (s/n)² G/(2λ)`, where
`G = (1/n) ∑ᵢ (‖xᵢ‖² − γ(1 − s)λn/s) (uᵢ − αᵢ)²` and `uᵢ = u i (w(α)ᵀ xᵢ)`. -/
theorem lemma_1 {d n : ℕ} (hn : 0 < n) (x : Fin n → EuclideanSpace ℝ (Fin d))
(φ : Fin n → ℝ → ℝ) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
(lam : ℝ) (hlam : 0 < lam)
(γ : ℝ) (hγ : 0 ≤ γ) (hsc : ∀ i, ConjStronglyConvex (φ i) γ)
(Δ : (Fin n → ℝ) → Fin n → ℝ) (hΔ : IsSDCAStep lam x φ Δ)
(u : Fin n → ℝ → ℝ) (hu : ∀ i a z, φ i a + (-(u i a)) * (z - a) ≤ φ i z)
(α : Fin n → ℝ) (hfeas : ∀ i, SDCA.Lipschitz.conj (φ i) (-α i) ≠ ⊤)
(s : ℝ) (hs0 : 0 < s) (hs1 : s ≤ 1) :
(∀ i, dual lam x φ (SDCA.Lipschitz.sdcaStep Δ α i) ≠ ⊥) ∧
(1 / (n : ℝ)) * ∑ i, (dual lam x φ (SDCA.Lipschitz.sdcaStep Δ α i)).toReal - (dual lam x φ α).toReal ≥
s / n * (primal lam x φ (wOf lam x α) - (dual lam x φ α).toReal) -
(s / n) ^ 2 *
((1 / (n : ℝ)) * ∑ i, (‖x i‖ ^ 2 - γ * (1 - s) * lam * n / s) *
(u i ⟪wOf lam x α, x i⟫_ℝ - α i) ^ 2) / (2 * lam) := by sorry
end SDCA.Smooth
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.