(4.27) — one-step recursion
ProvedDynSampleSize.Stoch.eq_4_27linear-convergencemini-batchp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-optimization
Under the stochastic model of §4.2 and (4.2) with constants , let minimize and let bound the gradient variance uniformly (4.22):
Fix a point and a sample size , draw a batch of independent points with law , and let be its batch gradient at . Then is integrable and
With and this is the conditional one-step recursion from which Theorem 4.2 follows by induction on .
Preamble
import Mathlib import Definitions.Def_DynSampleSize_Stoch_UniformConvexity import Definitions.Def_DynSampleSize_Stoch_Model open MeasureTheory
Formal statement
namespace DynSampleSize.Stoch
/-- (4.27), p. 12: under (4.22) (`‖Var(∇ℓ(w; ·))‖₁ ≤ ω` for every `w`), at a point `w`, with the batch
`b` of `n ≥ 1` i.i.d. draws from `P`,
`E[J(w − g/L) − J(w*)] ≤ (1 − λ/(2L)) (J(w) − J(w*)) + ω/(2Ln)`, and the expectation exists. -/
theorem eq_4_27 {m : ℕ} {Z : Type*} [MeasurableSpace Z] (P : Measure Z) [IsProbabilityMeasure P]
(ℓ : EuclideanSpace ℝ (Fin m) → Z → ℝ)
(gradℓ : EuclideanSpace ℝ (Fin m) → Z → EuclideanSpace ℝ (Fin m))
(hmodel : StochModel P ℓ gradℓ) (lam L : ℝ) (hJ : UniformlyConvex (objective P ℓ) lam L)
(wstar : EuclideanSpace ℝ (Fin m)) (hwstar : ∀ w, objective P ℓ wstar ≤ objective P ℓ w)
(ω : ℝ) (hω : ∀ w, vecVar P (gradℓ w) ≤ ω)
(w : EuclideanSpace ℝ (Fin m)) (n : ℕ) (hn : 1 ≤ n) :
Integrable (fun b => objective P ℓ (w - (1 / L) • batchGrad gradℓ n w b))
(Measure.pi (fun _ : Fin n => P)) ∧
∫ b, (objective P ℓ (w - (1 / L) • batchGrad gradℓ n w b) - objective P ℓ wstar)
∂(Measure.pi (fun _ : Fin n => P)) ≤
(1 - lam / (2 * L)) * (objective P ℓ w - objective P ℓ wstar) + ω / (2 * L * n) := by sorry
end DynSampleSize.Stoch
Source
Byrd, Chin, Nocedal, Wu, Sample size selection in optimization methods for machine learning, Math. Program. (2012), doi:10.1007/s10107-012-0572-5 — authors' version of 18 Oct 2011, p. 12, (4.27); p. 11, (4.22)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.