Lune

NeurIPS2022顶会

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 O(T−2/3)O(T^{-2/3}) on smooth, non-convex objectives, faster than the O(n1/3T−2/3)O(n^{1/3}T^{-2/3}) obtained by random reshuffling, where nn denotes the number of data points and TT 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)O(nd) to just O(d)O(d) and computation from O(n2)O(n^2) to O(n)O(n), where dd 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×100\times.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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

  1. Repeated Random Sampling for Minimizing the Time-to-Accuracy of LearningPatrik Okanovic, Roger Waleffe, Vasilis Mageirakos, Konstantinos E. Nikolakakis 等ICLR 2024 · 29 次引用
  2. Tighter Lower Bounds for Shuffling SGD: Random Permutations and BeyondJaeyoung Cha, Jaewook Lee, Chulhee YunICML 2023 · 26 次引用
  3. SonicMoE: Accelerating MoE with IO and Tile-aware OptimizationsWentao Guo, Mayank Mishra, Xinle Cheng, Ion Stoica 等ICLR 2026 · 22 次引用
  4. On the Last-Iterate Convergence of Shuffling Gradient MethodsZijian Liu, Zhengyuan ZhouICML 2024 · 11 次引用
  5. CD-GraB: Coordinating Distributed Example Orders for Provably Accelerated TrainingA. Feder Cooper, Wentao Guo, Khiem Pham, Tiancheng Yuan 等NeurIPS 2023 · 9 次引用

它引用的 Paper8

  1. Random Reshuffling: Simple Analysis with Vast ImprovementsKonstantin Mishchenko, Ahmed Khaled, Peter RichtárikNeurIPS 2020 · 172 次引用
  2. Moniqua: Modulo Quantized Communication in Decentralized SGDYucheng Lu, Christopher De SaICML 2020 · 53 次引用
  3. Random Reshuffling is Not Always BetterChristopher De SaNeurIPS 2020 · 27 次引用
  4. A General Analysis of Example-Selection for Stochastic Gradient DescentYucheng Lu, Si Yi Meng, Christopher De SaICLR 2022 · 23 次引用
  5. Variance Reduced Training with Stratified Sampling for Forecasting ModelsYucheng Lu, Youngsuk Park, Lifan Chen, Yuyang Wang 等ICML 2021 · 20 次引用

相关 Paper

  1. Sampling without Replacement Leads to Faster Rates in Finite-Sum Minimax OptimizationAniket Das, Bernhard Schölkopf, Michael MuehlebachNeurIPS 2022 · 11 次引用
  2. Proximal and Federated Random ReshufflingKonstantin Mishchenko, Ahmed Khaled, Peter RichtárikICML 2022 · 39 次引用
  3. On Convergence of Incremental Gradient for Non-convex Smooth FunctionsAnastasia Koloskova, Nikita Doikov, Sebastian U. Stich, Martin JaggiICML 2024 · 6 次引用
  4. Tighter Convergence Bounds for Shuffled SGD via Primal-Dual PerspectiveXufeng Cai, Cheuk Yin Lin, Jelena DiakonikolasNeurIPS 2024 · 9 次引用
  5. An Improved Analysis and Rates for Variance Reduction under Without-replacement Sampling OrdersXinmeng Huang, Kun Yuan, Xianghui Mao, Wotao YinNeurIPS 2021 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