(4.26) — conditional expected decrease of one dynamic batch step
ProvedDynSampleSize.Stoch.eq_4_26mini-batchp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-optimization
Under the stochastic model of §4.2 and (4.2) with constants , 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 paper's conditional expectation of given : a deterministic gradient step's decrease, minus a noise term that shrinks with the batch size.
Preamble
import Mathlib import Definitions.Def_DynSampleSize_Stoch_UniformConvexity import Definitions.Def_DynSampleSize_Stoch_Model open MeasureTheory
Formal statement
namespace DynSampleSize.Stoch
/-- (4.26), p. 12: 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)‖² + (1/(2Ln)) ‖Var(∇ℓ(w; ·))‖₁`, and the expectation exists. -/
theorem eq_4_26 {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)
(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) ∂(Measure.pi (fun _ : Fin n => P)) ≤
objective P ℓ w - 1 / (2 * L) * ‖gradient (objective P ℓ) w‖ ^ 2 +
1 / (2 * L * n) * vecVar P (gradℓ w) := 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.26)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.