Alphabeta Math
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

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Federated objectives and client sampling

Definition

Let N,d≥1, let each client i∈{1,…,N} have a positive integer sample count ni, and put n=∑i=1Nni. For differentiable client objectives Fi:Rd→R, the sample-count-weighted deployment objective is fwt(w)=∑i=1NninFi(w). For differentiable client objectives fi:Rd→R, the equal-client objective is f(w)=1N∑i=1Nfi(w). The symbols Fi and fi denote separate families; they are not identified unless an application states Fi=fi. In general, fwt and f are different objectives.

For integers 1≤S≤N, a uniform fixed-size client sample is a random subset S⊆{1,…,N} of cardinality S for which every S-element subset has probability (NS)−1. 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.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Local SGD with periodic synchronization

Definition

Let n,d,K,T,b,m be positive integers, let fj:Rd→R be differentiable for 1≤j≤n, and define f(x)=n−1∑j=1nfj(x). The inputs are a starting point x0∈Rd, positive step sizes η0,…,ηT−1, and integer synchronization times 0<t1<⋯<tm=T,IT={t1,…,tm}. Set t0=0 and H=max⁡1≤j≤m(tj−tj−1). Initialize x0k=x0 for each worker k∈{1,…,K}. For each t=0,…,T−1, each worker k and each within-step draw q=1,…,b, draw it,qk uniformly from {1,…,n}, with all draws mutually independent, and form gtk(x)=1b∑q=1b∇fit,qk(x),zt+1k=xtk−ηtgtk(xtk). For b=1 this is a single stochastic gradient. If t+1∉IT, set xt+1k=zt+1k for every worker. If t+1∈IT, set xt+1k=1K∑ℓ=1Kzt+1ℓfor every k. The procedure returns the worker trajectories (xtk)0≤t≤T, 1≤k≤K. The common initialization at time 0 is included when measuring the largest synchronization gap, and a convergence statement must specify any particular average or iterate it analyzes.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Relaxed inequalities for squared Euclidean norms

Statement

For vectors u,v∈Rd and a>0, ∥u+v∥22≤(1+a)∥u∥22+(1+a−1)∥v∥22,2∣⟨u,v⟩∣≤a∥u∥22+a−1∥v∥22. For m≥1 vectors u1,…,um∈Rd, ∥∑j=1muj∥22≤m∑j=1m∥uj∥22.

Facts & Assumptions

Given: The standard Euclidean inner product and norm on Rd, with ∥x∥22=⟨x,x⟩.

[A1]

The real inner product is symmetric and bilinear, and squared norms are nonnegative.

Proof

1.1givenA1algebra

Expanding the first inequality's right side minus its left side gives [given] a∥u∥22+a−1∥v∥22−2⟨u,v⟩=∥a u−a−1/2v∥22≥0. Replacing v by −v gives the same bound with +2⟨u,v⟩; together these two bounds yield both displayed two-vector inequalities.

1.2A1algebra∎

Expanding each squared difference and collecting diagonal and cross terms [given] gives m∑j=1m∥uj∥22−∥∑j=1muj∥22=∑1≤i<j≤m∥ui−uj∥22≥0. This proves the finite-sum inequality, including m=1, when the right difference is zero.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Second moment bound for a finite martingale-difference sum

Statement

Assume the Axiom of Choice. Let F0⊆F1⊆⋯⊆Fm be a finite filtration and let Zj∈L2(Ω;Rd) be Fj-measurable for 1≤j≤m, where m≥1. For each 0≤ℓ<d, define Mjℓ=E[Zjℓ∣Fj−1] by scalar conditional expectation and put Mj=(Mjℓ)0≤ℓ<d and ξj=Zj−Mj. Assume ξj∈L2(Ω;Rd). If E[∥ξj∥22∣Fj−1]≤vjalmost surely, where each vj≥0 is integrable and Fj−1-measurable, then E∥∑j=1mZj∥22≤2E∥∑j=1mMj∥22+2∑j=1mE[vj].

Facts & Assumptions

Given: The filtered random vectors and conditional variance bounds in the Statement.

[F1]

Filtration and filtered probability space: each Zj is Fj-measurable and Mj=E[Zj∣Fj−1].

[F2]

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.

[F3]

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.

[A1]

E[ξj∣Fj−1]=0 and the conditional second moment bound in the Statement holds for every j.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F2].

Proof

1.1F1F2A1A2givenalgebra

For each coordinate 0≤ℓ<d, Zjℓ∈L2 implies Zjℓ∈L1 on the probability space, since 2∣z∣≤z2+1 and the space has total mass one. Thus the scalar supplier [F2] defines Mjℓ=E[Zjℓ∣Fj−1]. This gives the coordinatewise vector Mj. The assumption ξj∈L2 and the identity Mj=Zj−ξj imply Mj∈L2. By scalar linearity and the fact that an integrable measurable variable is its own conditional expectation, each coordinate satisfies E[ξjℓ∣Fj−1]=0. Integrating the scalar conditional second-moment bound and using [F2] gives E∥ξj∥22≤E[vj]. Thus the vector conditional means, errors and second moments used below are well-defined in the stated finite-dimensional L2 spaces.

2.1F1F2F3F4step 1.1givenalgebra

If i<j, then [given] ξi is Fj−1-measurable. For each coordinate ℓ, both ξiℓ and ξjℓ are in L2; the pointwise inequality 2∣ab∣≤a2+b2 makes their product integrable. Apply [F3] coordinatewise and use step 1.1 to obtain E⟨ξi,ξj⟩=∑ℓ<dE[ξiℓξjℓ]=∑ℓ<dE[ξiℓE[ξjℓ∣Fj−1]]=0. Expanding the finite squared norm and using the integrated conditional variance bound from step 1.1 gives E∥∑j=1mξj∥22=∑j=1mE∥ξj∥22≤∑j=1mE[vj].

3.1F4step 2.1givenalgebra∎

Since Zj=Mj+ξj, apply ∥u+v∥22≤2∥u∥22+2∥v∥22 to the sums u=∑jMj and v=∑jξj. Take expectations and substitute step 2.1. This proves the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Quadratic-weighted telescope for a strongly convex recursion

Statement

Let μ>0, a≥4, T≥1, and ηt=4μ(a+t),wt=(a+t)2,ST=∑t=0T−1wt. Suppose nonnegative sequences ut,et satisfy, for 0≤t<T, ut+1≤(1−μηt)ut−Aηtet+Bηt2+Cηt3 with A>0 and B,C≥0. Then AST∑t=0T−1wtet≤μa34STu0+2T(T+2a)μSTB+16Tμ2STC. Also ST≥T3/3.

Facts & Assumptions

Given: The scalar recurrence and parameters in the Statement.

[A1]

ut,et are nonnegative; A>0, B,C≥0, μ>0, a≥4.

Proof

1.1A1algebra

Since wt/ηt=μ(a+t)3/4, for 1≤t<T, [given] (1−μηt)wtηt=μ4(a+t−4)(a+t)2≤μ4(a+t−1)3=wt−1ηt−1. The inequality follows by expanding the difference: (a+t−1)3−(a+t−4)(a+t)2=a2+2at+t2+3a+3t−1≥0 for a≥4. At t=0, (1−μη0)w0/η0=μa2(a−4)/4≤μa3/4.

1.2step 1.1A1algebra

Multiply each recurrence by the positive number wt/ηt and use [given] step 1.1 to telescope the ut terms. Dropping the nonnegative terminal term yields A∑t=0T−1wtet≤μa34u0+B∑t=0T−1wtηt+C∑t=0T−1wtηt2. Direct summation gives ∑wtηt=2T(T+2a−1)/μ≤2T(T+2a)/μ and ∑wtηt2=16T/μ2.

2.1step 1.2A1algebra∎

Divide step 1.2 by ST to obtain the stated bound. Since a≥4, ST≥∑t=0T−1(t+1)2=T(T+1)(2T+1)/6≥T3/3.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Geometric and sublinear averaging for descent recursions

Statement

Let R≥1 and let d0,…,dR≥0, q0,…,qR−1≥0.

  1. If a,η>0, b,c≥0, and dr+aηqr−1≤dr−1+bη2+cη3(1≤r≤R), then 1R∑r=1Rqr−1≤d0aηR+bη+cη2a.

  2. If 0<ρη<1, a>0, b,c≥0, and dr≤(1−ρη)dr−1−aηqr−1+bη2+cη3, then for wr=(1−ρη)−r and WR=∑r=1Rwr, 1WR∑r=1Rwrqr−1≤d0aηWR+bη+cη2a. The left side in part 2 is the expectation of qr−1 when an index r∈{1,…,R} is selected with probability wr/WR.

Facts & Assumptions

Given: The nonnegative sequences, positive step size, and recurrences in the Statement.

[A1]

All weights wr in part 2 are positive because 0<1−ρη<1.

Proof

1.1givenA1algebra

Rearrange the part 1 inequality as aηqr−1≤dr−1−dr+bη2+cη3 and sum over r=1,…,R. The distance terms telescope to d0−dR≤d0. Divide by aηR to get the first bound.

1.2givenA1algebra

For part 2, multiply the recurrence by wr. Since [given] wr(1−ρη)=wr−1 when w0=1, summing gives aη∑r=1Rwrqr−1≤d0−wRdR+(bη2+cη3)WR≤d0+(bη2+cη3)WR. Divide by aηWR to obtain the second bound.

2.1A1algebra∎

The probabilities wr/WR are nonnegative and sum to one, so the expected selected value is exactly the weighted average in part 2.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Smooth convex gradient differences around a minimizer

Statement

Let h1,…,hN:Rd→R be convex and continuously differentiable, with β-Lipschitz gradients for β>0. Put f=N−1∑i=1Nhi, and let x⋆ minimize f. Then 1N∑i=1N∥∇hi(x)−∇hi(x⋆)∥22≤2β(f(x)−f(x⋆))(x∈Rd).

Facts & Assumptions

Given: The functions and minimizer in the Statement, the standard Euclidean inner product, and the finite-average gradient rule.

[F1]

Descent inequality for a Lipschitz gradient: a β-Lipschitz gradient implies h(y)≤h(x)+⟨∇h(x),y−x⟩+(β/2)∥y−x∥22.

[F2]

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.

[F3]

Convex and strictly convex functions on Euclidean convex sets: convexity means h((1−t)x+ty)≤(1−t)h(x)+th(y) for 0≤t≤1.

[F4]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: ⟨u,v⟩ is the standard inner product and ∥u∥22=⟨u,u⟩.

Proof

1.1F3givenalgebra

Fix i and define [given] ϕi(z)=hi(z)−⟨∇hi(x⋆),z−x⋆⟩. For z∈Rd and 0<t≤1, convexity [F3] gives hi(x⋆+t(z−x⋆))−hi(x⋆)t≤hi(z)−hi(x⋆). Letting t↓0 and using differentiability at x⋆ yields ⟨∇hi(x⋆),z−x⋆⟩≤hi(z)−hi(x⋆). Therefore ϕi(z)≥ϕi(x⋆) for every z, so x⋆ minimizes ϕi.

1.2F1F4step 1.1givenconstructalgebra

The gradient ∇ϕi is β-Lipschitz and vanishes at [given] x⋆. Apply the descent inequality [F1] at x with y=x−β−1∇ϕi(x); the inner-product and squared-norm terms give ϕi(y)≤ϕi(x)−β−1∥∇ϕi(x)∥22+β2β−2∥∇ϕi(x)∥22=ϕi(x)−12β∥∇ϕi(x)∥22. Since ϕi(x⋆)≤ϕi(y) by step 1.1, rearranging gives ∥∇hi(x)−∇hi(x⋆)∥22≤2β(hi(x)−hi(x⋆)−⟨∇hi(x⋆),x−x⋆⟩).

2.1F2step 1.2givenalgebra∎

Average the inequality in step 1.2 over i. By [F2], N−1∑i∇hi(x⋆)=∇f(x⋆). For each coordinate direction ej, the one-variable function s↦f(x⋆+sej) has a minimum at s=0, so differentiability gives ⟨∇f(x⋆),ej⟩=0. Thus every coordinate of ∇f(x⋆) is zero. The averaged inner-product term therefore vanishes and the remaining function terms equal 2β(f(x)−f(x⋆)). This is the claimed bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Gradient steps of smooth convex functions are nonexpansive

Statement

Let h:Rd→R be convex and differentiable with β-Lipschitz gradient, where β>0. For every 0≤η≤2/β and x,y∈Rd, ∥x−y−η(∇h(x)−∇h(y))∥2≤∥x−y∥2.

Statement references

Karimireddy et al., SCAFFOLD, Appendix C, Lemma 6 proves a related contraction for μ-strongly convex functions with η≤1/β and squared-distance factor 1−μη. The convex-only nonexpansiveness for the full range 0≤η≤2/β is established by the local proof below.

Facts & Assumptions

Given: The differentiable convex function and gradient step in the Statement.

[F1]

