betaFeedback

WorksComputer Science

Optimal Regret for Communication-Efficient Decentralized Online Learning

Abstract

In this paper, we investigate decentralized online convex optimization with compressed communication, where nn learners over a network jointly minimize a sequence of global loss functions based only on their local losses and compressed messages from their neighbors. The best known regret bounds for this problem are O(ω−1/2nρ−1Tln⁡n)O(ω^{-1/2}nρ^{-1}\sqrt{T\ln n}) and O(ω−1nρ−2ln⁡nln⁡T)O(ω^{-1}nρ^{-2}\ln n\ln T) for convex and strongly convex loss functions, respectively, where ρ∈(0,1)ρ\in(0,1) is the spectral gap of the communication matrix and ω∈(0,1]ω\in(0,1] is the compression quality factor. Compared with the corresponding lower bounds of Ω(ω−1/2nρ−1/4T)Ω(ω^{-1/2}nρ^{-1/4}\sqrt{T}) and Ω(ω−1nρ−1/2ln⁡T)Ω(ω^{-1}nρ^{-1/2}\ln T), these upper bounds exhibit polynomial gaps in their dependence on ρ−1ρ^{-1}. To close these gaps, we first develop Ascent-gossip, which combines an online compression strategy with a Chebyshev recursion and attains a faster consensus rate than existing compressed gossip methods. Furthermore, by adopting Ascent-gossip, we propose an online algorithm that achieves optimal regret bounds of O~(ω−1/2nρ−1/4T)\widetilde O(ω^{-1/2}nρ^{-1/4}\sqrt{T}) and O~(ω−1nρ−1/2ln⁡T)\widetilde O(ω^{-1}nρ^{-1/2}\ln T) for convex and strongly convex loss functions, respectively. Up to logarithmic factors in nn and ρ−1ρ^{-1}, these results match the lower bounds in terms of TT, nn, ρρ, and ωω.

Introduction

Decentralized online convex optimization (D-OCO) [25, 6, 28, 22, 26, 31] (Wan 2025) is a fundamental model for distributed learning with streaming data. Formally, D-OCO proceeds as a repeated game between an adversary and nn local learners connected by an undirected graph G=([n],E)\mathcal{G}=([n],E) with edge set E⊆[n]×[n]E \subseteq[n] \times[n]. In each round t∈[T]t \in[T], every learner i∈[n]i \in[n] selects a decision wi(t)\mathbf{w}_i(t) from a convex set K⊆Rd\mathcal{K} \subseteq\mathbb{R}^d. The adversary chooses convex loss functions ft,1(⋅),…,ft,n(⋅)f_{t,1}(\cdot),\ldots,f_{t,n}(\cdot) on K\mathcal{K}, and learner ii observes only its local function ft,i(⋅)f_{t,i}(\cdot). The performance of learner ii is measured by the global regret

R(T,i)=∑t=1T∑j=1nft,j(wi(t))−min⁡w∈K∑t=1T∑j=1nft,j(w).(1)R(T,i)=\sum_{t=1}^{T}\sum_{j=1}^{n}f_{t,j}(\mathbf{w}_i(t))-\min_{\mathbf{w}\in\mathcal{K}}\sum_{t=1}^{T}\sum_{j=1}^{n}f_{t,j}(\mathbf{w}). \tag*{(1)}

which compares the cumulative loss of its decisions under the global function ft(⋅)=∑j=1nft,j(⋅)f_t(\cdot)=\sum_{j=1}^{n}f_{t,j}(\cdot) with that of the best fixed decision in hindsight. Wan et al. [22] establish optimal regret bounds of O(ρ−1/4nTln⁡n)O(\rho^{-1/4}n\sqrt{T\ln n}) and O(ρ−1/2nln⁡nln⁡T)O(\rho^{-1/2}n\ln n\ln T) for convex and strongly convex loss functions, respectively, where ρ∈(0,1)\rho\in(0,1) is the spectral gap of the communication matrix PP.

To acquire information about the global functions, each learner needs to exchange messages with its neighbors, and the communication overhead may be substantial. Therefore, several studies [18, 2, 26, 31] compress the messages to reduce the number of transmitted bits. Tu et al. [18] and Cao and Bacsar [2] establish the regret bounds of O(nmax⁡{ω−2ρ−4n1/2,ω−4ρ−8}T)O\left(n\max\{\omega^{-2}\rho^{-4}n^{1/2},\omega^{-4}\rho^{-8}\}\sqrt{T}\right) and O(nmax⁡{ω−2ρ−4n1/2,ω−4ρ−8}ln⁡T)O\left(n\max\{\omega^{-2}\rho^{-4}n^{1/2},\omega^{-4}\rho^{-8}\}\ln T\right) for convex and strongly convex loss functions, respectively. These results exhibit a high dependence on the compression quality factor ω∈(0,1]\omega\in(0,1] and the spectral gap ρ\rho, as well as a super-linear dependence on the number of learners nn. Recently, Yang et al. [26] improve the regret bounds to O(ω−1/2nρ−1Tln⁡n)O(\omega^{-1/2}n\rho^{-1}\sqrt{T\ln n}) and O(ω−1nρ−2ln⁡nln⁡T)O(\omega^{-1}n\rho^{-2}\ln n\ln T) for convex and strongly convex loss functions, respectively. They further establish the corresponding lower bounds of Ω(ω−1/2nρ−1/4T)\Omega(\omega^{-1/2}n\rho^{-1/4}\sqrt{T}) and Ω(ω−1nρ−1/2ln⁡T)\Omega(\omega^{-1}n\rho^{-1/2}\ln T). Subsequently, Zhou et al. [31] develop a simpler algorithm that achieves regret bounds of the same order. Despite these advances, a large gap remains between the existing upper and lower bounds. This raises a fundamental question whether we can achieve optimal regret bounds for D-OCO with compressed communication?

To close this gap, we first design a faster gossip strategy with compressed communication, named Ascent-gossip, and use it to develop an online algorithm with optimal regret bounds. The existing algorithms [26, 31] adopt Choco-gossip [9], which builds on the standard gossip [24] and suffers from a slow consensus rate. Consequently, these algorithms require a large number of communication rounds to reduce the consensus error, which leads to a suboptimal dependence of their regret bounds on ρ\rho. In the absence of compression, accelerated gossip [12] attains faster consensus through the Chebyshev recursion. Thus, a natural approach is to incorporate the Chebyshev recursion into Choco-gossip to accelerate the consensus rate. However, this combination fails to retain this acceleration under compressed communication. The recursion amplifies the compression error introduced at each iteration through all subsequent ones, and this accumulation eliminates the advantage of the Chebyshev recursion over standard gossip. To address this amplification, we adopt fast compressed communication (FCC) [7], which repeatedly compresses the residual and reduces the compression error at each gossip iteration exponentially in the number of compressions. Our analysis reveals that the Chebyshev recursion retains its acceleration as long as the compression error at each step remains sufficiently small. Therefore, we propose Ascent-gossip, which integrates FCC into every step of the Chebyshev recursion and achieves accelerated consensus under compressed communication. Ascent-gossip requires O(ω−1ρ−1/2ln⁡(1/ρ)ln⁡(1/ϵ))O(\omega^{-1}\rho^{-1/2}\ln(1/\rho)\ln(1/\epsilon)) communication rounds to reduce the consensus and compression errors to an ϵ\epsilon fraction of their initial values, which improves upon the O(ω−1ρ−2ln⁡(1/ϵ))O(\omega^{-1}\rho^{-2}\ln(1/\epsilon)) rounds of Choco-gossip.

Furthermore, we incorporate Ascent-gossip into the follow-the-regularized-leader (FTRL) framework [5] and develop Ascent-FTRL. Since each Ascent-gossip iteration requires multiple communication rounds, we adopt the blocking update mechanism [21, 22, 26], which divides the TT rounds into blocks and distributes the required communications across the rounds within each block, so that each round involves only one communication. For convex and strongly convex loss functions, Ascent-FTRL achieves regret bounds of O~(ω−1/2nρ−1/4T)\widetilde{O}(\omega^{-1/2}n\rho^{-1/4}\sqrt{T}) and O~(ω−1nρ−1/2ln⁡T)\widetilde{O}(\omega^{-1}n\rho^{-1/2}\ln T), respectively. These bounds match the lower bounds of Yang et al. [26] up to logarithmic factors in nn and ρ−1\rho^{-1}, and close the gap in ρ\rho. We compare our results with existing ones in Table 1.

