(B.5), App. B.1.1, p. 24 — E f(X_{n+1}) − E f(X_n) ≤ −α_{n+1}E‖∇f(X_n)‖² + L B̄ √B α_{n+1}Σα_{r+1} + L√B α²_{n+1} + 4LB α²_{n+1}
ProvedLargeDelaySGD.MeanSquare.eq_B5Throughout, , 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 , and let be any bound with for all . Then for every , and are integrable and
This is the expected one-step descent inequality of delayed SGD: the usual descent term, a delay penalty, and second-order terms in the step size. Telescoping it gives Lemma 1.
Formalization Note. The constants are the page's, as printed in (B.5). The integrability conjuncts guard against Lean's junk value for integrals of non-integrable functions.
import Mathlib import Definitions.Def_LargeDelaySGD_MeanSquare_Model
namespace LargeDelaySGD.MeanSquare
open MeasureTheory ProbabilityTheory
theorem eq_B5 {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 => objective F μ (X n a)) P ∧
Integrable (fun a => ‖gradient (objective F μ) (X n a)‖ ^ 2) P ∧
∫ a, objective F μ (X (n + 1) a) ∂P - ∫ a, objective F μ (X n a) ∂P ≤
-α (n + 1) * ∫ a, ‖gradient (objective F μ) (X n a)‖ ^ 2 ∂P
+ L * Bbar * Real.sqrt B * α (n + 1) * ∑ r ∈ Finset.Ico (s n) n, α (r + 1)
+ L * Real.sqrt B * α (n + 1) ^ 2 + 4 * L * B * α (n + 1) ^ 2 := by sorry
end LargeDelaySGD.MeanSquare
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.