Convex and strictly convex functions on Euclidean convex sets: convexity means h((1−t)u+tz)≤(1−t)h(u)+th(z) for u,z∈Rd and t∈[0,1].

[F2]

Descent inequality for a Lipschitz gradient: a β-Lipschitz gradient satisfies the quadratic descent inequality.

[F3]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: inner products are bilinear and ∥v∥22=⟨v,v⟩.

Proof

1.1F1F2givenalgebra

Fix u,v∈Rd. For every z∈Rd and 0<t≤1, [F1] gives [given] h(u+t(z−u))−h(u)t≤h(z)−h(u). As t↓0, differentiability makes the left side tend to ⟨∇h(u),z−u⟩. Hence h(z)≥h(u)+⟨∇h(u),z−u⟩. Define ϕ(z)=h(z)−⟨∇h(u),z−u⟩; this inequality shows that u minimizes ϕ. Its gradient is β-Lipschitz, hence continuous. Apply [F2] at v to v−β−1∇ϕ(v) and use ϕ(u)≤ϕ(z) to obtain ∥∇h(v)−∇h(u)∥22≤2β(h(v)−h(u)−⟨∇h(u),v−u⟩).

2.1F3step 1.1givenalgebra

Repeat step 1.1 with u and v exchanged and add the two inequalities. [given] The right-hand Bregman terms sum to ⟨∇h(v)−∇h(u),v−u⟩, so ∥∇h(v)−∇h(u)∥22≤β⟨∇h(v)−∇h(u),v−u⟩.

3.1F3step 2.1givenalgebra∎

Expand the square in the Statement and apply step 2.1: [given] ∥x−y−η(∇h(x)−∇h(y))∥22≤∥x−y∥22−(2ηβ−η2)∥∇h(x)−∇h(y)∥22≤∥x−y∥22, because 0≤η≤2/β. Taking nonnegative square roots proves the claim.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Federated averaging (FedAvg)

Definition

The inputs are positive integers N,d,R,K,S with 1≤S≤N, an initial server model x0∈Rd, client objectives for the chosen mode and their local oracle procedures gi, positive step sizes ηl,ηg, and one aggregation mode from the two modes below. In count-weighted deployment mode the objectives are Fi and the inputs also include positive integer record counts n1,…,nN, with n=∑ini. A call to gi 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 fi.

For each round r=1,…,R, independently draw a uniform fixed-size subset Sr of S clients from {1,…,N}. For every selected client i, initialize yi,0=xr−1 and for k=1,…,K call gi at yi,k−1 and update yi,k=yi,k−1−ηlgi(yi,k−1),1≤k≤K, The client sends its model difference yi,K−xr−1 to the server. Use one of the following aggregation branches in every round:

  1. Count-weighted deployment mode. With positive client record counts ni and n=∑ini, set xr=xr−1+ηg∑i∈Srnin(yi,K−xr−1). Equivalently, each unselected client contributes its unchanged model xr−1 to the full count-weighted average.

  2. Uniform-client analysis mode. Set xr=xr−1+ηgS∑i∈Sr(yi,K−xr−1). The equal-client convergence result on this page uses this mode and the objective f=N−1∑ifi.

After the selected clients finish the round, apply the chosen branch to obtain xr. Repeat through round R. Return the finite server trajectory x0,…,xR.

Remarks

The count-weighted deployment mode and uniform-client analysis mode are different update rules when the ni 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.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

SCAFFOLD with client and server control variates

Definition

The inputs are positive integers N,d,R,K,S with 1≤S≤N, objective functions fi:Rd→R, an initial server model x0∈Rd, client controls ci0∈Rd, positive step sizes ηl,ηg, a local stochastic-gradient oracle gi, and a control-update option from {I,II}. Set c0=N−1∑ici0. 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 r=1,…,R, independently sample a uniform fixed-size subset Sr of S clients. At the start of this round, write x=xr−1, c=cr−1, and ci=cir−1. For every selected client i, initialize yi,0=x and, for k=1,…,K, call gi at yi,k−1 and update yi,k=yi,k−1−ηl(gi(yi,k−1)−ci+c). After its K local steps, a selected client updates its control using either

  • Option I: call gi at the round-start model xr−1 and set ci+=gi(x); or
  • Option II: set ci+=ci−c+(Kηl)−1(x−yi,K).

The client sends Δxi=yi,K−x and Δci=ci+−ci. Unselected clients retain their controls. The server forms Δx=1S∑i∈SrΔxi,Δc=1S∑i∈SrΔci and updates xr=x+ηgΔx,cr=cr−1+SNΔc. The selected clients set cir=ci+ and unselected clients set cir=cir−1. Thus cr=N−1∑icir whenever cr−1=N−1∑icir−1 held before the round. The general procedure permits zero initial controls; the convergence rates stated below use the explicitly stated gradient-consistent initialization ci0=∇fi(x0). Repeat through round R and return the model and control trajectories ((xr,cr,(cir)i=1N))r=0R.

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}

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.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Moments of a uniformly sampled fixed-size client set

Statement

Let v1,…,vN∈Rd, let 1≤S≤N, and choose S uniformly from the S-element subsets of {1,…,N}. Put vˉ=N−1∑ivi and vˉS=S−1∑i∈Svi. If N>1, then E[vˉS]=vˉ,E∥vˉS−vˉ∥22=(1−SN)1S(N−1)∑i=1N∥vi−vˉ∥22. In particular, E∥vˉS−vˉ∥22≤2(1−SN)1S1N∑i=1N∥vi∥22. If N=1, necessarily S=1 and vˉS=vˉ.

Facts & Assumptions

Given: The finite client set, fixed vectors, and uniform subset law in the Statement.

[F1]

Federated objectives and client sampling: all S-element subsets have equal probability.

[F2]

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.

[F3]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: the squared Euclidean norm expands as the sum of squared coordinates and the inner product is bilinear.

Proof

1.1F1F2givenalgebra

Assume N>1 and define Ii=1{i∈S} and [given] p=S/N. Counting equally likely subsets gives E[Ii]=(N−1S−1)/(NS)=p. For distinct i,j, E[IiIj]=S(S−1)/(N(N−1)): this is zero for S=1, and for S≥2 it is (N−2S−2)/(NS). Thus E[(Ii−p)2]=S(N−S)N2,E[(Ii−p)(Ij−p)]=−S(N−S)N2(N−1)(i≠j). These expectations are finite weighted sums by [F2].

1.2F2F3step 1.1givenalgebra

Since ∑iIi=S, we have [given] vˉS−vˉ=S−1∑i(Ii−p)(vi−vˉ). Also ∑i(vi−vˉ)=0, so ∑i≠j⟨vi−vˉ,vj−vˉ⟩=−∑i∥vi−vˉ∥22. Expanding the squared norm [F3] and using step 1.1 yields E∥vˉS−vˉ∥22=1S2[S(N−S)N2∑i∥vi−vˉ∥22−S(N−S)N2(N−1)∑i≠j⟨vi−vˉ,vj−vˉ⟩]=N−SSN(N−1)∑i∥vi−vˉ∥22. The first-moment identity follows from E[Ii]=S/N in step 1.1.

2.1F3step 1.2givenalgebra∎

The identity N−1∑i∥vi−vˉ∥22=N−1∑i∥vi∥22−∥vˉ∥22 and N/(N−1)≤2 give the stated upper bound. If N=1, the only size-one subset is the full set, so its sample mean equals vˉ and its variance is zero.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

One-step progress of the virtual local-SGD iterate

Statement

Let f=n−1∑j=1nfj have an attained minimum f⋆=f(x⋆), be L-smooth, and be μ-strongly convex with 0<μ≤L. Let xt1,…,xtK be generated by local SGD, and define xˉt=1K∑k=1Kxtk,gt=1K∑k=1Kgtk(xtk),gˉt=1K∑k=1K∇f(xtk), where gtk is the batch gradient from the algorithm definition. If ηt≤1/(4L), then E∥xˉt+1−x⋆∥22≤(1−μηt)E∥xˉt−x⋆∥22+ηt2E∥gt−gˉt∥22−ηt2E[f(xˉt)−f⋆]+2ηtLK∑k=1KE∥xˉt−xtk∥22. Expectations are over the finite product law of the sampled indices.

Facts & Assumptions

Given: The local-SGD iterates, the finite-sum objective and Euclidean structure in the Statement.

[F1]

Local SGD with periodic synchronization: at each step the local proposal is zt+1k=xtk−ηtgtk(xtk). An unsynchronized worker keeps its proposal, while a synchronized worker takes the mean of all proposals.

[F2]

Gradient of a finite sum is the finite sum of gradients: ∇f(x)=n−1∑j∇fj(x).

[F3]

Descent inequality for a Lipschitz gradient: an L-Lipschitz gradient gives f(y)≤f(x)+⟨∇f(x),y−x⟩+(L/2)∥y−x∥22.

[F4]

Finite Jensen inequality for convex functions on Rn: for a convex function, its value at a finite average is at most the average of its values.

[F5]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: inner products and squared norms obey the standard Euclidean algebra.

[F6]
[A1]

For all u,v∈Rd, f(v)≥f(u)+⟨∇f(u),v−u⟩+(μ/2)∥v−u∥22, x⋆ is a minimizer, and ∇f(x⋆)=0.

Proof

1.1F1F2F5F6givenalgebra

Averaging the proposals in [F1] gives their mean xˉt−ηtgt. Synchronization preserves that mean, so xˉt+1=xˉt−ηtgt, whether or not this step synchronizes. Fix any past tuple of sampled indices. The current independent uniform indices have finite conditional average gˉt by [F2]. Expanding after adding and subtracting ηtgˉt, then averaging over the current indices, removes the cross term and gives E∥xˉt+1−x⋆∥22=E∥xˉt−x⋆−ηtgˉt∥22+ηt2E∥gt−gˉt∥22.

1.2A1F3F4F5givenalgebra

Fix the past tuple and write xk=xtk. Jensen's inequality [F4] gives ∥gˉt∥22≤K−1∑k∥∇f(xk)∥22. Applying [F3] at xk with y=xk−L−1∇f(xk) and using f(x⋆)≤f(y) yields ∥∇f(xk)∥22≤2L(f(xk)−f⋆). Strong convexity [A1] gives −⟨xk−x⋆,∇f(xk)⟩≤−(f(xk)−f⋆)−(μ/2)∥xk−x⋆∥22. Young's inequality, in the form −2⟨u,v⟩≤2L∥u∥22+(2L)−1∥v∥22, therefore gives −2⟨xˉt−xk,∇f(xk)⟩≤2L∥xˉt−xk∥22+f(xk)−f⋆. In the expansion ∥xˉt−x⋆−ηtgˉt∥22=∥xˉt−x⋆∥22−2ηt⟨xˉt−x⋆,gˉt⟩+ηt2∥gˉt∥22, decompose xˉt−x⋆=(xˉt−xk)+(xk−x⋆) and average the preceding bounds over k. The function-gap coefficient is −2ηt+ηt+2ηt2L=2ηt(ηtL−12); the strong- convexity term is −μηtK−1∑k∥xk−x⋆∥22. Hence ∥xˉt−x⋆−ηtgˉt∥22≤∥xˉt−x⋆∥22+2ηtLK∑k∥xˉt−xk∥22+2ηt(ηtL−12)1K∑k(f(xk)−f⋆)−μηtK∑k∥xk−x⋆∥22.

2.1A1F4step 1.1step 1.2givenalgebra∎

Since ηtL≤1/4, the coefficient 2ηt(ηtL−12)≤−ηt/2. Convexity of f follows from μ-strong convexity in [A1]. Jensen [F4] gives K−1∑kf(xk)≥f(xˉt) and K−1∑k∥xk−x⋆∥22≥∥xˉt−x⋆∥22. Thus step 1.2 is at most (1−μηt)∥xˉt−x⋆∥22−(ηt/2)(f(xˉt)−f⋆)+(2ηtL/K)∑k∥xˉt−xk∥22. Average over the past and substitute into step 1.1 to obtain the claim.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Variance reduction across independent local-SGD workers

Statement

At a fixed time t, suppose the worker points xt1,…,xtK are determined by the earlier sampled indices. Define gt=1K∑k=1Kgtk(xtk),gˉt=1K∑k=1K∇f(xtk), where each gtk is the average of b≥1 independent uniform component gradients from {f1,…,fn}. If, for every worker point xtk, 1n∑j=1n∥∇fj(xtk)−∇f(xtk)∥22≤σ2, then E∥gt−gˉt∥22≤σ2bK.

Facts & Assumptions

Given: The finite-sum objective, worker iterates, and mutually independent uniform indices in the Statement.

[F1]

Local SGD with periodic synchronization: each worker averages b independent component gradients at its current point.

[F2]

Independent random elements: independence means independence of the sigma-algebras generated by the random indices.

[F3]

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.

[F4]

Linearity, monotonicity, and the modulus bound for expectation: expectation is linear on integrable variables.

