A General Analysis of Example-Selection for Stochastic Gradient Descent
Yucheng Lu, Si Yi Meng, Christopher De Sa
Abstract
Training example order in SGD has long been known to affect convergence rate. Recent results show that accelerated rates are possible in a variety of cases for permutation-based sample orders, in which each example from the training set is used once before any example is reused. In this paper, we develop a broad condition on the sequence of examples used by SGD that is sufficient to prove tight convergence rates in both strongly convex and non-convex settings. We show that our approach suffices to recover, and in some cases improve upon, previous state-of-the-art analyses for four known example-selection schemes: (1) shuffle once, (2) random reshuffling, (3) random reshuffling with data echoing, and (4) Markov Chain Gradient Descent. Motivated by our theory, we propose two new example-selection approaches. First, using quasi-Monte-Carlo methods, we achieve unprecedented accelerated convergence rates for learning with data augmentation. Second, we greedily choose a fixed scan-order to minimize the metric used in our condition and show that we can obtain more accurate solutions from the same number of epochs of SGD. We conclude by empirically demonstrating the utility of our approach for both convex linear-model and deep learning tasks. Our code is available at: https://github.com/EugeneLYC/qmc-ordering.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
14 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
its abstract · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training cites Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training cites GraB: Finding Provably Better Data Permutations than Random Reshuffling
- Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond cites GraB: Finding Provably Better Data Permutations than Random Reshuffling
- On Convergence of Incremental Gradient for Non-convex Smooth Functions cites CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training
- On Convergence of Incremental Gradient for Non-convex Smooth Functions cites Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond
- On Convergence of Incremental Gradient for Non-convex Smooth Functions cites GraB: Finding Provably Better Data Permutations than Random Reshuffling
Cited by top-tier papers14
- Tighter Lower Bounds for Shuffling SGD: Random Permutations and BeyondJaeyoung Cha, Jaewook Lee, Chulhee YunICML 2023 · 26 citations
- GraB: Finding Provably Better Data Permutations than Random ReshufflingYucheng Lu, Wentao Guo, Christopher De SaNeurIPS 2022 · 23 citations
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated TrainingA. Feder Cooper, Wentao Guo, Khiem Pham, Tiancheng Yuan et al.NeurIPS 2023 · 9 citations
- Langevin Quasi-Monte CarloSifan LiuNeurIPS 2023 · 8 citations
- On Convergence of Incremental Gradient for Non-convex Smooth FunctionsAnastasia Koloskova, Nikita Doikov, Sebastian U. Stich, Martin JaggiICML 2024 · 6 citations
Related papers
- Sampling without Replacement Leads to Faster Rates in Finite-Sum Minimax OptimizationAniket Das, Bernhard Schölkopf, Michael MuehlebachNeurIPS 2022 · 11 citations
- Random Reshuffling: Simple Analysis with Vast ImprovementsKonstantin Mishchenko, Ahmed Khaled, Peter RichtárikNeurIPS 2020 · 172 citations
- Tighter Convergence Bounds for Shuffled SGD via Primal-Dual PerspectiveXufeng Cai, Cheuk Yin Lin, Jelena DiakonikolasNeurIPS 2024 · 9 citations
- Permutation-Based SGD: Is Random Optimal?Shashank Rajput, Kangwook Lee, Dimitris S. PapailiopoulosICLR 2022 · 15 citations
- Random Reshuffling is Not Always BetterChristopher De SaNeurIPS 2020 · 27 citations
