Communication-Efficient Distributed Deep Learning: A Comprehensive Survey

Zhenheng Tang, Shaohuai Shi, Wei Wang, Bo Li, Xiaowen Chu

TL;DR

Deep learning models are growing faster than the networks that connect the GPUs training them, creating a massive communication bottleneck. This paper provides a comprehensive taxonomy and benchmark of "communication-efficient" distributed training techniques—ranging from gradient compression to flexible synchronization—offering a roadmap for scaling deep learning to the next generation of massive clusters.

What Problem Does This Paper Address?

The "brute force" era of deep learning relies on distributed training, where models are spread across dozens or hundreds of GPUs. However, as models like GPT-3 and GShard reach billions of parameters, the time spent shuffling data between GPUs often exceeds the time spent actually computing gradients.

As shown in Figure 1, GPU compute power and memory capacity are advancing much faster than network bandwidth. This creates a scalability wall: adding more GPUs eventually yields diminishing returns because the system spends all its time waiting for the network. The authors tackle the challenge of how to reduce this communication overhead without destroying the model's ability to converge to a high-accuracy solution.

Fig. 1. The trends of GPU and neural networks.

Methods

The authors propose a four-dimensional taxonomy to categorize the vast landscape of communication-efficient algorithms:

  1. Communication Synchronization: Moving away from strict "Bulk Synchronous Parallel" (BSP) where every worker must wait for the slowest one. Alternatives include Stale-Synchronous (SSP), Asynchronous (ASP), and Local SGD, where workers perform multiple local updates before talking to the group.
  2. System Architectures: Comparing centralized Parameter Servers (good for flexible sync), All-Reduce (bandwidth-optimal for synchronous tasks), and Gossip (decentralized peer-to-peer communication).
  3. Compression Techniques: Reducing the size of the data sent. This includes Quantization (using fewer bits, e.g., 1-bit or 8-bit instead of 32-bit floats) and Sparsification (sending only the "most important" gradients, like the Top-K largest values).
  4. Parallelism of Communication and Computing: Using techniques like Pipelining (Wait-Free Backward Propagation) to hide communication time by overlapping it with the computation of the next layer's gradients.
Fig. 2. Overview of data-parallel distributed deep learning.

Datasets

To validate their findings, the authors benchmarked mainstream algorithms using:

  • CIFAR-10: Image classification using the ResNet-20 architecture.
  • Shakespeare: A natural language processing task using a stacked character-level LSTM language model.

Experiments were conducted on clusters ranging from 4 to 32 workers, each equipped with NVIDIA RTX 2080 Ti GPUs.

Key Insights and Ideas

  • The Staleness Limit: Asynchronous methods (ASP-SGD) are great for throughput because they never wait, but they are fragile. The authors found that ASP-SGD often diverges when the number of workers increases (e.g., at 32 workers) because the gradients become too "stale" or biased.
  • Local SGD is a Sleeper Hit: Local SGD, which performs several local iterations before synchronizing, proved remarkably robust. The authors noted that accuracy is not very sensitive to the number of local steps ($\tau$), suggesting we can skip many communication rounds with minimal penalty.
  • Error Feedback is Essential: For aggressive compression (like Top-K sparsification), "Error Feedback" (EF) is the secret sauce. By storing the parts of the gradient that were not sent and adding them to the next iteration, algorithms like EF-TopK can converge even at 1000x compression ratios.
  • Architecture vs. Synchronization: While All-Reduce is the industry standard for synchronous training, the authors highlight that Gossip (decentralized) architectures are more fault-tolerant and avoid the "central node" congestion found in Parameter Server setups.

Key Results

The paper provides a rigorous empirical comparison of these methods:

  • Scalability: In synchronous settings, increasing workers from 4 to 32 generally requires higher learning rates to maintain accuracy, mimicking the effects of larger batch sizes.
  • Compression Power: Sparsification methods (Top-K) significantly outperform simple quantization in terms of raw compression ratio. While quantization typically hits a 32x limit (moving from 32-bit to 1-bit), sparsification can reach 100x to 1000x while maintaining comparable accuracy to standard SGD.
  • Synchronization Efficiency: Figure 3 illustrates how relaxing the barrier (moving from BSP to SSP or Local SGD) fills the "idle" gaps in GPU utilization, though this must be balanced against the risk of model divergence.
Fig. 3. Comparison of training with single device and multiple devices under different communication synchronization with the PS architecture.

Limitations and Future Work

The authors identify several open frontiers:

  • Foundation Models: Most current research focuses on ResNet or small LSTMs. Verifying if these communication-efficient tricks work for trillion-parameter "foundation models" is a critical next step.
  • Adaptive Compression: Instead of a fixed compression ratio, can we dynamically adjust compression based on the network's health or the specific layer of the neural network?
  • Fault Tolerance: In massive, heterogeneous clusters, "stragglers" (slow nodes) and worker failures are common. Developing algorithms that are both communication-efficient and highly resilient to hardware instability remains a challenge.

Summary updated

BibTeX
@misc{tang2020communication,
  author = {Zhenheng Tang and Shaohuai Shi and Wei Wang and Bo Li and Xiaowen Chu},
  title = {{Communication-Efficient Distributed Deep Learning: A Comprehensive Survey}},
  year = {2020},
  eprint = {2003.06307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.06307},
}
Figure