[F5]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: the squared norm expands as the inner product of a finite sum with itself.

Proof

1.1F1F2F3F4F5givenalgebra

Fix the earlier indices, so each xtk is fixed. For worker k and within-batch draw q, put ϵkq=∇fit,qk(xtk)−∇f(xtk). Uniform sampling gives a zero finite mean for every ϵkq and E∥ϵkq∥22≤σ2. Distinct draws are independent by [F1]–[F2], so every cross inner product between distinct centered draws has mean zero by [F3]–[F5]. Expanding gt−gˉt=(bK)−1∑k,qϵkq therefore leaves only bK diagonal terms.

2.1step 1.1givenalgebra∎

Each diagonal term is at most σ2 by the hypothesis, so the expansion in step 1.1 is at most (bK)−2(bK)σ2=σ2/(bK). Averaging over the earlier finite index history proves the unconditional inequality.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Deviation of local-SGD workers from their virtual mean

Statement

Let T,K,m≥1 be integers and let local SGD use integer synchronization times 0=t0<t1<⋯<tm=T, with H=max⁡j(tj−tj−1). Let xˉt=K−1∑kxtk. For each 0≤t<T, define the previous synchronization time s(t)=max⁡{tj:0≤j≤m, tj≤t}. Suppose the step sizes η0,…,ηT−1 are positive and nonincreasing, and ηs(t)≤2ηt for each 0≤t<T. Suppose also E∥ghk(xhk)∥22≤G2(0≤h<T, 1≤k≤K), where ghk is the local batch gradient. Then, for every 0≤t<T, 1K∑k=1KE∥xtk−xˉt∥22≤4ηt2G2H2. At t=T, the average deviation is zero because T=tm is a synchronization time.

Facts & Assumptions

Given: The local-SGD trajectories, synchronization schedule and local gradient second-moment bound in the Statement.

[F1]

Local SGD with periodic synchronization: all workers have the same iterate at each synchronization time, including the initial time 0.

[F2]

Relaxed inequalities for squared Euclidean norms: squared norms of finite vector sums obey the stated relaxed inequality.

[F3]

Expectation of a nonnegative or integrable random variable: expectation is taken over the finite product law of the sampled indices.

Proof

1.1F1F3givenalgebra

Fix t and let s=s(t) be the latest synchronization time not exceeding [given] t. Then 0≤t−s≤H and [F1] gives xsk=xˉs for all k. For any vectors z1,…,zK and any z, expansion around their mean gives 1K∑k∥zk−zˉ∥22=1K∑k∥zk−z∥22−∥zˉ−z∥22≤1K∑k∥zk−z∥22. Apply this identity with zk=xtk and the common value z=xsk to bound the worker deviation by the mean squared displacement from time s.

1.2F1F2F3step 1.1givenalgebra∎

For each worker, [given] xtk−xsk=−∑h=st−1ηhghk(xhk). By [F2], nonincreasing step sizes, and the second-moment hypothesis, E∥xtk−xsk∥22≤(t−s)∑h=st−1ηh2E∥ghk(xhk)∥22≤H2ηs2G2. Average over k and use ηs≤2ηt from the Statement. The resulting bound is 4H2ηt2G2, proving the claim.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Strong-convexity inequality for a perturbed gradient point

Statement

Let h:Rd→R be continuously differentiable, let ∇h be β-Lipschitz, and suppose h is μ-strongly convex with 0≤μ≤β. Then for every x,y,z∈Rd, ⟨∇h(x),z−y⟩≥h(z)−h(y)+μ4∥y−z∥22−β∥z−x∥22.

Facts & Assumptions

Given: The smoothness and strong-convexity hypotheses in the Statement.

[F1]

Descent inequality for a Lipschitz gradient: β-Lipschitz gradients satisfy h(z)≤h(x)+⟨∇h(x),z−x⟩+(β/2)∥z−x∥22.

[F2]

Strong convexity means h(y)≥h(x)+⟨∇h(x),y−x⟩+(μ/2)∥y−x∥22 for all x,y.

[F3]

Relaxed inequalities for squared Euclidean norms: ∥y−x∥22≥12∥y−z∥22−∥x−z∥22.

Proof

1.1F1F2F3givenalgebra

Rearranging [F1] and applying [F2] at the same point x give [given] ⟨∇h(x),z−x⟩≥h(z)−h(x)−β2∥z−x∥22, ⟨∇h(x),x−y⟩≥h(x)−h(y)+μ2∥x−y∥22. Add the inequalities and use [F3]. This yields ⟨∇h(x),z−y⟩≥h(z)−h(y)+μ4∥y−z∥22−β+μ2∥z−x∥22.

2.1step 1.1givenalgebra∎

Since μ≤β, (β+μ)/2≤β. Replacing the last coefficient by the weaker −β proves the claimed bound.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Strongly convex local-SGD round complexity

Statement

Let n,d,K,T,b≥1, let f=n−1∑j=1nfj be differentiable, L-smooth and μ-strongly convex for 0<μ≤L, and suppose it attains its minimum at x⋆ with value f⋆. Run local SGD with a common initial point x0, synchronization schedule of maximum gap H, and independent uniform with-replacement mini-batches of size b at each worker and step. Assume that at every local iterate xtk, 1n∑j=1n∥∇fj(xtk)−∇f(xtk)∥22≤σ2,1n∑j=1n∥∇fj(xtk)∥22≤G2. For a>max⁡{16L/μ,H}, set ηt=4μ(a+t),wt=(a+t)2,ST=∑t=0T−1wt,x^T=1KST∑k=1K∑t=0T−1wtxtk. Then, with expectation over all sampled component indices, E[f(x^T)−f⋆]≤μa3∥x0−x⋆∥222ST+4T(T+2a)σ2μKbST+256TG2H2Lμ2ST. 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.

Facts & Assumptions

Given: The finite-sum objective, its local-SGD trajectory and the step schedule in the Statement.

[F1]

Local SGD with periodic synchronization: worker updates use independent uniform component indices, average b gradients, and synchronize at the declared times.

[F2]

One-step progress of the virtual local-SGD iterate: if ηt≤1/(4L), the virtual mean iterate obeys the one-step distance/function-gap inequality there.

[F3]

Variance reduction across independent local-SGD workers: under the component variance bound, the centered mean stochastic gradient has second moment at most σ2/(bK).

[F4]

Deviation of local-SGD workers from their virtual mean: under the local-gradient second-moment bound and ηs≤2ηt for the preceding synchronization time, the mean squared worker deviation is at most 4ηt2G2H2.

[F5]

Quadratic-weighted telescope for a strongly convex recursion: the quadratic-weighted telescope bounds a recurrence with coefficients A,B,C by its stated three terms.

[F6]

Finite Jensen inequality for convex functions on Rn: a convex function at a finite weighted average is bounded above by the same weighted average of its values.

[F7]

Gradient of a finite sum is the finite sum of gradients and Independent random elements: the mean of a uniform component gradient is ∇f, and distinct draws are independent.

[A1]

The hypotheses in the Statement hold at every local iterate, the local steps are positive and nonincreasing, and the run starts with x0k=x0.

Proof

1.1F1F2F3F4F7givenalgebra

Put xˉt=K−1∑kxtk and [given] ut=E∥xˉt−x⋆∥22, et=E[f(xˉt)−f⋆]. Since a>16L/μ, we have ηt<1/(4L). By [F2], [F3] and [F4], ut+1≤(1−μηt)ut−ηt2et+σ2bKηt2+8LG2H2ηt3. For a preceding synchronization time s, t−s≤H<a implies (a+t)/(a+s)<2, so ηs≤2ηt as required by [F4]. Jensen also bounds each batch gradient second moment by G2. Here the coefficient 8LG2H2 is obtained by multiplying the drift bound 4ηt2G2H2 in [F4] by the progress lemma's 2ηtL factor.

2.1F5step 1.1givenalgebra

Apply [F5] to step 1.1 with A=1/2, B=σ2/(bK), and C=8LG2H2. Since a>16L/μ≥16, its restriction a≥4 holds. The result is 1ST∑t=0T−1wtet≤μa3u02ST+4T(T+2a)σ2μKbST+256TG2H2Lμ2ST.

3.1F6F8step 2.1givenalgebra∎

The output satisfies x^T=ST−1∑twtxˉt exactly, by interchanging its finite worker and time sums. Strong convexity implies convexity, so [F6] applied to these virtual mean iterates gives E[f(x^T)−f⋆]≤1ST∑twtE[f(xˉt)−f⋆]=1ST∑twtet. Substitute step 2.1 and u0=∥x0−x⋆∥22 to obtain the Statement.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Standard and gap forms of bounded client gradient dissimilarity

Definition

Let N,d≥1 be positive integers, let fi:Rd→R be differentiable, and put f=N−1∑i=1Nfi. For constants G≥0 and B≥1, the clients have standard (G,B)-bounded gradient dissimilarity if 1N∑i=1N∥∇fi(x)∥22≤G2+B2∥∇f(x)∥22(x∈Rd).

For β>0 and a finite global lower bound f⋆∈R for f, the gap-form condition with parameters (G,B,β,f⋆) is 1N∑i=1N∥∇fi(x)∥22≤G2+2βB2(f(x)−f⋆)(x∈Rd). In the convex-client FedAvg results, β is a common gradient Lipschitz constant and f⋆ is the attained minimum of f; 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 E∥gi(x)−∇fi(x)∥22≤σ2.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Standard client dissimilarity implies the gap form with unchanged parameters

Statement

Let N,d≥1 be positive integers, let β>0, and let fi:Rd→R be differentiable with β-Lipschitz gradients. Put f=N−1∑ifi, and suppose f(x)≥f⋆ for all x, where f⋆∈R is finite. Then ∥∇f(x)∥22≤2β(f(x)−f⋆)(x∈Rd). Consequently, if the clients satisfy standard (G,B)-bounded gradient dissimilarity, with G≥0 and B≥1, they satisfy the gap-form condition with exactly the same G,B,β,f⋆: 1N∑i∥∇fi(x)∥22≤G2+2βB2(f(x)−f⋆)(x∈Rd). No convexity or attainment of the lower bound is required for this implication.

Facts & Assumptions

Given: The differentiable client functions, common smoothness constant, finite lower bound and, for the consequence, the standard condition in the Statement.

[F1]

Gradient of a finite sum is the finite sum of gradients: ∇f=N−1∑i∇fi.

[F3]

Descent inequality for a Lipschitz gradient: a continuously differentiable function with β-Lipschitz gradient satisfies f(y)≤f(x)+⟨∇f(x),y−x⟩+(β/2)∥y−x∥22.

[F4]

Standard and gap forms of bounded client gradient dissimilarity: standard dissimilarity bounds the population second moment by G2+B2∥∇f(x)∥22.

Proof

1.1F1F2givenalgebra

By [F1], ∇f(u)−∇f(v)=N−1∑i(∇fi(u)−∇fi(v)). The triangle inequality and homogeneity in [F2] imply ∥∇f(u)−∇f(v)∥2≤N−1∑iβ∥u−v∥2=β∥u−v∥2. Thus f is continuously differentiable and has β-Lipschitz gradient, as required by [F3].

2.1F2F3step 1.1givenconstructalgebra

Fix x and set y=x−β−1∇f(x). By [F3] and the finite global lower bound, f⋆≤f(y)≤f(x)−β−1∥∇f(x)∥22+(2β)−1∥∇f(x)∥22=f(x)−(2β)−1∥∇f(x)∥22. Rearrangement proves the first displayed inequality. The point y lies in the domain Rd; the use of β−1 is valid because β>0.

3.1F4step 2.1givenalgebra∎

Multiply step 2.1 by the nonnegative B2 and substitute it into [F4]. This gives the asserted gap form, with no enlargement of G or B and the factor exactly 2β.

Remarks

The reverse implication with the same parameters need not hold, even for strongly convex clients. For example, on R take f1(x)=x2/2 and f2(x)=3x2/2. Their equal-client mean is f(x)=x2, its minimum is 0, and both clients are 1-strongly convex and 3-smooth. The population gradient second moment is 5x2, while ∥∇f(x)∥22=4x2. The gap form holds with G=0,B=1,β=3 because 5x2≤6x2, whereas the standard form with the same G,B would require 5x2≤4x2. Keeping the gap branch therefore retains instances beyond the same-parameter standard condition.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

One-round progress of strongly convex FedAvg

Statement