SourceLoss functionsRegret boundsRegret gap
Lower bounds [26]ConvexΩ(ω−1/2ρ−1/4nT)\Omega\left(\omega^{-1/2}\rho^{-1/4}n\sqrt{T}\right)—
Strongly convexΩ(ω−1ρ−1/2nln⁡T)\Omega\left(\omega^{-1}\rho^{-1/2}n\ln T\right)—
[26] [31]ConvexO(ω−1/2ρ−1nln⁡nT)O\left(\omega^{-1/2}\rho^{-1}n\sqrt{\ln n}\sqrt{T}\right)O(ρ−3/4ln⁡n)O\left(\rho^{-3/4}\sqrt{\ln n}\right)
Strongly convexO(ω−1ρ−2nln⁡nln⁡T)O\left(\omega^{-1}\rho^{-2}n\ln n\ln T\right)O(ρ−3/2ln⁡n)O\left(\rho^{-3/2}\ln n\right)
This workConvexO(ω−1/2ρ−1/4nln⁡nln⁡(ρ−1)T)O\left(\omega^{-1/2}\rho^{-1/4}n\sqrt{\ln n\ln(\rho^{-1})}\sqrt{T}\right)O(ln⁡nln⁡(ρ−1))O\left(\sqrt{\ln n\ln(\rho^{-1})}\right)
Strongly convexO(ω−1ρ−1/2nln⁡nln⁡(ρ−1)ln⁡T)O\left(\omega^{-1}\rho^{-1/2}n\ln n\ln(\rho^{-1})\ln T\right)O(ln⁡nln⁡(ρ−1))O\left(\ln n\ln(\rho^{-1})\right)

Table 1. Comparison of existing regret bounds for D-OCO with compressed communication. Here, nn is the number of learners, ρ<1\rho< 1 is the spectral gap of the communication matrix, and ω∈(0,1]\omega\in(0,1] is the compression parameter. The regret gap denotes the multiplicative factor between each upper bound and the corresponding lower bound.

Related Work

In this section, we briefly review related work on decentralized online convex optimization and compressed communication.

Decentralized Online Convex Optimization (D-OCO)

D-OCO generalizes online convex optimization (OCO) [5] from a single learner to n≥2n \ge2 learners connected by an undirected graph G=([n],E)\mathcal{G}=([n],E), with communication restricted to its edges. Each learner ii aims to minimize its regret with respect to the global loss function ft(⋅)=∑j=1nft,j(⋅)f_t(\cdot)=\sum_{j=1}^{n}f_{t,j}(\cdot), while observing only its local loss function ft,i(⋅)f_{t,i}(\cdot). Information about ft,j(⋅)j≠if_{t,j}(\cdot)_{j\ne i} is acquired through gossip with neighboring learners, which computes weighted averages of the exchanged variables according to a gossip matrix PP. The pioneering work of Yan et al. [25] introduces D-OGD, a decentralized variant of OGD [32], which achieves regret bounds of O(n5/4ρ−1/2T)O(n^{5/4}\rho^{-1/2}\sqrt{T}) and O(n3/2ρ−1ln⁡T)O(n^{3/2}\rho^{-1}\ln T) for convex and strongly convex loss functions, respectively. D-FTRL [6] instead applies standard gossip to the accumulated local gradients of FTRL [14] and attains the same regret bound for convex loss functions. Wan et al. [22] develop an online accelerated gossip strategy and improve the regret bounds to O(nρ−1/4Tln⁡n)O(n\rho^{-1/4}\sqrt{T\ln n}) and O(nρ−1/2ln⁡nln⁡T)O(n\rho^{-1/2}\ln n\ln T) for convex and strongly convex loss functions, respectively. The corresponding lower bounds of Ω(nρ−1/4T)\Omega(n\rho^{-1/4}\sqrt{T}) [22] and Ω(nρ−1/2ln⁡T)\Omega(n\rho^{-1/2}\ln T) [23] confirm the optimality of these results up to logarithmic factors in nn. Wan [19] investigates D-OCO in changing environments through black-box reductions for adaptive and dynamic regret minimization.

Since each learner observes only its local loss function, information about the global loss must be acquired through communication with other learners, which can incur substantial communication overhead. Existing studies [28, 10, 21, 18, 2, 27, 29] reduce this overhead mainly by decreasing either the number of communication rounds or the amount of data transmitted in each round. We focus on the latter in this paper, while studies that reduce the number of communication rounds are discussed in Appendix A.

Compressed Communication

