Theorem 14.11: for λ-strongly convex f, E‖vₜ‖² ≤ ρ² and w⋆ ∈ H, SGD with ηₜ = 1/(λt) and projections onto H has E[f(w̄)] − f(w⋆) ≤ (ρ²/(2λT))(1 + log T)
ProvedUnderstandingML.sgd_strongly_convexprojectionstochastic-gradient-descentstrong-convexity
Theorem 14.11. Assume that is -strongly convex and that . Let be an optimal solution. Then SGD with and a projection onto after each step satisfies
Formally: closed and convex, directions for i.i.d. and a measurable oracle with and for every ; the bound holds for every .
Preamble
import Definitions.Def_UnderstandingML_SGD open MeasureTheory open scoped InnerProductSpace
Formal statement
namespace UnderstandingML
/-- **Theorem 14.11** (p. 195). Assume that `f` is `λ`-strongly convex and that `E[‖vₜ‖²] ≤ ρ²`.
Let `w⋆ ∈ argmin_{w ∈ H} f(w)` (the bound holds for every `w⋆ ∈ H`). Then SGD with the step
sizes `ηₜ = 1/(λt)` and a projection onto the closed convex set `H` after each step satisfies
`E[f(w̄)] − f(w⋆) ≤ (ρ²/(2λT))(1 + log T)`. Directions `vₜ = g(w⁽ᵗ⁾, zₜ)` for i.i.d. `zₜ ∼ D`, an
oracle `g` with `E_z g(w, z) ∈ ∂f(w)` and `E_z ‖g(w, z)‖² ≤ ρ²` for every `w`. -/
theorem sgd_strongly_convex {d : ℕ} {Z : Type*} [MeasurableSpace Z] (f : Vec d → ℝ) {lam : ℝ}
(hlam : 0 < lam) (hf : StrongConvexOn Set.univ lam f) (H : Set (Vec d)) (hH : Convex ℝ H)
(hclosed : IsClosed H) (D : Measure Z) [IsProbabilityMeasure D] (g : Vec d → Z → Vec d)
(hg : Measurable (Function.uncurry g)) (horacle : IsSubgradientOracle f D g) {ρ : ℝ}
(hmoment : ∀ w, ∫⁻ z, ENNReal.ofReal (‖g w z‖ ^ 2) ∂D ≤ ENNReal.ofReal (ρ ^ 2))
(wstar : Vec d) (hw : wstar ∈ H) (T : ℕ) (hT : 0 < T) :
(∫ S, f (sgdStrongAverage lam H g S) ∂(iidLaw D T)) - f wstar ≤
ρ ^ 2 / (2 * lam * T) * (1 + Real.log T) := by sorry
end UnderstandingML
Source
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014, doi:10.1017/CBO9781107298019, §14.4.4 pp. 195-196, Theorem 14.11 with its proof
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.