Lune

PPoPP2020顶会

Taming unbalanced training workloads in deep learning with partial collective operations

Shigang Li, Tal Ben-Nun, Salvatore Di Girolamo, Dan Alistarh, Torsten Hoefler

摘要

Load imbalance pervasively exists in distributed deep learning training systems, either caused by the inherent imbalance in learned tasks or by the system itself. Traditional synchronous Stochastic Gradient Descent (SGD) achieves good accuracy for a wide variety of tasks, but relies on global synchronization to accumulate the gradients at every training step. In this paper, we propose eager-SGD, which relaxes the global synchronization for decentralized accumulation. To implement eager-SGD, we propose to use two partial collectives: solo and majority. With solo allreduce, the faster processes contribute their gradients eagerly without waiting for the slower processes, whereas with majority allreduce, at least half of the participants must contribute gradients before continuing, all without using a central parameter server. We theoretically prove the convergence of the algorithms and describe the partial collectives in detail. Experiments are conducted on a variety of neural networks and datasets. The results on load-imbalanced environments show that eager-SGD achieves 2.64 × speedup (ResNet-50 on Ima-geNet) over the asynchronous centralized SGD, and achieves 1.29 × speedup (ResNet-50 on ImageNet) and 1.27× speedup (LSTM on UCF101) over the state-of-the-art synchronous decentralized SGDs, without losing accuracy.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Near-optimal sparse allreduce for distributed deep learning 引用了 Asynchronous Decentralized SGD with Quantized and Local Updates
  • Near-optimal sparse allreduce for distributed deep learning 引用了 An in-depth analysis of the slingshot interconnect
  • Near-optimal sparse allreduce for distributed deep learning 引用了 Chimera: efficiently training large-scale neural networks with bidirectional pipelines
  • Chimera: efficiently training large-scale neural networks with bidirectional pipelines 引用了 Asynchronous Decentralized SGD with Quantized and Local Updates
  • Chimera: efficiently training large-scale neural networks with bidirectional pipelines 引用了 An in-depth analysis of the slingshot interconnect
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. Chimera: efficiently training large-scale neural networks with bidirectional pipelinesShigang Li, Torsten HoeflerSC 2021 · 124 次引用
  2. An in-depth analysis of the slingshot interconnectDaniele De Sensi, Salvatore Di Girolamo, Kim H. McMahon, Duncan Roweth 等SC 2020 · 122 次引用
  3. Heterogeneity-Aware Distributed Machine Learning Training via Partial ReduceXupeng Miao, Xiaonan Nie, Yingxia Shao, Zhi Yang 等SIGMOD 2021 · 64 次引用
  4. Asynchronous Decentralized SGD with Quantized and Local UpdatesGiorgi Nadiradze, Amirmojtaba Sabour, Peter Davies, Shigang Li 等NeurIPS 2021 · 61 次引用
  5. Near-optimal sparse allreduce for distributed deep learningShigang Li, Torsten HoeflerPPoPP 2022 · 57 次引用

相关 Paper

  1. SwiftFL: Enabling Speculative Training for On-Device Federated Deep LearningYuhui Zhang, Guang Yan, Xin Zhang, Zimu Guo 等EuroSys 2026
  2. Boosting Asynchronous Decentralized Learning with Model FragmentationSayan Biswas, Anne-Marie Kermarrec, Alexis Marouani, Rafael Pires 等WWW 2025 · 6 次引用
  3. CSER: Communication-efficient SGD with Error ResetCong Xie, Shuai Zheng, Oluwasanmi Koyejo, Indranil Gupta 等NeurIPS 2020 · 50 次引用
  4. Communication Algorithm-Architecture Co-Design for Distributed Deep LearningJiayi Huang, Pritam Majumder, Sungkeun Kim, Abdullah Muzahid 等ISCA 2021 · 44 次引用
  5. FlexReduce: Flexible All-reduce for Distributed Deep Learning on Asymmetric Network TopologyJinho Lee, Inseok Hwang, Soham Shah, Minsik ChoDAC 2020 · 21 次引用
黄昏的海面,两侧是细线勾勒的悬崖