GraB-sampler: Optimal Permutation-based SGD Data Sampler for PyTorch
Not on the map. Why?
Abstract (arXiv)
The online Gradient Balancing (GraB) algorithm greedily choosing the examples ordering by solving the herding problem using per-sample gradients is proved to be the theoretically optimal solution that guarantees to outperform Random Reshuffling. However, there is currently no efficient implementation of GraB for the community to easily use it. This work presents an efficient Python library, textitGraB-sampler, that allows the community to easily use GraB algorithms and proposes 5 variants of the GraB algorithm. The best performance result of the GraB-sampler reproduces the training loss and test accuracy results while only in the cost of 8.7% training time overhead and 0.85% peak GPU memory usage overhead.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 11 references that are in the map. First posted on arXiv 28 Sep 2023.
Builds on
5 of 11 references.
References · 5
- 2021Kernel Thinningcited by 47
- 2020Discrepancy Minimization via a Self-Balancing Walkcited by 22
- 2023Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyondcited by 21
- 2022GraB: Finding Provably Better Data Permutations than Random Reshufflingcited by 18
- 2023Coordinating Distributed Example Orders for Provably Accelerated Trainingcited by 7
Built on by
Not cited yet.