RelaySum for Decentralized Deep Learning on Heterogeneous Data
Thijs Vogels, Lie He, Anastasia Koloskova, Sai Praneeth Karimireddy, Tao Lin, Sebastian U. Stich, Martin Jaggi
Abstract
In decentralized machine learning, workers compute model updates on their local data. Because the workers only communicate with few neighbors without central coordination, these updates propagate progressively over the network. This paradigm enables distributed training on networks without all-to-all connectivity, helping to protect data privacy as well as to reduce the communication cost of distributed training in data centers. A key challenge, primarily in decentralized deep learning, remains the handling of differences between the workers' local data distributions. To tackle this challenge, we introduce the RelaySum mechanism for information propagation in decentralized learning. RelaySum uses spanning trees to distribute information exactly uniformly across all workers with finite delays depending on the distance between nodes. In contrast, the typical gossip averaging mechanism only distributes data uniformly asymptotically while using the same communication volume per step as RelaySum. We prove that RelaySGD, based on this mechanism, is independent of data heterogeneity and scales to many workers, enabling highly accurate decentralized deep learning on heterogeneous data. Our code is available at http://github.com/epfml/relaysgd.
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.
24 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
- ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally! cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally! cites Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data
- ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally! cites An Improved Analysis of Gradient Tracking for Decentralized Machine Learning
- Optimal Complexity in Decentralized Training cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Topology-aware Generalization of Decentralized SGD cites Optimal Complexity in Decentralized Training
- 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
- Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data cites Evolving Normalization-Activation Layers
- Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data 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 Optimal Complexity in Decentralized Training
- 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
- DecentLaM: Decentralized Momentum SGD for Large-batch Deep Training cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- DecentLaM: Decentralized Momentum SGD for Large-batch Deep Training cites Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data
- An Improved Analysis of Gradient Tracking for Decentralized Machine Learning cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- An Improved Analysis of Gradient Tracking for Decentralized Machine Learning cites Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data
- An Improved Analysis of Gradient Tracking for Decentralized Machine Learning cites DecentLaM: Decentralized Momentum SGD for Large-batch Deep Training
- Global Update Tracking: A Decentralized Learning Algorithm for Heterogeneous Data cites Evolving Normalization-Activation Layers
- Global Update Tracking: A Decentralized Learning Algorithm for Heterogeneous Data cites A Unified Theory of Decentralized SGD with Changing Topology and Local Updates
- Global Update Tracking: A Decentralized Learning Algorithm for Heterogeneous Data cites Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data
Cited by top-tier papers24
- ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally!Konstantin Mishchenko, Grigory Malinovsky, Sebastian U. Stich, Peter RichtárikICML 2022 · 200 citations
- An Improved Analysis of Gradient Tracking for Decentralized Machine LearningAnastasia Koloskova, Tao Lin, Sebastian U. StichNeurIPS 2021 · 148 citations
- Topology-aware Generalization of Decentralized SGDTongtian Zhu, Fengxiang He, Lan Zhang, Zhengyang Niu et al.ICML 2022 · 58 citations
- Beyond spectral gap: the role of the topology in decentralized learningThijs Vogels, Hadrien Hendrikx, Martin JaggiNeurIPS 2022 · 48 citations
- Global Update Tracking: A Decentralized Learning Algorithm for Heterogeneous DataSai Aparna Aketi, Abolfazl Hashemi, Kaushik RoyNeurIPS 2023 · 23 citations
Builds on5
- 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
- Quasi-global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous DataTao Lin, Sai Praneeth Karimireddy, Sebastian U. Stich, Martin JaggiICML 2021 · 118 citations
- Optimal Complexity in Decentralized TrainingYucheng Lu, Christopher De SaICML 2021 · 95 citations
- Evolving Normalization-Activation LayersHanxiao Liu, Andy Brock, Karen Simonyan, Quoc LeNeurIPS 2020 · 94 citations
- DecentLaM: Decentralized Momentum SGD for Large-batch Deep TrainingKun Yuan, Yiming Chen, Xinmeng Huang, Yingya Zhang et al.ICCV 2021 · 73 citations
Related papers
- Compressed Decentralized Proximal Stochastic Gradient Method for Nonconvex Composite Problems with Heterogeneous DataYonggui Yan, Jie Chen, Pin-Yu Chen, Xiaodong Cui et al.ICML 2023 · 18 citations
- DePRL: Achieving Linear Convergence Speedup in Personalized Decentralized Learning with Shared RepresentationsGuojun Xiong, Gang Yan, Shiqiang Wang, Jian LiAAAI 2024 · 9 citations
- Asynchronous Decentralized SGD with Quantized and Local UpdatesGiorgi Nadiradze, Amirmojtaba Sabour, Peter Davies, Shigang Li et al.NeurIPS 2021 · 61 citations
- Decentralized Learning with Multi-Headed DistillationAndrey Zhmoginov, Mark Sandler, Nolan Miller, Gus Kristiansen et al.CVPR 2023
- Practical Low-Rank Communication Compression in Decentralized Deep LearningThijs Vogels, Sai Praneeth Karimireddy, Martin JaggiNeurIPS 2020 · 63 citations
