An All-Reduce Compatible Top-K Compressor for Communication-Efficient Distributed Learning
Chuyan Chen, Chenyang Ma, Zhangxin Li, Yutong He, Yanjie Dong, Kun Yuan
TL;DR
ARC-Top-$K$ introduces an All-Reduce-compatible gradient compressor that preserves globally informative entries while aligning sparsity patterns across nodes via a lightweight gradient sketch. It guarantees global contraction with $\alpha=K/m$ and, when combined with EF21M, delivers faster convergence and significant wall-clock savings compared to Top-$K$ and Rand-$K$. Empirical evaluations across CIFAR, GLUE, and C4 demonstrate that ARC-Top-$K$ matches dense baselines and often outperforms Rand-$K$ at the same compression, with substantial scalability up to 64 nodes. The method enables efficient, scalable distributed learning by enabling index-free All-Reduce, reducing communication without sacrificing convergence or accuracy.
Abstract
Communication remains a central bottleneck in large-scale distributed machine learning, and gradient sparsification has emerged as a promising strategy to alleviate this challenge. However, existing gradient compressors face notable limitations: Rand-$K$ discards structural information and performs poorly in practice, while Top-$K$ preserves informative entries but loses the contraction property and requires costly All-Gather operations. In this paper, we propose ARC-Top-$K$, an {All-Reduce}-Compatible Top-$K$ compressor that aligns sparsity patterns across nodes using a lightweight sketch of the gradient, enabling index-free All-Reduce while preserving globally significant information. ARC-Top-$K$ is provably contractive and, when combined with momentum error feedback (EF21M), achieves linear speedup and sharper convergence rates than the original EF21M under standard assumptions. Empirically, ARC-Top-$K$ matches the accuracy of Top-$K$ while reducing wall-clock training time by up to 60.7\%, offering an efficient and scalable solution that combines the robustness of Rand-$K$ with the strong performance of Top-$K$.
