DeepPCR: Parallelizing Sequential Operations in Neural Networks
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
Parallelization techniques have become ubiquitous for accelerating inference and training of deep neural networks. Despite this, several operations are still performed in a sequential manner. For instance, the forward and backward passes are executed layer-by-layer, and the output of diffusion models is produced by applying a sequence of denoising steps. This sequential approach results in a computational cost proportional to the number of steps involved, presenting a potential bottleneck as the number of steps increases. In this work, we introduce DeepPCR, a novel algorithm which parallelizes typically sequential operations in order to speed up inference and training of neural networks. DeepPCR is based on interpreting a sequence of L steps as the solution of a specific system of equations, which we recover using the Parallel Cyclic Reduction algorithm. This reduces the complexity of computing the sequential operations from O(L) to O(log2L), thus yielding a speedup for large L. To verify the theoretical lower complexity of the algorithm, and to identify regimes for speedup, we test the effectiveness of DeepPCR in parallelizing the forward and backward pass in multi-layer perceptrons, and reach speedups of up to 30× for the forward and 200× for the backward pass. We additionally showcase the flexibility of DeepPCR by parallelizing training of ResNets with as many as 1024 layers, and generation in diffusion models, enabling up to 7× faster training and 11× faster generation, respectively, when compared to the sequential approach.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 31 of its 44 references that are in the map. First posted on arXiv 28 Sep 2023.
Builds on
31 of 44 references.
Closest ancestors · 2
Same direction, newest first
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 29
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,241
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
- 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 2,010
- 2016Pruning Filters for Efficient ConvNetscited by 1,143
- 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 812
17 more
- 2020Picking Winning Tickets Before Training by Preserving Gradient Flowcited by 471
- 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 417
- 2015MADE: Masked Autoencoder for Distribution Estimationcited by 307
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 245
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 202
- 2020Pruning Neural Networks at Initialization: Why are We Missing the Mark?cited by 182
- 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 156
- 2020Accelerating Feedforward Computation via Parallel Nonlinear Equation Solvingcited by 52
- 2018Layer-Parallel Training of Deep Residual Neural Networkscited by 35
- 2021Differentiable Multiple Shooting Layerscited by 20
- 2020Layer-Wise Data-Free CNN Compressioncited by 13
- 2020Predictive Sampling with Forecasting Autoregressive Modelscited by 10
- 2020Layer-Parallel Training with GPU Concurrency of Deep Residual Neural Networks via Nonlinear Multigridcited by 8
- 2022Parallel Training of GRU Networks with a Multi-Grid Solver for Long Sequencescited by 5
- 2017Parallel Complexity of Forward and Backward Propagationcited by 3
- 2022Apple Silicon Performance in Scientific Computingcited by 3
- 2020A Practical Layer-Parallel Training Algorithm for Residual Networkscited by 2
Built on by
Citing papers per year: 2025: 4; 2026: 5.
9 papers.
- 2025Predictability Enables Parallelization of Nonlinear State Space Modelscited by 7
- 2026Pretraining Recurrent Networks without Recurrencecited by 5
- 2025Accelerated Training through Iterative Gradient Propagation Along the Residual Pathcited by 4
- 2025A Unifying Framework for Parallelizing Sequential Models with Linear Dynamical Systemscited by 4
- 2026Layer-Parallel Training for Transformerscited by 2
- 2026SNLP: Layer-Parallel Inference via Structured Newton Correctionscited by 1
- 2025Generalized Orders of Magnitude for Scalable, Parallel, High-Dynamic-Range Computationcited by 0
- 2026LBI: Parallel Scan Backpropagation via Latent Bounded Interfacescited by 0
- 2026Switching Linear Attentioncited by 0
- 2026Switching Linear Attention30 Sep 2026
- 2026Pretraining Recurrent Networks without Recurrence4 Jun 2026
- 2026SNLP: Layer-Parallel Inference via Structured Newton Corrections18 May 2026
- 2026LBI: Parallel Scan Backpropagation via Latent Bounded Interfaces9 May 2026
- 2026Layer-Parallel Training for Transformers13 Jan 2026
- 2025Generalized Orders of Magnitude for Scalable, Parallel, High-Dynamic-Range Computation3 Oct 2025
- 2025A Unifying Framework for Parallelizing Sequential Models with Linear Dynamical Systems26 Sep 2025
- 2025Predictability Enables Parallelization of Nonlinear State Space Models22 Aug 2025
- 2025Accelerated Training through Iterative Gradient Propagation Along the Residual Path28 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2025Automatic Operator-level Parallelism Planning for Distributed Deep Learning -- A Mixed-Integer Programming Approach
- 2026LEAP: Unlocking dLLM Parallelism via Lookahead Early-Convergence Token Detection
- 2025Learning to Parallel: Accelerating Diffusion Large Language Models via Learnable Parallel Decoding
- 2025SequenceLayers: Sequence Processing and Streaming Neural Networks Made Easy
- 2025Encoder-Decoder Diffusion Language Models for Efficient Training and Inference
- 2021SparseDNN: Fast Sparse Deep Learning Inference on CPUs
- 2025Communication-Efficient Diffusion Denoising Parallelization via Reuse-then-Predict Mechanism
- 2025ParaRNN: Unlocking Parallel Training of Nonlinear RNNs for Large Language Models