Lune

PPoPP2022顶会

Near-optimal sparse allreduce for distributed deep learning

Shigang Li, Torsten Hoefler

摘要

Communication overhead is one of the major obstacles to train large deep learning models at scale. Gradient sparsification is a promising technique to reduce the communication volume. However, it is very challenging to obtain real performance improvement because of (1) the difficulty of achieving an scalable and efficient sparse allreduce algorithm and (2) the sparsification overhead. This paper proposes Ok-Topk, a scheme for distributed training with sparse gradients. Ok-Topk integrates a novel sparse allreduce algorithm (less than 6k communication volume which is asymptotically optimal) with the decentralized parallel Stochastic Gradient Descent (SGD) optimizer, and its convergence is proved. To reduce the sparsification overhead, Ok-Topk efficiently selects the top-k gradient values according to an estimated threshold. Evaluations are conducted on the Piz Daint supercomputer with neural network models from different deep learning domains. Empirical results show that Ok-Topk achieves similar model accuracy to dense allreduce. Compared with the optimized dense and the state-of-the-art sparse allreduces, Ok-Topk is more scalable and significantly improves training throughput (e.g., 3.29x-12.95x improvement for BERT on 256 GPUs).

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Optimus-CC: Efficient Large NLP Model Training with 3D Parallelism Aware Communication Compression 引用了 DAPPLE: a pipelined data parallel approach for training large models
  • Optimus-CC: Efficient Large NLP Model Training with 3D Parallelism Aware Communication Compression 引用了 Language Models are Few-Shot Learners
  • Optimus-CC: Efficient Large NLP Model Training with 3D Parallelism Aware Communication Compression 引用了 Chimera: efficiently training large-scale neural networks with bidirectional pipelines
  • Memory-Efficient Pipeline-Parallel DNN Training 引用了 DAPPLE: a pipelined data parallel approach for training large models
  • Memory-Efficient Pipeline-Parallel DNN Training 引用了 Language Models are Few-Shot Learners
  • HammingMesh: A Network Topology for Large-Scale Deep Learning 引用了 Language Models are Few-Shot Learners
  • HammingMesh: A Network Topology for Large-Scale Deep Learning 引用了 Chimera: efficiently training large-scale neural networks with bidirectional pipelines
  • Chimera: efficiently training large-scale neural networks with bidirectional pipelines 引用了 Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
  • Chimera: efficiently training large-scale neural networks with bidirectional pipelines 引用了 Memory-Efficient Pipeline-Parallel DNN Training
  • Chimera: efficiently training large-scale neural networks with bidirectional pipelines 引用了 DAPPLE: a pipelined data parallel approach for training large models
  • Chimera: efficiently training large-scale neural networks with bidirectional pipelines 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Optimus-CC: Efficient Large NLP Model Training with 3D Parallelism Aware Communication CompressionJaeyong Song, Jinkyu Yim, Jaewon Jung, Hongsun Jang 等ASPLOS 2023 · 37 次引用
  2. VeLoRA: Memory Efficient Training using Rank-1 Sub-Token ProjectionsRoy Miles, Pradyumna Reddy, Ismail Elezi, Jiankang DengNeurIPS 2024 · 22 次引用
  3. HammingMesh: A Network Topology for Large-Scale Deep LearningTorsten Hoefler, Tommaso Bonato, Daniele De Sensi, Salvatore Di Girolamo 等SC 2022 · 20 次引用
  4. CO2: Efficient Distributed Training with Full Communication-Computation OverlapWeigao Sun, Zhen Qin, Weixuan Sun, Shidi Li 等ICLR 2024 · 17 次引用
  5. Similarity, Compression and Local Steps: Three Pillars of Efficient Communications for Distributed Variational InequalitiesAleksandr Beznosikov, Martin Takác, Alexander V. GasnikovNeurIPS 2023 · 15 次引用

它引用的 Paper11

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu 等ICLR 2020 · 1,170 次引用
  3. Memory-Efficient Pipeline-Parallel DNN TrainingDeepak Narayanan, Amar Phanishayee, Kaiyu Shi, Xie Chen 等ICML 2021 · 283 次引用
  4. DAPPLE: a pipelined data parallel approach for training large modelsShiqing Fan, Yi Rong, Chen Meng, Zongyan Cao 等PPoPP 2021 · 224 次引用
  5. Chimera: efficiently training large-scale neural networks with bidirectional pipelinesShigang Li, Torsten HoeflerSC 2021 · 124 次引用

相关 Paper

  1. SparDL: Distributed Deep Learning Training with Efficient Sparse CommunicationMinjun Zhao, Yichen Yin, Yuren Mao, Qing Liu 等ICDE 2024 · 6 次引用
  2. SwitchTop-k: Scaling Top-k Compression on Programmable SwitchesYijun Li, Jiawei Huang, Jingling Liu, Zhaoyi Li 等KDD 2025
  3. ADTopk: All-Dimension Top-k Compression for High-Performance Data-Parallel DNN TrainingZhangqiang Ming, Yuchong Hu, Wenxiang Zhou, Xinjue Zheng 等HPDC 2024 · 5 次引用
  4. Communication-Efficient Distributed Deep Learning with Merged Gradient Sparsification on GPUsShaohuai Shi, Qiang Wang, Xiaowen Chu, Bo Li 等INFOCOM 2020 · 66 次引用
  5. Communication Algorithm-Architecture Co-Design for Distributed Deep LearningJiayi Huang, Pritam Majumder, Sungkeun Kim, Abdullah Muzahid 等ISCA 2021 · 44 次引用
黄昏的海面,两侧是细线勾勒的悬崖