Overlapping Computation and Communication in Distributed Training

42 concepts35 papers1 proposal

When scaling deep learning models across multiple GPUs, clusters, or edge devices, the network quickly becomes the primary bottleneck. In a traditional synchronous training setup—often referred to as the Bulk Synchronous Parallel (BSP) model—every node must compute its gradients, transmit them across the network, and wait for a global aggregation (such as an All-Reduce operation) before proceeding to the next training step.

This strict synchronization creates a massive "communication tax." Compute units sit idle while network sockets exchange data, a problem that worsens dramatically on low-bandwidth or high-latency networks. To eliminate this idle time, a prominent research direction focuses on computation-communication decoupling. The core intuition is simple: if network transfers can be hidden entirely behind mathematical operations, the communication tax effectively drops to zero, allowing distributed systems to achieve near-linear scaling.

Pipelining the Backward Pass

The most immediate way to hide network latency is to exploit the sequential nature of neural network execution. During the backward pass, gradients are calculated layer by layer, moving from the output layer back toward the input layer. A system does not need to wait for the entire backward pass to finish before it begins sharing data.

Synchronous (Lockstep):
[ Compute Gradients L3 -> L2 -> L1 ] -> [ Sync All Gradients ] -> [ Next Step ]

Ovelapped (Pipelined):
[ Compute L3 ] -> [ Compute L2 ] -> [ Compute L1 ]
                  [ Sync L3    ] -> [ Sync L2    ] -> [ Sync L1 ]

By utilizing non-blocking communication primitives, a background thread can begin transmitting a layer's gradients the moment they are computed, overlapping the network transfer with the mathematical computation of preceding layers. As shown by Cédric Renggli et al. in SparCML and implemented in toolkits like fairseq by Myle Ott et al., this concurrent execution masks network latency and keeps hardware utilization high.

In decentralized topologies, this strategy manifests as wait-free backpropagation. For example, Kun Yuan et al. designed DecentLaM to overlap the peer-to-peer communication of model parameters with the gradient computations of subsequent layers, ensuring that neighbor-to-neighbor synchronization never stalls the local optimization process.

Breaking Dependencies via Lagging and Stale States

Pipelining within a single backward pass helps, but if the network transfer takes longer than the remaining layer computations, the hardware will still stall. To achieve full overlap, researchers break the strict temporal dependency between the current compute step and the current communication phase by introducing controlled staleness.

Instead of updating the model with the absolute latest updates, a node can perform its current computation using gradients or parameters from a previous iteration. This is known as gradient lagging. In Exascale deep learning for climate analytics, Sean Treichler et al. successfully scaled deep learning workloads by utilizing gradients from the previous training iteration for the current update, effectively masking global weight synchronization latencies. Similarly, Xiaodong Cui et al. proposed a "delay-by-one" execution strategy in Improving Efficiency in Large-Scale Decentralized Distributed Training, allowing compute units and communication hardware to run continuously in parallel.

This principle of breaking immediate dependencies also extends to distributed inference. In Ladder-Residual: Parallelism-Aware Architecture for Accelerating Large Model Inference with Communication Overlapping, Muru Zhang et al. decoupled the core computation path from the residual path by using inputs from two steps back. This architectural modification allows GPUs to execute asynchronous collective communication operations in parallel with mathematical processing, hiding network latency behind subsequent layer computations.

Decoupling Local and Global Updates

In decentralized and federated learning environments, network bottlenecks are exacerbated by slow wireless links and heterogeneous hardware (stragglers). The solution is to decouple local parameter updates from global or neighborhood consensus routines entirely.

Instead of communicating after every single optimization step, workers can perform multiple local updates while a global synchronization of a previous state occurs concurrently in the background.

Worker Thread: [ Local Update 1 ] -> [ Local Update 2 ] -> [ Local Update 3 ]
                                    ^                                       ^
Network Thread:                     [------- Global Sync of Step 0 -------]

In CO2: Efficient Distributed Training with Full Communication-Computation Overlap, Weigao Sun et al. demonstrated that when the duration of these local steps exceeds the time required for background global synchronization, the communication tax drops to zero.

A similar mechanism powers asynchronous decentralized algorithms. Xiangru Lian et al. showed in Can Decentralized Algorithms Outperform Centralized Algorithms? that nodes can fetch updates from neighbors while simultaneously performing local gradient computations. To mitigate the straggler problem, Adel Nabli et al. introduced A2CiD2, which decouples gradient computation from peer-to-peer communication routines so that workers can perform background averaging without pausing local updates. This approach is mirrored by Zesen Wang et al. in From Promise to Practice: Realizing High-performance Decentralized Training, which removes the immediate dependency on neighbor information to keep compute units fully saturated.

In federated learning, this manifests as "wait-free" personalization protocols. Zihan Chen et al. developed a framework in Spectral Co-Distillation for Personalized Federated Learning where clients train personalized models during the idle time normally spent waiting for the central server to aggregate and broadcast global updates. This strategy is also leveraged in frameworks like Workie-Talkie by Rui Chen 0026 et al. and ParaBlock by Yuanpu Cao et al., which run communication and computation in parallel threads to mask wireless latencies.

Structural and Traffic Optimizations

Achieving a perfect overlap often requires restructuring how data moves through the network or how the model itself computes its internal states.

  • Traffic Smoothing: Collective communication operations (like All-Reduce) typically trigger massive, bursty network traffic that causes congestion. In Cyclic Data Parallelism for Efficient Parallelism of Deep Neural Networks, Louis Fournier et al. proposed staggering micro-batches with a uniform delay. This replaces bursty collectives with continuous point-to-point gradient transfers, smoothing network traffic and avoiding synchronization barriers.
  • Co-designing Attention and Communication: For long-sequence models, Weigao Sun et al. introduced LASP-2, which reorganizes linear attention calculations into independent local and global components. This structural separation allows state synchronization to be completely hidden behind local processing.
  • Pipelining Compression: When communication bandwidth is extremely constrained, compression is vital. Feijie Wu et al. demonstrated in Sign Bit is Enough that local gradient compression can be executed in parallel with receiving data from neighboring nodes, ensuring that the computational overhead of compression does not become a new bottleneck. Similarly, the authors of CocktailSGD employ asynchronous updates to overlap the transmission of highly compressed gradients with ongoing local computation.

Key Foundational Work

SparCML: High-Performance Sparse Communication for Machine Learning (2018) — contributed 1 concept elements to this direction.
Exascale deep learning for climate analytics (2018) — contributed 1 concept elements to this direction.
Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descent (2017) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_computation_communication_decoupling_55ff180f,
  title = {computation-communication decoupling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/computation-communication-decoupling/rdr_55ff180f243b423fb5e244865e0e3aa5},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_computation_communication_decoupling_55ff180f_v1,
  title = {computation-communication decoupling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/computation-communication-decoupling/rdr_55ff180f243b423fb5e244865e0e3aa5/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake