Distributed Online Convex Optimization with Compressed Communication: Optimal Regret and Applications

Sifan Yang, Danyue Li, Lijun ZhangNeurIPS 2026

TL;DR

When training models across distributed devices on streaming data, constantly sending full gradient updates to a central server creates a massive communication bottleneck. This paper cracks a longstanding puzzle: how to compress those messages both ways when your model parameters are restricted to a specific bounded domain, without optimization errors spiraling out of control. By cleverly disentangling compression errors from boundary-projection errors, the authors achieve provably optimal performance in online learning—and accidentally solve an open problem in standard offline optimization along the way.

What Problem Does This Paper Address?

Imagine a fleet of smartphones predicting keyboard strokes or autonomous cars learning from live sensor streams. This is Distributed Online Convex Optimization (D-OCO): local learners continuously make decisions, suffer a loss on streaming data, and sync up with a central server to minimize regret (how much worse they perform compared to the single best fixed strategy in hindsight).

Sending full high-dimensional gradients every round is way too expensive. The obvious fix is gradient compression (like sending only vector signs or top coordinates). Because naive compression causes errors to pile up and ruin convergence, engineers usually rely on Error Feedback (EF)—a mechanism that saves whatever info got shaved off during compression and adds it to the next round's message.

Here is the catch: EF works great in unconstrained spaces, and in offline setups with smooth functions. However, if your parameters live inside a constrained domain (e.g., weights must stay within a certain radius), standard gradient descent forces you to project your step back into the legal zone every round. That geometric projection introduces its own error, which tangles up with the saved compression error and cascades across rounds, blowing up the math. Furthermore, compressing messages in both directions (device-to-server and server-to-device) amplifies this noise. Until now, nobody knew how to get optimal guarantees for compressed D-OCO—or even offline non-smooth optimization—under domain constraints.

Methods

The authors build their solution in three clean stages:

  1. D-FTCL (Decoupling the Errors): Instead of standard Projected Gradient Descent, the authors embed Bidirectional Error Feedback inside the Follow-the-Regularized-Leader (FTRL) framework. Rather than taking a step from the previous projected point, FTRL computes each new decision fresh from the running sum of all historical compressed messages, projecting only at the very end of the step.
  2. D-FTFCL (Taming Bidirectional Noise): While D-FTCL converges, compressing already-compressed data amplifies errors. In offline settings, Fast Compressed Communication (FCC) fixes this by recursively compressing residuals over $L$ communication rounds—an illegal move in online learning where data arrives every single tick. To adapt it, the authors group time into blocks of size $L$. Learners hold their decision steady during a block while trickling multi-round compressed updates to the server in the background. Because two-way block transmission creates a two-block latency lag, the algorithm is explicitly designed to handle asynchronous, delayed updates.
  3. Distributed Online-to-Batch (O2B) Conversion: To tackle offline stochastic optimization (with non-smooth losses and domain constraints), they wrap D-FTCL+FCC inside a distributed anytime O2B framework, feeding it weighted averages of decisions—including a time-varying weight ($\alpha_t = t$) for strongly convex functions.

Datasets

Not discussed in the paper. (Note: The main text focuses entirely on theoretical proofs and algorithmic design, mentioning that experimental validations are located in Appendix E, which is not included in this document).

Key Insights and Ideas

  • FTRL quarantined projection error: This is the central "aha!" moment. In standard gradient descent, projecting onto a domain alters the state variable, polluting all future compression steps. FTRL accumulates raw compressed signals in an unconstrained dual space and only maps to the constrained domain when making a prediction—completely severing the feedback loop between projection and compression.
  • Compression acts like a flaky network: To prove their algorithm couldn't be beaten (lower bounds), the authors modeled compression with ratio $\delta \in (0, 1]$ using a randomized gossip compressor that drops packets with probability $1-\delta$. Compression degradation is mathematically captured by the cost of waiting $\lceil 1/\delta \rceil$ rounds for a message to get through!
  • Trading update frequency for message fidelity: Blocking decisions for $L = \lceil 1/\delta \rceil$ rounds introduces latency, which usually hurts online regret. Yet, spending those $L$ rounds sharpening the compressed message shrinks bidirectional error exponentially—a trade-off that nets the exact optimal regret bound.

Key Results

Let $T$ be the number of rounds and $\delta \in (0, 1]$ be the compression ratio ($\delta = 1$ means uncompressed):

  • Fundamental Lower Bounds: No D-OCO algorithm can beat a regret of $\Omega(\delta^{-1/2}\sqrt{T})$ for convex losses, or $\Omega(\delta^{-1}\log T)$ for strongly convex losses.
  • Suboptimal Baseline (D-FTCL): Achieves $O(\delta^{-1}\sqrt{T})$ (convex) and $O(\delta^{-2}\log T)$ (strongly convex)—proving convergence, though slightly penalized in $\delta$ by two-way compression.
  • Optimal Online Algorithm (D-FTFCL): Closes the gap completely, hitting $O(\delta^{-1/2}\sqrt{T})$ and $O(\delta^{-1}\log T)$, matching the theoretical lower bounds.
  • First Offline Non-Smooth Constrained Guarantees: Via O2B conversion, they achieve last-iterate convergence rates of $O(\delta^{-1/2}T^{-1/2})$ for convex and $O(\delta^{-1}T^{-1})$ for strongly convex non-smooth functions—both matching known lower bounds/optimal rates.

Limitations and Future Work

  • Worst-case block sizes: Theory requires setting block size $L = \lceil 1/\delta \rceil$, which can be large under aggressive compression (though the authors note smaller $L$ works well in practice).
  • Exploiting smoothness: Optimistic online learning usually gets much tighter bounds when loss functions are smooth by predicting future gradients. Doing this here is tough because heavily compressed gradients don't carry enough info per round to build good predictors.
  • Non-convex landscapes: Everything here relies on convexity. A natural next step is extending these tools to distributed non-convex, non-smooth optimization using online-to-non-convex conversions.

Summary updated

Abstract

Distributed online convex optimization (D-OCO) is a powerful paradigm for modeling distributed scenarios with streaming data. However, the communication cost between local learners and the central server is substantial in large-scale applications. To alleviate this bottleneck, we initiate the study of D-OCO with compressed communication. Firstly, to quantify the compression impact, we establish the $\Omega(\delta^{-1/2}\sqrt{T})$ and $\Omega(\delta^{-1}\log{T})$ lower bounds for convex and strongly convex loss functions, respectively, where $\delta \in (0,1]$ is the compression ratio. Secondly, we propose an optimal algorithm, which enjoys regret bounds of $O(\delta^{-1/2}\sqrt{T})$ and $O(\delta^{-1} \log T)$ for convex and strongly convex loss functions, respectively. Our method innovatively incorporates the error feedback mechanism into the Follow-the-Regularized-Leader framework to address the coupling between the compression error and the projection error. Furthermore, we employ the online compression strategy to mitigate the accumulated error arising from the bidirectional compression. Our online method has great generality, and can be extended to the offline stochastic setting via online-to-batch conversion. We establish convergence rates of $O(\delta^{-1/2}T^{-1/2})$ and $O(\delta^{-1} T^{-1})$ for convex and strongly convex loss functions, respectively, providing the first guarantees for distributed non-smooth optimization with compressed communication and domain constraints.
BibTeX
@inproceedings{yang2026distributed,
  author = {Sifan Yang and Danyue Li and Lijun Zhang},
  title = {{Distributed Online Convex Optimization with Compressed Communication: Optimal Regret and Applications}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=dA7fbAenM6},
}
Figure