Duality-gap identity
ProvedSDCA.Smooth.gap_identitycoordinate-ascentdualityp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-optimization
Let with , let be convex, let , and let and be the primal and dual objectives of problems (1) and (2). For every dual point , with ,
as an identity in : both sides are exactly when some .
The identity writes the duality gap as an average of nonnegative Fenchel–Young gaps, one per example; taking the expectation of the one-coordinate estimate (10) over the chosen coordinate turns its right-hand side into this gap.
Formalization Note and are EReal-valued; the left side is the coerced real minus in EReal.
Preamble
import Mathlib import Definitions.Def_SDCA_Smooth_Model open scoped InnerProductSpace
Formal statement
namespace SDCA.Smooth
/-- §7.1, proof of Lemma 1, p. 13 (Shalev-Shwartz–Zhang, arXiv:1209.1873v2): for every dual point
`α` and `w = w(α)`, the duality gap is
`P(w) − D(α) = (1/n) ∑ᵢ (φᵢ(wᵀxᵢ) + φᵢ*(−αᵢ) + αᵢ wᵀxᵢ)`, as an identity in `EReal`
(both sides are `+∞` exactly when some `φᵢ*(−αᵢ) = +∞`). -/
theorem gap_identity {d n : ℕ} (hn : 0 < n) (x : Fin n → EuclideanSpace ℝ (Fin d))
(φ : Fin n → ℝ → ℝ) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
(lam : ℝ) (hlam : 0 < lam) (α : Fin n → ℝ) :
((primal lam x φ (wOf lam x α) : ℝ) : EReal) - dual lam x φ α =
((1 / (n : ℝ) : ℝ) : EReal) *
∑ i, (((φ i ⟪wOf lam x α, x i⟫_ℝ : ℝ) : EReal) + SDCA.Lipschitz.conj (φ i) (-α i) +
((α i * ⟪wOf lam x α, x i⟫_ℝ : ℝ) : EReal)) := by sorry
end SDCA.Smooth
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 (display after (10))
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.