mlsanityData to 7 Oct 2026

PipeOptim: Ensuring Effective 1F1B Schedule with Optimizer-Dependent Weight Prediction

arXiv 2312.00839 ↗First posted 1 Dec 2023cs.LG cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Asynchronous pipeline model parallelism with a "1F1B" (one forward, one backward) schedule generates little bubble overhead and always provides quite a high throughput. However, the "1F1B" schedule inevitably leads to weight inconsistency and weight staleness issues due to the cross-training of different mini-batches across GPUs. To simultaneously address these two problems, in this paper, we propose an optimizer-dependent weight prediction strategy (a.k.a PipeOptim) for asynchronous pipeline training. The key insight of our proposal is that we employ a weight prediction strategy in the forward pass to ensure that each mini-batch uses consistent and staleness-free weights to compute the forward pass. To be concrete, we first construct the weight prediction scheme based on the update rule of the used optimizer when training the deep neural network models. Then throughout the "1F1B" pipelined training, each mini-batch is mandated to execute weight prediction ahead of the forward pass, subsequently employing the predicted weights to perform the forward pass. As a result, PipeOptim 1) inherits the advantage of the "1F1B" schedule and generates pretty high throughput, and 2) can ensure effective parameter learning regardless of the type of the used optimizer. To verify the effectiveness of our proposal, we conducted extensive experimental evaluations using eight different deep-learning models spanning three machine-learning tasks including image classification, sentiment analysis, and machine translation. The experiment results demonstrate that PipeOptim outperforms the popular pipelined approaches including GPipe, PipeDream, PipeDream-2BW, and SpecTrain. The code of PipeOptim can be accessible at https://github.com/guanleics/PipeOptim.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 35 of its 60 references that are in the map. First posted on arXiv 1 Dec 2023.

Builds on

35 of 60 references.

References · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2020Language Models are Few-Shot Learnerscited by 32,199
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  9. 2014Going Deeper with Convolutionscited by 4,231
  10. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  11. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  12. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
23 more
  1. 2020Pre-Trained Image Processing Transformercited by 891
  2. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  3. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  4. 2018Deep Audio-Visual Speech Recognitioncited by 318
  5. 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
  6. 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
  7. 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
  8. 2014Deep learning with Elastic Averaging SGDcited by 90
  9. 2019Transformer-based Acoustic Modeling for Hybrid Speech Recognitioncited by 86
  10. 2016Edinburgh Neural Machine Translation Systems for WMT 16cited by 76
  11. 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
  12. 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 54
  13. 2019Scalable Deep Learning on Distributed Infrastructures: Challenges, Techniques and Toolscited by 40
  14. 2018Efficient and Robust Parallel DNN Training through Model Parallelism on Multi-GPU Platformcited by 28
  15. 2022PipeFisher: Efficient Training of Large Language Models Using Pipelining and Fisher Information Matricescited by 24
  16. 2019Red-blue pebbling revisited: near optimal parallel matrix-matrix multiplicationcited by 21
  17. 2019XPipe: Efficient Pipeline Model Parallelism for Multi-GPU DNN Trainingcited by 20
  18. 2023Hanayo: Harnessing Wave-like Pipeline Parallelism for Enhanced Large Model Training Efficiencycited by 20
  19. 2017Residual LSTM: Design of a Deep Recurrent Architecture for Distant Speech Recognitioncited by 19
  20. 2017AMPNet: Asynchronous Model-Parallel Training for Dynamic Neural Networkscited by 12
  21. 2023Weight Prediction Boosts the Convergence of AdamWcited by 8
  22. 2023XGrad: Boosting Gradient-Based Optimizers With Weight Predictioncited by 5
  23. 2023AdaPlus: Integrating Nesterov Momentum and Precise Stepsize Adjustment on AdamW Basiscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.