Theorem 4.2 — with , dynamic batch steepest descent satisfies
ProvedDynSampleSize.Stoch.theorem_4_2Let be a probability space of data points, a per-sample loss on with gradient , and the expected loss (2.1), under the stochastic model of §4.2 (integrable loss, jointly measurable gradient with finite second moment, and ). Assume:
- is twice continuously differentiable and uniformly convex: for all , with (4.2); is a minimizer of ;
- there is a constant with for all (4.22);
- the sample sizes satisfy for all , for some .
Let be generated by the dynamic batch algorithm (4.24), , where is the mean of over a batch of independent draws from , drawn independently across iterations, starting from . Then
where
The statement also asserts that is integrable for every , so the expectation exists.
Geometric growth of the batch size thus buys linear convergence in expectation, at a rate set by the slower of the deterministic contraction and the batch growth .
Formalization Note Draw of iteration is , and all draws are independent with law (Measure.infinitePi over ); the paper's sampling without replacement from points is replaced by its limit, sampling with replacement (p. 5). The loss is a general differentiable ; the paper's linear predictor and convex are not used by the theorem. λ is written lam.
import Mathlib import Definitions.Def_DynSampleSize_Stoch_UniformConvexity import Definitions.Def_DynSampleSize_Stoch_Model import Definitions.Def_DynSampleSize_Stoch_Run open MeasureTheory
namespace DynSampleSize.Stoch
/-- Theorem 4.2, p. 12: if the sample sizes satisfy `n_k ≥ a^k` for some `a > 1` and (4.22) holds,
the dynamic batch run (4.24) satisfies `E[J(w_k) − J(w*)] ≤ C ρ^k` for all `k`, with
`ρ = max{1 − λ/(4L), 1/a} < 1` and `C = max{J(w₀) − J(w*), 2ω/λ}` (4.28)–(4.29). -/
theorem theorem_4_2 {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) ≤ ω)
(a : ℝ) (ha : 1 < a) (n : ℕ → ℕ) (hn : ∀ k, a ^ k ≤ (n k : ℝ))
(w0 : EuclideanSpace ℝ (Fin m)) :
max (1 - lam / (4 * L)) (1 / a) < 1 ∧
∀ k : ℕ,
Integrable (fun ξ => objective P ℓ (run L gradℓ n w0 ξ k)) (sampleLaw P) ∧
∫ ξ, (objective P ℓ (run L gradℓ n w0 ξ k) - objective P ℓ wstar) ∂(sampleLaw P) ≤
max (objective P ℓ w0 - objective P ℓ wstar) (2 * ω / lam) *
(max (1 - lam / (4 * L)) (1 / a)) ^ k := by sorry
end DynSampleSize.Stoch
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.