English

Near-Optimal Sparse Allreduce for Distributed Deep Learning

Distributed, Parallel, and Cluster Computing 2025-08-22 v4 Machine Learning

Abstract

Communication overhead is one of the major obstacles to train large deep learning models at scale. Gradient sparsification is a promising technique to reduce the communication volume. However, it is very challenging to obtain real performance improvement because of (1) the difficulty of achieving an scalable and efficient sparse allreduce algorithm and (2) the sparsification overhead. This paper proposes Okk-Topkk, a scheme for distributed training with sparse gradients. Okk-Topkk integrates a novel sparse allreduce algorithm (less than 6kk communication volume which is asymptotically optimal) with the decentralized parallel Stochastic Gradient Descent (SGD) optimizer, and its convergence is proved. To reduce the sparsification overhead, Okk-Topkk efficiently selects the top-kk gradient values according to an estimated threshold. Evaluations are conducted on the Piz Daint supercomputer with neural network models from different deep learning domains. Empirical results show that Okk-Topkk achieves similar model accuracy to dense allreduce. Compared with the optimized dense and the state-of-the-art sparse allreduces, Okk-Topkk is more scalable and significantly improves training throughput (e.g., 3.29x-12.95x improvement for BERT on 256 GPUs).

Keywords

Cite

@article{arxiv.2201.07598,
  title  = {Near-Optimal Sparse Allreduce for Distributed Deep Learning},
  author = {Shigang Li and Torsten Hoefler},
  journal= {arXiv preprint arXiv:2201.07598},
  year   = {2025}
}

Comments

Published in Proceedings of the 27th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming (PPoPP'22), April 2-6, 2022, Pages 135-149, https://doi.org/10.1145/3503221.3508399

R2 v1 2026-06-24T08:55:11.982Z