Scalable Distributed Stochastic Optimization via Bidirectional Compression: Beyond Pessimistic Limits

Grigory Begunov, Alexander TyurinNeurIPS 2026

TL;DR

In distributed machine learning, a recent mathematical "no-go" theorem suggested that compressing messages between workers and a central server offers zero fundamental speedup over plain old Synchronous SGD when two-way communication is costly. This paper breaks through that pessimistic barrier by looking closer at the geometry of the loss function. By introducing two new bidirectionally compressed algorithms—Inkheart SGD and M4—the authors prove that we can genuinely scale both computation and communication speeds as we add more workers.

What Problem Does This Paper Address?

Imagine training a massive model across $n$ worker devices connected to a central server—the classic federated or centralized distributed learning setup.

Centralized distributed optimization setup with bidirectional communication between workers and a central server.

Adding more workers shrinks the time spent on noisy gradient calculations (the statistical bottleneck). However, shipping high-dimensional vectors of size $d$ back and forth over a network creates a massive communication bottleneck.

Historically, researchers attacked this by compressing gradients sent from workers to the server, often assuming that broadcasting updates from the server back to the workers was instant and free. Over real-world networks (like 4G/5G or the internet), downloads aren't free. Worse yet, a recent lower bound by Tyurin (2026) proved a sobering result: when two-way communication speeds are similar and you only make standard smoothness assumptions, no random sparsification method can beat vanilla Synchronous SGD (or even single-machine SGD!). Communication time stubbornly refuses to shrink as you add more workers $n$.

The authors ask: Is distributed compression truly dead in the water, or can we bypass this wall by capturing hidden structure in the functions we optimize?

Methods

To get past a mathematical lower bound, you have to refine the rules of the game. Instead of treating smoothness as a single blunt number ($L$), the authors adopt the Functional $(L_A, L_B)$ Inequality. This splits smoothness into two parameters without restricting the class of smooth functions at all. Specifically, $L_A$ measures how rapidly the Hessian (the curvature) changes across space. For pure quadratic functions, $L_A = 0$; for functions with slowly changing curvature, $L_A$ is tiny.

Armed with this structural lens, the authors design two algorithms using unbiased compressors (like RandK, which randomly picks $K$ coordinates to send and scales them up so the average remains accurate):

  • Inkheart SGD (Homogeneous Data): Workers compute mini-batches of stochastic gradients, compress them, and send them to the server to update the global model. Going the other way (server-to-worker), instead of broadcasting the massive new model every step, the server flips a biased coin. With a tiny probability $p$, it does a full sync; otherwise (most of the time), it sends heavily compressed model differences for workers to add to their local copies.
  • M4 (Heterogeneous Data): When workers hold different data distributions, naive compression drifts off course. M4 (short for MARINA-P + Momentum + Momentum + MARINA) weaves dual momentum steps into both the local model iterates and gradient estimators, alongside probabilistic full synchronizations in both directions.
  • Heterogeneous-Time Inkheart SGD: An extension for asynchronous-like hardware setups where some workers compute or communicate slower than others, paired with a polynomial-time algorithm to select the fastest subset of workers and drop stragglers.

Datasets

Not discussed in the paper. (Note: The provided main text is purely theoretical. It mentions small-scale empirical checks using a convolutional neural network in Sections G and H of the appendix, which are not included in the main 10-page document, and does not name specific datasets).

Key Insights and Ideas

  • Bypassing the Lower Bound Without Losing Generality: Every standard $L$-smooth function already satisfies the $(L_A, L_B)$ inequality (at worst, $L_A = L$ and $L_B = 0$, where the new methods match existing baselines). The magic happens when $L_A \ll L$—meaning the loss landscape's curvature doesn't swing wildly—unlocking massive speedups that standard theory completely misses.
  • Rare Syncs Don't Ruin the Average: Sending full, uncompressed $d$-dimensional vectors sounds expensive, but if you set the coin-flip probability $p$ proportionally to the compression ratio (e.g., $p \approx K/d$), the amortized cost per step stays tiny while preventing local worker models from drifting too far apart.
  • True Scaling with $n$: When $L_A$ is very small and worker count $n$ grows large, the total time complexity sheds its dependence on both the model dimension $d$ and the gradient noise $\sigma^2/\varepsilon$.

