(B.4), App. B.1.1, p. 24 — E‖∇f(X_{s(n)}) − ∇f(X_n)‖₂ ≤ L B̄ Σ_{r=s(n)}^{n−1} α_{r+1}
ProvedLargeDelaySGD.MeanSquare.eq_B4Throughout, , with the Euclidean norm ; the random function lives on a probability space and ; the noise sequence lives on a second probability space , is i.i.d. with law , and are the DASGD iterates , with a deterministic delay schedule . Assumption 1 is taken with a bound and a Lipschitz constant of . Assume only and for all from Assumption 2, and let be any bound with for all . Then for every , the random variable is integrable and
This controls the staleness of the delayed gradient: the error from evaluating at instead of is at most the step sizes accumulated during the delay.
Formalization Note. The integrability conjunct guards against Lean's convention that the integral of a non-integrable function is . The empty sum (, no delay) is .
import Mathlib import Definitions.Def_LargeDelaySGD_MeanSquare_Model
namespace LargeDelaySGD.MeanSquare
open MeasureTheory ProbabilityTheory
theorem eq_B4 {d : ℕ} {Ξ Ω : Type*} [MeasurableSpace Ξ] [MeasurableSpace Ω]
(μ : Measure Ξ) [IsProbabilityMeasure μ] (P : Measure Ω) [IsProbabilityMeasure P]
(F : EuclideanSpace ℝ (Fin d) → Ξ → ℝ) (B : ℝ) (L : NNReal) (hA1 : Assumption1 F μ B L)
(α : ℕ → ℝ) (s : ℕ → ℕ)
(hs : ∀ n, s n ≤ n) (hα : ∀ n, 0 < α n)
(ω : ℕ → Ω → Ξ) (hω : IIDNoise P μ ω) (x₀ : EuclideanSpace ℝ (Fin d))
(X : ℕ → Ω → EuclideanSpace ℝ (Fin d)) (hX : IsDASGD F α s ω x₀ X)
(Bbar : ℝ) (hBbar : ∀ x, ∫ ξ, ‖stochGrad F x ξ‖ ∂μ ≤ Bbar) :
∀ n, Integrable (fun a => ‖gradient (objective F μ) (X (s n) a) -
gradient (objective F μ) (X n a)‖) P ∧
∫ a, ‖gradient (objective F μ) (X (s n) a) - gradient (objective F μ) (X n a)‖ ∂P ≤
L * Bbar * ∑ r ∈ Finset.Ico (s n) n, α (r + 1) := by sorry
end LargeDelaySGD.MeanSquare
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.