Asynchronous SGD Beats Minibatch SGD Under Arbitrary Delays

Konstantin Mishchenko, Francis Bach, Mathieu Even, Blake Woodworth
6/15/2022
math.OCcs.DCcs.LG

Official code: konstmish/asynchronous_sgd (8 stars, Jupyter Notebook, last commit 2022-09-26).

Abstract

The existing analysis of asynchronous stochastic gradient descent (SGD) degrades dramatically when any delay is large, giving the impression that performance depends primarily on the delay. On the contrary, we prove much better guarantees for the same asynchronous SGD algorithm regardless of the delays in the gradients, depending instead just on the number of parallel devices used to implement the algorithm.

Show full abstract

Our guarantees are strictly better than the existing analyses, and we also argue that asynchronous SGD outperforms synchronous minibatch SGD in the settings we consider. For our analysis, we introduce a novel recursion based on "virtual iterates" and delay-adaptive stepsizes, which allow us to derive state-of-the-art guarantees for both convex and non-convex objectives.

View on arXivView PDF

Code Implementations(1)

Code used for paper on Asynchronous SGD published at NeurIPS 2022

85Jupyter NotebookSep 26, 20224 years ago

Similar Papers

Cite this paper

@article{mishchenko2022asynchronous,
  title  = {Asynchronous SGD Beats Minibatch SGD Under Arbitrary Delays},
  author = {Konstantin Mishchenko and Francis Bach and Mathieu Even and Blake Woodworth},
  year   = {2022},
  eprint = {2206.07638},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.07638}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.07638.svg)](https://codeofpaper.com/paper/2206.07638)

Discussion