Lemma 5 — Perturbed strong convexity
ProvedSCAFFOLD.PerturbedStrongConvexityIf the clients are -strongly convex with , then for every client and every ,
Formalization note: direct source Lemma 5 applied to each client loss, including its convex () boundary. No stochastic run or minimizer is required.
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 C, PDF p. 17, Lemma 5 (unnumbered display), used in Section 5.
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 PerturbedStrongConvexity :
∀ (d N : ℕ) (P : Problem d N) (μ : ℝ), Convexity P μ →
∀ (i : Fin N) (x y z : Space d),
P.f i z - P.f i y + μ / 4 * ‖y - z‖ ^ 2 - P.β * ‖z - x‖ ^ 2 ≤
inner ℝ (gradient (P.f i) x) (z - y) := by sorry
end SCAFFOLDRead-back
What the Lean code literally says, in plain math · gpt-6
For every pair of natural numbers , let with its Euclidean norm and real Euclidean inner product , and let consist of real-valued functions indexed by , real numbers , and a point , subject to , , , existence of the gradient at every point for every client , and the bound for every and all . For every real number , assume that and that, for every client and all , . Then, for every client and every three points , the following non-strict inequality holds:
The quantified data permit , in which case has a single point and the asserted inequality is ; they permit , , , and coincident choices among . No instance of can satisfy the hypotheses when . The point and the nonnegative number are part of the universally quantified problem data but do not appear in the conclusion.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.