Towards Faster Decentralized Stochastic Optimization with Communication Compression

Rustem Islamov, Yuan Gao, Sebastian U Stich

Introduction

Decentralized machine learning—essential for Internet of Things (IoT) and Federated Learning applications—allows devices to train models by communicating only with their immediate neighbors rather than a central server. While this avoids central bottlenecks, it introduces massive communication overhead. To save bandwidth, systems use communication compression (transmitting only the most critical bits). However, compression introduces noise and bias.

Previous algorithms attempting to resolve this faced three major flaws:

  1. The "Mega Batch" Requirement: They required devices to process massive amounts of data simultaneously, which is impractical for edge devices.
  2. Data Heterogeneity: They struggled when data varied significantly across devices (e.g., a hospital in New York vs. one in London).
  3. Lack of Linear Speedup: They failed to prove that adding more devices proportionally speeds up training.

To address these issues, researchers have introduced MoTEF, a novel decentralized optimization algorithm that bridges the gap between theory and practice for large-scale machine learning.

The MoTEF Approach

MoTEF (Momentum Tracking and Error Feedback) achieves optimal convergence rates by weaving together three distinct mechanisms:

  • Error Feedback (EF): Acts as a "memory" for compression. If a device cannot send a specific update because it is too small, it stores that "error" and adds it to the next update, ensuring no information is lost over time.
  • Gradient/Momentum Tracking: Helps nodes stay synchronized. Instead of merely sharing gradients, nodes track the global direction of the optimization, neutralizing the "client drift" caused by differing local datasets.
  • Momentum: Utilizes Polyak’s momentum to smooth out the noisy updates inherent in stochastic training.

The authors also introduced MoTEF-VR, a variance-reduced version employing a STORM-type estimator to further accelerate convergence for smoother functions.

Key Insights and Results

MoTEF was rigorously validated across several scenarios, including Synthetic Least Squares (to test extreme data heterogeneity and network topologies), LibSVM (a9a, w8a) for non-convex logistic regression, and MNIST for deep learning models (MLPs and CNNs).

  • Breaking the Heterogeneity Barrier: MoTEF is the first decentralized algorithm using "contractive" compressors (like Top-K) that functions under arbitrary data heterogeneity without requiring massive batches.
  • Optimal Rates and Linear Speedup: MoTEF achieves an asymptotic convergence rate of $O(\sigma^2 / n\epsilon^4)$. This "gold standard" demonstrates a linear speedup—the error drops proportionally as more clients ($n$) are added to the network.
Linear Speedup with MoTEF
  • Communication Efficiency and Stability: In empirical tests, MoTEF reached high accuracy using significantly fewer transmitted bits compared to previous state-of-the-art methods like BEER or CHOCO-SGD. Furthermore, while competitors saw performance degrade as data became more heterogeneous, MoTEF’s performance remained exceptionally stable.
Performance Comparison against Baselines

Limitations and Future Work

The primary limitation of MoTEF is theoretical: the current mathematical proof shows a sub-optimal dependency on the network's spectral gap ($\rho^{-3}$ instead of the ideal $\rho^{-1/2}$). Although empirical experiments demonstrate the algorithm performs much better than this bound suggests, tightening the mathematical proof remains an open challenge.

Future research could explore extending MoTEF to asynchronous settings, where devices do not have to wait for their slowest neighbor to finish before proceeding, which would further reduce idle time in real-world deployments.

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