← All setups

Distributed Stationarity Under Gradient Contamination

Descriptions may be stale. Consult the linked Lean sources.

Distributed Stationarity Under Gradient Contamination

We seek a stationary point of a possibly nonconvex objective F on Rd, where d is a nonnegative integer. The objective averages differentiable worker losses, has a Lipschitz gradient, and has a bounded initial gap above a global lower bound. Workers communicate over directed links and return batches of local gradient estimates from independent sample streams. Each stream consists of independent draws from a worker-specific mixture of a clean law yielding unbiased estimates with bounded variance and an arbitrary contaminating law. For tolerance ε>0 and failure probability δ∈(0,1), the goal is a measurable output x¯ with ∥∇F(x¯)∥≤ε with probability at least 1−δ by the allotted time.

For n≥1 workers with local losses fi:Rd→R, write F(x)=n−1∑i=1nfi(x). The optimization problem is infx∈RdF(x). We use the Euclidean norm. The algorithm receives d, n, the measurable sample space Ω, the starting point x0∈Rd, the smoothness and gap bounds L and Δ, the worker noise and contamination bounds (σi,ηi)i=1n, the computation times (hi)i=1n, the link latency ℓ and per-bit time b, and the targets ε and δ.

Our assumptions:

Assumption 1 (Aggregate smoothness and initial gap). Each fi is differentiable everywhere. For some global lower bound a∈R, the constants L>0 and Δ≥0 satisfy ∥∇F(x)−∇F(y)∥≤L∥x−y∥for all x,y∈Rd,a≤F(x)for all x∈Rd,F(x0)−a≤Δ.

Assumption 2 (Clean local gradients). Worker i has a jointly measurable map gi:Rd×Ω→Rd and a clean probability law μi on Ω. For each x∈Rd and Z∼μi, the vector gi(x,Z) is Bochner integrable, its squared error is integrable, and, with σi≥0, EZ∼μi[gi(x,Z)]=∇fi(x),EZ∼μi[∥gi(x,Z)−∇fi(x)∥2]≤σi2.

Assumption 3 (Contaminated sampling). The sample streams (Zi,k)k≥0 are independent across workers and independent of the algorithm’s randomness. Within stream i, the samples are measurable and i.i.d. with law (1−ηi)μi+ηiνi, where νi is an arbitrary probability law on Ω. The contamination fractions and target tolerance satisfy 0≤ηi≤116(1≤i≤n),218∑i=1nσiηi≤nε.

A computation query at worker i specifies a point x∈Rd and a positive integer batch size m. If k samples have already been used, the reply is the ordered list (gi(x,Zi,k+j))j=0m−1, available after mhi units of time, where hi>0. Each worker handles one batch at a time and ignores further computation requests while a batch is pending. Different workers can compute concurrently.

Every ordered pair of workers, including a worker paired with itself, has a directed link. A message with a payload of q≥0 bits is padded with 64 zero bits and occupies its link for ℓ+b(q+64) units of time, where ℓ,b≥0. The recipient receives the sender’s identity and the padded bit string. Messages on each link are served in submission order. Distinct links can transmit concurrently, and communication can overlap computation.

For an elapsed-time budget T≥0, almost surely only finitely many events may occur at every deadline up to and including T. The designated root worker’s output x¯∈Rd at time T must be measurable and satisfy P(∥∇F(x¯)∥>ε)≤δ, where P is the joint law of the algorithm’s randomness and the worker sample streams.

Results

On Rd, F=n−1∑ifi averages differentiable local objectives, has L-Lipschitz gradient and initial gap at most Δ. Honest workers sample independently across workers and IID locally from (1−ηi)μi+ηiνi, with arbitrary νi and 0≤ηi≤1/16. Under μi the jointly measurable gradient oracle is unbiased for ∇fi with variance at most σi2. All setup parameters are public. Each worker has one batch in flight and pays hi>0 per sample. The complete directed network allows concurrent links and serializes messages per link, with cost ℓ+bm for m bits. The target is one measurable X with Pr(∥∇F(X)∥>ε)≤δ, where 0<δ<1, ε>0 and ε≥218n−1∑iσiηi.

Stationarity under distributed Huber contamination
Result Oracle complexity Novelty Limitations
(1) ContaminatedParallelStationarity (Ours) (⋆⋆) (review) Elapsed-time upper bound O((K+qmin{K,q})(H+S)+K[(1+log⁡n)H+C])
(2) FiniteBitLeon (Tyurin 2026a) Time O(K(H+S+C)) for E∥∇F(X)∥2≤ε2. (1) handles Huber contamination and heterogeneous variances. On the clean common-variance restriction, gives high probability at the same time order for q≤K and fixed n. (1) adds KHlog⁡n pilot time on the clean overlap and gives no expected squared-norm guarantee.
(3) Leon SGD (Tyurin 2026b, Thm. 1.7) Time O(Kmax{d/w¯,H,S}) for E∥∇F(X)∥2≤ε2. (1) handles contamination and heterogeneous variances with tunable high probability. (3) needs clean samples with a common variance bound. Time bounds are incomparable across network models. (1) requires a complete network. (3) uses a bandwidth graph.
(4) Derived bound, robust minibatch descent O(K[1+(σ12/ε2)log⁡(K/δ)]) samples, n=1. Union bound with robust mean error O(σ1η1+σ1log⁡(K/δ)/N) above a sufficient contamination floor. (1) uses O(K(1+σ12/ε2)) samples for q≤K, removing log⁡(K/δ) from the noise term. The total improves when that term dominates.
(5) Derived bound, retuned NSGD (Hübler et al. 2025, Thm. 4) O(Kq(1+σ12/ε2)) samples, clean n=1, for high-probability average gradient norm ≤ε. (1) uses O(K(1+σ12/ε2)) samples for q≤K and returns a certified point. (5) needs bounded conditional mean estimation error, which contamination can invalidate. (1) gives no trajectory-average guarantee.

Abbr: K=1+LΔ/ε2, q=1+log⁡(1/δ), H=maxihi, S=∑ihiσi2/(n2ε2) (σi=σ in (2) and (3)), C=ℓ+b[1+⌈d/n⌉log⁡(2+nd)]. w¯ is minimum cut bandwidth in coordinates per unit time. N is the robust mean batch size.

Hübler, Florian, Ilyas Fatkhullin, and Niao He. 2025. From Gradient Clipping to Normalization for Heavy Tailed SGD. arXiv:2410.13849v3. https://doi.org/10.48550/arXiv.2410.13849.
Tyurin, Alexander. 2026a. FiniteBitLeon. LongTails Lean theorem, revision 6e7483f0. https://github.com/k3nfalt/longtails/blob/6e7483f02c02983e8232511543e935eb2529cd15/LongTails/Theorems/FiniteBitLeon.lean.
Tyurin, Alexander. 2026b. Optimality in Decentralized Optimization Under Bandwidth Constraints. arXiv:2603.20735v1 [math.OC]. https://doi.org/10.48550/arXiv.2603.20735.

Lean setup