Enabling Compute-Communication Overlap in Distributed Deep Learning Training Platforms

Saeed Rashidi, Matthew Denton, Srinivas Sridharan, Sudarshan Srinivasan, Amoghavarsha Suresh, Jade Nie, Tushar Krishna · DOI

Abstract

Deep Learning (DL) training platforms are built by interconnecting multiple DL accelerators (e.g., GPU/TPU) via fast, customized interconnects with 100s of gigabytes (GBs) of bandwidth. However, driving this bandwidth is quite challenging due to a pernicious balance between using the accelerator’s compute and memory for both DL computations and communication. This work makes two key contributions. First, via real system measurements and detailed modeling, we provide an understanding of compute and memory bandwidth demands for DL compute and comms. Second, we propose a novel DL collective communication accelerator called Accelerator Collectives Engine (ACE) that sits alongside the compute and networking engines at the accelerator endpoint. ACE frees up the endpoint’s compute and memory resources for DL compute, reducing the required memory BW by 3.5× on average. For modern DL workloads, ACE increases effective network bandwidth utilization by 1.44×, resulting in significant speedups in iteration time for ResNet-50 (1.41×), GNMT (1.12×), and DLRM (1.13×).

Introduction: The Resource Tug-of-War

As Deep Learning (DL) models continue to scale, distributed training across hundreds of accelerators has become the industry standard. These accelerators are interconnected by high-speed fabrics providing hundreds of GB/s of bandwidth. However, effectively utilizing this bandwidth remains a significant challenge.

The authors identify a "resource tug-of-war" in current systems: the same hardware resources—specifically compute cores and memory bandwidth—are shared between DL mathematical operations (such as matrix multiplications) and communication protocols (such as All-Reduce). When these tasks are overlapped to improve efficiency, they contend for the same internal pipelines, often leading to severe performance degradation.

Empirical evidence of communication slowdown due to compute contention.

Real-world measurements on an NVIDIA DGX-2 demonstrate this bottleneck. As shown in the figure above, overlapping communication with heavy computation can slow down communication by up to 6.2×. This contention prevents the accelerator from saturating the network, leaving expensive bandwidth underutilized.

The Accelerator Collectives Engine (ACE)

To resolve this contention, the authors propose the Accelerator Collectives Engine (ACE), a novel hardware architectural extension designed to decouple communication from computation.

Architectural Design

Unlike prior switch-based offloading solutions, ACE is an endpoint-based accelerator situated adjacent to the Accelerator Fabric Interface (AFI). This placement ensures compatibility with diverse network topologies like Torus or Hypercube meshes. ACE incorporates dedicated compute units for reduction operations (e.g., gradient summation) and an internal SRAM scratchpad to cache data, effectively shielding the main memory bus from communication traffic.

Comparison of baseline endpoint contention versus the ACE architecture.

Key Innovations

  • Memory Bandwidth Efficiency: By utilizing internal SRAM to absorb intermediate data steps, ACE reduces the required memory bandwidth to drive the network by 3.5× compared to baselines.
  • Data Granularity: ACE manages data in fine-grained chunks and packets, enabling highly pipelined execution that hides network latency.
  • Topology Agnosticism: As an endpoint solution, ACE can handle complex point-to-point patterns that rigid switch-based logic cannot.

Methodology and Evaluation

The researchers evaluated ACE using ASTRA-SIM, a distributed training simulator, across three production-class workloads: ResNet-50 (vision), GNMT (NLP), and DLRM (recommendation). These models were tested at scales ranging from 16 to 128 NPUs using a 3D Torus topology. Furthermore, the ACE logic was synthesized in a 28nm process, confirming a negligible hardware footprint of less than 2% in area and power overhead.

Results and Impact

ACE significantly improves the efficiency of distributed training by eliminating resource contention:

  • Network Utilization: Effective network bandwidth utilization increased by an average of 1.44× (up to 2.67×).
  • Training Speedup: ACE achieved substantial speedups in total iteration time: 1.41× for ResNet-50, 1.12× for GNMT, and 1.13× for DLRM.
  • Near-Ideal Performance: ACE reached 94.3% of theoretical "Ideal" performance (zero communication overhead), whereas baseline systems often struggled to reach 40%.

Conclusion

The Accelerator Collectives Engine proves that simply increasing network bandwidth is insufficient if the accelerator cannot spare the resources to feed it. By offloading collective communication to a dedicated endpoint engine, ACE successfully decouples the "feeder" from the "eater," enabling true compute-communication overlap and setting a new standard for distributed DL hardware architecture.

Summary updated

Abstract

Deep Learning (DL) training platforms are built by interconnecting multiple DL accelerators (e.g., GPU/TPU) via fast, customized interconnects with 100s of gigabytes (GBs) of bandwidth. However, as we identify in this work, driving this bandwidth is quite challenging. This is because there is a pernicious balance between using the accelerator’s compute and memory for both DL computations and communication.This work makes two key contributions. First, via real system measurements and detailed modeling, we provide an understanding of compute and memory bandwidth demands for DL compute and comms. Second, we propose a novel DL collective communication accelerator called Accelerator Collectives Engine (ACE) that sits alongside the compute and networking engines at the accelerator endpoint. ACE frees up the endpoint’s compute and memory resources for DL compute, which in turn reduces the required memory BW by 3.5× on average to drive the same network BW compared to state-of-the-art baselines. For modern DL workloads and different network sizes, ACE, on average, increases the effective network bandwidth utilization by 1.44× (up to 2.67×), resulting in an average of 1.41× (up to 1.51×), 1.12× (up to 1.17×), and 1.13× (up to 1.19×) speedup in iteration time for ResNet-50, GNMT and DLRM when compared to the best baseline configuration, respectively.
BibTeX
@inproceedings{rashidi2021enabling,
  author = {Saeed Rashidi and Matthew Denton and Srinivas Sridharan and Sudarshan Srinivasan and Amoghavarsha Suresh and Jade Nie and Tushar Krishna},
  title = {{Enabling Compute-Communication Overlap in Distributed Deep Learning Training Platforms}},
  booktitle = {ISCA},
  year = {2021},
  url = {https://openreview.net/forum?id=qWmozQfi3e},
}
Figure