Parallel Restarted SGD with Faster Convergence and Less Communication: Demystifying Why Model Averaging Works for Deep Learning

By Hao Yu, Sen Yang, Shenghuo Zhu. 2018

686 citations recorded by the source corpus.

In distributed training of deep neural networks, parallel minibatch SGD is widely used to speed up the training process by using multiple workers. It uses multiple workers to sample local stochastic gradients in parallel, aggregates all gradients in a single server to obtain the average, and updates each worker’s local model using a SGD update with the averaged gradient. Ideally, parallel mini-batch SGD can achieve a linear speed-up of the training time (with respect to the number of workers) compared with SGD over a single worker. However, such linear scalability in practice is significantly limited by the growing demand for gradient communication as more workers are involved. Model averaging, which periodically averages individual models trained over parallel workers, is another common practice used for distributed training of deep neural networks since (Zinkevich et al. 2010) (McDonald, Hall, and Mann 2010). Compared with parallel mini-batch SGD, the communication overhead of model averaging is significantly reduced. Impressively, tremendous experimental works have verified that model averaging can still achieve a good speed-up of the training time as long as the averaging interval is carefully controlled. However, it remains a mystery in theory why such a simple heuristic works so well. This paper provides a thorough and rigorous theoretical study on why model averaging can work as well as parallel mini-batch SGD with significantly less communication overhead.

Subfields: Artificial Intelligence, 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. Jianyu Wang
  4. Gauri Joshi
  5. Jakub Konecný
  6. Sebastian U. Stich
  7. Mehrdad Mahdavi
  8. H. Vincent Poor

In Optimization & Training

  1. Peter Richtárik
  2. Jianyu Wang
  3. Gauri Joshi
  4. Sebastian U. Stich
  5. Martin Jaggi
  6. Mehrdad Mahdavi
  7. Jakub Konecný
  8. Aryan Mokhtari

In ML Systems & Hardware

  1. Peter Richtárik
  2. Ahmed Khaled
  3. Deepesh Data
  4. Suhas N. Diggavi
  5. H. Vincent Poor
  6. Jianyu Wang
  7. Martin Jaggi
  8. Medhi Bennis

Citations in the corpus