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

Decentralized Composite Optimization with Compression

Yao Li, Xiaorui Liu, Jiliang Tang, Ming Yan, Kun YuanarXiv 2021

Introduction

In the realm of distributed machine learning, communication overhead remains a primary bottleneck. As models grow in size and datasets are distributed across vast networks, the time spent synchronizing parameters often dwarfs the time spent on local computation. Two prominent strategies have emerged to mitigate this: decentralized optimization, where nodes communicate only with immediate neighbors, and communication compression, which reduces the precision or size of transmitted data.

However, existing decentralized algorithms with compression frequently struggle with composite optimization problems—those involving both a smooth loss function and a non-smooth regularizer (e.g., L1-norm for sparsity). Furthermore, the assumption of independent and identically distributed (IID) data across nodes is often violated in practice. This paper introduces Prox-LEAD, a novel algorithm designed to handle non-smooth components, stochastic gradients, and aggressive compression simultaneously, even in highly heterogeneous (non-IID) environments.

The Prox-LEAD Algorithm

Prox-LEAD (Proximal gradient LinEAr convergent Decentralized algorithm with compression) integrates several advanced techniques to achieve high efficiency and theoretical robustness:

  • Difference Compression with Error Compensation: Instead of compressing raw weights, Prox-LEAD compresses the difference between the current local variable and a tracked state. As the system converges, these differences diminish, causing the compression error to naturally vanish. This allows for exact convergence even with low-precision quantization.
  • Proximal Operators: To address non-smooth regularizers, the algorithm incorporates a local proximal mapping step on each node after receiving compressed updates from neighbors.
  • Variance Reduction: For finite-sum problems, Prox-LEAD employs variance reduction techniques like Loopless SVRG and SAGA. This mitigates the noise inherent in stochastic gradient sampling, enabling faster convergence.
  • Primal-Dual Framework: Theoretically, Prox-LEAD is framed as an inexact Primal-Dual Hybrid Gradient (PDHG) method. This perspective allows the authors to treat compression as a controlled source of inexactness in the primal and dual updates.

Theoretical Contributions and Insights

The theoretical analysis of Prox-LEAD yields several significant insights:

  • Arbitrary Compression Precision: Prox-LEAD is remarkably robust, maintaining convergence to the exact optimal solution even with extremely low precision (e.g., 2-bit quantization).
  • Robustness to Heterogeneity: Unlike many predecessors, Prox-LEAD does not require a "bounded heterogeneity" assumption. Its convergence guarantees hold regardless of how differently data is distributed across the network.
  • Convergence Rates: The authors prove an $O(1/k)$ sublinear convergence rate for general stochastic settings. In finite-sum settings with variance reduction, the algorithm achieves linear convergence, matching the rates of uncompressed counterparts.
  • Efficiency "Almost for Free": Because the compression error variance goes to zero as the model approaches the optimum, the algorithm achieves significant bandwidth savings without increasing the total number of iterations required for convergence.

Experimental Evaluation

The effectiveness of Prox-LEAD was evaluated using a regularized logistic regression task on the MNIST dataset. To simulate a realistic, challenging environment, the data was distributed across 8 machines in a strictly non-IID fashion (e.g., each node only seeing specific digit classes).

Empirical results demonstrated that Prox-LEAD, even when using aggressive 2-bit quantization, followed the same epoch-wise convergence trajectory as 32-bit uncompressed algorithms like NIDS and P2D2. Consequently, Prox-LEAD reached target accuracy levels using orders of magnitude fewer communication bits, highlighting its superior communication efficiency.

Limitations and Future Directions

While Prox-LEAD offers a powerful framework, it currently relies on the assumption of convexity (strongly convex smooth losses and convex regularizers). While standard for theoretical analysis, extending these guarantees to non-convex landscapes typical of deep learning remains an open challenge. Additionally, the current analysis assumes an undirected, connected communication graph, leaving directed topologies for future exploration.

The authors suggest that the underlying primal-dual framework used to derive Prox-LEAD could serve as a template for applying communication compression to a broader class of optimization algorithms in the future.

Summary updated

BibTeX
@misc{li2021decentralized,
  author = {Yao Li and Xiaorui Liu and Jiliang Tang and Ming Yan and Kun Yuan},
  title = {{Decentralized Composite Optimization with Compression}},
  year = {2021},
  eprint = {2108.04448},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.04448},
}
Figure