Lune

NeurIPS2023Top-tier venue

A2CiD2: Accelerating Asynchronous Communication in Decentralized Deep Learning

Adel Nabli, Eugene Belilovsky, Edouard Oyallon

Abstract

Distributed training of Deep Learning models has been critical to many recent successes in the field. Current standard methods primarily rely on synchronous centralized algorithms which induce major communication bottlenecks and synchronization locks at scale. Decentralized asynchronous algorithms are emerging as a potential alternative but their practical applicability still lags. In order to mitigate the increase in communication cost that naturally comes with scaling the number of workers, we introduce a principled asynchronous, randomized, gossip-based optimization algorithm which works thanks to a continuous local momentum named A2CiD2\textbf{A}^2\textbf{CiD}^2. Our method allows each worker to continuously process mini-batches without stopping, and run a peer-to-peer averaging routine in parallel, reducing idle time. In addition to inducing a significant communication acceleration at no cost other than adding a local momentum variable, minimal adaptation is required to incorporate A2CiD2\textbf{A}^2\textbf{CiD}^2 to standard asynchronous approaches. Our theoretical analysis proves accelerated rates compared to previous asynchronous decentralized baselines and we empirically show that using our A2CiD2\textbf{A}^2\textbf{CiD}^2 momentum significantly decrease communication costs in poorly connected networks. In particular, we show consistent improvement on the ImageNet dataset using up to 64 asynchronous workers (A100 GPUs) and various communication network topologies.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • 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
  • Decentralized Training of Foundation Models in Heterogeneous Environments cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
  • An Improved Analysis of Gradient Tracking for Decentralized Machine Learning cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
  • 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.

Builds on15

  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. Decentralized Training of Foundation Models in Heterogeneous EnvironmentsBinhang Yuan, Yongjun He, Jared Davis, Tianyi Zhang et al.NeurIPS 2022 · 157 citations
  5. An Improved Analysis of Gradient Tracking for Decentralized Machine LearningAnastasia Koloskova, Tao Lin, Sebastian U. StichNeurIPS 2021 · 148 citations

Related papers

  1. Ordered Local Momentum for Asynchronous Distributed Learning Under Arbitrary DelaysChang-Wei Shi, Shi-Shang Wang, Wu-Jun LiAAAI 2026
  2. Gap-Aware Mitigation of Gradient StalenessSaar Barkai, Ido Hakimi, Assaf SchusterICLR 2020 · 27 citations
  3. Asynchronous Optimization Methods for Efficient Training of Deep Neural Networks with GuaranteesVyacheslav Kungurtsev, Malcolm Egan, Bapi Chatterjee, Dan AlistarhAAAI 2021 · 4 citations
  4. DecentLaM: Decentralized Momentum SGD for Large-batch Deep TrainingKun Yuan, Yiming Chen, Xinmeng Huang, Yingya Zhang et al.ICCV 2021 · 73 citations
  5. Ordered Momentum for Asynchronous SGDChang-Wei Shi, Yi-Rui Yang, Wu-Jun LiNeurIPS 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines