PipeOptim: Ensuring Effective 1F1B Schedule with Optimizer-Dependent Weight Prediction
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
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2014Going Deeper with Convolutionscited by 4,231
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
23 more
- 2020Pre-Trained Image Processing Transformercited by 891
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2018Deep Audio-Visual Speech Recognitioncited by 318
- 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
- 2020DAPPLE: A Pipelined Data Parallel Approach for Training Large Modelscited by 100
- 2014Deep learning with Elastic Averaging SGDcited by 90
- 2019Transformer-based Acoustic Modeling for Hybrid Speech Recognitioncited by 86
- 2016Edinburgh Neural Machine Translation Systems for WMT 16cited by 76
- 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
- 2019PipeMare: Asynchronous Pipeline Parallel DNN Trainingcited by 54
- 2019Scalable Deep Learning on Distributed Infrastructures: Challenges, Techniques and Toolscited by 40
- 2018Efficient and Robust Parallel DNN Training through Model Parallelism on Multi-GPU Platformcited by 28
- 2022PipeFisher: Efficient Training of Large Language Models Using Pipelining and Fisher Information Matricescited by 24
- 2019Red-blue pebbling revisited: near optimal parallel matrix-matrix multiplicationcited by 21
- 2019XPipe: Efficient Pipeline Model Parallelism for Multi-GPU DNN Trainingcited by 20
- 2023Hanayo: Harnessing Wave-like Pipeline Parallelism for Enhanced Large Model Training Efficiencycited by 20
- 2017Residual LSTM: Design of a Deep Recurrent Architecture for Distant Speech Recognitioncited by 19
- 2017AMPNet: Asynchronous Model-Parallel Training for Dynamic Neural Networkscited by 12
- 2023Weight Prediction Boosts the Convergence of AdamWcited by 8
- 2023XGrad: Boosting Gradient-Based Optimizers With Weight Predictioncited by 5
- 2023AdaPlus: Integrating Nesterov Momentum and Precise Stepsize Adjustment on AdamW Basiscited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Corecited by 16
- 2026The Rise of Sparse Mixture-of-Experts: A Survey from Algorithmic Foundations to Decentralized Architectures and Vertical Domain Applicationscited by 2
- 2026Breaking the Bubble: Asynchronous Pipeline Parallel Training with Bounded Weight Inconsistencycited by 0
- 2026One-Step Gradient Delay is Not a Barrier for Large-Scale Asynchronous Pipeline Parallel LLM Pretrainingcited by 0
- 2026One-Step Gradient Delay is Not a Barrier for Large-Scale Asynchronous Pipeline Parallel LLM Pretraining29 Jun 2026
- 2026Breaking the Bubble: Asynchronous Pipeline Parallel Training with Bounded Weight Inconsistency5 Jun 2026
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Core8 Mar 2026
- 2026The Rise of Sparse Mixture-of-Experts: A Survey from Algorithmic Foundations to Decentralized Architectures and Vertical Domain Applications8 Feb 2026