Skip to main navigation Skip to search Skip to main content

Random Shuffling Beats SGD after Finite Epochs

  • Tsinghua University
  • Massachusetts Institute of Technology

Research output: Contribution to journalConference articlepeer-review

65 Scopus citations

Abstract

A long-standing problem in optimization is proving that RANDOMSHUFFLE, the withoutreplacement version of SGD, converges faster than (the usual) with-replacement SGD. Building upon (Gürbüzbalaban et al., 2015b), we present the first non-asymptotic results for this problem, proving that after a reasonable number of epochs RANDOMSHUFFLE converges faster than SGD. Specifically, we prove that for strongly convex, second-order smooth functions, the iterates of RANDOMSHUFFLE converge to the optimal solution as O(1/T2 +n3/T3), where n is the number of components in the objective, and T is number of iterations. This result implies that after O(n) epochs, RANDOMSHUFFLE is strictly better than SGD (which converges as O(1/T)). The key step toward showing this better dependence on T is the introduction of n into the bound; and as our analysis shows, in general a dependence on n is unavoidable without further changes. To understand how RANDOMSHUFFLE works in practice, we further explore two valuable settings: data sparsity and over-parameterization. For sparse data, RAN DOMSHUFFLE has the rate O (1/T2), again strictly better than SGD. Under a setting closely related to over-parameterization, RANDOMSHUFFLE is shown to converge faster than SGD after any arbitrary number of iterations. Finally, we extend the analysis of RANDOMSHUFFLE to smooth convex and some non-convex functions.

Original languageEnglish
Pages (from-to)2624-2633
Number of pages10
JournalProceedings of Machine Learning Research
Volume97
StatePublished - 2019
Externally publishedYes
Event36th International Conference on Machine Learning, ICML 2019 - Long Beach, United States
Duration: 9 Jun 201915 Jun 2019

Fingerprint

Dive into the research topics of 'Random Shuffling Beats SGD after Finite Epochs'. Together they form a unique fingerprint.

Cite this