SlowMo: Improving Communication-Efficient Distributed SGD with Slow Momentum

By Jianyu Wang, Vinayak Tantia, Nicolas Ballas, Michael G. Rabbat. 2019

224 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Optimization & Training, ML Systems & Hardware

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Peter Richtárik
  2. Martin Jaggi
  3. Jakub Konecný
  4. Sebastian U. Stich
  5. Ananda Theertha Suresh
  6. Peter Kairouz
  7. Qiang Yang
  8. Sai Praneeth Karimireddy

In Computer Vision and Pattern Recognition

  1. Sebastian U. Stich
  2. Jakub Konecný
  3. Martin Jaggi
  4. Jianyu Wang
  5. Oluwasanmi Koyejo
  6. Peter Richtárik
  7. Gauri Joshi
  8. Sai Praneeth Karimireddy

In Optimization & Training

  1. Peter Richtárik
  2. Jakub Konecný
  3. Martin Jaggi
  4. Sebastian U. Stich
  5. Ahmed Khaled
  6. Jianyu Wang
  7. Gauri Joshi
  8. H. Brendan McMahan

In ML Systems & Hardware

  1. Jakub Konecný
  2. Ahmed Khaled
  3. Peter Richtárik
  4. Martin Jaggi
  5. Sebastian U. Stich
  6. Jianyu Wang
  7. Oluwasanmi Koyejo
  8. Gauri Joshi

Citations in the corpus