Contribution

Introduces Epidemic Learning (EL), a decentralized learning algorithm in which each node sends model updates to a random sample of s other nodes every round, achieving O(n^3/s^2) transient iterations — an s^2 improvement over the O(n^3) best-known bound for static and semi-dynamic topologies. EL is empirically 1.7x faster than static baselines on CIFAR-10 with 96 nodes.

Key insight

Fully randomizing the communication topology at every round, rather than using a fixed or semi-dynamic graph, provably reduces the transient iterations needed to enter the linear speedup regime by a factor of s^2, because the random averaging step contracts the inter-node model drift by O(1/s) regardless of spectral properties of any fixed graph.

Assumptions

  • All nodes can potentially communicate directly with all other nodes (any- to-any connectivity); no restricted topology or NAT barriers.
  • Communication is synchronous: all nodes complete their local update and send/receive in the same round.
  • Data is IID across nodes in the main theoretical analysis; non-IID bounds also derived but with additional heterogeneity term H.
  • Loss function is L-smooth and non-convex (standard assumptions for SGD convergence rate).
  • Gradient noise variance is bounded by sigma^2 uniformly across nodes.
  • Node dropout is not modeled; all n nodes participate in every round.

Key results

  • Theorem 1 — EL transient iteration bound. EL requires at most O(n^3 / s^2) transient iterations before entering the linear speedup regime (dominant term O(1/sqrt(nT))). This is an s^2-fold improvement over the O(n^3) bound for static topologies. Holds when: n nodes, s out-neighbors sampled per node per round, smooth non-convex loss, IID data, synchronous communication.
  • Theorem 1b — EL-Local matches EL-Oracle. EL-Local (independent sampling without coordination) achieves the same O(n^3/s^2) transient iteration bound as EL-Oracle (s-regular graph per round), with an additive constant factor difference in the mixing coefficient. Holds when: Same assumptions as Theorem 1; in-degree variance across nodes is absorbed into the constant.
  • Empirical speedup over static topology (C3). EL achieves 1.7x faster convergence and 2.2% higher final accuracy than 7-regular static topology on CIFAR-10 with 96 nodes, using the same total communication bandwidth (s = 7 for EL vs. 7-regular). Holds when: 96 nodes, CIFAR-10, ResNet-20, 5 seeds, 95% CI.

Claims

idclaimstrengthsupport
C1EL requires O(n^3/s^2) transient iterations, improving the best-known O(n^3) bound by a factor of s^2.strongTheorem 1 provides a formal convergence rate; Table 1 compares to all major static and semi-dynamic topology results.
C2EL-Local achieves comparable convergence to EL-Oracle without global coordination, only requiring each node to independently sample s peers.strongTheorem 1b and Figure 4 show negligible gap between EL-Oracle and EL-Local in both theory and experiments.
C3EL converges up to 1.7x faster and achieves 2.2% higher accuracy than a 7-regular static topology using the same communication budget.moderateEmpirical results on CIFAR-10 with 96 nodes, 5 random seeds, 95% confidence intervals (Table 2, Figure 4).

Method

Epidemic Learning (EL).

Each round has two phases. In the local update phase, each node computes a stochastic gradient and partially updates its local model. In the random communication phase, each node samples s other nodes and sends its updated model to them; it then receives models from nodes that sampled it, and sets its new parameter to the uniform average of all received models plus its own. EL-Oracle enforces that the union of all edges forms an s-regular graph each round (requiring a coordinator), while EL-Local has each node sample independently, forming an s-out digraph without coordination.

  • Random sampling of s peers per node per round (EL-Oracle: s-regular; EL- Local: s-out)
  • Uniform averaging of all received models plus own model
  • Standard SGD local update step before communication
  • Mixing coefficient alpha_s = O(1/s) capturing per-round drift contraction

Concepts

  • Transient iterations — Number of training rounds before a decentralized algorithm enters the linear speedup regime where the dominant convergence term scales as O(1/sqrt(nT)); smaller is better.
  • Linear speedup — Property that the dominant asymptotic convergence term scales as O(1/sqrt(nT)), meaning n nodes collectively converge as fast as one node with n times more data.
  • s-regular random graph — Graph where every node has exactly s neighbors, constructed freshly at random each round in EL-Oracle to ensure balanced communication load.
  • s-out topology — Directed graph where each node independently selects s out-neighbors at random; used in EL-Local, resulting in variable in- degree across nodes.
  • Spectral gap (p) — Second eigenvalue gap of a mixing matrix, governing consensus speed of D-PSGD on static topologies; small p (e.g., O(1/n^2) for a ring) leads to large transient iterations.

Connections

Builds on.

  • Communication-Efficient Learning of Deep Networks from Decentralized Data (FedAvg) (LIT-307) — EL addresses the fully decentralized (no central server) counterpart of federated learning, removing the bottleneck of a central aggregator.
  • D-PSGD: Decentralized Parallel SGD (Lian et al., 2017) — EL builds on the D-PSGD framework but replaces fixed topologies with fully randomized ones, achieving tighter transient iteration bounds.
  • EquiTopo (Song et al., 2022) — EL outperforms EquiStatic and EquiDyn topologies theoretically (transient iterations) and empirically, while requiring no fixed topology design.

Recommendations

  • R1 — Prefer EL-Local over EL-Oracle in fully decentralized deployments to avoid the coordination overhead of generating an s-regular graph each round, at negligible convergence cost. Topic: topology selection · Strength: strong · When: Nodes can maintain a peer list or use a decentralized peer-sampling service; network is not severely bandwidth-constrained.
  • R2 — Set s ~ log2(n) as a practical default sample size to balance communication cost against convergence improvement; increase s in data- center settings with high network capacity. Topic: sample size tuning · Strength: moderate · When: Network bandwidth is the primary constraint; for high-bandwidth settings larger s provides faster convergence.
  • R3 — Set s ~ H^2/sigma^2 (heterogeneity-to-noise ratio) for EL-Local to suppress the heterogeneity-induced term in the first convergence term. Topic: sample size for heterogeneous data · Strength: weak · When: Non- IID data settings where gradient heterogeneity H is measurable or estimable.

Bearing on the record

Sampling a fresh random neighbourhood each round beats every static topology. If it holds it makes most of the topology-design literature in this batch unnecessary, which is why it is worth checking rather than filing.

Limitations

  • Assumes all nodes can potentially communicate with all other nodes; may not hold in edge deployments with restricted connectivity.
  • EL-Oracle requires a central coordinator each round to generate the s-regular topology, partially reintroducing centralization.
  • Synchronous communication model; asynchronous or node-dropout settings are not analyzed.
  • Convergence guarantees are for smooth non-convex losses only; no rates for convex or strongly convex cases are provided.
  • Experiments are limited to 96 nodes; scalability to thousands of nodes is not empirically verified.

Open questions

  • Can EL be extended to asynchronous settings where nodes operate at different speeds?
  • What is the optimal s as a function of n, H, and sigma^2 to minimize total communication volume to a target accuracy?
  • Does the O(n^3/s^2) transient iteration bound represent the information- theoretic optimum, or can further improvements be achieved?