How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Federated averaging, local SGD, and SCAFFOLD
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Convex and Semicontinuous Functions on Rⁿ
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Properties of the Integral and the Working FTC
- Proximal gradient and accelerated composite optimization
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Variance reduced finite sum and adaptive gradient optimization
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
Federated objectives and client sampling
Definition
Let , let each client have a positive integer sample count , and put . For differentiable client objectives , the sample-count-weighted deployment objective is For differentiable client objectives , the equal-client objective is The symbols and denote separate families; they are not identified unless an application states . In general, and are different objectives.
For integers , a uniform fixed-size client sample is a random subset of cardinality for which every -element subset has probability . This is sampling without replacement. When several communication rounds are used, the sampled subsets are independent across rounds unless a theorem states a different sampling law.
Local SGD with periodic synchronization
Definition
Let be positive integers, let be differentiable for , and define . The inputs are a starting point , positive step sizes , and integer synchronization times Set and Initialize for each worker . For each , each worker and each within-step draw , draw uniformly from , with all draws mutually independent, and form For this is a single stochastic gradient. If , set for every worker. If , set The procedure returns the worker trajectories . The common initialization at time is included when measuring the largest synchronization gap, and a convergence statement must specify any particular average or iterate it analyzes.
Relaxed inequalities for squared Euclidean norms
Statement
For vectors and , For vectors ,
Facts & Assumptions
Given: The standard Euclidean inner product and norm on , with .
The real inner product is symmetric and bilinear, and squared norms are nonnegative.
Proof
Expanding the first inequality's right side minus its left side gives [given] Replacing by gives the same bound with ; together these two bounds yield both displayed two-vector inequalities.
Expanding each squared difference and collecting diagonal and cross terms [given] gives This proves the finite-sum inequality, including , when the right difference is zero.
Second moment bound for a finite martingale-difference sum
Statement
Assume the Axiom of Choice. Let be a finite filtration and let be -measurable for , where . For each , define by scalar conditional expectation and put and . Assume . If where each is integrable and -measurable, then
Statement references
Facts & Assumptions
Given: The filtered random vectors and conditional variance bounds in the Statement.
Filtration and filtered probability space: each is -measurable and .
Conditional expectation as an ae class and Basic algebra and order properties of conditional expectation: conditional expectations exist under the stated axiom branch and are linear.
Taking out what is known: for a scalar integrable variable and a finite measurable factor whose products are integrable, taking the factor out of conditional expectation is valid; apply this coordinatewise to Euclidean inner products.
Expectation of a nonnegative or integrable random variable, Linearity, monotonicity, and the modulus bound for expectation, and The Euclidean inner product on : expectations are linear on integrable variables and squared Euclidean norms expand into inner products.
and the conditional second moment bound in the Statement holds for every .
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F2].
Proof
For each coordinate , implies on the probability space, since and the space has total mass one. Thus the scalar supplier [F2] defines . This gives the coordinatewise vector . The assumption and the identity imply . By scalar linearity and the fact that an integrable measurable variable is its own conditional expectation, each coordinate satisfies . Integrating the scalar conditional second-moment bound and using [F2] gives Thus the vector conditional means, errors and second moments used below are well-defined in the stated finite-dimensional spaces.
If , then [given] is -measurable. For each coordinate , both and are in ; the pointwise inequality makes their product integrable. Apply [F3] coordinatewise and use step 1.1 to obtain Expanding the finite squared norm and using the integrated conditional variance bound from step 1.1 gives
Since , apply to the sums and . Take expectations and substitute step 2.1. This proves the Statement.
Quadratic-weighted telescope for a strongly convex recursion
Statement
Let , , , and Suppose nonnegative sequences satisfy, for , with and . Then Also .
Facts & Assumptions
Given: The scalar recurrence and parameters in the Statement.
are nonnegative; , , , .
Proof
Since , for , [given] The inequality follows by expanding the difference: for . At , .
Multiply each recurrence by the positive number and use [given] step 1.1 to telescope the terms. Dropping the nonnegative terminal term yields Direct summation gives and .
Divide step 1.2 by to obtain the stated bound. Since , .
Geometric and sublinear averaging for descent recursions
Statement
Let and let , .
-
If , , and then
-
If , , , and then for and , The left side in part 2 is the expectation of when an index is selected with probability .
Facts & Assumptions
Given: The nonnegative sequences, positive step size, and recurrences in the Statement.
All weights in part 2 are positive because .
Proof
Rearrange the part 1 inequality as and sum over . The distance terms telescope to . Divide by to get the first bound.
For part 2, multiply the recurrence by . Since [given] when , summing gives Divide by to obtain the second bound.
The probabilities are nonnegative and sum to one, so the expected selected value is exactly the weighted average in part 2.
Smooth convex gradient differences around a minimizer
Statement
Let be convex and continuously differentiable, with -Lipschitz gradients for . Put , and let minimize . Then
Statement references
Facts & Assumptions
Given: The functions and minimizer in the Statement, the standard Euclidean inner product, and the finite-average gradient rule.
Descent inequality for a Lipschitz gradient: a -Lipschitz gradient implies .
Gradient of a finite sum is the finite sum of gradients: the gradient of a finite average of differentiable functions is the average of their gradients.
Convex and strictly convex functions on Euclidean convex sets: convexity means for .
The Euclidean inner product on : is the standard inner product and .
Proof
Fix and define [given] . For and , convexity [F3] gives Letting and using differentiability at yields . Therefore for every , so minimizes .
The gradient is -Lipschitz and vanishes at [given] . Apply the descent inequality [F1] at with ; the inner-product and squared-norm terms give Since by step 1.1, rearranging gives
Average the inequality in step 1.2 over . By [F2], . For each coordinate direction , the one-variable function has a minimum at , so differentiability gives . Thus every coordinate of is zero. The averaged inner-product term therefore vanishes and the remaining function terms equal . This is the claimed bound.
Gradient steps of smooth convex functions are nonexpansive
Statement
Let be convex and differentiable with -Lipschitz gradient, where . For every and ,
Statement references
Karimireddy et al., SCAFFOLD, Appendix C, Lemma 6 proves a related contraction for -strongly convex functions with and squared-distance factor . The convex-only nonexpansiveness for the full range is established by the local proof below.
Facts & Assumptions
Given: The differentiable convex function and gradient step in the Statement.
Convex and strictly convex functions on Euclidean convex sets: convexity means for and .
Descent inequality for a Lipschitz gradient: a -Lipschitz gradient satisfies the quadratic descent inequality.
The Euclidean inner product on : inner products are bilinear and .
Proof
Fix . For every and , [F1] gives [given] As , differentiability makes the left side tend to . Hence . Define ; this inequality shows that minimizes . Its gradient is -Lipschitz, hence continuous. Apply [F2] at to and use to obtain
Repeat step 1.1 with and exchanged and add the two inequalities. [given] The right-hand Bregman terms sum to , so
Expand the square in the Statement and apply step 2.1: [given] because . Taking nonnegative square roots proves the claim.
Federated averaging (FedAvg)
Definition
The inputs are positive integers with , an initial server model , client objectives for the chosen mode and their local oracle procedures , positive step sizes , and one aggregation mode from the two modes below. In count-weighted deployment mode the objectives are and the inputs also include positive integer record counts , with . A call to returns a gradient vector according to its supplied deterministic or stochastic local-oracle rule; the client-sample randomness in a round is independent of that round's fresh oracle randomness. In uniform-client analysis mode the objectives are .
For each round , independently draw a uniform fixed-size subset of clients from . For every selected client , initialize and for call at and update The client sends its model difference to the server. Use one of the following aggregation branches in every round:
-
Count-weighted deployment mode. With positive client record counts and , set Equivalently, each unselected client contributes its unchanged model to the full count-weighted average.
-
Uniform-client analysis mode. Set The equal-client convergence result on this page uses this mode and the objective .
After the selected clients finish the round, apply the chosen branch to obtain . Repeat through round . Return the finite server trajectory .
Definition references
Remarks
The count-weighted deployment mode and uniform-client analysis mode are different update rules when the are unequal. The strongly convex rate proved on this page applies only to the uniform-client mode and the equal-client objective. McMahan et al. give the algorithm and empirical experiments; those experiments do not prove a general convergence rate or a differential-privacy guarantee.
Remarks references
SCAFFOLD with client and server control variates
Definition
The inputs are positive integers with , objective functions , an initial server model , client controls , positive step sizes , a local stochastic-gradient oracle , and a control-update option from . Set . The random client sample in each round is independent of that round's fresh local-oracle randomness; no independence among distinct clients' oracle draws is required here.
For each round , independently sample a uniform fixed-size subset of clients. At the start of this round, write , , and . For every selected client , initialize and, for , call at and update After its local steps, a selected client updates its control using either
- Option I: call at the round-start model and set ; or
- Option II: set .
The client sends and . Unselected clients retain their controls. The server forms and updates The selected clients set and unselected clients set . Thus whenever held before the round. The general procedure permits zero initial controls; the convergence rates stated below use the explicitly stated gradient-consistent initialization . Repeat through round and return the model and control trajectories .
The following schematic records only the communication flow. Its vertices are the server and the selected clients; the arrow labels are exactly the quantities sent in each direction. The local updates and server equations above, not the schematic, define the procedure.
diagram failed to render:
\begin{tikzpicture}[>=stealth]
\node[draw,rounded corners] (server) at (0,0) {Server: $(x,c)$};
\node[draw,rounded corners] (clients) at (5,0) {Selected clients $i\in\mathcal S$};
\draw[->] (server) to[bend left=18] node[above] {$(x,c)$} (clients);
\draw[->] (clients) to[bend left=18] node[below] {$(\Delta x_i,\Delta c_i)$} (server);
\end{tikzpicture}Definition references
Equal-client objective and fixed-size client sampling
Karimireddy et al., SCAFFOLD, §§4–5 and Algorithm 1
Gorbunov et al., Local SGD: Unified Theory and New Efficient Methods, §4.2
Chi and Li, Advances in Federated Optimization, slides 34–35
Yuan, Optimization for Deep Learning, Lecture 14: Federated Learning, slides 24–30
Remarks
Theorem III's rates below do not assume bounded gradient dissimilarity. The separate Hessian-dissimilarity improvement in Theorem IV is proved only for quadratic client functions and is not asserted here for general smooth losses. The procedure transmits model and control updates but supplies no differential-privacy guarantee.
Remarks references
Moments of a uniformly sampled fixed-size client set
Statement
Let , let , and choose uniformly from the -element subsets of . Put and . If , then In particular, If , necessarily and .
Facts & Assumptions
Given: The finite client set, fixed vectors, and uniform subset law in the Statement.
Federated objectives and client sampling: all -element subsets have equal probability.
Expectation of a nonnegative or integrable random variable: expectation on this finite probability space is the integral; finite-valued expectations are the corresponding finite weighted sums by Expectation agrees with the published finite weighted sum.
The Euclidean inner product on : the squared Euclidean norm expands as the sum of squared coordinates and the inner product is bilinear.
Proof
Assume and define and [given] . Counting equally likely subsets gives . For distinct , : this is zero for , and for it is . Thus These expectations are finite weighted sums by [F2].
Since , we have [given] . Also , so . Expanding the squared norm [F3] and using step 1.1 yields The first-moment identity follows from in step 1.1.
The identity and give the stated upper bound. If , the only size-one subset is the full set, so its sample mean equals and its variance is zero.
One-step progress of the virtual local-SGD iterate
Statement
Let have an attained minimum , be -smooth, and be -strongly convex with . Let be generated by local SGD, and define where is the batch gradient from the algorithm definition. If , then Expectations are over the finite product law of the sampled indices.
Statement references
Facts & Assumptions
Given: The local-SGD iterates, the finite-sum objective and Euclidean structure in the Statement.
Local SGD with periodic synchronization: at each step the local proposal is . An unsynchronized worker keeps its proposal, while a synchronized worker takes the mean of all proposals.
Descent inequality for a Lipschitz gradient: an -Lipschitz gradient gives .
Finite Jensen inequality for convex functions on : for a convex function, its value at a finite average is at most the average of its values.
The Euclidean inner product on : inner products and squared norms obey the standard Euclidean algebra.
Expectation of a nonnegative or integrable random variable and Expectation agrees with the published finite weighted sum: on the finite product law, expectations equal finite weighted sums.
For all , , is a minimizer, and .
Proof
Averaging the proposals in [F1] gives their mean . Synchronization preserves that mean, so , whether or not this step synchronizes. Fix any past tuple of sampled indices. The current independent uniform indices have finite conditional average by [F2]. Expanding after adding and subtracting , then averaging over the current indices, removes the cross term and gives .
Fix the past tuple and write . Jensen's inequality [F4] gives . Applying [F3] at with and using yields . Strong convexity [A1] gives . Young's inequality, in the form , therefore gives . In the expansion , decompose and average the preceding bounds over . The function-gap coefficient is ; the strong- convexity term is . Hence
Since , the coefficient . Convexity of follows from -strong convexity in [A1]. Jensen [F4] gives and . Thus step 1.2 is at most . Average over the past and substitute into step 1.1 to obtain the claim.
Variance reduction across independent local-SGD workers
Statement
At a fixed time , suppose the worker points are determined by the earlier sampled indices. Define where each is the average of independent uniform component gradients from . If, for every worker point , then
Statement references
Facts & Assumptions
Given: The finite-sum objective, worker iterates, and mutually independent uniform indices in the Statement.
Local SGD with periodic synchronization: each worker averages independent component gradients at its current point.
Independent random elements: independence means independence of the sigma-algebras generated by the random indices.
Expectation of a nonnegative or integrable random variable: expectation is the integral against the index law; on this finite law it is a finite weighted sum by Expectation agrees with the published finite weighted sum.
Linearity, monotonicity, and the modulus bound for expectation: expectation is linear on integrable variables.
The Euclidean inner product on : the squared norm expands as the inner product of a finite sum with itself.
Proof
Fix the earlier indices, so each is fixed. For worker and within-batch draw , put . Uniform sampling gives a zero finite mean for every and . Distinct draws are independent by [F1]–[F2], so every cross inner product between distinct centered draws has mean zero by [F3]–[F5]. Expanding therefore leaves only diagonal terms.
Each diagonal term is at most by the hypothesis, so the expansion in step 1.1 is at most . Averaging over the earlier finite index history proves the unconditional inequality.
Deviation of local-SGD workers from their virtual mean
Statement
Let be integers and let local SGD use integer synchronization times , with . Let . For each , define the previous synchronization time . Suppose the step sizes are positive and nonincreasing, and for each . Suppose also where is the local batch gradient. Then, for every , At , the average deviation is zero because is a synchronization time.
Statement references
Facts & Assumptions
Given: The local-SGD trajectories, synchronization schedule and local gradient second-moment bound in the Statement.
Local SGD with periodic synchronization: all workers have the same iterate at each synchronization time, including the initial time .
Relaxed inequalities for squared Euclidean norms: squared norms of finite vector sums obey the stated relaxed inequality.
Expectation of a nonnegative or integrable random variable: expectation is taken over the finite product law of the sampled indices.
Proof
Fix and let be the latest synchronization time not exceeding [given] . Then and [F1] gives for all . For any vectors and any , expansion around their mean gives Apply this identity with and the common value to bound the worker deviation by the mean squared displacement from time .
For each worker, [given] . By [F2], nonincreasing step sizes, and the second-moment hypothesis, Average over and use from the Statement. The resulting bound is , proving the claim.
Strong-convexity inequality for a perturbed gradient point
Statement
Let be continuously differentiable, let be -Lipschitz, and suppose is -strongly convex with . Then for every ,
Statement references
Facts & Assumptions
Given: The smoothness and strong-convexity hypotheses in the Statement.
Descent inequality for a Lipschitz gradient: -Lipschitz gradients satisfy .
Strong convexity means for all .
Proof
Rearranging [F1] and applying [F2] at the same point give [given] Add the inequalities and use [F3]. This yields
Since , . Replacing the last coefficient by the weaker proves the claimed bound.
Strongly convex local-SGD round complexity
Statement
Let , let be differentiable, -smooth and -strongly convex for , and suppose it attains its minimum at with value . Run local SGD with a common initial point , synchronization schedule of maximum gap , and independent uniform with-replacement mini-batches of size at each worker and step. Assume that at every local iterate , For , set Then, with expectation over all sampled component indices, This bound is for the displayed quadratic-weighted average; it does not assert the same rate for the final iterate or for one-shot averaging.
Statement references
Facts & Assumptions
Given: The finite-sum objective, its local-SGD trajectory and the step schedule in the Statement.
Local SGD with periodic synchronization: worker updates use independent uniform component indices, average gradients, and synchronize at the declared times.
One-step progress of the virtual local-SGD iterate: if , the virtual mean iterate obeys the one-step distance/function-gap inequality there.
Variance reduction across independent local-SGD workers: under the component variance bound, the centered mean stochastic gradient has second moment at most .
Deviation of local-SGD workers from their virtual mean: under the local-gradient second-moment bound and for the preceding synchronization time, the mean squared worker deviation is at most .
Quadratic-weighted telescope for a strongly convex recursion: the quadratic-weighted telescope bounds a recurrence with coefficients by its stated three terms.
Finite Jensen inequality for convex functions on : a convex function at a finite weighted average is bounded above by the same weighted average of its values.
Gradient of a finite sum is the finite sum of gradients and Independent random elements: the mean of a uniform component gradient is , and distinct draws are independent.
Expectation of a nonnegative or integrable random variable, Linearity, monotonicity, and the modulus bound for expectation, Expectation agrees with the published finite weighted sum, and The Euclidean inner product on : the finite sampling law permits linearity, conditional averaging, and the usual squared-norm expansions.
The hypotheses in the Statement hold at every local iterate, the local steps are positive and nonincreasing, and the run starts with .
Proof
Put and [given] , . Since , we have . By [F2], [F3] and [F4], For a preceding synchronization time , implies , so as required by [F4]. Jensen also bounds each batch gradient second moment by . Here the coefficient is obtained by multiplying the drift bound in [F4] by the progress lemma's factor.
Apply [F5] to step 1.1 with , , and . Since , its restriction holds. The result is
The output satisfies exactly, by interchanging its finite worker and time sums. Strong convexity implies convexity, so [F6] applied to these virtual mean iterates gives Substitute step 2.1 and to obtain the Statement.
Standard and gap forms of bounded client gradient dissimilarity
Definition
Let be positive integers, let be differentiable, and put . For constants and , the clients have standard -bounded gradient dissimilarity if
For and a finite global lower bound for , the gap-form condition with parameters is In the convex-client FedAvg results, is a common gradient Lipschitz constant and is the attained minimum of ; this is the relaxed convex form of the source's assumption. These conditions bound the population second moment of deterministic client gradients. They are separate from the within-client stochastic-gradient noise bound .
Standard client dissimilarity implies the gap form with unchanged parameters
Statement
Let be positive integers, let , and let be differentiable with -Lipschitz gradients. Put , and suppose for all , where is finite. Then Consequently, if the clients satisfy standard -bounded gradient dissimilarity, with and , they satisfy the gap-form condition with exactly the same : No convexity or attainment of the lower bound is required for this implication.
Statement references
Facts & Assumptions
Given: The differentiable client functions, common smoothness constant, finite lower bound and, for the consequence, the standard condition in the Statement.
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation and The Euclidean inner product on : Euclidean norms satisfy the triangle inequality, positive homogeneity, and .
Descent inequality for a Lipschitz gradient: a continuously differentiable function with -Lipschitz gradient satisfies .
Standard and gap forms of bounded client gradient dissimilarity: standard dissimilarity bounds the population second moment by .
Proof
By [F1], . The triangle inequality and homogeneity in [F2] imply . Thus is continuously differentiable and has -Lipschitz gradient, as required by [F3].
Fix and set . By [F3] and the finite global lower bound, . Rearrangement proves the first displayed inequality. The point lies in the domain ; the use of is valid because .
Multiply step 2.1 by the nonnegative and substitute it into [F4]. This gives the asserted gap form, with no enlargement of or and the factor exactly .
Remarks
The reverse implication with the same parameters need not hold, even for strongly convex clients. For example, on take and . Their equal-client mean is , its minimum is , and both clients are -strongly convex and -smooth. The population gradient second moment is , while . The gap form holds with because , whereas the standard form with the same would require . Keeping the gap branch therefore retains instances beyond the same-parameter standard condition.
One-round progress of strongly convex FedAvg
Statement
Assume the Axiom of Choice. Let be positive integers and . Let be differentiable, -strongly convex and -smooth, with , and put . Suppose attains its minimum at with value . At a round-start server point , run the uniform-client analysis mode of FedAvg with clients sampled uniformly without replacement, local steps, local step , and global scale . The client sample is independent of the fresh local-oracle randomness. Assume conditionally unbiased local stochastic gradients with within-client conditional variance at most . These moment conditions are conditional on the full prequery history: the round-start history, the client sample, and all earlier revealed oracle draws from every client in a fixed chronological ordering of the queries. Suppose , , and Alternatively, assume the standard -bounded gradient-dissimilarity condition Either assumption gives all the conclusions below with the same and stepsize restrictions. Let . For each client , define a hypothetical local path by the same local update rule with fresh oracle draws independent of the client sample. For selected clients this path is the actual local execution; for unselected clients it is a counterfactual copy used only in the expectation below. Independence among different clients' oracle draws is not required, but the stated full-history conditional moment conditions must hold for the counterfactual queries too. Define If , then the next server iterate satisfies Expectation is conditional on the round-start history and averages the client sample and local stochastic-gradient draws.
Statement references
Facts & Assumptions
Given: The local-client functions, round start, FedAvg updates and sampling law in the Statement.
Federated averaging (FedAvg): in uniform-client analysis mode, .
Federated objectives and client sampling: and is a uniform size- subset.
Moments of a uniformly sampled fixed-size client set: for fixed client vectors, the sample mean has their population mean and its centered second moment is at most times the population second moment.
Relaxed inequalities for squared Euclidean norms: squared norms of a sum are bounded by the corresponding two-term relaxed-square inequality.
Strong-convexity inequality for a perturbed gradient point: for each , its gradient at a local point paired with is bounded below by the function gap, strong-convexity distance term, and local displacement term stated there.
Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: at the average gradient vanishes, and the population second moment of the centered client gradients is at most .
The Euclidean inner product on : inner products and squared norms obey the Euclidean expansion identities.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: condition on round-start history, take out its measurable model, and average the integrable quantities using conditional linearity.
Second moment bound for a finite martingale-difference sum: a finite sum of conditionally centered local-gradient errors has second moment at most twice the sum of its conditional variance bounds.
Standard client dissimilarity implies the gap form with unchanged parameters: under the stated common smoothness and attained finite minimum, the standard condition implies the displayed gap form with unchanged .
The conditional means, variance bounds, and fresh-draw assumptions in the Statement hold at every local query.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].
Proof
In the standard-condition branch, [F10] supplies the displayed gap-form assumption with unchanged ; in the original gap-form branch it is already assumed. Put . Conditional on the round-start history, unbiasedness [given] and uniform client sampling give Expand and use this conditional mean in its cross term. Apply [F5] at each local point with comparison points and . After averaging over , this gives
Write and [given] . Jensen and -Lipschitzness give . For the sampled mean at , [F3] and the dissimilarity bound give Reveal the client sample first and order its local oracle draws chronologically. By [A1], each centered error has conditional mean zero and second moment at most given the entire preceding history, so [F9] applies to this filtration. After division by , their sum has second moment at most . Apply [F4] first to , then to that sum plus the noise. The resulting second-moment bound is
Substitute step 1.2 into step 1.1. Because , the combined objective-gap coefficient is at most . Also , since , so the local-drift coefficient satisfies . Increase the noise coefficient from to and retain the sampling term. These substitutions give precisely the Statement without using any local-drift estimate.
Client drift under FedAvg gradient dissimilarity
Statement
Let , , and let be convex differentiable functions with -Lipschitz gradients, . Put and suppose minimizes . At a fixed FedAvg round start , each sampled client performs local updates as in the uniform-client analysis mode of the FedAvg algorithm, with local step , global scale , and conditionally unbiased local stochastic gradients of variance at most at every queried point. The client sample is uniform without replacement and independent of the fresh local-oracle randomness. Suppose , , and for every , Alternatively, assume the standard -bounded gradient-dissimilarity condition Either assumption gives all the conclusions below with the same and stepsize restrictions. Let , write for the local path initialized at , and define the query-point drift where, for each client, the local path has the same local-oracle law whether it is sampled or represented by a hypothetical copy, and those fresh path draws are independent of the client sample. Independence among different clients' oracle draws is not required. If then
Statement references
Facts & Assumptions
Given: The equal-client objective, local paths and stochastic-gradient assumptions in the Statement.
Federated averaging (FedAvg): each local update is .
Gradient steps of smooth convex functions are nonexpansive: if , then does not increase the distance from .
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : squared norms expand bilinearly and for .
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: conditional expectations at each local query are linear, preserve the integrable bounds, and take history-measurable vectors out of the conditional expectation.
The population gradient second moment obeys the dissimilarity bound in the Statement.
Standard client dissimilarity implies the gap form with unchanged parameters: under the stated common smoothness and attained finite minimum, the standard condition implies the displayed gap form with unchanged .
Each oracle draw is conditionally unbiased given the full history before that draw and has conditional variance at most .
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F4].
Proof
In the standard-condition branch, [F6] supplies the displayed gap-form assumption with unchanged ; in the original gap-form branch it is already assumed. If , every query point is and . Suppose . For a [given] fixed client, put , , and . Define . The local update is . By [F2] and the stepsize condition, . Conditional centering of therefore gives Induction from yields : substituting the bound at into the recurrence gives , which is at most the claimed square.
Average the step 1.1 bound for over and [given] clients. Since and , this gives Uniform sampling makes the expected average over selected clients the population average, and the hypothetical local paths have the same per-client law.
Multiply step 2.1 by and use . The three resulting coefficients are for , for the function gap, and for the variance. Since and , these are at most , , and , respectively. This proves the claim.
SCAFFOLD trajectories, client drift, control lag and tracking error
Definition
Let be positive integers and let . Let be differentiable client objectives and . Run SCAFFOLD for rounds with local step count , client sample size , server iterates , and client controls after round . In each round, extend the local trajectory to every client using the same local update rule, including hypothetical paths for clients not selected in that round. Generate these counterfactual paths using fresh local oracle randomness independently of the fresh client sample, so a selected path agrees with its actual local execution. Local paths use only the round-start model and controls and their own successive oracle draws. Oracle moment conditions in the results below are conditional on the full prequery history, including any earlier revealed draws in the current round. All expectations below are over client samples and local stochastic-gradient draws.
The round- client drift at gradient-query points is For every client and local-step index, initialize a stored anchor and stored gradient . After round , if client was selected, set and let be the actual stochastic gradient draw used at that local query. If client was not selected, retain both previous stored values. Thus the anchors and stored gradients record the most recent query and its realized oracle output for each local-step index.
When is convex with minimizer , the round- convex control lag is the average second moment of the mean full-gradient error at the stored anchors: For the nonconvex analysis, the round- control-tracking error is Thus and each stored anchor records the point at which that client's corresponding control-gradient sample was evaluated.
The query-point indexing in is deliberate: the gradient-difference terms in the variance and drift recurrences are evaluated at . It is not interchangeable with an average over the post-update endpoints .
Definition references
Remarks
The local retains the randomness of the stored anchors inside the squared norm. Source equation (24) instead prints the squared norm of an expected control; the two quantities are different. The local definition above is the interface used in every local control-lag, drift and progress argument.
Strongly convex FedAvg under bounded gradient dissimilarity
Statement
Assume the Axiom of Choice. Let be positive integers and . Let be differentiable, -strongly convex and -smooth, with , and let attain its minimum . Assume fresh conditionally unbiased local stochastic gradients with within-client conditional variance at most , independent of the fresh client sample. The conditional mean and variance bounds hold given the full prequery history, including the round-start history, the revealed client sample and all earlier oracle draws from every client in a fixed chronological ordering, also for the hypothetical client paths used in the analysis. For constants and , assume the convex-client gradient-dissimilarity bound Alternatively, assume the standard -bounded gradient-dissimilarity condition Either assumption gives all the conclusions below with the same and stepsize restrictions. Run the uniform-client analysis mode of FedAvg with clients sampled uniformly without replacement per round and local steps. Choose and At round , let be the server iterate and set Choose an independent index with probability and return . Then In particular, for target , a choice of no larger than and suffice to ensure , with a universal constant in the notation. This is an equal-client strongly convex rate; it does not apply to the count-weighted deployment objective without a separate weighted analysis.
Statement references
Facts & Assumptions
Given: The client objectives, stochastic-gradient process, FedAvg output and sampling law in the Statement.
One-round progress of strongly convex FedAvg: with as above, one round gives distance contraction, a negative objective-gap term, sampling variance and client-drift error.
Client drift under FedAvg gradient dissimilarity: the local-drift error is bounded by a fraction of the objective gap, a stochastic-gradient term and a cubic term.
Geometric and sublinear averaging for descent recursions: the geometric weighted average of a strongly convex descent recursion bounds its expected objective gap.
Federated objectives and client sampling and Federated averaging (FedAvg): the analyzed objective is , with each round sampling a uniform fixed-size client subset and averaging selected model differences.
Moments of a uniformly sampled fixed-size client set: fixed-size sampling is unbiased and its exact finite-population variance is at most twice the population second moment times .
Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: convex -smooth clients satisfy the required gradient-second-moment estimate around a minimizer, and their average gradient is .
The Euclidean inner product on : squared distances expand by bilinearity.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: roundwise conditional expectations are linear, obey the tower rule and preserve nonnegative integrable inequalities.
Standard client dissimilarity implies the gap form with unchanged parameters: under the stated common smoothness and attained finite minimum, the standard condition implies the displayed gap form with unchanged .
The conditional stochastic-gradient hypotheses and bounded gradient-dissimilarity assumption in the Statement hold at every round and query point.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].
Proof
In the standard-condition branch, [F9] supplies the displayed gap-form assumption with unchanged ; in the original gap-form branch it is already assumed. Let and [given] . Apply [F1] and then [F2] with . Their gap terms combine to . The resulting recurrence is Indeed the stochastic terms are because ; the sampling term is the one in [F1], and the remaining drift term is .
Apply [F3] to step 1.1 with , , and weights . It yields which is the displayed bound after substituting .
Write . Since [given] , the first term in step 2.1 is at most whenever This follows from . Choose not exceeding the minimum of , when , and when ; omit a bound whose denominator is zero. Then each of the last two terms in step 2.1 is at most . Taking the least integer satisfying the preceding display gives the claimed communication-round bound: the reciprocal step is bounded by a constant times , divided by .
Option II controls track gradients at stored client anchors
Statement
Run SCAFFOLD with Option II for the client-control update and initialize and . Let and be the stored local query anchors and realized gradient draws from the SCAFFOLD trajectory-and-error definition. Assume each round uses a fresh uniform client sample independent of the preceding history. If each local stochastic gradient is conditionally unbiased at its query point and has conditional variance at most , then for every client and round , Also for every realization.
Statement references
Facts & Assumptions
Given: The Option II update, local trajectories, and initial controls in the Statement.
SCAFFOLD with client and server control variates: Option II is , and the server changes by times the selected clients' mean control change.
SCAFFOLD trajectories, client drift, control lag and tracking error: after participation, and is the realized local gradient draw; when a client is unselected, both are retained.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: conditional expectations of the local gradients equal the corresponding full gradients.
Local stochastic gradients are conditionally unbiased given the server and local history at the time of each query.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F3].
Proof
At initialization, , [given] and , so all three client-control assertions hold for . Suppose client is selected in round . Telescoping its local updates from [F1] gives Substitute this into Option II and cancel the old controls. The result is . For , conditional unbiasedness gives zero conditional mean at the query, and the sequential form martingale differences. Thus for by conditioning on the later query history, and Taking expectation in the exact control identity also gives the stated mean identity.
If client is unselected, [F1] leaves and [F2] leaves every stored anchor and draw unchanged. Write and . The fresh client sample is independent of the preceding history, so the retained residual contributes to its mean and to its second moment. Conditional on selection, step 1.1 gives a newly sampled residual of mean zero and second moment at most . Therefore and by induction from . The realized control identity persists in both cases. This proves the three assertions; no conditional-mean identity given the stored adaptive anchors is asserted.
Initially . In a round, the server changes its control by , which equals because unselected clients do not change their controls. Therefore whenever the identity held before the round. Induction proves it for every round.
Convex SCAFFOLD server-update second moment
Statement
Assume the Axiom of Choice. Let be convex, differentiable and -smooth, with equal-client objective attaining . At round , run Option II SCAFFOLD with clients sampled uniformly without replacement, local steps and effective step . Assume , initialize and , and assume local stochastic gradients are conditionally unbiased with within-client variance at most . All expectations are unconditional over the round history, client sample and local stochastic-gradient draws. With and as in the SCAFFOLD analysis-trajectory definition,
Statement references
Facts & Assumptions
Given: The Option II SCAFFOLD round, controls, convex equal-client objective and stochastic-gradient assumptions in the Statement.
SCAFFOLD with client and server control variates: the server displacement is and .
SCAFFOLD trajectories, client drift, control lag and tracking error: averages the expected squared displacement of the current gradient-query points from ; averages the expected squared error of the mean full gradient at each stored anchor from .
Moments of a uniformly sampled fixed-size client set: conditional on fixed client vectors, the sample mean is unbiased and its centered second moment is at most times their population second moment; this also applies conditionally on the history before the fresh round sample.
Option II controls track gradients at stored client anchors: if and , then .
Second moment bound for a finite martingale-difference sum: for the current chronologically ordered oracle errors , with predictable conditional means , the normalized local-query average obeys .
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : for three vectors, .
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: the local conditional moments, current-round conditioning and integrable inequalities are valid under the stated filtration.
The uniform client sample in round is fresh and independent of the history and oracle draws preceding that sample.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].
Proof
Put and . For the stored [given] controls define , , and . Set , and denote population and selected means by a bar and a subscript . Since and , the corrected server direction has the exact three-term decomposition where Indeed, adding the three displayed terms cancels the sampled client gradients at and and leaves in the control terms.
Conditional on the pre-sample history, apply [F3] to the vectors [given] . Then use , [F2], [F5], and the two-vector relaxed square inequality to obtain This also holds when or , when .
Write each summand of as with and . Chronologically order the current oracle draws and apply [F6]. Jensen's inequality and -Lipschitzness give . For , conditional Jensen over the uniform subset and then [F4] give .
Apply [F7] to the decomposition in step 1.1, multiply by [given] , and substitute the bounds from steps 2.2 and 2.1. Collecting terms yields which is the Statement.
Convex SCAFFOLD control-lag recursion
Statement
Let be convex, differentiable and -smooth, with minimized at . Run Option II SCAFFOLD with a uniform size- client sample, , and conditionally unbiased local stochastic gradients of variance at most . Assume the client controls are updated to averages of the local stochastic gradients when selected, and define the control lag and local drift as in the SCAFFOLD analysis-trajectory definition. Then, for every ,
Statement references
Facts & Assumptions
Given: The Option II control updates, local paths and convex equal-client objective in the Statement.
SCAFFOLD with client and server control variates: a selected client replaces its control by the average of the local gradients used in the round; an unselected control persists.
SCAFFOLD trajectories, client drift, control lag and tracking error: is the expected squared error of the mean full gradient at a client's stored query anchors from , averaged over clients, and averages the squared displacements at the current gradient-query points .
Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: the average client gradient at the minimizer is zero and the population mean of squared client-gradient differences from is at most .
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : squared norms are convex and satisfy .
Expectation of a nonnegative or integrable random variable and Linearity, monotonicity, and the modulus bound for expectation: expectations preserve the nonnegative inequalities and finite weighted averages used below.
Proof
Set . By [F1], a uniform sample retains a client's old query [given] anchors with probability and replaces them with the current local query points with probability . The definition of in [F2] and Jensen's inequality for the average of vectors therefore give
For each summand, decompose . By [F4], its squared norm is at most twice the squared norm of each term. Averaging the first term over clients and using [F3] gives at most ; averaging the second over clients and local steps and using -Lipschitzness gives at most . Average step 1.1 over clients and substitute these two bounds to obtain the recurrence.
Convex SCAFFOLD client-drift bound
Statement
Let be convex, differentiable and -smooth, with minimized at . Run Option II SCAFFOLD for local steps with server scale , local step , and fresh conditionally unbiased local stochastic gradients of variance at most . Use controls satisfying , initialized by and . Let be the local-drift and convex control-lag quantities in the SCAFFOLD analysis-trajectory definition. For ,
Statement references
Facts & Assumptions
Given: The SCAFFOLD local updates, controls, error quantities and stochastic-gradient assumptions in the Statement.
SCAFFOLD with client and server control variates: a local update subtracts .
SCAFFOLD trajectories, client drift, control lag and tracking error: averages squared displacements at the query points ; is the average expected squared error of the mean full gradient at each client's stored anchors from .
Gradient steps of smooth convex functions are nonexpansive: if , then does not increase the distance from .
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : for , ; squared norms expand bilinearly.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: the current local oracle error has conditional mean zero and conditional second moment at most ; the needed conditional expectations and finite sums obey the stated tower and linearity rules.
Option II controls track gradients at stored client anchors: for every client the current control equals the mean full gradient at its stored anchors plus a residual with second moment at most .
The stochastic-gradient assumptions and gradient-consistent initialization in the Statement hold at every round and local query.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F6].
Proof
If , every query is the round-start point, so and the claim [given] follows. Suppose . Put , , , , and . Since and , the residual vector in client 's update is For each realization, ; the same identity applies to . Thus [F2], [F5], and [F7], followed by the three-term squared-norm bound, give For , write the update as , where and . The vector before is measurable before that draw, so conditional centering removes the cross term and adds at most . Apply [F3] and [F4] with ; since ,
Since and [given] for , the recurrence in step 1.1 bounds each query-point second moment by . Average over clients and query indices and use the bound on from step 1.1. The result is
Multiply step 1.2 by and substitute . The coefficients of , the function gap, and are respectively , , and . Since and , these are at most , , and , respectively. This proves the claim.
Strongly convex SCAFFOLD progress in one communication round
Statement
Assume the Axiom of Choice. Let be differentiable, -strongly convex and -smooth, with , and let attain . Run Option II SCAFFOLD with clients sampled uniformly without replacement, local steps, local step , server scale , and fresh conditionally unbiased local stochastic gradients with variance at most . Assume , initialize and , and define . If then, with as in the SCAFFOLD analysis-trajectory definition and , For this is a general-convex descent inequality; for it also contracts the distance-and-control potential.
Statement references
Facts & Assumptions
Given: The Option II SCAFFOLD round, objective and stepsize assumptions in the Statement.
SCAFFOLD with client and server control variates: the server update is the mean corrected local update, and .
SCAFFOLD trajectories, client drift, control lag and tracking error: averages query-point displacement, and is the expected squared error of the mean full gradient at the stored anchors from .
Convex SCAFFOLD server-update second moment: the displacement second moment is at most .
Convex SCAFFOLD control-lag recursion: the next control lag is at most .
Convex SCAFFOLD client-drift bound: the local drift satisfies .
Strong-convexity inequality for a perturbed gradient point: each client gradient at a local point paired with is bounded below by its objective gap, a strong-convexity distance term and the local-point displacement term.
The Euclidean inner product on : squared distance expands as a norm square plus its inner-product term.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: roundwise conditional expectations are linear and preserve the integrable bounds.
The local stochastic-gradient assumptions and gradient-consistent initialization in the Statement hold at all queries; the current client sample is independent of the preceding history.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].
Proof
Write . Conditional on the round-start history, [given] the client-control terms cancel in the mean server update by [F1] and uniform sampling. Expand , and apply [F6] to each local gradient at with comparison points and . Averaging over clients and query indices gives a cross-term bound . Add the second-moment bound [F3]. The result is
Multiply [F4] by and add it to step 1.1. [given] Set . The objective-gap coefficient becomes , the local-drift coefficient is , and the extra control-lag coefficient after subtracting the contracted old potential is . The resulting inequality is where .
Substitute [F5] into step 2.1. Since and , the objective-gap coefficient is at most . Also , so the remaining control-lag coefficient is at most . Finally , and the drift variance term is at most . Drop the nonpositive control-lag term and combine the two variance terms. This proves the Statement.
Nonconvex SCAFFOLD server-update moments
Statement
Assume the Axiom of Choice. Let be differentiable with -Lipschitz gradients and let . Run Option II SCAFFOLD with uniformly sampled clients, local steps, and conditionally unbiased local stochastic gradients of variance at most . Initialize and , and set . Let and be the drift and tracking errors in the SCAFFOLD analysis-trajectory definition, and let be the history before the fresh round- client sample. All outer expectations below include that history and the current round. Then and
Statement references
Facts & Assumptions
Given: The SCAFFOLD server and client updates, smooth client gradients, and stochastic-gradient hypotheses in the Statement.
SCAFFOLD with client and server control variates: the server displacement is the scaled selected mean of corrected client gradients, and .
SCAFFOLD trajectories, client drift, control lag and tracking error: averages squared displacements of the gradient-query points from , while averages squared distances of stored anchors from .
Option II controls track gradients at stored client anchors: each control equals the mean full gradient at its stored anchors plus a residual; the client controls average to the server control; the average residual second moment per client is at most .
Second moment bound for a finite martingale-difference sum: a finite sum of predictable conditional means plus centered local errors has second moment at most twice the mean-sum second moment plus twice the total conditional variance bound.
Moments of a uniformly sampled fixed-size client set: conditional on the history, the fresh uniform sample is unbiased and its centered mean variance is at most twice times the population second moment.
Gradient of a finite sum is the finite sum of gradients: the population mean of client gradients at is .
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : for three vectors, ; squared norms expand as inner products.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: conditional expectations are linear and preserve the integrable bounds.
Current-round client sampling is independent of the preceding history, and each local error is conditionally centered with second moment at most .
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].
Proof
Write and [given] . Conditional on the round-start history, client sampling is unbiased, local stochastic-gradient errors are centered, and the client-control terms cancel because . Thus Conditional Jensen, Lipschitzness, and the two-vector relaxed-square bound imply, after averaging the history,
Let , [given] , and . Define and , with analogous notation for . The corrected server direction has the decomposition where Apply [F4] to the current-query terms in ; Jensen and Lipschitzness give . For the anchor vectors, [F2], Jensen and Lipschitzness give . Apply [F5] conditionally to and , then [F3] to their residual average. This yields
Apply [F7] to the three-term decomposition in step 1.2 and multiply by . Substitute the bounds from that step. The local-drift, anchor-tracking, gradient and noise coefficients are , , and , respectively. This is the second inequality in the Statement.
Nonconvex SCAFFOLD query-point drift bound
Statement
Assume the Axiom of Choice. Let have -Lipschitz gradients with and let be bounded below. Run Option II SCAFFOLD with uniformly sampled clients, local steps, server scale , and fresh conditionally unbiased local stochastic gradients with within-client variance at most . Initialize and . Let and let be the query-point drift and anchor-tracking errors in the SCAFFOLD analysis-trajectory definition. If then
Statement references
Facts & Assumptions
Given: The Option II local updates, anchor errors and stochastic-gradient assumptions in the Statement.
SCAFFOLD with client and server control variates: a local update is .
SCAFFOLD trajectories, client drift, control lag and tracking error: averages squared displacements of local query points from ; averages squared distances of stored anchors from .
Option II controls track gradients at stored client anchors: each control is the mean full gradient at its stored anchors plus a residual whose second moment is at most , and .
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : for , ; the squared norm of three vectors is at most three times the sum of their squared norms.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: conditional expectation is linear, preserves expectations and inequalities, and permits taking out integrable history-measurable factors. The centering and variance bounds used below are the oracle hypotheses in [A1], not consequences of these interfaces.
The stochastic-gradient assumptions and gradient-consistent initialization in the Statement hold at every round and local query.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F5].
Proof
If , all query points are at the round start, so . Suppose [given] , write , and define , , , and their client means , . The corrected control vector in client 's local update is For each realization, ; the same holds for . Lipschitzness and Jensen give , and [F3] gives . Apply the three-vector bound [F4] to obtain
Put . Define [given] and . The update is , and . Conditional centering of removes its cross term with the pre-draw vector. Use [F4] with to get The step bound implies . For , and , hence . Therefore . Unrolling from and averaging the query points gives
Substitute the control-vector bound from step 1.1 into step 1.2. [given] Collecting the gradient, anchor-tracking and oracle-variance terms gives which is the Statement.
Nonconvex SCAFFOLD control-anchor tracking recursion
Statement
Assume the Axiom of Choice. Let have -Lipschitz gradients with and let . Run Option II SCAFFOLD with uniformly sampled clients, local steps, server scale , and fresh conditionally unbiased local stochastic gradients with within-client variance at most . Initialize and . Current client samples are independent of the past and of the counterfactual local oracle draws. Write , , and let be the query-point drift and anchor-tracking errors. Then
Statement references
Facts & Assumptions
Given: The SCAFFOLD anchor update, stochastic-gradient assumptions and tracking errors in the Statement.
SCAFFOLD with client and server control variates: selected clients replace controls by Option II local updates; unselected clients keep controls and anchors.
SCAFFOLD trajectories, client drift, control lag and tracking error: is the mean squared distance of stored anchors from , and is the mean squared query-point drift from .
Nonconvex SCAFFOLD server-update moments: the conditional mean and second moment of the server displacement are bounded by local drift, tracking error, objective gradient and within-client variance.
Moments of a uniformly sampled fixed-size client set: a client is selected with probability in a uniform size- sample.
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : squared norms of sums obey the stated relaxed-square and Young inequalities.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: condition on the past and average current round randomness.
The gradient and stochastic-oracle hypotheses in the Statement hold at every local query.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F7].
Proof
Put , , , , and . Let , , and . The actual anchor update is . Expand the squared distance after subtracting . Fresh uniform sampling gives the first two terms in All cross terms retain their actual dependence on the selected sample.
Jensen gives . Since exactly clients participate, , and the analogous estimate holds for and . The counterfactual local paths have the same law independently of the fresh participation sample, so ; old anchors are history-measurable, giving . Set and . Because is history-measurable, Young's inequality bounds the three cross terms in step 1.1, respectively, by , , and . Hence This also holds for .
Apply the two server moment bounds [F4] to step 2.1, using . The coefficients of , , , and are bounded by , , , and , respectively. These are the claimed coefficients.
Nonconvex SCAFFOLD progress in one communication round
Statement
Assume the Axiom of Choice. Let have -Lipschitz gradients with , and let be bounded below by . Run Option II SCAFFOLD with uniformly sampled clients, local steps, server scale , and fresh conditionally unbiased local stochastic gradients of within-client variance at most . Initialize and . Client samples are fresh and independent of prior history and counterfactual oracle draws. Let , , and let be the control-anchor tracking error. If then the potential satisfies
Statement references
Facts & Assumptions
Given: The nonconvex SCAFFOLD update, smoothness and stochastic-gradient assumptions in the Statement.
SCAFFOLD with client and server control variates: the server update is the average of selected corrected local updates with global scale .
SCAFFOLD trajectories, client drift, control lag and tracking error: counterfactual client paths use fresh oracle randomness independent of participation, and oracle moments are conditional on the full prequery history.
Nonconvex SCAFFOLD server-update moments: the conditional-mean displacement and the server displacement have the squared-norm bounds stated there.
Nonconvex SCAFFOLD control-anchor tracking recursion: the exact tracking recursion has coefficients , , , and for the previous tracking error, drift, squared gradient and .
Descent inequality for a Lipschitz gradient: -Lipschitz gradients give .
Relaxed inequalities for squared Euclidean norms and The Euclidean inner product on : squared norms and inner products expand by the Euclidean algebra used in the two moment lemmas.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: conditional expectations are linear and preserve the integrable bounds.
The smoothness and stochastic-oracle assumptions in the Statement hold at every query.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].
Proof
Put and . The smooth-descent bound [F6] and conditional expectation give By [F1], . Conditional centering at each query and then averaging gives the same conditional mean with replaced by . By [F2], the full hypothetical paths are independent of the fresh sample given the round-start history, so each participation indicator in this conditional mean can be replaced by its mean . The control terms cancel because . Adding and subtracting the round-start gradients and using [F9] now yields , where . Write for the mean local-gradient displacement. Conditional Jensen and Lipschitzness give . In the descent cross term, use with ; thus . Substituting the second-moment bound in [F3] gives
Write , , , and . Add times the tracking increment from [F4] to the inequality in step 1.1. The resulting coefficients of , , and noise are, respectively, , , , and , where Since and , we have , , , and . Consequently .
Substitute [F5] into the drift term in step 2.1, using and . The total coefficient of , divided by , is at most . The coefficient of , divided by , is at most . Finally the variance contribution, divided by when , is at most ; when all these variance terms vanish. Drop the nonpositive term. The resulting inequality is exactly the claimed potential recursion.
Remarks
The source states a sufficient step bound with absolute constant . The locally proved result uses because it retains the dependence between the participation indicators, adaptive local queries, and the server displacement. This changes only absolute constants in the resulting nonconvex communication rate.
SCAFFOLD rates for strongly convex, convex and nonconvex objectives
Statement
Assume the Axiom of Choice. Let be positive integers, let , and let have -Lipschitz gradients, with . Put , and suppose is bounded below by . Run Option II SCAFFOLD with a fresh uniform size- client sample in every round, independent of the preceding history and the fresh local oracle randomness, fresh conditionally unbiased local stochastic gradients whose variance on each client is at most , and gradient-consistent initialization and . Set , and put when a minimizer exists. In both convex cases below, assume .
-
Strongly convex case. Suppose every is -strongly convex for and attains its minimum at . Set and choose For , independently of the optimization randomness choose with probabilities proportional to and return . Then where . Consequently, a suitable and communication rounds suffice for expected objective error at most .
-
General convex case. Suppose every is convex and differentiable, and attains its minimum at . Set and choose . For independent uniform and , For and , set and choose omitting a restriction whose denominator is zero. Taking an integer ensures expected objective error at most . Consequently the sufficient round bound is If , return , which already minimizes .
-
Nonconvex case. Suppose only that is -smooth and bounded below by . Set and choose For independent uniform and , Thus a choice of and rounds suffice to make the expected squared gradient norm at the returned iterate at most . If , return , whose gradient vanishes.
The convex rates concern the equal-client objective and their stated server-iterate outputs. They do not assert a rate for the count-weighted deployment objective. No gradient-dissimilarity condition is used for SCAFFOLD, and the quadratic-only Hessian-dissimilarity improvement is not claimed for general smooth losses.
Statement references
Facts & Assumptions
Given: The equal-client objective, SCAFFOLD algorithm and case-specific convexity, smoothness and stochastic-gradient hypotheses in the Statement, including in both convex cases.
Strongly convex SCAFFOLD progress in one communication round: in convex cases the distance and control potential contracts and pays for the objective gap and variance.
Nonconvex SCAFFOLD progress in one communication round: with , the nonnegative potential decreases by at least apart from .
Geometric and sublinear averaging for descent recursions: summing a convex descent recurrence gives a uniform-index average; geometrically weighted summation gives the strongly convex output bound.
Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: for convex clients, and the average client gradient equals .
Federated objectives and client sampling and SCAFFOLD with client and server control variates: the objective is ; each round samples clients uniformly without replacement and updates the server model and control by the SCAFFOLD rules.
SCAFFOLD trajectories, client drift, control lag and tracking error: and are the convex control-lag and nonconvex anchor-tracking errors used in the one-round bounds.
Filtration and filtered probability space, Conditional expectation as an ae class, Basic algebra and order properties of conditional expectation, Taking out what is known, Expectation of a nonnegative or integrable random variable, and Linearity, monotonicity, and the modulus bound for expectation: roundwise conditional expectations can be iterated and the stated integrable inequalities averaged.
Every client stochastic gradient is conditionally unbiased with within-client variance at most at every query; client samples are uniform fixed-size subsets; initialization is gradient-consistent.
Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].
Proof
In the strongly convex case, put and [given] apply [F1]. Since , the variance term in [F1] is at most . The geometric recurrence lemma [F3] with gap coefficient one and weights gives This is the strongly convex bound in the Statement.
In the general convex case, apply [F1] with and [given] . It gives . Sum over and drop the nonnegative terminal potential. For independent uniform this yields Substitution of proves the exact bound in the Statement.
In the nonconvex case use [F2] with . The initialization in [F6] gives , so . Its variance term is at most . Sum over rounds and drop to obtain Dividing by and choosing the uniform independent output index gives precisely the nonconvex finite-round bound.
In the strongly convex case, by convex smoothness, [F4] gives , hence [given] . Also Thus whenever and the variance term is at most if . Choose the largest step satisfying these restrictions. Its reciprocal is bounded by a constant times ; dividing by gives the stated communication rate, up to the displayed logarithmic factor.
Let and set . With the displayed choice of , one has and . Thus step 1.2 is at most for the stated integer . The reciprocal step equals the maximum of , , and , omitting zero-denominator restrictions. Bound this maximum by the sum to obtain the stated communication rate. If , the initial point is minimizing and requires no round.
For , choose , omitting the variance restriction if , and take . Each term in the bound of step 1.3 is at most . Bounding the reciprocal minimum by the sum proves the nonconvex round rate. If , the finite lower bound is attained at , so differentiability implies and returning it suffices. Together with the two convex branches, this proves all branches.
Remarks
The source's general-convex headline prints . Under the literal constant-step, uniform-server-iterate output specified here, that claimed round term is false; the original claim and a full analytic counterexample are preserved in fs-scaffold-general-convex-uniform-output-round-headline. The corrected bound above optimizes the exact local potential, rather than merely inserting an epsilon in that term. The source's appendix permits other output probabilities; no claim is made here about every possible alternative output interpretation.
The nonconvex proof retains the full communication order with a sufficient absolute step constant . The source reports ; the local proof uses the stated smaller step to absorb the conservative adaptive-noise and selection-correlated anchor bounds. The original source-reading and native-authoring evidence remain historical evidence; these are separate later repairs.
SCAFFOLD general-convex round headline with a uniform server-iterate output
Statement
There is a universal constant with the following property. Let , , and . Let each be convex and differentiable with -Lipschitz gradient, and suppose attains its minimum . Set and . Run Option II SCAFFOLD with independent uniform size- client samples, fresh conditionally unbiased local stochastic gradients of conditional variance at most , and gradient-consistent initial controls and . Set . For every there are an integer and a single constant local stepsize , used in all rounds, such that where the variance restriction is omitted when , and the uniform server-iterate output , with independent and uniform on , satisfies .
Statement references
Facts & Assumptions
Given: The claim in the Statement, interpreted with a universal constant independent of the objective scale, client count and target accuracy.
SCAFFOLD with client and server control variates: with and , a selected client's Option II control becomes the gradient queried at the round-start server iterate; all other client controls persist, and the server control is their population mean.
Refutation
Fix and . Take , , , for every client, and the exact oracle . Every client is convex and -smooth, the equal-client objective has minimizer and minimum zero, and , , . Initialize and , as required. Sample one independent uniform client in every round. These deterministic exact oracles satisfy every conditional unbiasedness and variance hypothesis; all moments at a finite time are finite because there are finitely many sample histories.
Let , put and , and let be the client sampled to pass from time to time . The updates [F1] become Conditioning on the history through time , the sampled difference has mean zero. Therefore, for and , The claimed uniform output has expected objective gap .
Put . Since , we have . For every integer , Bernoulli's inequality gives . The bias lower bound in step 2.1 thus implies, for every , This argument uses only the scalar inequality for integers , which follows by induction.
After updates, at least table entries are still equal to their initial value 1. If is their set, the pairwise variance identity gives whenever . Indeed, retain in the double sum the pairs with exactly one index in ; pairs with both indices in contribute zero, and the two orientations cancel the factor 2.
For a fixed client and , the event that its last update before time occurs at time has probability . On this event . The event involves only , which are independent of ; hence its conditional law of is the unconditional law. If the client was never updated, . Consequently, taking expectations in step 3.2 and using , we obtain The expectation inequality follows by expanding the nonnegative variance .
Suppose . In step 4.1 restrict to , leaving at least indices. Since , each squared factor is at least . Bernoulli's inequality gives ; the prefactor is also at least . Thus Here follows, for example, because the derivative of is for , and its value at zero is zero.
Assume and set . If , step 3.1 gives . If , then . Consider all integers . There are at least such integers; each satisfies , so step 5.1 gives . Also : the final inequality follows from .
Iterating the exact nonnegative recurrence in step 2.1, each from step 6.1 contributes to for . These indices all lie below by step 6.1. Their weights sum to at least , by the Bernoulli estimate in step 3.1. All contributions are nonnegative, so they can be summed, including when their target indices overlap. It follows that Combining this with step 3.1 and using gives . The bound in step 6.1 gives the same conclusion. Thus, for every admissible constant stepsize and every ,
Now take and . On this family the claimed round expression is exactly For any proposed universal constant , choose an integer large enough that and . Such integers exist because the displayed expression divided by tends to zero. Every round count allowed by the claim then satisfies , but step 7.1 gives , for every admissible constant step. This contradicts the asserted accuracy and refutes the Statement.
Remarks
This refutation concerns the literal constant-step, uniform random server-iterate output above. The source's Theorem III prints the round term , while its Appendix E allows unspecified output weights in equation (22). This item does not refute all those possible weighted outputs, suffix sampling, the last iterate, arithmetic averages of iterates, or time-varying stepsizes. Fixed powers of logarithms do not rescue the uniform-output headline: on the chosen family they multiply by a fixed power of , still giving rounds.
The exact convex finite-round potential estimate is a separate valid claim. Its initial-control contribution is with under gradient-consistent initialization. The refutation does not challenge that estimate; it challenges the claimed round complexity obtained by removing the accuracy dependence from the initialization term.
The exact original native general-convex clause is preserved in the repair packet as cycle2/original-general-convex-clause.md, with the native preimage and the exact substring bound in cycle2/original-clause-record.json. The quantified Statement above makes its uniform-output, fixed-step, universal-constant interpretation explicit.
4 · Examples, counterexamples and false statements
None yet.
Sources
- H. Brendan McMahan et al., Communication-Efficient Learning of Deep Networks from Decentralized Data, §§1–4
- Sai Praneeth Karimireddy et al., SCAFFOLD: Stochastic Controlled Averaging for Federated Learning, §§2–3
- Sebastian U. Stich, Local SGD Converges Fast and Communicates Little, §§2–3 and Appendix A
- Eduard Gorbunov, Filip Hanzely, Peter Richtárik, Local SGD: Unified Theory and New Efficient Methods, §§1–4
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix B, Lemma 3
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix B, Lemma 4
- Sebastian U. Stich, Local SGD Converges Fast and Communicates Little, Lemma 3.4 and Appendix A
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix B, Lemmas 1 and 2
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix B, inequality (9)
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix C, Lemma 6
- H. Brendan McMahan et al., Communication-Efficient Learning of Deep Networks from Decentralized Data, §2 and Algorithm 1
- Sai Praneeth Karimireddy et al., SCAFFOLD: Stochastic Controlled Averaging for Federated Learning, Algorithm 2
- Yuejie Chi and Zhize Li, Advances in Federated Optimization: Efficiency, Resiliency, and Privacy, tutorial slides 29–31
- Kun Yuan, Optimization for Deep Learning, Lecture 14: Federated Learning, slides 7–16 and 28–30
- Sai Praneeth Karimireddy et al., SCAFFOLD: Stochastic Controlled Averaging for Federated Learning, §§4–5 and Algorithm 1
- Eduard Gorbunov, Filip Hanzely, Peter Richtárik, Local SGD: Unified Theory and New Efficient Methods, §4.2
- Yuejie Chi and Zhize Li, Advances in Federated Optimization: Efficiency, Resiliency, and Privacy, slides 34–35
- Kun Yuan, Optimization for Deep Learning, Lecture 14: Federated Learning, slides 24–30
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix D.2
- Sebastian U. Stich, Local SGD Converges Fast and Communicates Little, Lemma 3.1 and Appendix A
- Sebastian U. Stich, Local SGD Converges Fast and Communicates Little, Lemma 3.2 and Appendix A
- Sebastian U. Stich, Local SGD Converges Fast and Communicates Little, Lemma 3.3 and Appendix A
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix C, Lemma 5
- Sebastian U. Stich, Local SGD Converges Fast and Communicates Little, Theorem 2.2 and Appendix A
- Karimireddy et al., SCAFFOLD, Section 2 (A1) and Appendix D.1, equations (13)–(14)
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix D.3, Lemma 7
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix D.3, Lemma 8
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.1–E.2, equations (23)–(27)
- Sai Praneeth Karimireddy et al., SCAFFOLD, Theorem I (strongly convex branch), Appendix D.3, Lemmas 7–8
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.2, equations (19) and (26)
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.1, Lemma 10
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.1, Lemma 11
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.1, Lemma 12
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.1, Lemma 13
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.2, Lemma 14
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.2, Lemma 16
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.2, Lemma 15
- Sai Praneeth Karimireddy et al., SCAFFOLD, Appendix E.2, Lemma 17
- Sai Praneeth Karimireddy et al., SCAFFOLD, Theorem III and Appendix E
- Karimireddy et al., SCAFFOLD, Theorem III and Appendix E, Theorem VII and output (22)