LayerPipe2: Multistage Pipelining and Weight Recompute via Improved Exponential Moving Average for Training Neural Networks
Nanda K. Unnikrishnan, Keshab K. Parhi

TL;DR
LayerPipe2 advances neural network training by providing a formal framework for multistage pipelining, delay management, and memory-efficient weight reconstruction, enabling scalable and efficient training.
Contribution
It introduces a principled method to determine gradient delays, analyzes their relation to network structure, and proposes a memory-efficient weight reconstruction technique.
Findings
Delay requirements depend on network structure and stage positioning.
Pipelining in groups shares delay assignments among layers.
Memory overhead is reduced via a pipeline-aware moving average.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