Assume the Axiom of Choice. Let N,d,K≥1 be positive integers and 1≤S≤N. Let fi:Rd→R be differentiable, μ-strongly convex and β-smooth, with 0<μ≤β, and put f=N−1∑i=1Nfi. Suppose f attains its minimum at x⋆ with value f⋆. At a round-start server point x, run the uniform-client analysis mode of FedAvg with S clients sampled uniformly without replacement, K local steps, local step ηl>0, and global scale ηg≥S. The client sample is independent of the fresh local-oracle randomness. Assume conditionally unbiased local stochastic gradients with within-client conditional variance at most σ2. 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 B≥1, G≥0, and 1N∑i∥∇fi(z)∥22≤G2+2βB2(f(z)−f⋆)(z∈Rd). Alternatively, assume the standard (G,B)-bounded gradient-dissimilarity condition 1N∑i∥∇fi(z)∥22≤G2+B2∥∇f(z)∥22(z∈Rd). Either assumption gives all the conclusions below with the same G,B and stepsize restrictions. Let η~=Kηlηg. For each client i, define a hypothetical local path yi,0=x,yi,1,…,yi,K 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 E=1KN∑i=1N∑k=1KE∥yi,k−1−x∥22. If 0<η~≤[32(B2+1)β]−1, then the next server iterate x+ satisfies E∥x+−x⋆∥22≤(1−μη~/2)∥x−x⋆∥22−η~(f(x)−f⋆)+5η~2σ2KS+8(1−SN)η~2G2S+3βη~E. Expectation is conditional on the round-start history and averages the client sample and local stochastic-gradient draws.

Facts & Assumptions

Given: The local-client functions, round start, FedAvg updates and sampling law in the Statement.

[F1]

Federated averaging (FedAvg): in uniform-client analysis mode, x+=x−η~(KS)−1∑i∈S,kgi(yi,k−1).

[F2]

Federated objectives and client sampling: f=N−1∑ifi and S is a uniform size-S subset.

[F3]

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 2(1−S/N)S−1 times the population second moment.

[F4]

Relaxed inequalities for squared Euclidean norms: squared norms of a sum are bounded by the corresponding two-term relaxed-square inequality.

[F5]

Strong-convexity inequality for a perturbed gradient point: for each fi, its gradient at a local point paired with x−x⋆ is bounded below by the function gap, strong-convexity distance term, and local displacement term stated there.

[F6]

Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: at x⋆ the average gradient vanishes, and the population second moment of the centered client gradients is at most 2β(f(x)−f⋆).

[F7]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: inner products and squared norms obey the Euclidean expansion identities.

[F9]

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.

[F10]

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 G,B.

[A1]

The conditional means, variance bounds, and fresh-draw assumptions in the Statement hold at every local query.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].

Proof

1.1F10F1F2F5F8A1A2givenalgebra

In the standard-condition branch, [F10] supplies the displayed gap-form assumption with unchanged G,B; in the original gap-form branch it is already assumed. Put Δ=x+−x. Conditional on the round-start history, unbiasedness [given] and uniform client sampling give E[Δ∣F]=−η~KN∑i,kE[∇fi(yi,k−1)∣F]. Expand ∥x+Δ−x⋆∥22 and use this conditional mean in its cross term. Apply [F5] at each local point yi,k−1 with comparison points x⋆ and x. After averaging over i,k, this gives E∥x+Δ−x⋆∥22≤∥x−x⋆∥22−2η~(f(x)−f⋆)−μη~2∥x−x⋆∥22+2βη~E+E∥Δ∥22.

1.2F1F3F4F6F7F8F9A1A2givenalgebra

Write vS=S−1∑i∈S∇fi(x) and [given] dS=(KS)−1∑i∈S,k(∇fi(yi,k−1)−∇fi(x)). Jensen and β-Lipschitzness give E∥dS∥22≤β2E. For the sampled mean at x, [F3] and the dissimilarity bound give E∥1S∑i∈S∇fi(x)∥22≤2β(f(x)−f⋆)+2(1−SN)G2+2βB2(f(x)−f⋆)S. Reveal the client sample first and order its KS local oracle draws chronologically. By [A1], each centered error has conditional mean zero and second moment at most σ2 given the entire preceding history, so [F9] applies to this filtration. After division by KS, their sum has second moment at most 2σ2/(KS). Apply [F4] first to vS+dS, then to that sum plus the noise. The resulting second-moment bound is E∥Δ∥22≤16β(B2+1)η~2(f(x)−f⋆)+4β2η~2E+8(1−SN)η~2G2S+4η~2σ2KS.

2.1F1F2step 1.1step 1.2givenalgebra∎

Substitute step 1.2 into step 1.1. Because 16β(B2+1)η~≤1/2, the combined objective-gap coefficient is at most −3η~/2≤−η~. Also βη~≤1/64, since B≥1, so the local-drift coefficient satisfies 2βη~+4β2η~2≤3βη~. Increase the noise coefficient from 4 to 5 and retain the sampling term. These substitutions give precisely the Statement without using any local-drift estimate.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Client drift under FedAvg gradient dissimilarity

Statement

Let N≥S≥1, K≥1, and let fi:Rd→R be convex differentiable functions with β-Lipschitz gradients, β>0. Put f=N−1∑ifi and suppose x⋆ minimizes f. At a fixed FedAvg round start x, each sampled client performs K local updates as in the uniform-client analysis mode of the FedAvg algorithm, with local step ηl>0, global scale ηg≥1, and conditionally unbiased local stochastic gradients of variance at most σ2 at every queried point. The client sample is uniform without replacement and independent of the fresh local-oracle randomness. Suppose B≥1, G≥0, and for every z∈Rd, 1N∑i=1N∥∇fi(z)∥22≤G2+2βB2(f(z)−f⋆). Alternatively, assume the standard (G,B)-bounded gradient-dissimilarity condition 1N∑i∥∇fi(z)∥22≤G2+B2∥∇f(z)∥22(z∈Rd). Either assumption gives all the conclusions below with the same G,B and stepsize restrictions. Let η~=Kηlηg, write yi,k for the local path initialized at yi,0=x, and define the query-point drift E=1KN∑i=1N∑k=1KE∥yi,k−1−x∥22, 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 0<η~≤18(B2+1)β, then 3βη~E≤2η~3(f(x)−f⋆)+η~2σ22Kηg2+18βη~3G2.

Facts & Assumptions

Given: The equal-client objective, local paths and stochastic-gradient assumptions in the Statement.

[F1]

Federated averaging (FedAvg): each local update is yi,k=yi,k−1−ηlgi(yi,k−1).

[F2]

Gradient steps of smooth convex functions are nonexpansive: if ηl≤2/β, then y↦y−ηl(∇fi(y)−∇fi(x)) does not increase the distance from x.

[F3]

Relaxed inequalities for squared Euclidean norms and The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: squared norms expand bilinearly and ∥u+v∥22≤(1+a)∥u∥22+(1+a−1)∥v∥22 for a>0.

[F5]

The population gradient second moment obeys the dissimilarity bound in the Statement.

[F6]

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 G,B.

[A1]

Each oracle draw is conditionally unbiased given the full history before that draw and has conditional variance at most σ2.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F4].

Proof

1.1F6F1F2F3F4A1A2giveninductionalgebra

In the standard-condition branch, [F6] supplies the displayed gap-form assumption with unchanged G,B; in the original gap-form branch it is already assumed. If K=1, every query point is x and E=0. Suppose K≥2. For a [given] fixed client, put dk=yi,k−x, g=∇fi(x), and ξk=gi(yi,k−1)−∇fi(yi,k−1). Define Ti(y)=y−ηl(∇fi(y)−∇fi(x)). The local update is dk=Ti(yi,k−1)−x−ηlg−ηlξk. By [F2] and the stepsize condition, ∥Ti(yi,k−1)−x∥2≤∥dk−1∥2. Conditional centering of ξk therefore gives qk:=E∥dk∥22≤(qk−1+ηl∥g∥2)2+ηl2σ2. Induction from q0=0 yields qk≤(kηl∥g∥2+kηlσ)2≤2k2ηl2∥g∥22+2kηl2σ2: substituting the bound at k−1 into the recurrence gives (kηl∥g∥2+k−1ηlσ)2+ηl2σ2, which is at most the claimed square.

2.1F5step 1.1givenalgebra

Average the step 1.1 bound for dk−1 over k=1,…,K and [given] clients. Since K−1∑k=1K2(k−1)2≤2K2/3 and K−1∑k=1K2(k−1)=K−1≤K, this gives E≤23K2ηl21N∑i∥∇fi(x)∥22+Kηl2σ2≤23K2ηl2(G2+2βB2(f(x)−f⋆))+Kηl2σ2. Uniform sampling makes the expected average over selected clients the population average, and the hypothetical local paths have the same per-client law.

3.1F5step 2.1givenalgebra∎

Multiply step 2.1 by 3βη~ and use ηl=η~/(Kηg). The three resulting coefficients are 2βη~3/ηg2 for G2, 4β2B2η~3/ηg2 for the function gap, and 3βη~3/(Kηg2) for the variance. Since ηg≥1 and βη~≤1/[8(B2+1)], these are at most 18βη~3, 2η~/3, and η~2/(2Kηg2), respectively. This proves the claim.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

SCAFFOLD trajectories, client drift, control lag and tracking error

Definition

Let N,d,K,R≥1 be positive integers and let 1≤S≤N. Let fi:Rd→R be differentiable client objectives and f=N−1∑i=1Nfi. Run SCAFFOLD for R rounds with local step count K, client sample size S, server iterates x0,…,xR, and client controls cir after round r. In each round, extend the local trajectory yi,0r=xr−1,yi,1r,…,yi,Kr 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-r client drift at gradient-query points is Er=1KN∑i=1N∑k=1KE∥yi,k−1r−xr−1∥22. For every client and local-step index, initialize a stored anchor αi,k0=x0 and stored gradient γi,k0=∇fi(x0). After round r, if client i was selected, set αi,kr=yi,k−1r and let γi,kr be the actual stochastic gradient draw used at that local query. If client i 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 f is convex with minimizer x⋆, the round-r convex control lag is the average second moment of the mean full-gradient error at the stored anchors: Cr=1N∑i=1NE∥1K∑k=1K∇fi(αi,kr)−∇fi(x⋆)∥22. For the nonconvex analysis, the round-r control-tracking error is Ξr=1KN∑i=1N∑k=1KE∥αi,kr−xr∥22. Thus Ξ0=0 and each stored anchor records the point at which that client's corresponding control-gradient sample was evaluated.

The query-point indexing in Er is deliberate: the gradient-difference terms in the variance and drift recurrences are evaluated at yi,k−1r. It is not interchangeable with an average over the post-update endpoints yi,kr.

Remarks

The local Cr 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.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Strongly convex FedAvg under bounded gradient dissimilarity

Statement

Assume the Axiom of Choice. Let N,d,K,R≥1 be positive integers and 1≤S≤N. Let fi:Rd→R be differentiable, μ-strongly convex and β-smooth, with 0<μ≤β, and let f=N−1∑i=1Nfi attain its minimum f⋆=f(x⋆). Assume fresh conditionally unbiased local stochastic gradients with within-client conditional variance at most σ2, 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 B≥1 and G≥0, assume the convex-client gradient-dissimilarity bound 1N∑i=1N∥∇fi(x)∥22≤G2+2βB2(f(x)−f⋆)(x∈Rd). Alternatively, assume the standard (G,B)-bounded gradient-dissimilarity condition 1N∑i∥∇fi(z)∥22≤G2+B2∥∇f(z)∥22(z∈Rd). Either assumption gives all the conclusions below with the same G,B and stepsize restrictions. Run the uniform-client analysis mode of FedAvg with 1≤S≤N clients sampled uniformly without replacement per round and K≥1 local steps. Choose ηg=S and 0<η~=Kηlηg≤132(B2+1)β. At round r, let xr be the server iterate and set λ=μη~2,WR=∑r=1R(1−λ)−r. Choose an independent index J∈{1,…,R} with probability Pr⁡(J=r)=(1−λ)−r/WR and return xˉR=xJ−1. Then E[f(xˉR)−f⋆]≤3∥x0−x⋆∥22η~WR+3η~(11σ22KS+8(1−SN)G2S)+54βG2η~2. In particular, for target ϵ>0, a choice of η~ no larger than [32(B2+1)β]−1 and R=O ⁣([(B2+1)βμ+σ2μKSϵ+(1−S/N)G2μSϵ+βGμϵ]log⁡(2+μ∥x0−x⋆∥22ϵ)) suffice to ensure E[f(xˉR)−f⋆]≤ϵ, with a universal constant in the O(⋅) notation. This is an equal-client strongly convex rate; it does not apply to the count-weighted deployment objective without a separate weighted analysis.

Facts & Assumptions

Given: The client objectives, stochastic-gradient process, FedAvg output and sampling law in the Statement.

[F1]

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.

[F2]

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 G2 term.

[F3]

Geometric and sublinear averaging for descent recursions: the geometric weighted average of a strongly convex descent recursion bounds its expected objective gap.

[F4]

Federated objectives and client sampling and Federated averaging (FedAvg): the analyzed objective is N−1∑ifi, with each round sampling a uniform fixed-size client subset and averaging selected model differences.

[F5]

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 (1−S/N)/S.

[F6]

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 ∇f.

[F9]

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 G,B.

[A1]

The conditional stochastic-gradient hypotheses and bounded gradient-dissimilarity assumption in the Statement hold at every round and query point.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].

Proof

