§7.1, p. 13 — the duality gap
ProvedSDCA.Lipschitz.gap_identitycoordinate-ascentdualityp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-optimization
Throughout, (), are convex, , is the primal objective (1), the dual objective (2), the convex conjugate and .
For every and ,
The identity writes the duality gap as an average of Fenchel–Young gaps, one per example; it converts the averaged one-step bound (10) into Lemma 1.
Formalization Note The identity is stated in EReal, so it holds for every : when some , both sides are . The paper's display is written for with , which holds for ; the statement is made for .
Preamble
import Mathlib import Definitions.Def_SDCA_Lipschitz_Model
Formal statement
namespace SDCA.Lipschitz
/-- §7.1, proof of Lemma 1, p. 13 (unnumbered display): for every dual vector `α` and
`w = w(α)`, the duality gap is
`P(w) − D(α) = (1/n) ∑ᵢ (φᵢ(wᵀxᵢ) + φᵢ*(−αᵢ) + αᵢ wᵀxᵢ)`, in `EReal`
(both sides are `⊤` when some `φᵢ*(−αᵢ) = ⊤`). -/
theorem gap_identity {d n : ℕ} (φ : Fin n → ℝ → ℝ) (x : Fin n → EuclideanSpace ℝ (Fin d)) (lam : ℝ)
(hn : 0 < n) (hlam : 0 < lam) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
(α : Fin n → ℝ) :
((primal φ x lam (wOf x lam α) : ℝ) : EReal) - dual φ x lam α =
(((1 / (n : ℝ)) : ℝ) : EReal) *
∑ i, (((φ i (inner ℝ (wOf x lam α) (x i)) + α i * inner ℝ (wOf x lam α) (x i) : ℝ) : EReal)
+ conj (φ i) (-α i)) := by sorry
end SDCA.Lipschitz
Source
Shalev-Shwartz and Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, arXiv:1209.1873v2, §7.1, proof of Lemma 1, p. 13, unnumbered display after (10)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.