Moshpit SGD: Communication-Efficient Decentralized Training on Heterogeneous Unreliable Devices
Max Ryabinin, Eduard Gorbunov, Vsevolod Plokhotnyuk, Gennady Pekhimenko
Abstract
Training deep neural networks on large datasets can often be accelerated by using multiple compute nodes. This approach, known as distributed training, can utilize hundreds of computers via specialized message-passing protocols such as Ring All-Reduce. However, running these protocols at scale requires reliable high-speed networking that is only available in dedicated clusters. In contrast, many real-world applications, such as federated learning and cloud-based distributed training, operate on unreliable devices with unstable network bandwidth. As a result, these applications are restricted to using parameter servers or gossip-based averaging protocols. In this work, we lift that restriction by proposing Moshpit All-Reduce - an iterative averaging protocol that exponentially converges to the global average. We demonstrate the efficiency of our protocol for distributed optimization with strong theoretical guarantees. The experiments show 1.3x speedup for ResNet-50 training on ImageNet compared to competitive gossip-based strategies and 1.5x speedup when training ALBERT-large from scratch using preemptible compute nodes.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
14 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SCAFFOLD: Stochastic Controlled Averaging for Federated Learning cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
- CocktailSGD: Fine-tuning Foundation Models over 500Mbps Networks cites Language Models are Few-Shot Learners
- CocktailSGD: Fine-tuning Foundation Models over 500Mbps Networks cites Distributed Deep Learning In Open Collaborations
- Distributed Methods with Compressed Communication for Solving Variational Inequalities, with Theoretical Guarantees cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- Distributed Methods with Compressed Communication for Solving Variational Inequalities, with Theoretical Guarantees cites Distributed Deep Learning In Open Collaborations
- SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient cites Language Models are Few-Shot Learners
- SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient cites Distributed Deep Learning In Open Collaborations
- Distributed Deep Learning In Open Collaborations cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
- Distributed Deep Learning In Open Collaborations cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- Distributed Deep Learning In Open Collaborations cites Language Models are Few-Shot Learners
Cited by top-tier papers14
- Asynchronous SGD Beats Minibatch SGD Under Arbitrary DelaysKonstantin Mishchenko, Francis R. Bach, Mathieu Even, Blake E. WoodworthNeurIPS 2022 · 95 citations
- Distributed Deep Learning In Open CollaborationsMichael Diskin, Alexey Bukhtiyarov, Max Ryabinin, Lucile Saulnier et al.NeurIPS 2021 · 89 citations
- SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-EfficientMax Ryabinin, Tim Dettmers, Michael Diskin, Alexander BorzunovICML 2023 · 63 citations
- CocktailSGD: Fine-tuning Foundation Models over 500Mbps NetworksJue Wang, Yucheng Lu, Binhang Yuan, Beidi Chen et al.ICML 2023 · 60 citations
- Distributed Methods with Compressed Communication for Solving Variational Inequalities, with Theoretical GuaranteesAleksandr Beznosikov, Peter Richtárik, Michael Diskin, Max Ryabinin et al.NeurIPS 2022 · 25 citations
Builds on21
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- Practical Secure Aggregation for Privacy-Preserving Machine LearningKallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone et al.CCS 2017 · 3,936 citations
- SCAFFOLD: Stochastic Controlled Averaging for Federated LearningSai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank J. Reddi et al.ICML 2020 · 3,875 citations
- Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett et al.ICLR 2021 · 1,917 citations
Related papers
- Herring: rethinking the parameter server at scale for the cloudIndu Thangakrishnan, Derya Cavdar, Can Karakus, Piyush Ghai et al.SC 2020 · 11 citations
- Near-Optimal Topology-adaptive Parameter Synchronization in Distributed DNN TrainingZhe Zhang, Chuan Wu, Zongpeng LiINFOCOM 2021 · 14 citations
- Sign bit is enough: a learning synchronization framework for multi-hop all-reduce with ultimate compressionFeijie Wu, Shiqi He, Song Guo, Zhihao Qu et al.DAC 2022 · 3 citations
- A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi et al.OSDI 2020 · 390 citations
- From Promise to Practice: Realizing High-performance Decentralized TrainingZesen Wang, Jiaojiao Zhang, Xuyang Wu, Mikael JohanssonICLR 2025