1.1F9F1F2F4F5F6F7F8A1A2givenalgebra

In the standard-condition branch, [F9] supplies the displayed gap-form assumption with unchanged G,B; in the original gap-form branch it is already assumed. Let dr=E∥xr−x⋆∥22 and [given] qr−1=E[f(xr−1)−f⋆]. Apply [F1] and then [F2] with ηg=S. Their gap terms combine to −η~qr−1/3. The resulting recurrence is dr≤(1−λ)dr−1−η~3qr−1+bη~2+cη~3,b=11σ22KS+8(1−SN)G2S,c=18βG2. Indeed the stochastic terms are 5σ2/(KS)+σ2/(2Kηg2)=11σ2/(2KS) because ηg2=S; the sampling term is the one in [F1], and the remaining drift term is 18βG2η~3.

2.1step 1.1F3givenalgebra

Apply [F3] to step 1.1 with a=1/3, ρ=μ/2, and weights wr=(1−λ)−r. It yields E[f(xˉR)−f⋆]≤3d0η~WR+3bη~+3cη~2, which is the displayed bound after substituting b,c.

3.1F3step 1.1step 2.1givenalgebra∎

Write D=∥x0−x⋆∥2. Since [given] WR=((1−λ)−R−1)/λ, the first term in step 2.1 is at most ϵ/3 whenever R≥2μη~log⁡(1+9μD22ϵ). This follows from −log⁡(1−λ)≥λ. Choose η~ not exceeding the minimum of [32(B2+1)β]−1, ϵ/(9b) when b>0, and ϵ/(162βG2) when G>0; omit a bound whose denominator is zero. Then each of the last two terms in step 2.1 is at most ϵ/3. Taking the least integer R satisfying the preceding display gives the claimed communication-round bound: the reciprocal step is bounded by a constant times (B2+1)β+b/ϵ+βG/ϵ, divided by μ.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Option II controls track gradients at stored client anchors

Statement

Run SCAFFOLD with Option II for the client-control update and initialize ci0=∇fi(x0) and c0=N−1∑ici0. Let αi,kr and γi,kr 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 σ2, then for every client i and round r≥0, cir=1K∑k=1Kγi,kr,E[cir]=1K∑k=1KE[∇fi(αi,kr)],E∥cir−1K∑k=1K∇fi(αi,kr)∥22≤σ2K. Also cr=N−1∑icir for every realization.

Facts & Assumptions

Given: The Option II update, local trajectories, and initial controls in the Statement.

[F1]

SCAFFOLD with client and server control variates: Option II is ci+=ci−c+(Kηl)−1(x−yi,K), and the server changes c by (S/N) times the selected clients' mean control change.

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: after participation, αi,kr=yi,k−1r and γi,kr is the realized local gradient draw; when a client is unselected, both are retained.

[A1]

Local stochastic gradients are conditionally unbiased given the server and local history at the time of each query.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F3].

Proof

1.1F1F2F3A1A2givenalgebra

At initialization, αi,k0=x0, [given] γi,k0=∇fi(x0) and ci0=∇fi(x0), so all three client-control assertions hold for r=0. Suppose client i is selected in round r. Telescoping its K local updates from [F1] gives xr−1−yi,Kr=ηl∑k=1K(gi(yi,k−1r)−cir−1+cr−1). Substitute this into Option II and cancel the old controls. The result is cir=K−1∑kγi,kr. For ξi,k=γi,kr−∇fi(αi,kr), conditional unbiasedness gives zero conditional mean at the query, and the sequential ξi,k form martingale differences. Thus E⟨ξi,k,ξi,j⟩=0 for k≠j by conditioning on the later query history, and E∥1K∑kξi,k∥22=1K2∑kE∥ξi,k∥22≤σ2K. Taking expectation in the exact control identity also gives the stated mean identity.

2.1F1F2F3step 1.1giveninductionalgebra

If client i is unselected, [F1] leaves cir=cir−1 and [F2] leaves every stored anchor and draw unchanged. Write eir=cir−K−1∑k∇fi(αi,kr) and p=S/N. The fresh client sample is independent of the preceding history, so the retained residual contributes (1−p)E[eir−1] to its mean and (1−p)E∥eir−1∥22 to its second moment. Conditional on selection, step 1.1 gives a newly sampled residual of mean zero and second moment at most σ2/K. Therefore E[eir]=(1−p)E[eir−1]=0 and E∥eir∥22≤(1−p)E∥eir−1∥22+pσ2/K≤σ2/K by induction from ei0=0. The realized control identity persists in both cases. This proves the three assertions; no conditional-mean identity given the stored adaptive anchors is asserted.

3.1F1givenalgebrainduction∎

Initially c0=N−1∑ici0. In a round, the server changes its control by (S/N)(S−1∑i∈S(cir−cir−1)), which equals N−1∑i(cir−cir−1) because unselected clients do not change their controls. Therefore cr=N−1∑icir whenever the identity held before the round. Induction proves it for every round.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Convex SCAFFOLD server-update second moment

Statement

Assume the Axiom of Choice. Let fi:Rd→R be convex, differentiable and β-smooth, with equal-client objective f=N−1∑ifi attaining f⋆=f(x⋆). At round r, run Option II SCAFFOLD with S clients sampled uniformly without replacement, K local steps and effective step η~=Kηlηg. Assume c=N−1∑ici, initialize ci0=∇fi(x0) and c0=N−1∑ici0, and assume local stochastic gradients are conditionally unbiased with within-client variance at most σ2. All expectations are unconditional over the round history, client sample and local stochastic-gradient draws. With Er and Cr−1 as in the SCAFFOLD analysis-trajectory definition, E∥xr−xr−1∥22≤6η~2β2Er+12η~2Cr−1+6η~2βE[f(xr−1)−f⋆]+18η~2σ2KS.

Facts & Assumptions

Given: The Option II SCAFFOLD round, controls, convex equal-client objective and stochastic-gradient assumptions in the Statement.

[F1]

SCAFFOLD with client and server control variates: the server displacement is −η~(KS)−1∑i∈S,k(gi(yi,k−1)−ci+c) and c=N−1∑ici.

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: Er averages the expected squared displacement of the current gradient-query points from xr−1; Cr−1 averages the expected squared error of the mean full gradient at each stored anchor from ∇fi(x⋆).

[F3]

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 2(1−S/N)/S times their population second moment; this also applies conditionally on the history before the fresh round sample.

[F4]

Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: ∇f(x⋆)=0 and N−1∑i∥∇fi(x)−∇fi(x⋆)∥22≤2β(f(x)−f⋆).

[F5]

Option II controls track gradients at stored client anchors: if mi=K−1∑k∇fi(αi,kr−1) and ei=ci−mi, then N−1∑iE∥ei∥22≤σ2/K.

[F6]

Second moment bound for a finite martingale-difference sum: for the current chronologically ordered oracle errors ξj, with predictable conditional means dj, the normalized local-query average obeys E∥(KS)−1∑j(dj+ξj)∥22≤2E∥(KS)−1∑jdj∥22+2σ2/(KS).

[F7]

Relaxed inequalities for squared Euclidean norms and The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: for three vectors, ∥u+v+w∥22≤3(∥u∥22+∥v∥22+∥w∥22).

[A1]

The uniform client sample in round r is fresh and independent of the history and oracle draws preceding that sample.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].

Proof

1.1F1F2F5givenalgebra

Put x=xr−1 and gi⋆=∇fi(x⋆). For the stored [given] controls define mi=K−1∑k∇fi(αi,kr−1), ai=mi−gi⋆, and ei=ci−mi. Set bi=ci−gi⋆=ai+ei, and denote population and selected means by a bar and a subscript S. Since N−1∑igi⋆=0 and c=N−1∑ici, the corrected server direction has the exact three-term decomposition 1KS∑i∈S,k(gi(yi,k−1)−ci+c)=A+D+Q, where A=1KS∑i∈S,k(gi(yi,k−1)−∇fi(x)),D=1S∑i∈S(∇fi(x)−gi⋆),Q=bˉ−bS. Indeed, adding the three displayed terms cancels the sampled client gradients at x and x⋆ and leaves c−bS in the control terms.

2.1F2F3F5F8A1A2step 1.1algebra

Conditional on the pre-sample history, apply [F3] to the vectors [given] bi. Then use bi=ai+ei, [F2], [F5], and the two-vector relaxed square inequality to obtain E∥Q∥22≤2(1−SN)1S1N∑iE∥bi∥22≤4(1−SN)Cr−1+σ2/KS≤4Cr−1+4σ2KS. This also holds when N=1 or S=N, when Q=0.

2.2F2F3F4F6F8A1A2step 1.1algebra

Write each summand of A as di,k+ξi,k with di,k=∇fi(yi,k−1)−∇fi(x) and ξi,k=gi(yi,k−1)−∇fi(yi,k−1). Chronologically order the KS current oracle draws and apply [F6]. Jensen's inequality and β-Lipschitzness give E∥A∥22≤2β2Er+2σ2/(KS). For D, conditional Jensen over the uniform subset and then [F4] give E∥D∥22≤2βE[f(x)−f⋆].

3.1F1F2F7step 2.2step 2.1algebra∎

Apply [F7] to the decomposition in step 1.1, multiply by [given] η~2, and substitute the bounds from steps 2.2 and 2.1. Collecting terms yields E∥xr−xr−1∥22≤6η~2β2Er+12η~2Cr−1+6η~2βE[f(xr−1)−f⋆]+18η~2σ2KS, which is the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Convex SCAFFOLD control-lag recursion

Statement

Let fi:Rd→R be convex, differentiable and β-smooth, with f=N−1∑ifi minimized at x⋆. Run Option II SCAFFOLD with a uniform size-S client sample, 1≤S≤N, and conditionally unbiased local stochastic gradients of variance at most σ2. Assume the client controls are updated to averages of the K local stochastic gradients when selected, and define the control lag Cr and local drift Er as in the SCAFFOLD analysis-trajectory definition. Then, for every r≥1, Cr≤(1−SN)Cr−1+SN(4βE[f(xr−1)−f⋆]+2β2Er).

Facts & Assumptions

Given: The Option II control updates, local paths and convex equal-client objective in the Statement.

[F1]

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.

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: Cr is the expected squared error of the mean full gradient at a client's stored query anchors from ∇fi(x⋆), averaged over clients, and Er averages the squared displacements at the current gradient-query points yi,k−1r.

[F3]

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 x⋆ is at most 2β(f(x)−f⋆).

[F4]

Relaxed inequalities for squared Euclidean norms and The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: squared norms are convex and satisfy ∥u+v∥22≤2∥u∥22+2∥v∥22.

[F5]

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

1.1F1F2F5givenalgebra

Set p=S/N. By [F1], a uniform sample retains a client's old query [given] anchors with probability 1−p and replaces them with the current local query points with probability p. The definition of Cr in [F2] and Jensen's inequality for the average of K vectors therefore give Cr≤(1−p)Cr−1+pNK∑i=1N∑k=1KE∥∇fi(yi,k−1r)−∇fi(x⋆)∥22.

2.1F2F3F4step 1.1givenalgebra∎

For each summand, decompose ∇fi(y)−∇fi(x⋆)=(∇fi(xr−1)−∇fi(x⋆))+(∇fi(y)−∇fi(xr−1)). 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 4βE[f(xr−1)−f⋆]; averaging the second over clients and local steps and using β-Lipschitzness gives at most 2β2Er. Average step 1.1 over clients and substitute these two bounds to obtain the recurrence.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Convex SCAFFOLD client-drift bound

Statement

Let fi:Rd→R be convex, differentiable and β-smooth, with f=N−1∑ifi minimized at x⋆. Run Option II SCAFFOLD for K≥1 local steps with server scale ηg≥1, local step ηl, and fresh conditionally unbiased local stochastic gradients of variance at most σ2. Use controls satisfying c=N−1∑ici, initialized by ci0=∇fi(x0) and c0=N−1∑ici0. Let Er,Cr−1 be the local-drift and convex control-lag quantities in the SCAFFOLD analysis-trajectory definition. For η~=Kηlηg≤1/(81β), 3βη~Er≤2η~23Cr−1+η~25ηg2E[f(xr−1)−f⋆]+η~2σ2Kηg2.

Facts & Assumptions

Given: The SCAFFOLD local updates, controls, error quantities and stochastic-gradient assumptions in the Statement.

[F1]

SCAFFOLD with client and server control variates: a local update subtracts ηl(gi(y)−ci+c).

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: Er averages squared displacements at the query points yi,k−1r; Cr−1 is the average expected squared error of the mean full gradient at each client's stored anchors from ∇fi(x⋆).

[F3]

Gradient steps of smooth convex functions are nonexpansive: if ηl≤2/β, then y↦y−ηl(∇fi(y)−∇fi(x)) does not increase the distance from x.

[F4]

Relaxed inequalities for squared Euclidean norms and The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: for a>0, ∥u+v∥22≤(1+a)∥u∥22+(1+a−1)∥v∥22; squared norms expand bilinearly.

