Lemma 19 consequence — Nonconvex convergence with warm start
ProvedSCAFFOLD.NonconvexFiniteRoundConvergenceFor the full-client -sample warm start, put and suppose . Then
This includes , , , and under the specified initialization.
Formalization note: a paper-derived finite-round formulation by summing Lemma 19, using the stated warm start to make the initial stored-point lag zero. The lower bound makes explicit that attainment is unnecessary. No intermediate descent or control-lag estimate is assumed in the model. The factor and the sampling factor are retained from Lemma 19.
Source: Sai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank J. Reddi, Sebastian U. Stich, and Ananda Theertha Suresh, SCAFFOLD: Stochastic Controlled Averaging for Federated Learning, ICML 2020; arXiv:1910.06378v4, https://arxiv.org/abs/1910.06378v4; Appendix E.2, PDF p. 34, Lemma 19; PDF p. 35, final paragraph; PDF p. 31, equations (26)–(27); parent Section 5, PDF p. 5, Theorem III.
Notation and probability model
There are clients, a model space (including ), differentiable client losses with -Lipschitz gradients, , and . The starting point is deterministic and bounds within-client stochastic-gradient standard deviation. A run has rounds, local steps, clients per round, local step , global step , and . All random variables live on a standard Borel probability space with a filtration containing the full history. States and gradient samples are square integrable; gradient samples are conditionally unbiased, have conditional squared error at most , and are independent across clients conditional on each step's history. These are explicit fresh-oracle and finite-moment conventions.
Every round first defines virtual paths for all clients, starting at :
Then an -element subset is sampled uniformly, conditionally independently of these paths given the past. Equivalently, its conditional distribution given the entire completed virtual-path history is uniform. Only selected clients update their controls to ; other controls persist. The server update is . This is option II of Algorithm 1, with the average-gradient form of Appendix E. The model contains the algorithm and oracle laws, not any convergence inequality.
For convex targets, minimizes , and the client losses obey
The initial client controls are arbitrary deterministic vectors and the server control is their average. Define
For nonconvex targets, for all ; a minimizer need not exist. Each is instead initialized by averaging fresh stochastic gradients at , with the same conditional oracle assumptions. These full-client initialization queries are additional to the optimization rounds.
The output is a sampled pre-round server iterate among , represented by its expected loss or squared-gradient statistic. No last-iterate or pathwise guarantee is asserted. Sources: Section 2, PDF p. 2; Algorithm 1, PDF p. 4; Appendix B.1, PDF p. 14, assumptions A3–A5; Appendix E, PDF pp. 25–26, equations (18)–(22), Remark 10; Appendix E.2, PDF pp. 31 and 35, equations (26)–(27) and final warm-start paragraph. Primary reference: Karimireddy et al., SCAFFOLD: Stochastic Controlled Averaging for Federated Learning, ICML 2020, https://arxiv.org/abs/1910.06378v4.
import Definitions.Def_SCAFFOLD_Model open MeasureTheory universe u
namespace SCAFFOLD
theorem NonconvexFiniteRoundConvergence :
∀ (d N : ℕ) (P : Problem d N) (Ω : Type u) [MeasurableSpace Ω]
[StandardBorelSpace Ω] (ν : Measure Ω) [IsProbabilityMeasure ν]
(S K T : ℕ) (ηl ηg fLower : ℝ),
(∀ x, fLower ≤ objective P.f x) → 0 < ηl → 1 ≤ ηg →
effectiveStep K ηl ηg ≤
Real.rpow ((S : ℝ) / (N : ℝ)) (2 / 3 : ℝ) / (24 * P.β) →
∀ A : Run P ν S K T ηl ηg none,
averageGradientSq A ≤ nonconvexRHS P S K T ηl ηg fLower := by sorry
end SCAFFOLDRead-back
What the Lean code literally says, in plain math · gpt-6
NonconvexFiniteRoundConvergence
Read-back model: gpt-6.
For every pair of natural numbers , let with its Euclidean inner product and norm, and let . Let consist of a positive client count , functions for , real numbers and , and a point , with the following properties: each has a gradient at every , equal to the gradient appearing below, and for every . Define . For every type in an arbitrary universe, equipped with a measurable space that is standard Borel, every probability measure on that space, every , and every , suppose for every , , , and, writing , suppose
where the exponent denotes the real power. The assertion holds for every collection of the following data and properties (all equalities and inequalities between random quantities below are -almost sure unless otherwise specified). The collection requires , , and ; an increasing sequence of sub--algebras of the given measurable space; random vectors for every , and for every , and for every ; and a finite-subset-valued function for every . Set . For every and every , is strongly -measurable and belongs to (that is, it is almost everywhere strongly measurable with finite second moment),
and, for each such , the full family is conditionally mutually independent given . For every , and each are strongly -measurable and belong to . For every , , and , is strongly -measurable and belongs to . For every , , and , is strongly -measurable and belongs to ,
and, for every such , the full family is conditionally mutually independent given . For every , almost surely; for every finite subset , the real indicator is strongly -measurable and satisfies
The required initialization is and, for each , . For every and , ; for every additional , the local update is
For every and , the control update, evaluated at each outcome, is
and the server update for each is
Under precisely these hypotheses, the conclusion is
Here every natural number used in real arithmetic is understood as its real-valued image; the expectations are conditional expectations under , and the integrals are measure-theoretic integrals under . No convexity, minimizer, attainment of , or existence of such a collection is asserted or assumed separately. The arrays are defined at all natural indices, but only the index ranges explicitly stated above are constrained. The measurability, moment, gradient, and update conditions cover all clients, including clients outside . The conclusion averages the iterates with indices , excluding . The universal quantifiers include , where is the zero-dimensional Euclidean space, every vector and gradient is zero, and the left side is zero; they permit and . An instance of excludes , and an instance of excludes , , , and ; if these parameters preclude such an instance, the corresponding assertion over all has no instances. An empty cannot carry the assumed probability measure. The subset condition also quantifies over , giving conditional probability zero since . For an actual instance all of are strictly positive, as is , so none of the displayed denominators vanishes and the sums over clients, local steps, rounds, and sampled clients are nonempty. The lower-bound assumption also gives .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.