PipeTransformer: Automated Elastic Pipelining for Distributed Training of Transformers
Not on the map. Why?
Abstract (arXiv)
The size of Transformer models is growing at an unprecedented pace. It has only taken less than one year to reach trillion-level parameters after the release of GPT-3 (175B). Training such models requires both substantial engineering efforts and enormous computing resources, which are luxuries most research teams cannot afford. In this paper, we propose PipeTransformer, which leverages automated and elastic pipelining and data parallelism for efficient distributed training of Transformer models. PipeTransformer automatically adjusts the pipelining and data parallelism by identifying and freezing some layers during the training, and instead allocates resources for training of the remaining active layers. More specifically, PipeTransformer dynamically excludes converged layers from the pipeline, packs active layers into fewer GPUs, and forks more replicas to increase data-parallel width. We evaluate PipeTransformer using Vision Transformer (ViT) on ImageNet and BERT on GLUE and SQuAD datasets. Our results show that PipeTransformer attains a 2.4 fold speedup compared to the state-of-the-art baseline. We also provide various performance analyses for a more comprehensive understanding of our algorithmic and system-wise design. We also develop open-sourced flexible APIs for PipeTransformer, which offer a clean separation among the freeze algorithm, model definitions, and training accelerations, hence allowing it to be applied to other algorithms that require similar freezing strategies.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 16 of its 25 references that are in the map. First posted on arXiv 5 Feb 2021.
Builds on
16 of 25 references.
References · 16
- 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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2018Insights on representational similarity in neural networks with canonical correlationcited by 318
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
4 more
- 2020HetPipe: Enabling Large DNN Training on (Whimpy) Heterogeneous GPU Clusters through Integration of Pipelined Model Parallelism and Data Parallelismcited by 46
- 2020torchgpipe: On-the-fly Pipeline Parallelism for Training Giant Modelscited by 26
- 2018Parallax: Sparsity-aware Data Parallel Training of Deep Neural Networkscited by 19
- 2017SVCCA: Singular Vector Canonical Correlation Analysis for Deep Learning Dynamics and Interpretabilitycited by 14
Built on by
Citing papers per year: 2021: 6; 2022: 3; 2023: 4; 2024: 4; 2025: 6.
23 papers.
Sort:
By area:
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2021Subgraph Federated Learning with Missing Neighbor Generationcited by 132
- 2021ProgFed: Effective, Communication, and Computation Efficient Federated Learning by Progressive Trainingcited by 27
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictabilitycited by 17
- 2021BAGUA: Scaling up Distributed Learning with System Relaxationscited by 13
- 2021Pipeline Parallelism for Inference on Heterogeneous Edge Computingcited by 13
- 2022Federated Learning in Non-IID Settings Aided by Differentially Private Synthetic Datacited by 12
- 2023ProGAP: Progressive Graph Neural Networks with Differential Privacy Guaranteescited by 12
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezingcited by 12
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Trainingcited by 11
- 2025ORBIT-2: Scaling Exascale Vision Foundation Models for Weather and Climate Downscalingcited by 10
11 more
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimizationcited by 6
- 2021End-to-end Adaptive Distributed Training on PaddlePaddlecited by 5
- 2022Embedding Recycling for Language Modelscited by 5
- 2023Efficient Self-supervised Continual Learning with Progressive Task-correlated Layer Freezingcited by 5
- 2024Pro-Prophet: A Systematic Load Balancing Method for Efficient Parallel Training of Large-scale MoE Modelscited by 4
- 2025You Do Not Fully Utilize Transformer's Representation Capacitycited by 4
- 2025TAGC: Optimizing Gradient Communication in Distributed Transformer Trainingcited by 2
- 2023RTP: Rethinking Tensor Parallelism with Memory Deduplicationcited by 1
- 2024Private Knowledge Sharing in Distributed Learning: A Surveycited by 1
- 2025Balanced and Elastic End-to-end Training of Dynamic LLMscited by 0
- 2025An Analysis of Layer-Freezing Strategies for Enhanced Transfer Learning in YOLO Architecturescited by 0
- 2025An Analysis of Layer-Freezing Strategies for Enhanced Transfer Learning in YOLO Architectures5 Sep 2025
- 2025Balanced and Elastic End-to-end Training of Dynamic LLMs20 May 2025
- 2025ORBIT-2: Scaling Exascale Vision Foundation Models for Weather and Climate Downscaling7 May 2025
- 2025TAGC: Optimizing Gradient Communication in Distributed Transformer Training8 Apr 2025
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimization24 Mar 2025
- 2025You Do Not Fully Utilize Transformer's Representation Capacity13 Feb 2025
- 2024Pro-Prophet: A Systematic Load Balancing Method for Efficient Parallel Training of Large-scale MoE Models15 Nov 2024
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictability23 Apr 2024
- 2024Private Knowledge Sharing in Distributed Learning: A Survey8 Feb 2024
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezing30 Jan 2024
- 2023RTP: Rethinking Tensor Parallelism with Memory Deduplication2 Nov 2023
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel21 Apr 2023
11 more
- 2023ProGAP: Progressive Graph Neural Networks with Differential Privacy Guarantees18 Apr 2023
- 2023Efficient Self-supervised Continual Learning with Progressive Task-correlated Layer Freezing13 Mar 2023
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Training22 Sep 2022
- 2022Embedding Recycling for Language Models11 Jul 2022
- 2022Federated Learning in Non-IID Settings Aided by Differentially Private Synthetic Data1 Jun 2022
- 2021End-to-end Adaptive Distributed Training on PaddlePaddle6 Dec 2021
- 2021Pipeline Parallelism for Inference on Heterogeneous Edge Computing28 Oct 2021
- 2021ProgFed: Effective, Communication, and Computation Efficient Federated Learning by Progressive Training11 Oct 2021
- 2021BAGUA: Scaling up Distributed Learning with System Relaxations3 Jul 2021
- 2021Subgraph Federated Learning with Missing Neighbor Generation25 Jun 2021
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM9 Apr 2021
- 2025Balanced and Elastic End-to-end Training of Dynamic LLMscited by 0
- 2025Balanced and Elastic End-to-end Training of Dynamic LLMs20 May 2025
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2021Subgraph Federated Learning with Missing Neighbor Generationcited by 132
- 2021ProgFed: Effective, Communication, and Computation Efficient Federated Learning by Progressive Trainingcited by 27
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictabilitycited by 17
- 2021BAGUA: Scaling up Distributed Learning with System Relaxationscited by 13
- 2021Pipeline Parallelism for Inference on Heterogeneous Edge Computingcited by 13
- 2022Federated Learning in Non-IID Settings Aided by Differentially Private Synthetic Datacited by 12
- 2023ProGAP: Progressive Graph Neural Networks with Differential Privacy Guaranteescited by 12
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezingcited by 12
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Trainingcited by 11
- 2025ORBIT-2: Scaling Exascale Vision Foundation Models for Weather and Climate Downscalingcited by 10
12 most cited of 21 All 21 (JSON)
- 2025An Analysis of Layer-Freezing Strategies for Enhanced Transfer Learning in YOLO Architectures5 Sep 2025
- 2025ORBIT-2: Scaling Exascale Vision Foundation Models for Weather and Climate Downscaling7 May 2025
- 2025TAGC: Optimizing Gradient Communication in Distributed Transformer Training8 Apr 2025
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimization24 Mar 2025
- 2025You Do Not Fully Utilize Transformer's Representation Capacity13 Feb 2025
- 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictability23 Apr 2024
- 2024Private Knowledge Sharing in Distributed Learning: A Survey8 Feb 2024
- 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezing30 Jan 2024
- 2023RTP: Rethinking Tensor Parallelism with Memory Deduplication2 Nov 2023
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel21 Apr 2023
- 2023ProGAP: Progressive Graph Neural Networks with Differential Privacy Guarantees18 Apr 2023
- 2023Efficient Self-supervised Continual Learning with Progressive Task-correlated Layer Freezing13 Mar 2023
12 newest of 21 All 21 (JSON)