[F5]

Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: ∇f(x⋆)=0 and N−1∑i∥∇fi(x)−∇fi(x⋆)∥22≤2β(f(x)−f⋆).

[F6]

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 σ2; the needed conditional expectations and finite sums obey the stated tower and linearity rules.

[F7]

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 σ2/K.

[A1]

The stochastic-gradient assumptions and gradient-consistent initialization in the Statement hold at every round and local query.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F6].

Proof

1.1F1F3F4F6F7A1A2givenalgebra

If K=1, every query is the round-start point, so Er=0 and the claim [given] follows. Suppose K≥2. Put mi=K−1∑k∇fi(αi,kr−1), ei=cir−1−mi, ai=mi−∇fi(x⋆), aˉ=N−1∑iai, and eˉ=N−1∑iei. Since c=N−1∑ici and N−1∑i∇fi(x⋆)=0, the residual vector in client i's update is vi=c−ci+∇fi(xr−1)=aˉ−ai+eˉ−ei+(∇fi(xr−1)−∇fi(x⋆)). For each realization, N−1∑i∥aˉ−ai∥22≤N−1∑i∥ai∥22; the same identity applies to ei. Thus [F2], [F5], and [F7], followed by the three-term squared-norm bound, give 1N∑iE∥vi∥22≤3Cr−1+3σ2K+6βE[f(xr−1)−f⋆]≤6(Cr−1+βE[f(xr−1)−f⋆]+σ2K). For di,k=yi,kr−xr−1, write the update as di,k=Ti(yi,k−1r)−xr−1−ηlvi−ηlξi,k, where Ti(y)=y−ηl(∇fi(y)−∇fi(xr−1)) and ξi,k=gi(yi,k−1r)−∇fi(yi,k−1r). The vector before ξi,k is measurable before that draw, so conditional centering removes the cross term and adds at most ηl2σ2. Apply [F3] and [F4] with a=1/(K−1); since ηl≤1/(81βKηg)≤2/β, E∥di,k∥22≤(1+1K−1)E∥di,k−1∥22+Kηl2E∥vi∥22+ηl2σ2.

1.2F2step 1.1givenalgebra

Since di,0=0 and [given] ∑j=0k−1(1+1/(K−1))j≤3K for 1≤k≤K, the recurrence in step 1.1 bounds each query-point second moment by 3K(Kηl2E∥vi∥22+ηl2σ2). Average over clients and query indices and use the bound on vi from step 1.1. The result is Er≤18K2ηl2(Cr−1+βE[f(xr−1)−f⋆])+21Kηl2σ2.

2.1F2step 1.2givenalgebra∎

Multiply step 1.2 by 3βη~ and substitute ηl=η~/(Kηg). The coefficients of Cr−1, the function gap, and σ2 are respectively 54βη~3/ηg2, 54β2η~3/ηg2, and 63βη~3/(Kηg2). Since ηg≥1 and βη~≤1/81, these are at most 2η~2/3, η~/(25ηg2), and η~2/(Kηg2), respectively. This proves the claim.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Strongly convex SCAFFOLD progress in one communication round

Statement

Assume the Axiom of Choice. Let fi:Rd→R be differentiable, μ-strongly convex and β-smooth, with 0≤μ≤β, and let f=N−1∑ifi attain f⋆=f(x⋆). Run Option II SCAFFOLD with 1≤S≤N clients sampled uniformly without replacement, K≥1 local steps, local step ηl, server scale ηg≥1, and fresh conditionally unbiased local stochastic gradients with variance at most σ2. Assume c=N−1∑ici, initialize ci0=∇fi(x0) and c0=N−1∑ici0, and define η~=Kηlηg. If η~≤181β,and, when μ>0,η~≤S15μN, then, with Er,Cr as in the SCAFFOLD analysis-trajectory definition and ρ=(2+34βη~)/3, E∥xr−x⋆∥22+14Nη~2SCr≤(1−μη~2)(E∥xr−1−x⋆∥22+14Nη~2SCr−1)−η~E[f(xr−1)−f⋆]+(18KS+ρKηg2)η~2σ2. For μ=0 this is a general-convex descent inequality; for μ>0 it also contracts the distance-and-control potential.

Facts & Assumptions

Given: The Option II SCAFFOLD round, objective and stepsize assumptions in the Statement.

[F1]

SCAFFOLD with client and server control variates: the server update is the mean corrected local update, and c=N−1∑ici.

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: Er averages query-point displacement, and Cr is the expected squared error of the mean full gradient at the stored anchors from ∇fi(x⋆).

[F3]

Convex SCAFFOLD server-update second moment: the displacement second moment is at most 6β2η~2Er+12η~2Cr−1+6βη~2E[f(xr−1)−f⋆]+18η~2σ2/(KS).

[F4]

Convex SCAFFOLD control-lag recursion: the next control lag is at most (1−S/N)Cr−1+(S/N)(4βE[f(xr−1)−f⋆]+2β2Er).

[F5]

Convex SCAFFOLD client-drift bound: the local drift satisfies 3βη~Er≤(2/3)η~2Cr−1+η~E[f(xr−1)−f⋆]/(25ηg2)+η~2σ2/(Kηg2).

[F6]

Strong-convexity inequality for a perturbed gradient point: each client gradient at a local point paired with xr−1−x⋆ is bounded below by its objective gap, a strong-convexity distance term and the local-point displacement term.

[F7]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: squared distance expands as a norm square plus its inner-product term.

[A1]

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.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].

Proof

1.1F1F3F6F7F8A1A2givenalgebra

Write Δx=xr−xr−1. Conditional on the round-start history, [given] the client-control terms cancel in the mean server update by [F1] and uniform sampling. Expand ∥xr−1+Δx−x⋆∥22, and apply [F6] to each local gradient at yi,k−1r with comparison points x⋆ and xr−1. Averaging over clients and query indices gives a cross-term bound −2η~E[f(xr−1)−f⋆]−μη~E∥xr−1−x⋆∥22/2+2βη~Er. Add the second-moment bound [F3]. The result is E∥xr−x⋆∥22≤(1−μη~2)E∥xr−1−x⋆∥22+(6βη~2−2η~)E[f(xr−1)−f⋆]+12η~2Cr−1+(2βη~+6β2η~2)Er+18η~2σ2KS.

2.1F2F4step 1.1givenalgebra

Multiply [F4] by 14η~2/(S/N) and add it to step 1.1. [given] Set t=βη~. The objective-gap coefficient becomes −2η~+62βη~2, the local-drift coefficient is 2βη~+34β2η~2=3βη~ρ, and the extra control-lag coefficient after subtracting the contracted old potential is (−2+7μη~/(S/N))η~2Cr−1. The resulting inequality is Vr≤(1−μη~/2)Vr−1+(−2η~+62βη~2)E[f(xr−1)−f⋆]+3βη~ρEr+(−2+7μη~/(S/N))η~2Cr−1+18η~2σ2KS, where Vr=E∥xr−x⋆∥22+14η~2Cr/(S/N).

3.1F2F5step 2.1givenalgebra∎

Substitute [F5] into step 2.1. Since η~/(25ηg2)≤η~/25 and ρ≤196/243, the objective-gap coefficient is at most (−2+62/81+196/6075)η~≤−η~. Also μη~/(S/N)≤1/15, so the remaining control-lag coefficient is at most (−23/15+392/729)η~2<0. Finally ρ≤196/243<1, and the drift variance term is at most η~2σ2/(Kηg2). Drop the nonpositive control-lag term and combine the two variance terms. This proves the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Nonconvex SCAFFOLD server-update moments

Statement

Assume the Axiom of Choice. Let fi:Rd→R be differentiable with β-Lipschitz gradients and let f=N−1∑ifi. Run Option II SCAFFOLD with 1≤S≤N uniformly sampled clients, K≥1 local steps, and conditionally unbiased local stochastic gradients of variance at most σ2. Initialize ci0=∇fi(x0) and c0=N−1∑ici0, and set η~=Kηlηg. Let Er and Ξr−1 be the drift and tracking errors in the SCAFFOLD analysis-trajectory definition, and let Fr−1 be the history before the fresh round-r client sample. All outer expectations below include that history and the current round. Then E∥E[xr∣Fr−1]−xr−1∥22≤2η~2β2Er+2η~2E∥∇f(xr−1)∥22, and E∥xr−xr−1∥22≤6η~2β2Er+12η~2β2Ξr−1+3η~2E∥∇f(xr−1)∥22+18η~2σ2KS.

Facts & Assumptions

Given: The SCAFFOLD server and client updates, smooth client gradients, and stochastic-gradient hypotheses in the Statement.

[F1]

SCAFFOLD with client and server control variates: the server displacement is the scaled selected mean of corrected client gradients, and c=N−1∑ici.

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: Er averages squared displacements of the gradient-query points from xr−1, while Ξr−1 averages squared distances of stored anchors from xr−1.

[F3]

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 σ2/K.

[F4]

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.

[F5]

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 (1−S/N)/S times the population second moment.

[F6]

Gradient of a finite sum is the finite sum of gradients: the population mean of client gradients at x is ∇f(x).

[F7]

Relaxed inequalities for squared Euclidean norms and The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: for three vectors, ∥u+v+w∥22≤3(∥u∥22+∥v∥22+∥w∥22); squared norms expand as inner products.

[A1]

Current-round client sampling is independent of the preceding history, and each local error is conditionally centered with second moment at most σ2.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].

Proof

1.1F1F2F6F7F8A1A2givenalgebra

Write x=xr−1 and [given] di,k=∇fi(yi,k−1r)−∇fi(x). Conditional on the round-start history, client sampling is unbiased, local stochastic-gradient errors are centered, and the client-control terms cancel because c=N−1∑ici. Thus E[xr−x∣Fr−1]=−η~(∇f(x)+1KN∑i,kE[di,k∣Fr−1]). Conditional Jensen, Lipschitzness, and the two-vector relaxed-square bound imply, after averaging the history, E∥E[xr∣Fr−1]−x∥22≤2η~2E∥∇f(x)∥22+2η~2β2Er.

1.2F2F3F4F5F6F8A1A2givenalgebra

Let mi=K−1∑k∇fi(αi,kr−1), [given] ai=mi−∇fi(x), and ei=ci−mi. Define aˉ=N−1∑iai and aˉS=S−1∑i∈Sai, with analogous notation for ei. The corrected server direction has the decomposition 1KS∑i∈S,k(gi(yi,k−1)−ci+c)=A+∇f(x)+Q, where A=1KS∑i∈S,k(gi(yi,k−1)−∇fi(x)),Q=aˉ−aˉS+eˉ−eˉS. Apply [F4] to the current-query terms in A; Jensen and Lipschitzness give E∥A∥22≤2β2Er+2σ2/(KS). For the anchor vectors, [F2], Jensen and Lipschitzness give N−1∑iE∥ai∥22≤β2Ξr−1. Apply [F5] conditionally to ai and ei, then [F3] to their residual average. This yields E∥Q∥22≤4(1−S/N)S(β2Ξr−1+σ2K)≤4β2Ξr−1+4σ2KS.

2.1F1F2F7step 1.2givenalgebra∎

Apply [F7] to the three-term decomposition in step 1.2 and multiply by η~2. Substitute the bounds from that step. The local-drift, anchor-tracking, gradient and noise coefficients are 6β2, 12β2, 3 and 18σ2/(KS), respectively. This is the second inequality in the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Nonconvex SCAFFOLD query-point drift bound

Statement

Assume the Axiom of Choice. Let fi:Rd→R have β-Lipschitz gradients with β>0 and let f=N−1∑ifi be bounded below. Run Option II SCAFFOLD with 1≤S≤N uniformly sampled clients, K≥1 local steps, server scale ηg≥1, and fresh conditionally unbiased local stochastic gradients with within-client variance at most σ2. Initialize ci0=∇fi(x0) and c0=N−1∑ici0. Let η~=Kηlηg and let Er,Ξr−1 be the query-point drift and anchor-tracking errors in the SCAFFOLD analysis-trajectory definition. If 0<η~≤(S/N)2/324β, then Er≤72K2ηl2(E∥∇f(xr−1)∥22+β2Ξr−1)+96Kηl2σ2.

Facts & Assumptions

Given: The Option II local updates, anchor errors and stochastic-gradient assumptions in the Statement.

[F1]

SCAFFOLD with client and server control variates: a local update is yi,k=yi,k−1−ηl(gi(yi,k−1)−ci+c).

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: Er averages squared displacements of local query points yi,k−1r from xr−1; Ξr−1 averages squared distances of stored anchors from xr−1.

[F3]

Option II controls track gradients at stored client anchors: each control ci is the mean full gradient at its stored anchors plus a residual whose second moment is at most σ2/K, and c=N−1∑ici.

[F4]

Relaxed inequalities for squared Euclidean norms and The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: for a>0, ∥u+v∥22≤(1+a)∥u∥22+(1+a−1)∥v∥22; the squared norm of three vectors is at most three times the sum of their squared norms.

