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 — Examples
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Conditional Distributions and Regular Conditional Probability
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Differential privacy mechanisms and composition
- Federated averaging, local SGD, and SCAFFOLD
- Foundations of the Real Numbers for Analysis
- Independence Borel Cantelli and Zero One Laws
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear prediction, shrinkage, and sparse regression
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Probability Spaces Random Variables and Expectation
- 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
- Sigma Algebras and Borel Sets
- Sparse Estimation and Covariance
- Suprema and Infima
- The Topology of Euclidean Space
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
Local updates and periodic synchronization give different averages
Example
Let and on , let the two local-SGD workers start at , and use step size with one uniform component draw per worker and step from . Couple two executions by choosing the positive-probability draw sequence in which worker 1 draws twice and worker 2 draws twice. After two steps without intermediate synchronization their mean is . If they instead synchronize after the first step and again after the second, their final mean is .
Example references
Facts & Assumptions
Given: The two differentiable component functions and the common starting point in the Example.
Local SGD with periodic synchronization: each step samples a component uniformly and updates ; a synchronization replaces all worker states by their arithmetic mean.
The two workers' component draws are independent and uniform at each step, as in [F1]. The displayed coupled draw sequence therefore has probability in either schedule.
Proof technique: direct.
Proof
The gradients are and . Without an intermediate synchronization, worker 1 follows and worker 2 follows . Their arithmetic mean is .
With synchronization after the first step, the worker states are first and , so their common synchronized value is . On the second step, the same coupled draws give worker states and . Their mean is .
Since and the draw sequence in [A1] has positive probability under the algorithm, the two schedules can produce different final worker means.
Keeping records on clients does not imply differential privacy
Example
Let the database be a finite record set, use add/remove adjacency, and let a distributed system release the exact number of records after each client has kept its own record locally. This deterministic count release is not -differentially private for any finite and any .
Example references
Facts & Assumptions
Given: The database domain and exact count mechanism in the Example.
Differential privacy, databases, and add/remove adjacency: differential privacy requires the event inequality for every ordered neighboring database pair and every measurable output event.
Measurable spaces and measurable sets, Probability measures and probability spaces, and Measure kernel and probability kernel: a deterministic count release is a probability kernel into the countable output space equipped with its power-set sigma algebra.
Proof technique: direct.
Proof
Let , , and let . These databases are add/remove neighbors. For the measurable event , and .
The required privacy inequality in the order would read , which is false whenever . Therefore the exact count mechanism is not -differentially private for the stated parameters.
Two clients with shifted least-squares optima
Example
Consider two one-observation scalar least-squares clients with data and , using loss . Their objectives are and , with local minimizers and . The equal-client objective has minimizer . Starting FedAvg from , using both clients, two full-gradient local steps of size , and server scale , gives the server model after one round.
Example references
Facts & Assumptions
Given: The two client data points and FedAvg parameters in the Example.
Fixed-design least-squares, ridge, lasso, group, and fused objectives: a one-observation scalar least-squares loss is .
Federated objectives and client sampling: the equal-client objective is the arithmetic mean of client objectives.
Federated averaging (FedAvg): with all clients selected, the server adds the mean of their local model differences when .
Verification
By [F1], client 1 has derivative and minimizer ; client 2 has derivative and minimizer . The equal-client derivative is , so its unique zero and minimizer is .
From , the two local trajectories are and . Averaging the two final local models gives .
Since , this one-round FedAvg output is not the minimizer of the equal-client objective, although the clients' optima are shifted in opposite directions.
SCAFFOLD controls cancel shifted local gradients at the server model
Example
Let two clients have objectives and . At server model , initialize and . Under SCAFFOLD's corrected local gradient , every local step starting from remains at , for every positive local step size and every finite local-step count.
Example references
Facts & Assumptions
Given: The two client objectives, server model and control initialization in the Example.
SCAFFOLD with client and server control variates: the server control is initialized to the average of the client controls, as specified in the Example.
SCAFFOLD with client and server control variates: a local step uses . For the exact-gradient corrected direction specified in the Example, take the deterministic oracle .
Proof technique: direct.
Proof
The client gradients are and . Thus at the initialized controls are , , and by [F1].
If a client's local point is , then and . Hence its next local point is still zero by [F2]. Induction on the local-step index proves every local point is zero.