← All setups

Contaminated Parallel Stationarity — Distributed Stationarity Under Gradient Contamination

Descriptions may be stale. Consult the linked Lean sources.

Distributed Stationarity Under Gradient Contamination · Lean proof

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.

Proved elapsed-time upper bound

234⋅(K+q⋅min{K,q})⋅((max0≤a<nh(a))+max{218⋅(∑i=0n−1h(i)⋅σ(i)2)n2⋅ε2,0})+512⋅K⋅((1+log2⁡(n))⋅(max0≤a<nh(a))+l+b⋅(64+d+n−1n⋅(8+log2⁡(n⋅(d+1)))))whereK=1+⌈219⋅L⋅Δε2⌉+whereq=4+⌈log⁡(1failure)⌉+

DistributedTemplate.TimedConvergence LongTails.Setups.DistributedContaminatedSmoothNonconvex.spec
  LongTails.Theorems.ContaminatedParallelStationarity.budget

Relevant previous results

No qualifying prior reference verified; this is not a proof of novelty.