arXiv:2610.41927math.OCOct 2026

Manuscript Offprint

arXiv:2610.41927

Variance Reduction for Decentralized Stochastic Optimization with Multiple Local Updates

Jie Liu, Nicola Bastianello, Wenying Xu, Daniel W. C. Ho

Jie Liu, Nicola Bastianello, Wenying Xu, and Daniel W. C. Ho

Abstract—Multiple local updates are widely used in decentralized optimization to enhance communication efficiency, often in conjunction with stochastic gradients when exact gradient computation is costly. However, such algorithms generally converge only to a neighborhood of the optimum, whose size depends on the stepsize and the variance of gradient noise. Variance reduction has been incorporated into ADMM-based methods to achieve exact convergence in expectation, but their stepsizes typically scale inversely with both the square root of the network size and the cube of the number of local updates, leading to slow convergence as the network size or the number of local updates increases. In this paper, we propose a novel primal-dual-based decentralized optimization algorithm that integrates variance reduction with multiple local updates, with a stepsize independent of the network size and inversely proportional to the number of local updates (rather than its cube), thereby enabling significantly larger stepsizes and faster convergence. Moreover, to the best of our knowledge, we establish the first linear convergence guarantee in expectation for decentralized optimization with multiple local updates under stochastic gradients in the strongly convex setting. Beyond the theoretical guarantee, the proposed method exchanges only one variable per round, halving the communication cost compared with gradient-tracking-based methods. Numerical experiments further demonstrate its advantages in convergence speed and accuracy.

Index Terms—Decentralized Optimization, Variance Reduction, Stochastic Gradient, Multiple Local Updates

I. INTRODUCTION

Decentralized optimization has emerged as a compelling paradigm with broad applications in artificial intelligence, including neural network training [1], [2], regression analysis [3], [4], and distributed estimation [5], [6]. In this setting, each agent performs local computation and coordinates exclusively with its neighboring agents through information exchange. Relative to centralized architectures, decentralized optimization offers several distinctive advantages, including enhanced robustness against single-point failures, improved preservation of data privacy, and superior scalability and communication efficiency [7]. These merits have motivated extensive research on decentralized optimization algorithms, with particular emphasis on their theoretical convergence guarantees [8], [9], [10], [11], [12], [13], [14], [15].

Communication among agents plays a fundamental role in decentralized optimization. However, in large-scale networks, the associated communication overhead can become a major bottleneck. Consequently, various communication-efficient techniques, including compression and quantization, have been developed for decentralized optimization [11], [16], [17], [18]. Notably, a highly effective approach is to let each agent perform multiple local updates between communication rounds, a strategy that has achieved remarkable success in federated learning by significantly reducing communication rounds without compromising convergence [1], [19], [20], [21]. The success of this strategy in federated learning naturally raises the following question: can it be extended to fully decentralized optimization? This extension, however, is far from straightforward. Without a central server to coordinate updates, agents in the fully decentralized setting must reach consensus through iterative information exchange with their neighbors using a mixing matrix. During the local update phase, however, they rely solely on local gradient information, which introduces significant challenges in both algorithm design and theoretical analysis. Several existing works have established convergence guarantees for multiple local updates in decentralized optimization under exact gradients [22], [23], [24], [25], [26]. Furthermore, via the Performance Estimation Problem (PEP) framework for the seminal DIGing algorithm, [27] has shown that multiple local updates can indeed accelerate convergence, thereby enhancing communication efficiency.

In modern large-scale applications, however, computing the exact gradient (full-batch) is computationally prohibitive, making stochastic gradients, typically via mini-batch sampling, the standard choice [1], [28], [10], [29]. Although decentralized stochastic gradient methods have achieved remarkable empirical success, the inherent noise in stochastic gradients prevents exact convergence. It only allows them to converge to a neighborhood of the optimum, whose radius is determined by the stepsize α\alpha and the gradient variance σ2\sigma^{2} [22], [23], [30], [31], [32], [33], [34]. To address this issue, variance reduction techniques have been extended to decentralized settings to achieve exact convergence in expectation, where the variance of gradient estimators is bounded by consensus errors rather than a constant [10], [29]. With appropriately chosen stepsizes, these algorithms thus achieve exact convergence in expectation [10], [29]. However, these results rely on a single local update per communication round, and their extension to the multiple-local-update setting remains largely unexplored.

Decentralized optimization with both stochastic gradients and multiple local updates converges only to a neighborhood of size O(ασ2)\mathcal{O}(\alpha\sigma^{2}), where α\alpha is the stepsize and σ2\sigma^{2} is the stochastic gradient variance [22], [23], [30], [31]. Incorporating variance reduction into this setting, however, poses substantially greater challenges. The fundamental difficulty is that during the mul-

J. Liu and W. Xu are with the School of Mathematics, Southeast University, Nanjing 211189, China (jliu@seu.edu.cn; wyxu@seu.edu.cn). N. Bastianello is with the Department of Electronic and Electrical Engineering, University College London, United Kingdom (n.bastianello@ucl.ac.uk). Daniel W. C. Ho is with the Department of Mathematics, City University of Hong Kong (madaniel@cityu.edu.hk).

tiple local update phase, each agent updates its local variable using only its local stochastic gradient, rather than global gradient information, and the heterogeneity of local objective functions hinders consensus during this process [20], [19], [35]. Applying variance reduction in decentralized settings typically requires bounding the variance of stochastic gradients by consensus errors [10], [29]. This requirement, combined with the difficulty of maintaining consensus across multiple local updates, inevitably forces a sufficiently small stepsize to guarantee convergence [36]. Specifically, the stepsize in [36] scales as 1/(Nτ3)1/(\sqrt{N}\tau^3), inversely proportional to both the square root of the network size N and the cube of the number of local updates τ\tau. For large-scale networks or when τ\tau is large, this stepsize becomes extremely small, leading to slow convergence.

