SlowMo: Improving Communication-Efficient Distributed SGD with Slow Momentum
Jianyu Wang, Vinayak Tantia, Nicolas Ballas, Michael G. Rabbat
Abstract
Distributed optimization is essential for training large models on large datasets. Multiple approaches have been proposed to reduce the communication overhead in distributed training, such as synchronizing only after performing multiple local SGD steps, and decentralized methods (e.g., using gossip algorithms) to decouple communications among workers. Although these methods run faster than AllReduce-based methods, which use blocking communication before every update, the resulting models may be less accurate after the same number of updates. Inspired by the BMUF method of Chen & Huo (2016), we propose a slow momentum (SlowMo) framework, where workers periodically synchronize and perform a momentum update, after multiple iterations of a base optimization algorithm. Experiments on image classification and machine translation tasks demonstrate that SlowMo consistently yields improvements in optimization and generalization performance relative to the base optimizer, even when the additional overhead is amortized over many updates so that the SlowMo runtime is on par with that of the base optimizer. We provide theoretical convergence guarantees showing that SlowMo converges to a stationary point of smooth non-convex losses. Since BMUF can be expressed through the SlowMo framework, our results also correspond to the first theoretical convergence guarantees for BMUF.
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.
45 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
- Achieving Linear Speedup with Partial Worker Participation in Non-IID Federated Learning cites Don't Use Large Mini-batches, Use Local SGD
- Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization cites Don't Use Large Mini-batches, Use Local SGD
- Stochastic Controlled Averaging for Federated Learning with Communication Compression cites Achieving Linear Speedup with Partial Worker Participation in Non-IID Federated Learning
- Stochastic Controlled Averaging for Federated Learning with Communication Compression cites Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization
- Stochastic Controlled Averaging for Federated Learning with Communication Compression cites Don't Use Large Mini-batches, Use Local SGD
- Decentralized Deep Learning with Arbitrary Communication Compression cites Don't Use Large Mini-batches, Use Local SGD
Cited by top-tier papers45
- Tackling the Objective Inconsistency Problem in Heterogeneous Federated OptimizationJianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi et al.NeurIPS 2020 · 2,231 citations
- Achieving Linear Speedup with Partial Worker Participation in Non-IID Federated LearningHaibo Yang, Minghong Fang, Jia LiuICLR 2021 · 310 citations
- Stochastic Controlled Averaging for Federated Learning with Communication CompressionXinmeng Huang, Ping Li, Xiaoyun LiICLR 2024 · 288 citations
- Federated Accelerated Stochastic Gradient DescentHonglin Yuan, Tengyu MaNeurIPS 2020 · 217 citations
- SemiFL: Semi-Supervised Federated Learning for Unlabeled Clients with Alternate TrainingEnmao Diao, Jie Ding, Vahid TarokhNeurIPS 2022 · 130 citations
Builds on2
Related papers
- DecentLaM: Decentralized Momentum SGD for Large-batch Deep TrainingKun Yuan, Yiming Chen, Xinmeng Huang, Yingya Zhang et al.ICCV 2021 · 73 citations
- Ordered Local Momentum for Asynchronous Distributed Learning Under Arbitrary DelaysChang-Wei Shi, Shi-Shang Wang, Wu-Jun LiAAAI 2026
- On the Convergence of Communication-Efficient Local SGD for Federated LearningHongchang Gao, An Xu, Heng HuangAAAI 2021 · 66 citations
- Asynchronous Optimization Methods for Efficient Training of Deep Neural Networks with GuaranteesVyacheslav Kungurtsev, Malcolm Egan, Bapi Chatterjee, Dan AlistarhAAAI 2021 · 4 citations
- Ordered Momentum for Asynchronous SGDChang-Wei Shi, Yi-Rui Yang, Wu-Jun LiNeurIPS 2024 · 7 citations