[F5]

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.

[A1]

The stochastic-gradient assumptions and gradient-consistent initialization in the Statement hold at every round and local query.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F5].

Proof

1.1F2F3F4F5A1givenalgebra

If K=1, all query points are at the round start, so Er=0. Suppose [given] K≥2, write x=xr−1, and define mi=K−1∑k∇fi(αi,kr−1), ei=ci−mi, ai=mi−∇fi(x), and their client means aˉ=N−1∑iai, eˉ=N−1∑iei. The corrected control vector in client i's local update is vi=c−ci+∇fi(x)=∇f(x)+aˉ−ai+eˉ−ei. For each realization, N−1∑i∥aˉ−ai∥22≤N−1∑i∥ai∥22; the same holds for ei. Lipschitzness and Jensen give N−1∑iE∥ai∥22≤β2Ξr−1, and [F3] gives N−1∑iE∥ei∥22≤σ2/K. Apply the three-vector bound [F4] to obtain 1N∑iE∥vi∥22≤3(E∥∇f(x)∥22+β2Ξr−1+σ2K).

1.2F1F2F4F5step 1.1A1A2givenalgebra

Put di,k=yi,kr−x. Define [given] Ti(y)=y−ηl(∇fi(y)−∇fi(x)) and ξi,k=gi(yi,k−1r)−∇fi(yi,k−1r). The update is di,k=Ti(yi,k−1r)−x−ηlvi−ηlξi,k, and ∥Ti(yi,k−1r)−x∥2≤(1+ηlβ)∥di,k−1∥2. Conditional centering of ξi,k removes its cross term with the pre-draw vector. Use [F4] with a=1/(K−1) to get E∥di,k∥22≤q E∥di,k−1∥22+Kηl2E∥vi∥22+ηl2σ2,q=(1+1K−1)(1+ηlβ)2. The step bound implies ηlβ≤1/(24K). For K≥2, 1+1/(K−1)≤1+2/K and (1+1/(24K))2≤1+1/(10K), hence q≤1+3/K. Therefore ∑j=0K−1qj≤K(1+3/K)K≤Ke3<24K. Unrolling from di,0=0 and averaging the query points gives Er≤24K2ηl21N∑iE∥vi∥22+24Kηl2σ2.

2.1F2step 1.1step 1.2algebra∎

Substitute the control-vector bound from step 1.1 into step 1.2. [given] Collecting the gradient, anchor-tracking and oracle-variance terms gives Er≤72K2ηl2(E∥∇f(xr−1)∥22+β2Ξr−1)+96Kηl2σ2, which is the Statement.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Nonconvex SCAFFOLD control-anchor tracking recursion

Statement

Assume the Axiom of Choice. Let fi:Rd→R have β-Lipschitz gradients with β>0 and let f=N−1∑ifi. Run Option II SCAFFOLD with 1≤S≤N uniformly sampled clients, K≥1 local steps, server scale ηg≥1, and fresh conditionally unbiased local stochastic gradients with within-client variance at most σ2. Initialize ci0=∇fi(x0) and c0=N−1∑ici0. Current client samples are independent of the past and of the counterfactual local oracle draws. Write p=S/N, t=η~=Kηlηg, and let Er,Ξr be the query-point drift and anchor-tracking errors. Then Ξr≤(1−p2+72β2t2)Ξr−1+(2p+(36+8p)β2t2)Er+(18+8p)t2E∥∇f(xr−1)∥22+108t2σ2KS.

Facts & Assumptions

Given: The SCAFFOLD anchor update, stochastic-gradient assumptions and tracking errors in the Statement.

[F1]

SCAFFOLD with client and server control variates: selected clients replace controls by Option II local updates; unselected clients keep controls and anchors.

[F2]

SCAFFOLD trajectories, client drift, control lag and tracking error: Ξr is the mean squared distance of stored anchors from xr, and Er is the mean squared query-point drift from xr−1.

[F4]

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.

[F5]

Moments of a uniformly sampled fixed-size client set: a client is selected with probability p in a uniform size-S sample.

[A1]

The gradient and stochastic-oracle hypotheses in the Statement hold at every local query.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F7].

Proof

1.1F1F2F5F6F7A1A2givenalgebra

Put x=xr−1, Δ=xr−x, Ii=1{i∈Sr}, zi,k=αi,kr−1−x, and wi,k=yi,k−1r−x. Let Z=(KN)−1∑i,kzi,k, U=(KN)−1∑i,kIiwi,k, and V=(KN)−1∑i,kIizi,k. The actual anchor update is αi,kr−x=zi,k+Ii(wi,k−zi,k). Expand the squared distance after subtracting Δ. Fresh uniform sampling gives the first two terms in Ξr=(1−p)Ξr−1+pEr+E∥Δ∥22−2E⟨Z,Δ⟩−2E⟨U,Δ⟩+2E⟨V,Δ⟩. All cross terms retain their actual dependence on the selected sample.

2.1F2F5F6F7step 1.1givenalgebra

Jensen gives E∥Z∥22≤Ξr−1. Since exactly S clients participate, ∥U∥22≤p(KN)−1∑i,kIi∥wi,k∥22, and the analogous estimate holds for V and zi,k. The counterfactual local paths have the same law independently of the fresh participation sample, so E∥U∥22≤p2Er; old anchors are history-measurable, giving E∥V∥22≤p2Ξr−1. Set D2=E∥Δ∥22 and M2=E∥E[Δ∣Fr−1]∥22. Because Z is history-measurable, Young's inequality bounds the three cross terms in step 1.1, respectively, by pΞr−1/4+4M2/p, pEr+pD2, and pΞr−1/4+4pD2. Hence Ξr≤(1−p/2)Ξr−1+2pEr+(1+5p)D2+4M2/p. This also holds for p=1.

3.1F4step 2.1givenalgebra∎

Apply the two server moment bounds [F4] to step 2.1, using 1+5p≤6. The coefficients of Ξr−1, Er, E∥∇f(xr−1)∥22, and σ2/(KS) are bounded by 1−p/2+72β2t2, 2p+(36+8/p)β2t2, (18+8/p)t2, and 108t2, respectively. These are the claimed coefficients.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Nonconvex SCAFFOLD progress in one communication round

Statement

Assume the Axiom of Choice. Let fi:Rd→R have β-Lipschitz gradients with β>0, and let f=N−1∑ifi be bounded below by f⋆. Run Option II SCAFFOLD with 1≤S≤N uniformly sampled clients, K≥1 local steps, server scale ηg≥1, and fresh conditionally unbiased local stochastic gradients of within-client variance at most σ2. Initialize ci0=∇fi(x0) and c0=N−1∑ici0. Client samples are fresh and independent of prior history and counterfactual oracle draws. Let p=S/N, t=η~=Kηlηg, and let Ξr be the control-anchor tracking error. If 0<t≤p2/3100β, then the potential Pr=E[f(xr)−f⋆]+24β3t2pΞr satisfies Pr≤Pr−1−t3E∥∇f(xr−1)∥22+10βt2σ2KS(1+Sηg2).

Facts & Assumptions

Given: The nonconvex SCAFFOLD update, smoothness and stochastic-gradient assumptions in the Statement.

[F1]

SCAFFOLD with client and server control variates: the server update is the average of selected corrected local updates with global scale ηg.

[F2]

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.

[F3]

Nonconvex SCAFFOLD server-update moments: the conditional-mean displacement and the server displacement have the squared-norm bounds stated there.

[F9]

Gradient of a finite sum is the finite sum of gradients: N−1∑i∇fi(x)=∇f(x).

[F4]

Nonconvex SCAFFOLD control-anchor tracking recursion: the exact tracking recursion has coefficients 1−p/2+72β2t2, 2p+(36+8/p)β2t2, (18+8/p)t2, and 108t2 for the previous tracking error, drift, squared gradient and σ2/(KS).

[F5]

Nonconvex SCAFFOLD query-point drift bound: Er≤72t2(E∥∇f(xr−1)∥22+β2Ξr−1)/ηg2+96t2σ2/(Kηg2).

[F6]

Descent inequality for a Lipschitz gradient: β-Lipschitz gradients give f(x+u)≤f(x)+⟨∇f(x),u⟩+(β/2)∥u∥22.

[F7]

Relaxed inequalities for squared Euclidean norms and The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: squared norms and inner products expand by the Euclidean algebra used in the two moment lemmas.

[A1]

The smoothness and stochastic-oracle assumptions in the Statement hold at every query.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].

Proof

1.1F1F2F3F9F6F7F8A1A2givenalgebra

Put x=xr−1 and Δ=xr−x. The smooth-descent bound [F6] and conditional expectation give E[f(xr)−f(xr−1)]≤E⟨∇f(x),E[Δ∣Fr−1]⟩+β2E∥Δ∥22. By [F1], Δ=−t(KS)−1∑i∈Sr,k(gi(yi,k−1r)−ci+c). Conditional centering at each query and then averaging gives the same conditional mean with gi replaced by ∇fi. 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 S/N. The control terms cancel because c=N−1∑ici. Adding and subtracting the round-start gradients and using [F9] now yields E[Δ∣Fr−1]=−tv, where v=∇f(x)+(KN)−1∑i,kE[∇fi(yi,k−1r)−∇fi(x)∣Fr−1]. Write δ=v−∇f(x) for the mean local-gradient displacement. Conditional Jensen and Lipschitzness give E∥δ∥22≤β2Er. In the descent cross term, use −⟨u,δ⟩≤(∥u∥22+∥δ∥22)/2 with u=∇f(x); thus −⟨u,u+δ⟩≤−∥u∥22/2+∥δ∥22/2. Substituting the second-moment bound in [F3] gives E[f(xr)−f(xr−1)]≤−(η~2−3βη~22)E∥∇f(x)∥22+(β2η~2+3β3η~2)Er+6β3η~2Ξr−1+9βη~2σ2KS.

2.1F4step 1.1givenalgebra

Write h=βt, G=E∥∇f(xr−1)∥22, X=Ξr−1, and q=σ2/(KS). Add 24β3t2/p times the tracking increment from [F4] to the inequality in step 1.1. The resulting coefficients of Er, X, G and noise are, respectively, β2td, β3t2(−6+1728h2/p), −t(1/2−3h/2)+24β3t4(18/p+8/p2), and 9βt2q+2592β3t4q/p, where d=12+51h+864h3p+192h3p2. Since h≤p2/3/100 and 0<p≤1, we have h≤1/100, h2/p≤1/10000, h3/p≤1/1000000, and h3/p2≤1/1000000. Consequently d≤1.011056<11/10.

3.1F5step 2.1givenalgebra∎

Substitute [F5] into the drift term in step 2.1, using d≤11/10 and ηg≥1. The total coefficient of X, divided by β3t2, is at most −6+1728/10000+(396/5)/100=−5.0352<0. The coefficient of G, divided by t, is at most −1/2+3/200+624/1000000+(396/5)/10000=−0.476456≤−1/3. Finally the variance contribution, divided by βt2q when q>0, is at most 9+2592/10000+(528/5)S/(100ηg2)=9.2592+1.056S/ηg2≤10(1+S/ηg2); when q=0 all these variance terms vanish. Drop the nonpositive X term. The resulting inequality is exactly the claimed potential recursion.

Remarks

The source states a sufficient step bound with absolute constant 1/24. The locally proved result uses 1/100 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.

TheoremStatement: AI-adaptedProof: AI-adaptedOpen item page →

SCAFFOLD rates for strongly convex, convex and nonconvex objectives

Statement

Assume the Axiom of Choice. Let N,d,K,R≥1 be positive integers, let 1≤S≤N, and let fi:Rd→R have β-Lipschitz gradients, with β>0. Put f=N−1∑i=1Nfi, and suppose f is bounded below by f⋆. Run Option II SCAFFOLD with a fresh uniform size-S 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 σ2, and gradient-consistent initialization ci0=∇fi(x0) and c0=N−1∑ici0. Set F=f(x0)−f⋆, and put D=∥x0−x⋆∥2 when a minimizer x⋆ exists. In both convex cases below, assume f⋆=f(x⋆).

  1. Strongly convex case. Suppose every fi is μ-strongly convex for 0<μ≤β and f attains its minimum at x⋆. Set ηg=S and choose 0<ηl≤min⁡{181βKηg,S15μNKηg},η~=Kηlηg. For R≥1, independently of the optimization randomness choose J∈{0,…,R−1} with probabilities proportional to (1−μη~/2)−(J+1) and return xˉR=xJ. Then E[f(xˉR)−f⋆]≤V0η~WR+19η~σ2KS,V0=D2+14Nη~2SC0,WR=∑r=1R(1−μη~/2)−r, where C0=N−1∑i∥∇fi(x0)−∇fi(x⋆)∥22. Consequently, a suitable η~ and R=O~(σ2μKSϵ+βμ+NS) communication rounds suffice for expected objective error at most ϵ>0.

  2. General convex case. Suppose every fi is convex and differentiable, and f attains its minimum at x⋆. Set ηg=S and choose 0<η~=Kηlηg≤1/(81β). For independent uniform J∈{0,…,R−1} and xˉR=xJ, 1R∑r=0R−1E[f(xr)−f⋆]≤D2+28βNη~2F/Sη~R+19η~σ2KS. For D>0 and ϵ>0, set A=28βNF/S and choose η~=min⁡{181β,DA,ϵKS57σ2}, omitting a restriction whose denominator is zero. Taking an integer R≥max⁡{1,6D2/(η~ϵ)} ensures expected objective error at most ϵ. Consequently the sufficient round bound is R=O(1+σ2D2KSϵ2+βD2ϵ+DβNF/Sϵ). If D=0, return x0, which already minimizes f.

  3. Nonconvex case. Suppose only that f is β-smooth and bounded below by f⋆. Set ηg=S and choose 0<η~=Kηlηg≤1100β(SN)2/3. For independent uniform J∈{0,…,R−1} and xˉR=xJ, E∥∇f(xˉR)∥22≤3Fη~R+60βη~σ2KS. Thus a choice of η~ and R=O(1+βσ2FKSϵ2+(NS)2/3βFϵ) rounds suffice to make the expected squared gradient norm at the returned iterate at most ϵ>0. If F=0, return x0, 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.

