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

SparDL: Distributed Deep Learning Training with Efficient Sparse Communication

Minjun Zhao, Yichen Yin, Yuren Mao, Qing Liu, Lu Chen, Yunjun Gao

TL;DR

SparDL is a novel distributed deep learning framework that overcomes the "Sparse Gradient Accumulation" (SGA) dilemma, where sparsified gradients quickly become dense during synchronization. By integrating block-wise sparsification directly into the communication process and employing a comprehensive global residual collection strategy, SparDL achieves up to a 4.9× speedup over state-of-the-art methods while maintaining full model accuracy.

What Problem Does This Paper Address?

In distributed deep learning, workers must synchronize their gradients at every iteration. As models grow, this communication becomes a massive bottleneck. Top-k sparsification is a popular solution: instead of sending every gradient, workers only send the $k$ largest values (often just 1% of the total).

However, this leads to the Sparse Gradient Accumulation (SGA) dilemma. When gradients from different workers are summed during synchronization, they often have different indices. As these sparse vectors are combined across multiple transmission steps, the resulting vector becomes increasingly dense, eventually negating the benefits of sparsification entirely.

Illustration of the SGA dilemma: summing sparse gradients from different workers increases the total number of non-zero elements.

Existing solutions to this problem often rely on inefficient communication patterns, introduce high latency, or require extra transmission steps that slow down training.

Methods

The authors propose SparDL, which introduces three core algorithmic innovations to handle sparse communication efficiently:

  1. Spar-Reduce-Scatter (SRS): Unlike standard methods that sparsify only at the start, SRS integrates block-wise top-k selection into a non-recursive Reduce-Scatter structure. Gradients are partitioned into blocks, and a top-k selection is applied to each block before every transmission step. This ensures the gradient volume remains constant and sparse throughout the entire reduction process. The Spar-Reduce-Scatter algorithm partitions gradients into blocks and maintains sparsity at each step.
The Spar-Reduce-Scatter algorithm partitions gradients into blocks and maintains sparsity at each step.
  1. Global Residual Collection (GRC): Repeatedly discarding gradients during communication can hurt model convergence. SparDL tracks three types of residuals: local (discarded before transmission), end-procedure (discarded during communication and never appearing in final results), and in-procedure (discarded during communication but still present in other workers' final results). By collecting and reusing all three, SparDL ensures the model converges as fast as dense training. Illustration of the different types of residuals collected by SparDL to ensure fast convergence.
Illustration of the different types of residuals collected by SparDL to ensure fast convergence.
  1. Spar-All-Gather (SAG): To further optimize for different network environments, SparDL uses a divide-and-conquer strategy. It divides workers into $d$ teams, synchronizing within teams first and then across teams. This allows users to tune the ratio of latency to bandwidth cost by adjusting the team size.

Datasets

The authors evaluated SparDL across a diverse set of tasks and models:

  • Image Classification: VGG-16 (CIFAR-10), VGG-19 (CIFAR-100), ResNet-50 (ImageNet).
  • Image Regression: VGG-11 (House dataset).
  • Text Classification: LSTM (IMDB).
  • Language Modeling: LSTM (PTB).
  • Language Processing: BERT (Wikipedia).

Key Insights and Ideas

  • Sparsity as a First-Class Citizen in Communication: The biggest "aha" moment is that sparsification shouldn't just be a pre-processing step. By making top-k selection an integral part of the Reduce-Scatter operation, SparDL prevents the "density explosion" of the SGA dilemma at its source.
  • Comprehensive Residual Tracking: Most existing methods only track local residuals. SparDL recognizes that the multi-step nature of efficient communication algorithms creates new types of "in-procedure" residuals that are critical for maintaining the convergence rate.
  • Adjustable Complexity: The team-based SAG approach recognizes that a "one size fits all" communication pattern doesn't work. In high-latency environments, fewer teams might be better, whereas high-bandwidth environments can benefit from different configurations.

Key Results

SparDL consistently outperformed state-of-the-art baselines like Ok-Topk, TopkA, and gTopk:

  • Speedup: SparDL achieved communication speedups of 4.9× for VGG-19 on CIFAR-100 and 5.6× for VGG-11 on the House dataset compared to SOTA methods.
  • Large-Scale Performance: On ImageNet with ResNet-50, SparDL was 2.3× faster in communication than Ok-Topk. For BERT on Wikipedia, it was 2.0× faster.
  • Convergence: Across all tests, SparDL reached the same final accuracy or loss as the baselines in the same number of epochs, proving that its aggressive sparsification does not damage model quality.
  • Scalability: As the number of workers increases, the performance gap between SparDL and other methods widens, showing superior scalability.

Limitations and Future Work

  • Homogeneous Environments: SparDL currently assumes a homogeneous cluster (workers with similar compute/network capabilities). The authors note that real-world clusters are often heterogeneous and plan to extend SparDL to handle such environments.
  • Quantization: While SparDL focuses on sparsification, quantization is another major compression technique. The authors suggest that combining SparDL with quantization methods could yield even greater communication efficiency in the future.

Summary updated

BibTeX
@inproceedings{zhao2024spardl,
  author = {Minjun Zhao and Yichen Yin and Yuren Mao and Qing Liu and Lu Chen and Yunjun Gao},
  title = {{SparDL: Distributed Deep Learning Training with Efficient Sparse Communication}},
  booktitle = {ICDE},
  year = {2024},
  doi = {10.1109/icde60146.2024.00142},
}
Figure