LayerPipe2: Multistage Pipelining and Weight Recompute via Improved Exponential Moving Average for Training Neural Networks
Not on the map. Why?
Abstract (arXiv)
In our prior work, LayerPipe, we had introduced an approach to accelerate training of convolutional, fully connected, and spiking neural networks by overlapping forward and backward computation. However, despite empirical success, a principled understanding of how much gradient delay needs to be introduced at each layer to achieve desired level of pipelining was not addressed. This paper, LayerPipe2, fills that gap by formally deriving LayerPipe using variable delayed gradient adaptation and retiming. We identify where delays may be legally inserted and show that the required amount of delay follows directly from the network structure where inner layers require fewer delays and outer layers require longer delays. When pipelining is applied at every layer, the amount of delay depends only on the number of remaining downstream stages. When layers are pipelined in groups, all layers in the group share the same assignment of delays. These insights not only explain previously observed scheduling patterns but also expose an often overlooked challenge that pipelining implicitly requires storage of historical weights. We overcome this storage bottleneck by developing a pipeline--aware moving average that reconstructs the required past states rather than storing them explicitly. This reduces memory cost without sacrificing the accuracy guarantees that makes pipelined learning viable. The result is a principled framework that illustrates how to construct LayerPipe architectures, predicts their delay requirements, and mitigates their storage burden, thereby enabling scalable pipelined training with controlled communication computation tradeoffs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 30 references that are in the map. First posted on arXiv 9 Dec 2025.
Builds on
15 of 30 references.
References · 15
- 2017Attention Is All You Needcited by 60,361
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2017Deep Learning for Medical Image Analysiscited by 401
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
- 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 134
- 2024Exponential Moving Average of Weights in Deep Learning: Dynamics and Benefitscited by 71
- 2019On the Acceleration of Deep Learning Model Parallelism with Stalenesscited by 17
- 2020A Gradient-Interleaved Scheduler for Energy-Efficient Backpropagation for Training Neural Networkscited by 2
3 more
- 2021LayerPipe: Accelerating Deep Neural Network Training by Intra-Layer and Inter-Layer Gradient Pipelining and Multiprocessor Schedulingcited by 2
- 2023SCV-GNN: Sparse Compressed Vector-based Graph Neural Network Aggregationcited by 2
- 2024SpikePipe: Accelerated Training of Spiking Neural Networks via Inter-Layer Pipelining and Multiprocessor Schedulingcited by 1
Built on by
Not cited yet.