To reduce communication overhead in distributed optimization, extensive studies employ compression operators to reduce the amount of information transmitted between local nodes [13, 15, 1, 8, 10, 7, 18, 2, 26, 31]. Existing compression operators are commonly characterized by two properties, namely contractiveness and unbiasedness. A contractive compressor C:Rd→RdC : \mathbb{R}^{d} \to\mathbb{R}^{d} satisfies EC[∥C(x)−x∥2]≤(1−ω)∥x∥2\mathbb{E}_{C}\left[\lVert C(\mathbf{x})-\mathbf{x}\rVert^{2}\right] \le(1-\omega)\lVert\mathbf{x}\rVert^{2} for some ω∈(0,1]\omega\in(0,1], with representative examples including unscaled Rand-kk and Top-kk sparsification. An unbiased compressor satisfies EC[C(x)]=x\mathbb{E}_{C}[C(\mathbf{x})]=\mathbf{x} and EC[∥C(x)−x∥2]≤ν∥x∥2\mathbb{E}_{C}\left[\lVert C(\mathbf{x})-\mathbf{x}\rVert^{2}\right] \le\nu\lVert\mathbf{x}\rVert^{2} for some ν≥0\nu\ge0. Although unbiased compressors admit simpler theoretical analysis, biased compression schemes tend to outperform their unbiased counterparts in practice [7].

