Lune

NeurIPS2021Top-tier venue

Asynchronous Decentralized SGD with Quantized and Local Updates

Giorgi Nadiradze, Amirmojtaba Sabour, Peter Davies, Shigang Li, Dan Alistarh

Abstract

Decentralized optimization is emerging as a viable alternative for scalable distributed machine learning, but also introduces new challenges in terms of synchronization costs. To this end, several communication-reduction techniques, such as non-blocking communication, quantization, and local steps, have been explored in the decentralized setting. Due to the complexity of analyzing optimization in such a relaxed setting, this line of work often assumes global communication rounds, which require additional synchronization. In this paper, we consider decentralized optimization in the simpler, but harder to analyze, asynchronous gossip model, in which communication occurs in discrete, randomly chosen pairings among nodes. Perhaps surprisingly, we show that a variant of SGD called SwarmSGD still converges in this setting, even if non-blocking communication, quantization, and local steps are all applied in conjunction, and even if the node data distributions and underlying graph topology are both heterogenous. Our analysis is based on a new connection with multi-dimensional load-balancing processes. We implement this algorithm and deploy it in a super-computing environment, showing that it can outperform previous decentralized methods in terms of end-to-end training time, and that it can even rival carefully-tuned large-batch SGD for certain tasks.

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.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Near-optimal sparse allreduce for distributed deep learning cites Chimera: efficiently training large-scale neural networks with bidirectional pipelines
  • Topology-aware Generalization of Decentralized SGD cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
  • A Unified Theory of Decentralized SGD with Changing Topology and Local Updates cites Don't Use Large Mini-batches, Use Local SGD
  • A Unified Theory of Decentralized SGD with Changing Topology and Local Updates cites Decentralized Deep Learning with Arbitrary Communication Compression
  • CocktailSGD: Fine-tuning Foundation Models over 500Mbps Networks cites Don't Use Large Mini-batches, Use Local SGD
  • CocktailSGD: Fine-tuning Foundation Models over 500Mbps Networks cites Moniqua: Modulo Quantized Communication in Decentralized SGD
  • SlowMo: Improving Communication-Efficient Distributed SGD with Slow Momentum cites Don't Use Large Mini-batches, Use Local SGD
  • SlowMo: Improving Communication-Efficient Distributed SGD with Slow Momentum cites Decentralized Deep Learning with Arbitrary Communication Compression
  • Decentralized Deep Learning with Arbitrary Communication Compression cites Don't Use Large Mini-batches, Use Local SGD
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. Chimera: efficiently training large-scale neural networks with bidirectional pipelinesShigang Li, Torsten HoeflerSC 2021 · 124 citations
  2. Asynchronous SGD Beats Minibatch SGD Under Arbitrary DelaysKonstantin Mishchenko, Francis R. Bach, Mathieu Even, Blake E. WoodworthNeurIPS 2022 · 95 citations
  3. CocktailSGD: Fine-tuning Foundation Models over 500Mbps NetworksJue Wang, Yucheng Lu, Binhang Yuan, Beidi Chen et al.ICML 2023 · 60 citations
  4. Topology-aware Generalization of Decentralized SGDTongtian Zhu, Fengxiang He, Lan Zhang, Zhengyang Niu et al.ICML 2022 · 58 citations
  5. Near-optimal sparse allreduce for distributed deep learningShigang Li, Torsten HoeflerPPoPP 2022 · 57 citations

Builds on6

  1. A Unified Theory of Decentralized SGD with Changing Topology and Local UpdatesAnastasia Koloskova, Nicolas Loizou, Sadra Boreiri, Martin Jaggi et al.ICML 2020 · 623 citations
  2. Don't Use Large Mini-batches, Use Local SGDTao Lin, Sebastian U. Stich, Kumar Kshitij Patel, Martin JaggiICLR 2020 · 462 citations
  3. Decentralized Deep Learning with Arbitrary Communication CompressionAnastasia Koloskova, Tao Lin, Sebastian U. Stich, Martin JaggiICLR 2020 · 263 citations
  4. SlowMo: Improving Communication-Efficient Distributed SGD with Slow MomentumJianyu Wang, Vinayak Tantia, Nicolas Ballas, Michael G. RabbatICLR 2020 · 220 citations
  5. Moniqua: Modulo Quantized Communication in Decentralized SGDYucheng Lu, Christopher De SaICML 2020 · 53 citations

Related papers

  1. A2CiD2: Accelerating Asynchronous Communication in Decentralized Deep LearningAdel Nabli, Eugene Belilovsky, Edouard OyallonNeurIPS 2023 · 12 citations
  2. Quantized Decentralized Stochastic Learning over Directed GraphsHossein Taheri, Aryan Mokhtari, Hamed Hassani, Ramtin PedarsaniICML 2020 · 59 citations
  3. Unveiling the Power of Multiple Gossip Steps: A Stability-Based Generalization Analysis in Decentralized TrainingQinglun Li, Yingqi Liu, Miao Zhang, Xiaochun Cao et al.NeurIPS 2025 · 3 citations
  4. Distributed Optimization for Overparameterized Problems: Achieving Optimal Dimension Independent Communication ComplexityBingqing Song, Ioannis C. Tsaknakis, Chung-Yiu Yau, Hoi-To Wai et al.NeurIPS 2022 · 4 citations
  5. Multi-Level Local SGD: Distributed SGD for Heterogeneous Hierarchical NetworksTimothy Castiglia, Anirban Das, Stacy PattersonICLR 2021 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines