Communication Optimization › Summary
Michael BrenndoerferJanuary 23, 20261 min read
Language AI HandbookAll chapters Part 31 of 67Training Infrastructure
Communication Optimization › SummaryOne section · Sections in this chapter9 / 10 ↓
Sections in this chapter10
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Communication optimization addresses the fundamental bottleneck in distributed deep learning: moving gradient data between GPUs efficiently.
- Gradient compression reduces the volume of data transmitted by sending only the most important gradient information. Top-K sparsification selects large-magnitude gradients; quantization reduces precision; PowerSGD exploits low-rank structure. Error feedback ensures convergence by accumulating unselected gradients for future transmission.
- Communication overlap hides transmission latency behind computation. DDP's bucketing strategy launches all-reduces for completed gradient chunks while the backward pass continues computing earlier layers' gradients, approaching the ideal of zero-overhead synchronization.
- Topology-aware communication maps collective algorithms onto the physical network hierarchy. Hierarchical all-reduce routes data through faster intra-node NVLink before crossing the slower inter-node InfiniBand fabric, dramatically reducing inter-node traffic volume.
- NCCL optimization extracts peak hardware bandwidth through algorithm selection (ring vs. tree), GPUDirect RDMA for zero-copy GPU-to-network transfers, and environment variable tuning for specific cluster configurations.
Combined, these techniques can reduce communication overhead from 50-60% of training time to near zero, allowing large-scale training jobs to approach the compute efficiency limits of their hardware.