GraB: Finding Provably Better Data Permutations than Random Reshuffling
Not on the map. Why?
Abstract (arXiv)
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 O(T-2/3) on smooth, non-convex objectives, faster than the O(n1/3T-2/3) obtained by random reshuffling, where n denotes the number of data points and T 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 O(nd) to just O(d) and computation from O(n2) to O(n), where d 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 100×.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 22 of its 47 references that are in the map. First posted on arXiv 22 May 2022.
Builds on
22 of 47 references.
References · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Curriculum Learning: A Surveycited by 259
- 2017Automated Curriculum Learning for Neural Networkscited by 257
- 2017Teacher-Student Curriculum Learningcited by 210
- 2017Regularizing and Optimizing LSTM Language Modelscited by 205
- 2013Minimizing Finite Sums with the Stochastic Average Gradientcited by 164
- 2013Stochastic Gradient Descent, Weighted Sampling, and the Randomized Kaczmarz algorithmcited by 133
- 2020Random Reshuffling: Simple Analysis with Vast Improvementscited by 115
- 2015Why Random Reshuffling Beats Stochastic Gradient Descentcited by 79
- 2018Random Shuffling Beats SGD after Finite Epochscited by 67
- 2015Incremental Gradient, Subgradient, and Proximal Methods for Convex Optimization: A Surveycited by 45
- 2015Convergence Rate of Incremental Gradient and Newton Methodscited by 27
10 more
- 2020Moniqua: Modulo Quantized Communication in Decentralized SGDcited by 24
- 2020Discrepancy Minimization via a Self-Balancing Walkcited by 22
- 2021Permutation-Based SGD: Is Random Optimal?cited by 17
- 2022Characterizing & Finding Good Data Orderings for Fast Convergence of Sequential Gradient Methodscited by 16
- 2021Variance Reduced Training with Stratified Sampling for Forecasting Modelscited by 14
- 2019On-Line Balancing of Random Inputscited by 9
- 2019Online Vector Balancing and Geometric Discrepancycited by 9
- 2020Online Discrepancy Minimization for Stochastic Arrivalscited by 5
- 2016Algorithmic Discrepancy Beyond Partial Coloringcited by 4
- 2019Online Geometric Discrepancy for Stochastic Arrivals with Applications to Envy Minimizationcited by 2
Built on by
Citing papers per year: 2023: 9; 2024: 4; 2025: 2; 2026: 4.
19 papers.
Sort:
By area:
- 2024LLMs learn governing principles of dynamical systems, revealing an in-context neural scaling lawcited by 32
- 2023Repeated Random Sampling for Minimizing the Time-to-Accuracy of Learningcited by 26
- 2023On The Impact of Machine Learning Randomness on Group Fairnesscited by 26
- 2023Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyondcited by 22
- 2025SonicMoE: Accelerating MoE with IO and Tile-aware Optimizationscited by 21
- 2023Mini-Batch Optimization of Contrastive Losscited by 8
- 2023Coordinating Distributed Example Orders for Provably Accelerated Trainingcited by 7
- 2023On Convergence of Incremental Gradient for Non-Convex Smooth Functionscited by 7
- 2025Low-Rank Thinningcited by 7
- 2026Optimizer Memory Makes Shuffle Order a First-Order Source of Fine-Tuning Noisecited by 7
- 2023High Probability Guarantees for Random Reshufflingcited by 5
- 2023Fast Convergence of Random Reshuffling under Over-Parameterization and the Polyak-L ojasiewicz Conditioncited by 1
7 more
- 2024Provably Faster Algorithms for Bilevel Optimization via Without-Replacement Samplingcited by 1
- 2023GraB-sampler: Optimal Permutation-based SGD Data Sampler for PyTorchcited by 0
- 2024Stochastic optimization with arbitrary recurrent data samplingcited by 0
- 2024Accelerating Federated Learning by Selecting Beneficial Herd of Local Gradientscited by 0
- 2026CFR without Unbiasedness: Deterministic Guarantees for Persistent Public-Chance Schedulescited by 0
- 2026Centered Permutation Prefixes for SGD with Random Reshuffling: Sharp Rates, H"older Geometry, and Composite Proximal Extensionscited by 0
- 2026Conflicting Supervision Moves Commitment, Not Capability: A 12.29σ arrangement effect that is exactly zero under a convention-agnostic scorecited by 0
- 2026Conflicting Supervision Moves Commitment, Not Capability: A 12.29σ arrangement effect that is exactly zero under a convention-agnostic score23 Sep 2026
- 2026Centered Permutation Prefixes for SGD with Random Reshuffling: Sharp Rates, H"older Geometry, and Composite Proximal Extensions4 Sep 2026
- 2026CFR without Unbiasedness: Deterministic Guarantees for Persistent Public-Chance Schedules14 Aug 2026
- 2026Optimizer Memory Makes Shuffle Order a First-Order Source of Fine-Tuning Noise28 Jun 2026
- 2025SonicMoE: Accelerating MoE with IO and Tile-aware Optimizations16 Dec 2025
- 2025Low-Rank Thinning17 Feb 2025
- 2024Provably Faster Algorithms for Bilevel Optimization via Without-Replacement Sampling7 Nov 2024
- 2024Accelerating Federated Learning by Selecting Beneficial Herd of Local Gradients25 Mar 2024
- 2024LLMs learn governing principles of dynamical systems, revealing an in-context neural scaling law1 Feb 2024
- 2024Stochastic optimization with arbitrary recurrent data sampling15 Jan 2024
- 2023High Probability Guarantees for Random Reshuffling20 Nov 2023
- 2023GraB-sampler: Optimal Permutation-based SGD Data Sampler for PyTorch28 Sep 2023
7 more
- 2023Mini-Batch Optimization of Contrastive Loss12 Jul 2023
- 2023On The Impact of Machine Learning Randomness on Group Fairness9 Jul 2023
- 2023On Convergence of Incremental Gradient for Non-Convex Smooth Functions30 May 2023
- 2023Repeated Random Sampling for Minimizing the Time-to-Accuracy of Learning28 May 2023
- 2023Fast Convergence of Random Reshuffling under Over-Parameterization and the Polyak-L ojasiewicz Condition2 Apr 2023
- 2023Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyond13 Mar 2023
- 2023Coordinating Distributed Example Orders for Provably Accelerated Training2 Feb 2023
- 2024LLMs learn governing principles of dynamical systems, revealing an in-context neural scaling lawcited by 32
- 2023Repeated Random Sampling for Minimizing the Time-to-Accuracy of Learningcited by 26
- 2023On The Impact of Machine Learning Randomness on Group Fairnesscited by 26
- 2023Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyondcited by 22
- 2023Mini-Batch Optimization of Contrastive Losscited by 8
- 2023Coordinating Distributed Example Orders for Provably Accelerated Trainingcited by 7
- 2023On Convergence of Incremental Gradient for Non-Convex Smooth Functionscited by 7
- 2025Low-Rank Thinningcited by 7
- 2026Optimizer Memory Makes Shuffle Order a First-Order Source of Fine-Tuning Noisecited by 7
- 2023High Probability Guarantees for Random Reshufflingcited by 5
- 2023Fast Convergence of Random Reshuffling under Over-Parameterization and the Polyak-L ojasiewicz Conditioncited by 1
- 2024Provably Faster Algorithms for Bilevel Optimization via Without-Replacement Samplingcited by 1
12 most cited of 18 All 18 (JSON)
- 2026Conflicting Supervision Moves Commitment, Not Capability: A 12.29σ arrangement effect that is exactly zero under a convention-agnostic score23 Sep 2026
- 2026Centered Permutation Prefixes for SGD with Random Reshuffling: Sharp Rates, H"older Geometry, and Composite Proximal Extensions4 Sep 2026
- 2026CFR without Unbiasedness: Deterministic Guarantees for Persistent Public-Chance Schedules14 Aug 2026
- 2026Optimizer Memory Makes Shuffle Order a First-Order Source of Fine-Tuning Noise28 Jun 2026
- 2025Low-Rank Thinning17 Feb 2025
- 2024Provably Faster Algorithms for Bilevel Optimization via Without-Replacement Sampling7 Nov 2024
- 2024Accelerating Federated Learning by Selecting Beneficial Herd of Local Gradients25 Mar 2024
- 2024LLMs learn governing principles of dynamical systems, revealing an in-context neural scaling law1 Feb 2024
- 2024Stochastic optimization with arbitrary recurrent data sampling15 Jan 2024
- 2023High Probability Guarantees for Random Reshuffling20 Nov 2023
- 2023GraB-sampler: Optimal Permutation-based SGD Data Sampler for PyTorch28 Sep 2023
- 2023Mini-Batch Optimization of Contrastive Loss12 Jul 2023
12 newest of 18 All 18 (JSON)