Skip to main content
QUICK REVIEW

[Paper Review] Parallel Training of Deep Networks with Local Updates

Michael Laskin, Luke Metz|arXiv (Cornell University)|Dec 7, 2020
Advanced Neural Network ApplicationsComputer Science66 references10 citations
TL;DR

This paper proposes local parallelism, a method that replaces global backpropagation with truncated layer-wise backpropagation to enable fully asynchronous, compute-efficient training of deep networks. By updating each layer independently before full forward passes complete, it reduces communication and memory overhead, achieving up to 10× speedup on MLPs and 2× on Transformers, with 40% higher sample throughput on ResNets compared to standard backpropagation.

ABSTRACT

Deep learning models trained on large data sets have been widely successful in both vision and language domains. As state-of-the-art deep learning architectures have continued to grow in parameter count so have the compute budgets and times required to train them, increasing the need for compute-efficient methods that parallelize training. Two common approaches to parallelize the training of deep networks have been data and model parallelism. While useful, data and model parallelism suffer from diminishing returns in terms of compute efficiency for large batch sizes. In this paper, we investigate how to continue scaling compute efficiently beyond the point of diminishing returns for large batches through local parallelism, a framework which parallelizes training of individual layers in deep networks by replacing global backpropagation with truncated layer-wise backpropagation. Local parallelism enables fully asynchronous layer-wise parallelism with a low memory footprint, and requires little communication overhead compared with model parallelism. We show results in both vision and language domains across a diverse set of architectures, and find that local parallelism is particularly effective in the high-compute regime.

Motivation & Objective

  • Address diminishing returns in data and model parallelism at large batch sizes by exploring alternative parallelization strategies.
  • Overcome forward and backward locking in backpropagation that limit parallelism and increase memory and synchronization costs.
  • Investigate whether local layer-wise updates—though not strictly gradient-based—can enable scalable, efficient training of deep networks.
  • Demonstrate the feasibility and benefits of local parallelism across vision and language architectures with real-world implementations.
  • Compare local parallelism to backpropagation in terms of communication, memory, and training efficiency to quantify its advantages in high-compute regimes.

Proposed method

  • Replace global backpropagation with truncated layer-wise backpropagation, enabling each layer to be updated independently after partial forward passes.
  • Implement chunked local parallelism, where each layer processes a local batch and updates its weights before downstream layers complete their forward passes.
  • Use auxiliary classifiers on each layer to provide local supervision signals, decoupling weight updates from global gradient computation.
  • Apply asynchronous training across layers, eliminating backward locking and allowing independent, pipelined computation.
  • Minimize inter-processor communication by transmitting only necessary activation and gradient data between adjacent layers, reducing total data transfer by ~50% compared to pipelined backprop.
  • Integrate activation recomputation to reduce memory usage in backpropagation for fair comparison, while maintaining low memory footprint in local parallelism.

Experimental results

Research questions

  • RQ1Can local layer-wise updates provide significant training speedups compared to standard backpropagation in deep networks?
  • RQ2How does local parallelism compare to data and model parallelism in terms of communication overhead and memory consumption?
  • RQ3To what extent do local updates preserve useful feature and gradient representations similar to those from global backpropagation?
  • RQ4What are the practical performance gains of local parallelism in real-world vision and language models, particularly in high-compute regimes?
  • RQ5Does local parallelism maintain model accuracy while enabling higher hardware utilization and throughput?

Key findings

  • Local parallelism achieved up to 10× reduction in sequential compute steps on simple MLPs and 2× speedup on Transformer architectures, demonstrating significant training efficiency gains.
  • On ResNet34 training on ImageNet, local parallelism achieved a 40% increase in sample throughput (training points per second) compared to backpropagation, due to higher hardware utilization.
  • Inter-processor communication was reduced by approximately 50% in local parallelism compared to pipelined backpropagation, with 43.2MB total data transferred versus 86.4MB in backpropagation over 4 IPUs.
  • Memory consumption was consistently lower or comparable in local parallelism, especially under high microbatch and multi-processor configurations, due to reduced activation storage needs.
  • Despite not being gradient-based, local updates preserved feature and gradient similarity to backpropagation, supporting their effectiveness in optimization.
  • Activation recomputation reduced memory usage in backpropagation but did not offset the memory advantage of local parallelism at scale, especially with larger microbatches and more processors.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.