Towards Faster Decentralized Stochastic Optimization with Communication Compression

Rustem Islamov, Yuan Gao, Sebastian U. Stich · DOI

Abstract

Communication efficiency has garnered significant attention as it is considered the main bottleneck for large-scale decentralized Machine Learning applications in distributed and federated settings. In this regime, clients are restricted to transmitting small amounts of quantized information to their neighbors over a communication graph. Numerous endeavors have been made to address this challenging problem by developing algorithms with compressed communication for decentralized non-convex optimization problems. Despite considerable efforts, the current results suffer from various issues such as non-scalability with the number of clients, requirements for large batches, or bounded gradient assumption. In this paper, we introduce MoTEF, a novel approach that integrates communication compression with Momentum Tracking and Error Feedback. Our analysis demonstrates that MoTEF achieves most of the desired properties, and significantly outperforms existing methods under arbitrary data heterogeneity. We provide numerical experiments to validate our theoretical findings and confirm the practical superiority of MoTEF.

Introduction

In decentralized machine learning, nodes (such as smartphones or IoT devices) collaboratively train a model by communicating only with their immediate neighbors. This decentralized architecture avoids the bottleneck of a central server but introduces two primary challenges: the communication bottleneck and data heterogeneity. Moving high-dimensional model updates across a network is bandwidth-intensive, leading researchers to use compression (quantization or sparsification). However, this introduces "compression noise" that can lead to divergence. Furthermore, "client drift" caused by heterogeneous data across nodes makes reaching a global consensus difficult. Existing solutions often rely on unrealistic assumptions like bounded gradients or the requirement for "mega-batches" to maintain stability.

The MoTEF Framework

We introduce MoTEF (Momentum Tracking with Error Feedback), an algorithm designed to handle arbitrary data heterogeneity without requiring large batches. MoTEF integrates three key components:

  • Momentum Tracking: This technique allows nodes to estimate the global gradient direction by tracking update momentum across the network, serving as the primary defense against data heterogeneity.
  • Error Feedback (EF21-style): Instead of discarding information lost during compression, MoTEF stores the compression error and adds it back into subsequent updates, ensuring no information is permanently lost.
  • MoTEF-VR: A variance-reduced variant utilizing a STORM-type estimator. This is optimized for "mean-squared smooth" objective functions, enabling faster convergence by aggressively reducing stochastic noise.

Theoretical Comparison

MoTEF achieves an asymptotic convergence rate of $O(\sigma^2 / n\epsilon^4)$ for non-convex problems, matching the best possible rate for distributed SGD without compression. Crucially, it achieves "linear speedup," where the iterations required decrease proportionally as the number of nodes ($n$) increases.

Comparison of MoTEF with state-of-the-art decentralized optimization methods.

As shown in the table above, MoTEF eliminates the need for the "large batch" requirements seen in algorithms like BEER and avoids the extra assumptions (like bounded heterogeneity or gradients) required by methods such as Choco-SGD or DeepSqueeze.

Experimental Evaluation

We validated MoTEF using synthetic benchmarks, LibSVM datasets for non-convex logistic regression, and MNIST for deep learning models (MLP and CNN). The results confirm that Momentum Tracking and Error Feedback are complementary: tracking handles spatial noise from heterogeneous data, while error feedback manages compression noise.

Convergence performance and scalability of MoTEF compared to BEER across different client counts and parameters.

Empirical results demonstrate that MoTEF's performance does not degrade as data diversity increases, unlike previous state-of-the-art methods. In CNN training on MNIST, MoTEF reached higher test accuracy faster than both BEER and Choco-SGD. Furthermore, while theoretical bounds suggest a dependency on the network's spectral gap, experiments show MoTEF is robust across various topologies including Rings, Stars, and Grids.

Conclusion

MoTEF is the first decentralized optimization algorithm to achieve the optimal convergence rate of distributed SGD while utilizing compressed communication and handling arbitrary data heterogeneity. By eliminating the need for bounded gradient assumptions or massive batch sizes, it provides a scalable and practical solution for training models across decentralized networks. Future work may explore combining MoTEF with local computation steps or asynchronous communication to further enhance efficiency.

Summary updated

BibTeX
@inproceedings{islamov2025towards,
  author = {Rustem Islamov and Yuan Gao and Sebastian U. Stich},
  title = {{Towards Faster Decentralized Stochastic Optimization with Communication Compression}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=CMMpcs9prj},
}
Figure