SGD: General Analysis and Improved Rates

By Robert Mansel Gower, Nicolas Loizou, Xun Qian, Alibek Sailanbayev, Egor Shulgin, Peter Richtárik. 2019

484 citations recorded by the source corpus.

We propose a general yet simple theorem describing the convergence of SGD under the arbitrary sampling paradigm. Our theorem describes the convergence of an infinite array of variants of SGD, each of which is associated with a specific probability law governing the data selection rule used to form mini-batches. This is the first time such an analysis is performed, and most of our variants of SGD were never explicitly considered in the literature before. Our analysis relies on the recently introduced notion of expected smoothness and does not rely on a uniform bound on the variance of the stochastic gradients. By specializing our theorem to different mini-batching strategies, such as sampling with replacement and independent sampling, we derive exact expressions for the stepsize as a function of the mini-batch size. With this we can also determine the mini-batch size that optimizes the total complexity, and show explicitly that as the variance of the stochastic gradient evaluated at the minimum grows, so does the optimal mini-batch size. For zero variance, the optimal mini-batch size is one. Moreover, we prove insightful stepsize-switching rules which describe when one should switch from a constant to a decreasing stepsize regime.

Subfields: Artificial Intelligence, Management Science and Operations Research, 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. Nicolas Loizou
  3. Sebastian U. Stich
  4. Martin Jaggi
  5. Simon Lacoste-Julien
  6. Ahmed Khaled
  7. Filip Hanzely
  8. Konstantin Mishchenko

In Management Science and Operations Research

  1. Peter Richtárik
  2. Nicolas Loizou
  3. Sebastian U. Stich
  4. Filip Hanzely
  5. Simon Lacoste-Julien
  6. Robert Mansel Gower
  7. Ioannis Mitliagkas
  8. Ahmed Khaled

In Optimization & Training

  1. Peter Richtárik
  2. Nicolas Loizou
  3. Simon Lacoste-Julien
  4. Sebastian U. Stich
  5. Ahmed Khaled
  6. Martin Jaggi
  7. Filip Hanzely
  8. Konstantin Mishchenko

Citations in the corpus