Key Results

  • Breaking the Theoretical Barrier: In both homogeneous (Inkheart SGD) and heterogeneous (M4) stochastic settings, all dimension-dependent ($d$) and noise-dependent ($\sigma^2$) terms scale down with the number of workers $n$ (at rates like $1/n$, $1/\sqrt{n}$, or $1/n^{1/3}$), leaving only a residual $d \kappa L_A \Delta / \varepsilon$ term.
  • Practical Relevance of $L_A$: While $L_A = 0$ is exact for quadratics, the authors report that in small-scale CNN experiments (referenced in Appendix G), empirical $L_A$ is 20 to 200 times smaller than the standard smoothness constant $L$.
  • Straggler Immunity: In environments with varying worker speeds, their subset-selection algorithm finds the optimal group of workers in polynomial time, ensuring one slow connection doesn't tank the entire cluster's runtime.

Limitations and Future Work

  • Dependence on $L_A$: If a problem happens to have a worst-case rapidly changing Hessian where $L_A \approx L$, the residual $d \kappa L_A \Delta / \varepsilon$ term dominates and the scaling advantage over Synchronous SGD vanishes (which is unavoidable due to the lower bound).
  • Initial Cost in Heterogeneous Settings: For M4, workers must initialize their momentum buffers and transmit initial vectors to the server, leaving a one-time $d\tau$ communication cost (though this does not depend on target accuracy $\varepsilon$).
  • Future Directions: The authors suggest exploring alternative structural assumptions about the objective function $f$ that might capture real-world neural network geometries even better to further accelerate distributed stochastic training.

Summary updated

Abstract

In centralized, distributed, and federated learning with stochastic gradients and $n$ workers, it was recently shown that it is infeasible to find an $\varepsilon$-stationary point faster than $\tilde{\Omega}(\min[{\frac{d \kappa L \Delta}{\varepsilon}} + \frac{h L \Delta}{\varepsilon} + \frac{h \sigma^2 L \Delta}{n \varepsilon^2}, {\frac{h \sigma^2 L \Delta}{\varepsilon^2}} + \frac{h L \Delta}{\varepsilon}])$ seconds in both homogeneous and heterogeneous settings under standard assumptions: $L$-smoothness, $\sigma^2$-bounded unbiased stochastic gradients, and lower boundedness of the function, i.e., $f(x) \geq f^\star$ for all $x \in \mathbb{R}^d$, where $\Delta = f(x^0) - f^*$, $h$ is the computation time, $\kappa$ is the communication speed between the workers and the server, and $d$ is the dimension of the iterates and gradients. This result is pessimistic since it does not allow a complexity in which both ${\frac{d \kappa L \Delta}{\varepsilon}}$ and ${\frac{h \sigma^2 L \Delta}{\varepsilon^2}}$ improve with $n$, even when using random sparsification techniques; moreover, this lower bound can be matched by either non-distributed SGD or vanilla Synchronous SGD, which reduces the impact of recent progress in the design of compression-based methods. In this work, we challenge this limitation and propose new compressed methods, Inkheart SGD and M4, and show that under an additional structural assumption, which is necessary due to the lower bound and which does not restrict the class of considered problems, we achieve new state-of-the-art time complexities that break this pessimistic barrier and allow scaling with the number of workers $n$.
BibTeX
@inproceedings{begunov2026scalable,
  author = {Grigory Begunov and Alexander Tyurin},
  title = {{Scalable Distributed Stochastic Optimization via Bidirectional Compression: Beyond Pessimistic Limits}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hQ0exeqheE},
}

Loading related content...

Figure