NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating AllReduce with a Persistent Straggler

Arjun Devraj, Eric Ding, Abhishek Vijaya Kumar, Robert Kleinberg, Rachee Singh · DOI

Abstract

Distributed machine learning relies heavily on collective communication operations like AllReduce to synchronize gradients across multiple GPUs. Traditional bulk-synchronous algorithms suffer from the "straggler problem," where the slowest GPU dictates the overall performance. We present StragglAR (Straggler-Aware AllReduce), a novel algorithm that exploits temporal asymmetry by initiating communication before all participants have finished computation. By utilizing the idle time of faster GPUs, StragglAR achieves up to a 25% real-world performance boost on 8-GPU systems and approaches a theoretical 2× speedup at scale, effectively breaking long-standing efficiency bounds.

Introduction: The Straggler Bottleneck

In modern distributed training, GPUs must frequently synchronize data. Current state-of-the-art libraries, such as NVIDIA’s NCCL, typically employ bulk-synchronous collective operations. This paradigm requires every GPU to reach a synchronization barrier before any communication begins. Consequently, the "straggler"—the slowest GPU in a given iteration—becomes a critical bottleneck. While the straggler completes its computation, all other GPUs remain idle, leaving high-bandwidth interconnects underutilized.

As clusters scale, the probability of encountering a straggler increases due to natural variations in software execution times, even on identical hardware. This "tail latency" significantly degrades the efficiency of large-scale training and inference.

StragglAR: Exploiting Temporal Asymmetry

StragglAR addresses this by introducing temporal asymmetry. Instead of waiting for the straggler, StragglAR puts the "fast" GPUs to work immediately during the straggler's delay.

Comparison of standard AllReduce vs. StragglAR. While standard methods wait for the straggler (left), StragglAR utilizes the delay for eager communication (right), resulting in significant time savings.

The algorithm operates in three primary phases:

  1. Eager ReduceScatter: While the straggler is still computing, the other $n-1$ GPUs perform a ReduceScatter among themselves. This "precondition" step uses otherwise idle time to partially aggregate data.
  2. Asymmetric Communication Schedule: Once the straggler arrives, the data buffers are asymmetric—the straggler holds raw data while others hold partially reduced chunks. StragglAR employs a specialized schedule to handle this imbalance.
  3. Bipartite Matching Optimization: To finalize the reduction efficiently, the communication is modeled as a bipartite matching problem, generating a schedule that maximizes parallelism in every round.

Importantly, StragglAR is correctness-preserving. It performs the exact same mathematical reduction as a standard AllReduce, ensuring model convergence is unaffected.

Experimental Evaluation

The researchers evaluated StragglAR across several Large Language Models (LLMs), including Llama-3.2 (1B and 3B), Phi-3-mini (3.8B), and Qwen-2.5 (3B). Experiments were conducted on high-end hardware such as NVIDIA DGX H100 and A100 systems, and the Perlmutter supercomputer. To ensure realistic simulations, the authors collected empirical data on natural execution time variations from real-world fine-tuning jobs.

Key Results and Impact

StragglAR demonstrates significant performance improvements over standard bandwidth-optimal algorithms.

Left: CDF of straggler delays across different hardware and model configurations. Right: Training/inference speedup as a function of exposed communication percentage for varying GPU counts.
  • Real-World Speedup: On an 8-GPU NVIDIA DGX server, StragglAR provided a 25% speedup over state-of-the-art AllReduce implementations.
  • End-to-End Efficiency: For Llama-3.2-3B fine-tuning, the algorithm saved approximately 9.12 GPU-hours per day on a single 8-GPU node.
  • Scalability: In large-scale simulations with 256 GPUs, StragglAR approaches a 2× speedup over the standard Ring algorithm.
  • Robustness: The algorithm is "no-regret"; in scenarios with no straggler, it performs nearly as well as standard algorithms.

Conclusion and Future Work

StragglAR proves that the long-accepted theoretical lower bounds for AllReduce efficiency can be surpassed by leveraging the fact that GPUs do not arrive at the starting line simultaneously. While currently optimized for power-of-two or even-numbered GPU clusters, future work aims to support arbitrary cluster sizes and extend this "temporal asymmetry" approach to other collectives like AllGather or AllToAll. Redesigning the communication backbone of distributed ML to be straggler-aware represents a major step toward more efficient large-scale AI.

Summary updated

BibTeX
@misc{devraj2025accelerating,
  author = {Arjun Devraj and Eric Ding and Abhishek Vijaya Kumar and Robert Kleinberg and Rachee Singh},
  title = {{Accelerating AllReduce with a Persistent Straggler}},
  year = {2025},
  eprint = {2505.23523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.23523},
}
Figure