References

  1. [1]Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizzadenesheli, and Animashree Anandakumar. signsgd: Compressed optimisation for non-convex problems. In Proceedings of the 35th International Conference on Machine Learning, pages 560–569, 2018.arxiv.org/abs/1802.04434
  2. [2]Xuanyu Cao and Tamer Bacsar. Decentralized online convex optimization with compressed communications. Automatica, 156:111186, 2023.DOI
  3. [3]John C. Duchi, Alekh Agarwal, and Martin J. Wainwright. Dual averaging for distributed optimization: Convergence analysis and network scaling. IEEE Transactions on Automatic Control, pages 592–606, 2011.
  4. [4]Dan Garber and Elad Hazan. A linearly convergent conditional gradient algorithm with applications to online and stochastic optimization. SIAM Journal on Optimization, pages 1493–1528, 2016.
  5. [5]Elad Hazan. Introduction to online convex optimization. Foundations and Trends® in Optimization, 2(3-4):157–325, 2016.
  6. [6]Saghar Hosseini, Airlie Chapman, and Mehran Mesbahi. Online distributed optimization via dual averaging. In 52nd IEEE Conference on Decision and Control, pages 1484–1489, 2013.DOI
  7. [7]Xinmeng Huang, Yiming Chen, Wotao Yin, and Kun Yuan. Lower bounds and nearly optimal algorithms in distributed learning with communication compression. Advances in Neural Information Processing Systems 35, pages 18955–18969, 2022.arxiv.org/abs/2206.03665
  8. [8]Sai Praneeth Karimireddy, Quentin Rebjock, Sebastian Stich, and Martin Jaggi. Error feedback fixes signsgd and other gradient compression schemes. In Proceedings of the 36th International Conference on Machine Learning, pages 3252–3261, 2019.arxiv.org/abs/1901.09847
  9. [9]Anastasia Koloskova, Sebastian Stich, and Martin Jaggi. Decentralized stochastic optimization and gossip algorithms with compressed communication. In Proceedings of the 36th International Conference on Machine Learning, pages 3478–3487, 2019.arxiv.org/abs/1902.00340
  10. [10]Guangxia Li, Jia Liu, Xiao Lu, Peilin Zhao, Yulong Shen, and Dusit Niyato. Decentralized online learning with compressed communication for near-sensor data analytics. IEEE Communications Letters, 25(9):2958–2962, 2021.DOI
  11. [11]Yiwei Liao, Zhuorui Li, Kun Huang, and Shi Pu. Compressed gradient tracking methods for decentralized optimization with linear convergence. arXiv preprint arXiv:2103.13748, 2021.arxiv.org/abs/2103.13748
  12. [12]Ji Liu and A Stephen Morse. Accelerated linear iterations for distributed averaging. Annual Reviews in Control, 35(2):160–165, 2011.DOI
  13. [13]Frank Seide, Hao Fu, Jasha Droppo, Gang Li, and Dong Yu. 1-bit stochastic gradient descent and its application to data-parallel distributed training of speech DNNs. In Conference of the International Speech Communication Association, pages 1058–1062, 2014.DOI
  14. [14]Shai Shalev-Shwartz and Yoram Singer. A primal-dual perspective of online learning algorithms. Machine Learning, 69, 2007.
  15. [15]Sebastian U. Stich, Jean-Baptiste Cordonnier, and Martin Jaggi. Sparsified sgd with memory. In Advances in Neural Information Processing Systems 31, pages 4447–4458, 2018.arxiv.org/abs/1809.07599
  16. [16]Hanlin Tang, Shaoduo Gan, Ce Zhang, Tong Zhang, and Ji Liu. Communication compression for decentralized training. In Advances in Neural Information Processing Systems 31, 2018.arxiv.org/abs/1803.06443
  17. [17]Mohammad Taha Toghani and César A. Uribe. Scalable average consensus with compressed communications. In 2022 American Control Conference (ACC), pages 3412–3417, 2022.arxiv.org/abs/2109.06996
  18. [18]Zhipeng Tu, Xi Wang, Yiguang Hong, Lei Wang, Deming Yuan, and Guodong Shi. Distributed online convex optimization with compressed communication. In Advances in Neural Information Processing Systems 35, pages 34492–34504, 2022.DOI
  19. [19]Yuanyu Wan. Black-box reductions for decentralized online convex optimization in changing environments. In Proceedings of the 38th Annual Conference on Learning Theory, pages 5605–5631, 2025.
  20. [20]Yuanyu Wan, Wei-Wei Tu, and Lijun Zhang. Projection-free distributed online convex optimization with O(√T) communication complexity. In Proceedings of the 37th International Conference on Machine Learning, pages 9818–9828, 2020.
  21. [21]Yuanyu Wan, Guanghui Wang, Wei-Wei Tu, and Lijun Zhang. Projection-free distributed online learning with sublinear communication complexity. Journal of Machine Learning Research, 23 (172):1–53, 2022.arxiv.org/abs/2103.11102
  22. [22]Yuanyu Wan, Tong Wei, Mingli Song, and Lijun Zhang. Nearly optimal regret for decentralized online convex optimization. In Proceedings of the 37th Annual Conference on Learning Theory, pages 4862–4888, 2024.
  23. [23]Yuanyu Wan, Tong Wei, Bo Xue, Mingli Song, and Lijun Zhang. Optimal and efficient algorithms for decentralized online convex optimization. Journal of Machine Learning Research, 26:1–43, 2025.arxiv.org/abs/2402.09173
  24. [24]Lin Xiao and Stephen Boyd. Fast linear iterations for distributed averaging. Systems & Control Letters, 53(1):65–78, 2004.
  25. [25]Feng Yan, Shreyas Sundaram, SVN Vishwanathan, and Yuan Qi. Distributed autonomous online learning: Regrets and intrinsic privacy-preserving properties. IEEE Transactions on Knowledge and Data Engineering, pages 2483–2493, 2012.arxiv.org/abs/1006.4039
  26. [26]Sifan Yang, Wenhao Yang, Wei Jiang, and Lijun Zhang. Decentralized online convex optimization with efficient communication: Improved algorithm and lower bounds. Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026.arxiv.org/abs/2601.04907
  27. [27]Deming Yuan, Baoyong Zhang, Daniel WC Ho, Wei Xing Zheng, and Shengyuan Xu. Distributed online bandit optimization under random quantization. Automatica, 146:110590, 2022.DOI
  28. [28]Wenpeng Zhang, Peilin Zhao, Wenwu Zhu, Steven C. H. Hoi, and Tong Zhang. Projection-free distributed online learning in networks. In Proceedings of the 34th International Conference on Machine Learning, pages 4054–4062, 2017.
  29. [29]Wentao Zhang, Yang Shi, Baoyong Zhang, Kaihong Lu, and Deming Yuan. Quantized distributed online projection-free convex optimization. IEEE Control Systems Letters, 7:1837–1842, 2023.arxiv.org/abs/2302.13559
  30. [30]Haoyu Zhao, Boyue Li, Zhize Li, Peter Richtárik, and Yuejie Chi. BEER: Fast O(1/T) rate for decentralized nonconvex optimization with communication compression. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, pages 31653–31667, 2022.arxiv.org/abs/2201.13320
  31. [31]Hao Zhou, Xiaoyu Wang, Chang Yao, Mingli Song, and Yuanyu Wan. Revisiting decentralized online convex optimization with compressed communication. arXiv preprint arXiv:2607.01665, 2026.arxiv.org/abs/2607.01665
  32. [32]Martin Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th international conference on machine learning, pages 928–936, 2003.

Paper details

vlnc:W_6e6jrsfp
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents