Exponential Graph is Provably Efficient for Decentralized Deep Training
Bicheng Ying, Kun Yuan, Yiming Chen, Hanbin Hu, Pan Pan, Wotao Yin
Abstract
Decentralized SGD is an emerging training method for deep learning known for its much less (thus faster) communication per iteration, which relaxes the averaging step in parallel SGD to inexact averaging. The less exact the averaging is, however, the more the total iterations the training needs to take. Therefore, the key to making decentralized SGD efficient is to realize nearly-exact averaging using little communication. This requires a skillful choice of communication topology, which is an under-studied topic in decentralized optimization. In this paper, we study so-called exponential graphs where every node is connected to neighbors and is the total number of nodes. This work proves such graphs can lead to both fast communication and effective averaging simultaneously. We also discover that a sequence of one-peer exponential graphs, in which each node communicates to one single neighbor per iteration, can together achieve exact averaging. This favorable property enables one-peer exponential graph to average as effective as its static counterpart but communicates more efficiently. We apply these exponential graphs in decentralized (momentum) SGD to obtain the state-of-the-art balance between per-iteration communication and iteration complexity among all commonly-used topologies. Experimental results on a variety of tasks and models demonstrate that decentralized (momentum) SGD over exponential graphs promises both fast and high-quality training. Our code is implemented through BlueFog and available at https://github.com/Bluefog-Lib/NeurIPS2021-Exponential-Graph.
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.
30 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
- Topology-aware Generalization of Decentralized SGD cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Topology-aware Generalization of Decentralized SGD cites Beyond spectral gap: the role of the topology in decentralized learning
- Topology-aware Generalization of Decentralized SGD cites Consensus Control for Decentralized Deep Learning
- A Unified Theory of Decentralized SGD with Changing Topology and Local Updates cites Decentralized Deep Learning with Arbitrary Communication Compression
- Lower Bounds and Nearly Optimal Algorithms in Distributed Learning with Communication Compression cites Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data
- Lower Bounds and Nearly Optimal Algorithms in Distributed Learning with Communication Compression cites Revisiting Optimal Convergence Rate for Smooth and Non-convex Stochastic Decentralized Optimization
- Revisiting Optimal Convergence Rate for Smooth and Non-convex Stochastic Decentralized Optimization cites Lower Bounds and Nearly Optimal Algorithms in Distributed Learning with Communication Compression
- Communication-Efficient Topologies for Decentralized Learning with O(1) Consensus Rate cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data cites Consensus Control for Decentralized Deep Learning
- Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data cites Decentralized Deep Learning with Arbitrary Communication Compression
- SlowMo: Improving Communication-Efficient Distributed SGD with Slow Momentum cites Decentralized Deep Learning with Arbitrary Communication Compression
- Beyond spectral gap: the role of the topology in decentralized learning cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Beyond spectral gap: the role of the topology in decentralized learning cites Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data
- Revisiting Optimal Convergence Rate for Smooth and Non-convex Stochastic Decentralized Optimization cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Revisiting Optimal Convergence Rate for Smooth and Non-convex Stochastic Decentralized Optimization cites Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data
- Consensus Control for Decentralized Deep Learning cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Consensus Control for Decentralized Deep Learning cites Decentralized Deep Learning with Arbitrary Communication Compression
Cited by top-tier papers30
- Topology-aware Generalization of Decentralized SGDTongtian Zhu, Fengxiang He, Lan Zhang, Zhengyang Niu et al.ICML 2022 · 58 citations
- Lower Bounds and Nearly Optimal Algorithms in Distributed Learning with Communication CompressionXinmeng Huang, Yiming Chen, Wotao Yin, Kun YuanNeurIPS 2022 · 49 citations
- Communication-Efficient Topologies for Decentralized Learning with Consensus RateZhuoqing Song, Weijian Li, Kexin Jin, Lei Shi et al.NeurIPS 2022 · 48 citations
- Beyond spectral gap: the role of the topology in decentralized learningThijs Vogels, Hadrien Hendrikx, Martin JaggiNeurIPS 2022 · 48 citations
- Revisiting Optimal Convergence Rate for Smooth and Non-convex Stochastic Decentralized OptimizationKun Yuan, Xinmeng Huang, Yiming Chen, Xiaohan Zhang et al.NeurIPS 2022 · 40 citations
Builds on8
- 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
- Decentralized Deep Learning with Arbitrary Communication CompressionAnastasia Koloskova, Tao Lin, Sebastian U. Stich, Martin JaggiICLR 2020 · 263 citations
- SlowMo: Improving Communication-Efficient Distributed SGD with Slow MomentumJianyu Wang, Vinayak Tantia, Nicolas Ballas, Michael G. RabbatICLR 2020 · 220 citations
- Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous DataTao Lin, Sai Praneeth Karimireddy, Sebastian U. Stich, Martin JaggiICML 2021 · 118 citations
- Consensus Control for Decentralized Deep LearningLingjing Kong, Tao Lin, Anastasia Koloskova, Martin Jaggi et al.ICML 2021 · 100 citations
Related papers
- DSGD-CECA: Decentralized SGD with Communication-Optimal Exact Consensus AlgorithmLisang Ding, Kexin Jin, Bicheng Ying, Kun Yuan et al.ICML 2023 · 12 citations
- Beyond Exponential Graph: Communication-Efficient Topologies for Decentralized Learning via Finite-time ConvergenceYuki Takezawa, Ryoma Sato, Han Bao, Kenta Niwa et al.NeurIPS 2023 · 22 citations
- DecentLaM: Decentralized Momentum SGD for Large-batch Deep TrainingKun Yuan, Yiming Chen, Xinmeng Huang, Yingya Zhang et al.ICCV 2021 · 73 citations
- Scalable Decentralized Learning with TeleportationYuki Takezawa, Sebastian U. StichICLR 2025
- Revisiting 1-peer exponential graph for enhancing decentralized learning efficiencyKenta Niwa, Yuki Takezawa, Guoqiang Zhang, W. Bastiaan KleijnNeurIPS 2025
