NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust and Communication-Efficient Collaborative Learning

Amirhossein Reisizadeh, Hossein Taheri, Aryan Mokhtari, Hamed Hassani, Ramtin Pedarsani

Introduction

Decentralized—or "collaborative"—learning allows a network of nodes to train a machine learning model together without relying on a central coordinator. While this architecture offers significant advantages in privacy and scalability, it is notoriously hindered by two major system bottlenecks: straggling nodes and high communication overhead.

This paper introduces QuanTimed-DSGD (Quantized and Timed Decentralized Stochastic Gradient Descent), a novel optimization algorithm designed to simultaneously tackle both hurdles. By enforcing strict computation deadlines and utilizing quantized model exchanges, QuanTimed-DSGD achieves up to a 3x speedup in training time while mathematically guaranteeing exact convergence to optimal solutions.

The Bottlenecks of Decentralized Learning

To understand the contribution of QuanTimed-DSGD, we must first look at the challenges it solves:

  1. Stragglers (The Computation Bottleneck): In a typical synchronous setup, every node must wait for the slowest participant to finish its local gradient computation before the network can move to the next step. This "tail at scale" effect significantly drags down total training time.
  2. Communication Overhead (The Network Bottleneck): Modern neural networks contain millions of parameters. Constantly exchanging these high-dimensional vectors across a network consumes massive bandwidth, creating severe network congestion.

Existing solutions often tackle one problem or the other, but rarely both. Furthermore, many methods that use quantization (reducing the precision of messages to save bandwidth) or stochastic gradients suffer from "vanishing" accuracy—they might get close to the optimal solution but never reach it exactly due to persistent noise.

The Solution: QuanTimed-DSGD

The authors propose an algorithm built on two core pillars to address these bottlenecks head-on:

  • Deadline-Based Computation: Instead of requiring each node to compute a fixed number of gradients (a mini-batch), the algorithm imposes a hard time limit ($T_d$). Nodes compute as many gradients as they can within that window. This ensures that every iteration takes a constant amount of time, effectively "ignoring" the delay caused by stragglers.
  • Quantized Message Passing: To save bandwidth, nodes do not send their full-precision model parameters to neighbors. Instead, they send a quantized version using fewer bits.
Comparison of timing schemes: Mini-batch-DSGD, Asynchronous-DSGD, and QuanTimed-DSGD.

Unlike asynchronous methods that allow nodes to use "stale" information to stay fast, QuanTimed-DSGD keeps nodes synchronized in time but allows the quantity of their gradient computations to vary. This avoids the slow convergence often seen in asynchronous systems.

The Secret Sauce: Update Rule

The key mathematical innovation lies in the algorithm's update rule. The authors use a specific combination of the local model, the quantized models from neighbors, and the local stochastic gradient, scaled by carefully chosen parameters ($\\alpha$ and $\\epsilon$). This structure allows the algorithm to "average out" the noise from both quantization and stochastic gradients over time.

Algorithm 1: QuanTimed-DSGD at node i

Key Insights and Results

The researchers evaluated QuanTimed-DSGD on standard computer vision benchmarks (MNIST and CIFAR-10) using a simulated network of 50 nodes on a random Erdös-Rènyi graph topology.

  • Exact Convergence Despite Noise: The most significant theoretical contribution is proving that even with non-vanishing noise from quantization and random mini-batch sizes (due to the deadline), the algorithm converges exactly to the global optimum for convex problems and a stationary point for non-convex ones.
  • The "Effective Batch Size": The paper introduces the concept of an "effective batch size" ($b_{eff}$), determined by the deadline $T_d$. A large $T_d$ yields more accurate gradients, while a small $T_d$ moves faster but with more noise. Finding the "sweet spot" for $T_d$ minimizes total run-time.
  • 3x Speedup: Compared to standard Decentralized SGD (DSGD), QuanTimed-DSGD achieved up to a 3x speedup in wall-clock time to reach the same loss level on CIFAR-10.
  • Outperforming Asynchronous Methods: It improved upon Asynchronous DSGD by roughly 30%, proving that synchronized deadlines are often more efficient than letting nodes run entirely out of sync.
  • Communication Efficiency: By using low-precision quantization (e.g., 3-bit or 4-bit), the algorithm significantly reduced the bits-per-iteration without sacrificing final model accuracy.

Limitations and Future Work

While promising, the study primarily uses random graphs. Performance on extremely sparse or highly bottlenecked topologies (like a line or a large ring) warrants further exploration. Additionally, the algorithm relies on tuning hyperparameters like the deadline $T_d$ and step-sizes $\\alpha$ and $\\epsilon$; finding these values in a real-world, heterogeneous deployment might require additional heuristics. Finally, testing the algorithm on massive architectures like Transformers or deep ResNets will be a logical next step to confirm if the communication savings scale linearly to state-of-the-art models.

Summary updated

BibTeX
@inproceedings{reisizadeh2019robust,
  author = {Amirhossein Reisizadeh and Hossein Taheri and Aryan Mokhtari and Hamed Hassani and Ramtin Pedarsani},
  title = {{Robust and Communication-Efficient Collaborative Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=F0Xk5aWz-kO},
}
Figure