Facts & Assumptions

Given: The equal-client objective, SCAFFOLD algorithm and case-specific convexity, smoothness and stochastic-gradient hypotheses in the Statement, including f⋆=f(x⋆) in both convex cases.

[F1]

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.

[F2]

Nonconvex SCAFFOLD progress in one communication round: with η~≤(S/N)2/3/(100β), the nonnegative potential Pr=E[f(xr)−f⋆]+24β3η~2(N/S)Ξr decreases by at least η~E∥∇f(xr−1)∥22/3 apart from 10βη~2σ2(1+S/ηg2)/(KS).

[F3]

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.

[F4]

Smooth convex gradient differences around a minimizer and Gradient of a finite sum is the finite sum of gradients: for convex clients, C0≤2βF and the average client gradient equals ∇f.

[F5]

Federated objectives and client sampling and SCAFFOLD with client and server control variates: the objective is N−1∑ifi; each round samples clients uniformly without replacement and updates the server model and control by the SCAFFOLD rules.

[F6]

SCAFFOLD trajectories, client drift, control lag and tracking error: Cr and Ξr are the convex control-lag and nonconvex anchor-tracking errors used in the one-round bounds.

[A1]

Every client stochastic gradient is conditionally unbiased with within-client variance at most σ2 at every query; client samples are uniform fixed-size subsets; initialization is gradient-consistent.

[A2]

Assume the Axiom of Choice. It is used only to invoke the published conditional-expectation-as-an-a.e.-class interface in [F8].

Proof

1.1F1F3F5F6F8A1A2givenalgebra

In the strongly convex case, put η~=KηlS and [given] apply [F1]. Since ηg2=S, the variance term in [F1] is at most 19η~2σ2/(KS). The geometric recurrence lemma [F3] with gap coefficient one and weights wr=(1−μη~/2)−r gives E[f(xˉR)−f⋆]≤V0η~WR+19η~σ2KS,V0=E∥x0−x⋆∥22+14Nη~2SC0. This is the strongly convex bound in the Statement.

1.2F1F3F4F6F8A1A2givenalgebra

In the general convex case, apply [F1] with μ=0 and [given] ηg=S. It gives Vr≤Vr−1−η~E[f(xr−1)−f⋆]+19η~2σ2/(KS). Sum over r=1,…,R and drop the nonnegative terminal potential. For independent uniform J this yields 1R∑r=0R−1E[f(xr)−f⋆]≤V0η~R+19η~σ2KS,V0=D2+14Nη~2SC0. Substitution of C0≤2βF proves the exact bound in the Statement.

1.3F2F3F5F6F8A1A2givenalgebra

In the nonconvex case use [F2] with ηg2=S. The initialization in [F6] gives Ξ0=0, so P0=F. Its variance term is at most 20βη~2σ2/(KS). Sum over rounds and drop PR≥0 to obtain η~3∑r=1RE∥∇f(xr−1)∥22≤F+20Rβη~2σ2KS. Dividing by Rη~/3 and choosing the uniform independent output index gives precisely the nonconvex finite-round bound.

2.1F3F4step 1.1givenalgebra

In the strongly convex case, by convex smoothness, [F4] gives C0≤2βF, hence [given] V0≤D2+28βNη~2F/S. Also WR=(1−μη~/2)−R−1μη~/2. Thus V0/(η~WR)≤ϵ/2 whenever R≥2μη~log⁡(1+μV0ϵ), and the variance term is at most ϵ/2 if η~≤ϵKS/(38σ2). Choose the largest step satisfying these restrictions. Its reciprocal is bounded by a constant times β+μN/S+σ2/(KSϵ); dividing by μ gives the stated communication rate, up to the displayed logarithmic factor.

2.2F1F4step 1.2givenalgebra

Let D>0 and set A=28βNF/S. With the displayed choice of η~, one has Aη~≤D2/η~ and 19η~σ2/(KS)≤ϵ/3. Thus step 1.2 is at most 2D2/(η~R)+ϵ/3≤2ϵ/3 for the stated integer R. The reciprocal step equals the maximum of 81β, A/D, and 57σ2/(ϵKS), omitting zero-denominator restrictions. Bound this maximum by the sum to obtain the stated communication rate. If D=0, the initial point is minimizing and requires no round.

3.1F2step 1.1step 2.1step 1.2step 2.2step 1.3givenalgebra∎

For F>0, choose η~=min⁡{(S/N)2/3/(100β),ϵKS/(120βσ2)}, omitting the variance restriction if σ=0, and take R≥max⁡{1,6F/(η~ϵ)}. Each term in the bound of step 1.3 is at most ϵ/2. Bounding the reciprocal minimum by the sum proves the nonconvex round rate. If F=0, the finite lower bound is attained at x0, so differentiability implies ∇f(x0)=0 and returning it suffices. Together with the two convex branches, this proves all branches.

Remarks

The source's general-convex headline prints NF/S. 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 100. The source reports 24; 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.

False statementConstruction: AI-adaptedVerification: AI-generatedOpen item page →

SCAFFOLD general-convex round headline with a uniform server-iterate output

Statement

There is a universal constant C>0 with the following property. Let N,d,K≥1, 1≤S≤N, and β>0. Let each fi:Rd→R be convex and differentiable with β-Lipschitz gradient, and suppose f=N−1∑i=1Nfi attains its minimum f⋆=f(x⋆). Set D=∥x0−x⋆∥2 and F=f(x0)−f⋆. Run Option II SCAFFOLD with independent uniform size-S client samples, fresh conditionally unbiased local stochastic gradients of conditional variance at most σ2, and gradient-consistent initial controls ci0=∇fi(x0) and c0=N−1∑ici0. Set ηg=S. For every ϵ>0 there are an integer R≥1 and a single constant local stepsize ηl>0, used in all rounds, such that 0<η~=Kηlηg≤min⁡{181β,ϵKS57σ2},R≤C(1+σ2D2KSϵ2+βD2ϵ+NFS), where the variance restriction is omitted when σ=0, and the uniform server-iterate output xˉR=xJ, with J independent and uniform on {0,…,R−1}, satisfies E[f(xˉR)−f⋆]≤ϵ.

Facts & Assumptions

Given: The claim in the Statement, interpreted with a universal constant independent of the objective scale, client count and target accuracy.

[F1]

SCAFFOLD with client and server control variates: with K=S=1 and ηg=1, 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

1.1givenconstructalgebra

Fix N≥2 and β>0. Take d=K=S=1, ηg=1, x0=1, fi(x)=βx2/2 for every client, and the exact oracle gi(x)=βx. Every client is convex and β-smooth, the equal-client objective has minimizer x⋆=0 and minimum zero, and D=1, F=β/2, σ=0. Initialize ci0=β and c0=β, 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.

2.1F1step 1.1algebra

Let t=βηl∈(0,1/81], put air=cir/β and mr=N−1∑iair, and let Ir be the client sampled to pass from time r to time r+1. The updates [F1] become xr+1=(1−t)xr+t(aIrr−mr),aIrr+1=xr,ajr+1=ajr(j≠Ir),ai0=1. Conditioning on the history through time r, the sampled difference has mean zero. Therefore, for zr=Exr2 and Vr=E[N−1∑i(air−mr)2], Exr=(1−t)r,zr+1=(1−t)2zr+t2Vr,zr≥(1−t)2r. The claimed uniform output has expected objective gap FR−1∑r=0R−1zr.

3.1step 2.1algebra

Put L=⌊1/(4t)⌋. Since t≤1/81, we have L≥1/(8t). For every integer 0≤r<L, Bernoulli's inequality gives (1−t)2r≥1−2rt≥1/2. The bias lower bound in step 2.1 thus implies, for every R≥1, 1R∑r=0R−1zr≥min⁡{R,L}2R≥min⁡{12,116tR}. This argument uses only the scalar inequality (1−t)n≥1−nt for integers n≥0, which follows by induction.

3.2step 2.1algebra

After r updates, at least N−r table entries are still equal to their initial value 1. If U is their set, the pairwise variance identity gives 1N∑i(air−mr)2=12N2∑i,j(air−ajr)2≥∣U∣N2∑i(air−1)2≥(1−rN)1N∑i(air−1)2 whenever r≤N. Indeed, retain in the double sum the pairs with exactly one index in U; pairs with both indices in U contribute zero, and the two orientations cancel the factor 2.

4.1step 2.1step 3.2algebra

For a fixed client i and 0≤s<r, the event that its last update before time r occurs at time s has probability N−1(1−1/N)r−1−s. On this event air=xs. The event involves only Is,…,Ir−1, which are independent of xs; hence its conditional law of xs is the unconditional law. If the client was never updated, air=1. Consequently, taking expectations in step 3.2 and using E(xs−1)2≥(Exs−1)2, we obtain Vr≥(1−rN)1N∑s=0r−1(1−1N)r−1−s(1−(1−t)s)2. The expectation inequality follows by expanding the nonnegative variance E(xs−Exs)2.

5.1step 4.1algebra

Suppose 2⌈1/t⌉≤r≤N/2. In step 4.1 restrict to s≥⌈1/t⌉, leaving at least r/2 indices. Since (1−t)s≤e−ts≤e−1<1/2, each squared factor is at least 1/4. Bernoulli's inequality gives (1−1/N)r−1−s≥1−r/N≥1/2; the prefactor 1−r/N is also at least 1/2. Thus Vr≥r32N. Here 1−t≤e−t follows, for example, because the derivative of e−t−(1−t) is 1−e−t≥0 for t≥0, and its value at zero is zero.

6.1step 3.1step 5.1algebra

Assume R≤N/2 and set q=tR. If q<16, step 3.1 gives R−1∑r<Rzr≥1/256. If q≥16, then R≥16/t≥1296. Consider all integers r∈[⌈R/2⌉,⌊3R/4⌋]. There are at least R/8 such integers; each satisfies 2⌈1/t⌉≤r≤N/2, so step 5.1 gives Vr≥R/(96N). Also r+L≤3R/4+1/(4t)≤R−1: the final inequality follows from R/4−1/(4t)≥15/(4t)>1.

7.1step 2.1step 3.1step 6.1algebra

Iterating the exact nonnegative recurrence in step 2.1, each t2Vr from step 6.1 contributes t2Vr(1−t)2j to zr+1+j for 0≤j<L. These indices all lie below R by step 6.1. Their weights sum to at least L/2≥1/(16t), 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 1R∑r<Rzr≥1R t2R8R96N116t=q12288N(q≥16). Combining this with step 3.1 and using max⁡{u,v}≥uv gives R−1∑r<Rzr≥1/196608N>1/(1024N). The q<16 bound in step 6.1 gives the same conclusion. Thus, for every admissible constant stepsize and every 1≤R≤N/2, E[f(xJ)−f⋆]≥F1024N.

8.1step 1.1step 7.1algebra∎

Now take β=N−2 and ϵ=FN−3/4=12N−11/4. On this family the claimed round expression is exactly 1+σ2D2KSϵ2+βD2ϵ+NFS=1+2N3/4+12N. For any proposed universal constant C>0, choose an integer N large enough that C(1+2N3/4+1/(2N))≤N/2 and N1/4>1024. Such integers exist because the displayed expression divided by N tends to zero. Every round count allowed by the claim then satisfies R≤N/2, but step 7.1 gives E[f(xJ)−f⋆]≥F/(1024N)>FN−3/4=ϵ, 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 NF/S, 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 O(N3/4) by a fixed power of log⁡N, still giving o(N) rounds.

The exact convex finite-round potential estimate is a separate valid claim. Its initial-control contribution is 14Nη~C0/(SR) with C0≤2βF 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