To address the above limitations, this paper proposes a primal-dual-based decentralized algorithm that integrates variance reduction with multiple local updates. The main contributions are summarized as follows:

  • New Algorithm Design. We propose LPDVR, a novel decentralized algorithm that integrates variance reduction with multiple local updates. The key idea is to construct the variance-reduced stochastic gradient estimator upon the local primal variable maintained during local updates, rather than the optimization variable. This design ensures that the gradient variance remains controlled across multiple local steps and effectively counteracts the heterogeneity-induced drift during local updates. As a result, LPDVR achieves exact convergence in expectation for nonconvex, convex, and strongly convex cases, while also enabling large stepsizes and high communication efficiency. Table I provides a detailed comparison of convergence properties, stepsize design, and communication overhead among LPDVR and representative existing methods [22], [23], [24], [25], [26], [30], [31], [33], [34], [36], [37]. Numerical experiments confirm that LPDVR attains faster convergence and higher accuracy than existing methods.

  • Enhanced Convergence Guarantees. For most existing stochastic gradient methods with multiple local updates [30], [31], [33], [22], [23], the convergence behavior is limited. With stepsize α\alpha and stochastic gradient variance σ2\sigma^{2}, both nonconvex and convex objectives achieve an O(1/T)\mathcal{O}(1/T) rate to a neighborhood of radius O(ασ2)\mathcal{O}(\alpha\sigma^{2}) [30], [31], [33], [34]. The same limitation applies to strongly convex cases and nonconvex cases satisfying the Polyak–Lojasiewicz condition, where existing methods only achieve linear convergence to a neighborhood rather than to the exact optimum [30], [33], [34]. In sharp contrast, LPDVR achieves exact convergence at a rate of O(1/T)\mathcal{O}(1/T) in expectation for both the nonconvex and convex cases. Furthermore, even compared with the recent variance-reduced method [36] that achieves exact convergence only in nonconvex and convex cases, LPDVR further attains exact linear convergence for strongly convex objectives, a significant theoretical advance that, to the best of our knowledge, has not been established in

prior work.

  • Improved Stepsize Design. The stepsize of LPDVR scales as 1/τ1/\tau and is independent of the network size. Notably, this stepsize condition is comparable to, or even less restrictive than, those required by conventional stochastic or exact gradient methods [22], [24], [25], [30], [31], [37], [33], [34], confirming that variance reduction is achieved without enforcing a more conservative stepsize. This is made possible by a novel variance reduction mechanism built upon the local primal variable, combined with refined mathematical derivations that tightly bound the accumulated errors during multiple local updates. In sharp contrast, the recent variance-reduced ADMM-based method [36] requires a stepsize scaling as 1/(Nτ3)1/(\sqrt{N}\tau^3). Our method offers two significant advantages: (i) it removes the dependence on N, making it suitable for large-scale networks; (ii) it substantially improves the dependence on τ\tau from 1/τ31/\tau^3 to 1/τ1/\tau, enlarging the feasible stepsize especially when a large number of local updates is performed.

  • Efficient Communication. Based on the design of LPDVR, each agent shares only its primal variable with neighbors at each communication round, without transmitting any auxiliary variable. This is in sharp contrast to many existing decentralized algorithms [24], [25], [31], [32], [37], [38], which require the exchange of two variables per round, typically the optimization variable and an auxiliary variable. By cutting the per-round communication overhead in half, LPDVR achieves significantly higher communication efficiency, making it particularly suitable for bandwidth-limited environments and high-dimensional optimization and learning applications.

Notations: Throughout this paper, Z+\mathbb{Z}^+, Rn\mathbb{R}^n, and Rm×n\mathbb{R}^{m\times n} denote the sets of positive integers, real nn-dimensional vectors, and real m×nm\times n matrices, respectively. The symbols 1N∈RN\mathbf{1}_N \in \mathbb{R}^N and IN∈RN×N\mathbf{I}_N \in \mathbb{R}^{N\times N} denote the all-one vector and the identity matrix, respectively. For a vector x∈Rnx \in \mathbb{R}^n and a matrix A∈RN×NA \in \mathbb{R}^{N\times N}, we denote the jj-th entry of xx and the (i,j)(i,j)-th entry of AA by [x]j[x]_j and [A]ij[A]_{ij}, respectively. For x∈Rnx \in \mathbb{R}^n, ∥x∥\|x\| denotes its Euclidean norm ∑j=1n[x]j2\sqrt{\sum_{j=1}^n [x]_j^2}. For a matrix A∈RN×NA \in \mathbb{R}^{N\times N}, ∥A∥\|A\| denotes the norm of AA induced by the Euclidean norm, defined as ∥A∥=sup⁡∥x∥=1∥Ax∥\|A\| = \sup_{\|x\|=1} \|Ax\|. Additionally, the induced matrix 1-norm of AA is given by ∥A∥1=max⁡1≤j≤N∑i=1N∥[A]ij\|A\|_1 = \max_1 \leq j \leq N \sum_{i=1}^N \|[A]_{ij}. Finally, diag{ai}i=1N\text{diag}\{a_i\}_{i=1}^N denotes the N×NN \times N diagonal matrix with diagonal entries a1,…,aNa_1, \ldots, a_N and zeros elsewhere.

References (48)