Local SGD with Periodic Averaging: Tighter Analysis and Adaptive Synchronization

By Farzin Haddadpour, Mohammad Mahdi Kamani, Mehrdad Mahdavi, Viveck R. Cadambe. 2019

228 citations recorded by the source corpus.

Communication overhead is one of the key challenges that hinders the scalability of distributed optimization algorithms. In this paper, we study local distributed SGD, where data is partitioned among computation nodes, and the computation nodes perform local updates with periodically exchanging the model among the workers to perform averaging. While local SGD is empirically shown to provide promising results, a theoretical understanding of its performance remains open. In this paper, we strengthen convergence analysis for local SGD, and show that local SGD can be far less expensive and applied far more generally than current theory suggests. Specifically, we show that for loss functions that satisfy the Polyak-Kojasiewicz condition, $O((pT)^{1/3})$ rounds of communication suffice to achieve a linear speed up, that is, an error of $O(1/pT)$, where $T$ is the total number of model updates at each worker. This is in contrast with previous work which required higher number of communication rounds, as well as was limited to strongly convex loss functions, for a similar asymptotic performance. We also develop an adaptive synchronization scheme that provides a general condition for linear speed up. Finally, we validate the theory with experimental results, running over AWS EC2 clouds and an internal GPUs cluster.

Subfields: Artificial Intelligence, Computer Networks and Communications, Statistical and Nonlinear Physics, 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. Martin Jaggi
  2. Peter Richtárik
  3. Jakub Konecný
  4. Sebastian U. Stich
  5. Peter Kairouz
  6. Qiang Yang
  7. H. Brendan McMahan
  8. Ananda Theertha Suresh

In Computer Networks and Communications

  1. Sebastian U. Stich
  2. Martin Jaggi
  3. Jakub Konecný
  4. Aryan Mokhtari
  5. H. Vincent Poor
  6. Aurélien Bellet
  7. Jianyu Wang
  8. Medhi Bennis

In Statistical and Nonlinear Physics

  1. Prateek Mittal
  2. Zachary B. Charles
  3. Dawn Song
  4. Oluwasanmi Koyejo
  5. Gauri Joshi
  6. Zheng Xu
  7. H. Brendan McMahan
  8. Feng Yan

In Optimization & Training

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

Citations in the corpus