GraB: Finding Provably Better Data Permutations than Random Reshuffling
Yucheng Lu, Wentao Guo, Christopher De Sa
摘要
Random reshuffling, which randomly permutes the dataset each epoch, is widely adopted in model training because it yields faster convergence than with-replacement sampling. Recent studies indicate greedily chosen data orderings can further speed up convergence empirically, at the cost of using more computation and memory. However, greedy ordering lacks theoretical justification and has limited utility due to its non-trivial memory and computation overhead. In this paper, we first formulate an example-ordering framework named herding and answer affirmatively that SGD with herding converges at the rate on smooth, non-convex objectives, faster than the obtained by random reshuffling, where denotes the number of data points and denotes the total number of iterations. To reduce the memory overhead, we leverage discrepancy minimization theory to propose an online Gradient Balancing algorithm (GraB) that enjoys the same rate as herding, while reducing the memory usage from to just and computation from to , where denotes the model dimension. We show empirically on applications including MNIST, CIFAR10, WikiText and GLUE that GraB can outperform random reshuffling in terms of both training and validation performance, and even outperform state-of-the-art greedy ordering while reducing memory usage over .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training 引用了 A General Analysis of Example-Selection for Stochastic Gradient Descent
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training 引用了 Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training 引用了 Random Reshuffling: Simple Analysis with Vast Improvements
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training 引用了 Variance Reduced Training with Stratified Sampling for Forecasting Models
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated Training 引用了 Random Reshuffling is Not Always Better
- Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond 引用了 A General Analysis of Example-Selection for Stochastic Gradient Descent
- Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond 引用了 Random Reshuffling: Simple Analysis with Vast Improvements
- On the Last-Iterate Convergence of Shuffling Gradient Methods 引用了 Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond
- On the Last-Iterate Convergence of Shuffling Gradient Methods 引用了 Random Reshuffling: Simple Analysis with Vast Improvements
- Repeated Random Sampling for Minimizing the Time-to-Accuracy of Learning 引用了 Random Reshuffling is Not Always Better
引用它的顶会 Paper15
- Repeated Random Sampling for Minimizing the Time-to-Accuracy of LearningPatrik Okanovic, Roger Waleffe, Vasilis Mageirakos, Konstantinos E. Nikolakakis 等ICLR 2024 · 29 次引用
- Tighter Lower Bounds for Shuffling SGD: Random Permutations and BeyondJaeyoung Cha, Jaewook Lee, Chulhee YunICML 2023 · 26 次引用
- SonicMoE: Accelerating MoE with IO and Tile-aware OptimizationsWentao Guo, Mayank Mishra, Xinle Cheng, Ion Stoica 等ICLR 2026 · 22 次引用
- On the Last-Iterate Convergence of Shuffling Gradient MethodsZijian Liu, Zhengyuan ZhouICML 2024 · 11 次引用
- CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated TrainingA. Feder Cooper, Wentao Guo, Khiem Pham, Tiancheng Yuan 等NeurIPS 2023 · 9 次引用
它引用的 Paper8
- Random Reshuffling: Simple Analysis with Vast ImprovementsKonstantin Mishchenko, Ahmed Khaled, Peter RichtárikNeurIPS 2020 · 172 次引用
- Moniqua: Modulo Quantized Communication in Decentralized SGDYucheng Lu, Christopher De SaICML 2020 · 53 次引用
- Random Reshuffling is Not Always BetterChristopher De SaNeurIPS 2020 · 27 次引用
- A General Analysis of Example-Selection for Stochastic Gradient DescentYucheng Lu, Si Yi Meng, Christopher De SaICLR 2022 · 23 次引用
- Variance Reduced Training with Stratified Sampling for Forecasting ModelsYucheng Lu, Youngsuk Park, Lifan Chen, Yuyang Wang 等ICML 2021 · 20 次引用
相关 Paper
- Sampling without Replacement Leads to Faster Rates in Finite-Sum Minimax OptimizationAniket Das, Bernhard Schölkopf, Michael MuehlebachNeurIPS 2022 · 11 次引用
- Proximal and Federated Random ReshufflingKonstantin Mishchenko, Ahmed Khaled, Peter RichtárikICML 2022 · 39 次引用
- On Convergence of Incremental Gradient for Non-convex Smooth FunctionsAnastasia Koloskova, Nikita Doikov, Sebastian U. Stich, Martin JaggiICML 2024 · 6 次引用
- Tighter Convergence Bounds for Shuffled SGD via Primal-Dual PerspectiveXufeng Cai, Cheuk Yin Lin, Jelena DiakonikolasNeurIPS 2024 · 9 次引用
- An Improved Analysis and Rates for Variance Reduction under Without-replacement Sampling OrdersXinmeng Huang, Kun Yuan, Xianghui Mao, Wotao YinNeurIPS 2021 · 1 次引用
