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

2Direction: Theoretically Faster Distributed Training with Bidirectional Communication Compression

Alexander Tyurin, Peter Richtárik

Introduction

Distributed machine learning often suffers from severe communication bottlenecks between the central server and local workers. To mitigate this, researchers employ "compressors" (such as sending only the top $K$ coordinates) to shrink message sizes. Historically, most research assumed the server-to-worker broadcast (downlink) was infinitely fast, focusing solely on compressing worker-to-server (uplink) messages.

While recent methods have introduced bidirectional compression (compressing both uplink and downlink), they lack "acceleration." In optimization, acceleration (like Nesterov's momentum) is crucial for solving ill-conditioned problems efficiently. Without it, bidirectional methods can actually perform worse than standard, uncompressed Accelerated Gradient Descent (AGD). This paper introduces 2Direction, a novel optimization algorithm that compresses communication in both directions while maintaining Nesterov-style acceleration, achieving state-of-the-art theoretical communication complexity.

The Challenge of Accelerated Bidirectional Compression

The authors initially attempted to combine an existing accelerated uplink-compression method (ADIANA) with a state-of-the-art bidirectional error-feedback mechanism (EF21-P). However, they discovered a fundamental mathematical friction: modern error-feedback mechanisms are incompatible with Nesterov acceleration. Standard error feedback works by tracking a fixed optimal point, but in accelerated methods, the reference points are constantly moving. The variance-reducing shifts in accelerated methods converge to moving targets, causing catastrophic accumulation of compression errors.

The 2Direction Algorithm

To solve this, 2Direction introduces two key innovations:

  1. Bespoke Error-Feedback Mechanism: Instead of standard tracking, the algorithm uses auxiliary control vectors that track the gradient of the extrapolated sequence.
  2. Probabilistic Synchronization: Because compressing the server's broadcast introduces errors that ruin the accelerated momentum sequence, 2Direction uses a clever mathematical reset. With a very small probability $p$, the server broadcasts a non-compressed message. Because $p$ is tiny, the expected communication cost remains low, but this rare "full sync" mathematically anchors the convergence and prevents error accumulation.

Additionally, the authors introduce a parameter $r \in [0,1]$ to weight the relative cost of uplink versus downlink communication. This asymmetric network awareness allows the theory to adapt to real-world scenarios where download speeds might drastically differ from upload speeds.

Key Results and Theoretical Guarantees

2Direction provides state-of-the-art theoretical guarantees for strongly convex problems. It improves the communication complexity dependence on the condition number from $L/\mu$ (seen in previous bidirectional methods like EF21-P + DIANA) to $\sqrt{L/\mu}$.

Comparison of communication complexities for various distributed optimization methods.

Crucially, 2Direction is the first bidirectional compression method proven to have a communication complexity that is never worse than vanilla AGD, and strictly better in many practical regimes (e.g., when using TopK/RandK sparsifiers with multiple workers).

To empirically validate these theoretical claims, the authors tested 2Direction on standard logistic regression tasks using the CIFAR10 and real-sim datasets. In these experiments, 2Direction reached the target training loss while transmitting significantly fewer bits and coordinates than both the previous state-of-the-art (EF21-P + DIANA) and standard AGD.

Limitations and Future Work

While 2Direction offers significant theoretical and practical improvements, it has a few limitations:

  • Intermittent Heavy Broadcasts: The reliance on the server broadcasting non-compressed vectors with a small probability $p$ means that while average communication cost is low, the system will occasionally experience massive latency spikes during those uncompressed rounds.
  • Iteration Overhead: Like many compressed methods, 2Direction requires more total iterations than AGD to converge, even though the total communication volume is lower. If a user's network is exceptionally fast, the extra computation steps might result in slower wall-clock times.

The authors leave an open, challenging problem for the community: Can we achieve these same accelerated bidirectional bounds without ever needing to resort to intermittent non-compressed broadcasts?

Summary updated

BibTeX
@inproceedings{tyurin2023direction,
  author = {Alexander Tyurin and Peter Richtárik},
  title = {{2Direction: Theoretically Faster Distributed Training with Bidirectional Communication Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=n18MhTsSGb},
}
Figure