mlsanityData to 7 Oct 2026

PipeTransformer: Automated Elastic Pipelining for Distributed Training of Transformers

arXiv 2102.03161 ↗First posted 5 Feb 2021cs.LGcited by 23

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

  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. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  8. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  9. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  10. 2020On Layer Normalization in the Transformer Architecturecited by 906
  11. 2018Insights on representational similarity in neural networks with canonical correlationcited by 318
  12. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
4 more
  1. 2020HetPipe: Enabling Large DNN Training on (Whimpy) Heterogeneous GPU Clusters through Integration of Pipelined Model Parallelism and Data Parallelismcited by 46
  2. 2020torchgpipe: On-the-fly Pipeline Parallelism for Training Giant Modelscited by 26
  3. 2018Parallax: Sparsity-aware Data Parallel Training of Deep Neural Networkscited by 19
  4. 2017SVCCA: Singular Vector Canonical Correlation Analysis for Deep Learning Dynamics and Interpretabilitycited by 14

Built on by

Cited by year

Citing papers per year: 2021: 6; 2022: 3; 2023: 4; 2024: 4; 2025: 6.

23 papers.

Sort:

By area:

  1. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
  2. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  3. 2021Subgraph Federated Learning with Missing Neighbor Generationcited by 132
  4. 2021ProgFed: Effective, Communication, and Computation Efficient Federated Learning by Progressive Trainingcited by 27
  5. 2024ORBIT: Oak Ridge Base Foundation Model for Earth System Predictabilitycited by 17
  6. 2021BAGUA: Scaling up Distributed Learning with System Relaxationscited by 13
  7. 2021Pipeline Parallelism for Inference on Heterogeneous Edge Computingcited by 13
  8. 2022Federated Learning in Non-IID Settings Aided by Differentially Private Synthetic Datacited by 12
  9. 2023ProGAP: Progressive Graph Neural Networks with Differential Privacy Guaranteescited by 12
  10. 2024SmartFRZ: An Efficient Training Framework using Attention-Based Layer Freezingcited by 12
  11. 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Trainingcited by 11
  12. 2025ORBIT-2: Scaling Exascale Vision Foundation Models for Weather and Climate Downscalingcited by 10
11 more
  1. 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimizationcited by 6
  2. 2021End-to-end Adaptive Distributed Training on PaddlePaddlecited by 5
  3. 2022Embedding Recycling for Language Modelscited by 5
  4. 2023Efficient Self-supervised Continual Learning with Progressive Task-correlated Layer Freezingcited by 5
  5. 2024Pro-Prophet: A Systematic Load Balancing Method for Efficient Parallel Training of Large-scale MoE Modelscited by 4
  6. 2025You Do Not Fully Utilize Transformer's Representation Capacitycited by 4
  7. 2025TAGC: Optimizing Gradient Communication in Distributed Transformer Trainingcited by 2
  8. 2023RTP: Rethinking Tensor Parallelism with Memory Deduplicationcited by 1
  9. 2024Private Knowledge Sharing in Distributed Learning: A Surveycited by 1
  10. 2025Balanced and Elastic End-to-end Training of Dynamic LLMscited by 0
  11. 2025An Analysis of Layer-Freezing Strategies for Enhanced Transfer Learning in YOLO Architecturescited by 0