Don't Use Large Mini-Batches, Use Local SGD

By Tao Lin, Sebastian U. Stich, Martin Jaggi. 2018

470 citations recorded by the source corpus.

Mini-batch stochastic gradient methods (SGD) are state of the art for distributed training of deep neural networks. Drastic increases in the mini-batch sizes have lead to key efficiency and scalability gains in recent years. However, progress faces a major roadblock, as models trained with large batches often do not generalize well, i.e. they do not show good accuracy on new data. As a remedy, we propose a \emph{post-local} SGD and show that it significantly improves the generalization performance compared to large-batch training on standard benchmarks while enjoying the same efficiency (time-to-accuracy) and scalability. We further provide an extensive study of the communication efficiency vs. performance trade-offs associated with a host of \emph{local SGD} variants.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression, Optimization & Training

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. Jianyu Wang
  6. Qiang Yang
  7. Aryan Mokhtari
  8. Virginia Smith

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Bernt Schiele
  5. Yi Yang
  6. Jitendra Malik
  7. Andrea Vedaldi
  8. Ming-Hsuan Yang

In Efficiency & Compression

  1. Peter Richtárik
  2. Medhi Bennis
  3. Jakub Konecný
  4. Martin Jaggi
  5. Ahmed Khaled
  6. Cong Xie
  7. Sebastian U. Stich
  8. Oluwasanmi Koyejo

In Optimization & Training

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

Citations in the corpus