Federated Learning with Compression: Unified Analysis and Sharp Guarantees

Farzin Haddadpour, Mohammad Mahdi Kamani, Aryan Mokhtari, Mehrdad Mahdavi

Introduction

Scaling Federated Learning (FL) to millions of edge devices, such as smartphones and IoT sensors, presents a significant challenge due to communication bottlenecks. Two primary strategies have emerged to mitigate this: periodic averaging (reducing the frequency of communication rounds) and message compression (reducing the size of each transmitted update via quantization or sparsification). While effective individually, their combined application—particularly in heterogeneous (Non-IID) data environments—has remained theoretically underdeveloped. In such settings, local model "drift" combined with compression noise often leads to poor convergence. This paper introduces a unified theoretical framework and two novel algorithms, FedCOM and FedCOMGATE, to address these challenges with sharp convergence guarantees.

Methodology: FedCOM and FedCOMGATE

The authors propose two algorithmic frameworks tailored to different data distributions:

  1. FedCOM (Federated Averaging with Compression): Optimized for homogeneous (IID) data. It introduces a global server-side learning rate ($\gamma$), providing a tunable parameter that enables tighter convergence bounds than previous state-of-the-art methods.
  2. FedCOMGATE (FedCOM with Local Gradient Tracking): The flagship contribution designed for heterogeneous (Non-IID) data. It incorporates a local gradient tracking scheme where each device maintains a state variable ($\delta_j$) to estimate the discrepancy between local and global gradients. This correction mechanism prevents local models from drifting apart, even under heavy compression.

Theoretical Framework and Sharp Guarantees

A key contribution of this work is a unified analysis covering non-convex, strongly convex (PL), and general convex objective functions. The analysis demonstrates that the noise introduced by compression is effectively mitigated by the number of participating devices ($m$), with variance scaling by $1/m$ in homogeneous settings.

Comparison of FedCOM convergence rates against QSPARSE and FedPAQ, showing improved bounds for various objective functions.

As shown in the theoretical comparison above, FedCOM achieves superior bounds compared to earlier works like QSPARSE and FedPAQ. For non-convex objectives, the required communication rounds $R$ scale as $O(1/\epsilon)$, matching the rates of centralized deterministic SGD.

For heterogeneous data, FedCOMGATE eliminates the "residual error" floor typically associated with compression in Non-IID settings. Remarkably, the theory suggests that gradient tracking is robust enough to achieve convergence rates comparable to non-compressed algorithms, effectively providing compression "for free."

Theoretical comparison of FedCOMGATE against DIANA and VR-DIANA, highlighting its performance in heterogeneous settings.

Experimental Validation

The proposed methods were evaluated on standard image classification benchmarks, including MNIST, CIFAR-10, Fashion MNIST, and EMNIST. To simulate extreme heterogeneity, data was partitioned such that each device only accessed a subset of classes.

Key experimental findings include:

  • Communication Efficiency: On CIFAR-10, FedCOMGATE achieved an 8x reduction in communication bits compared to SCAFFOLD while maintaining identical convergence speeds.
  • Robustness: FedCOMGATE remained highly effective even when only a small subset (e.g., 10%) of clients participated in each round, a critical requirement for real-world FL deployments.

Conclusion

This paper bridges the gap between periodic averaging and compression in Federated Learning. By introducing gradient tracking into the compressed FL pipeline, the authors provide a robust solution for heterogeneous data environments. Future work may extend this analysis to "biased" compression operators (e.g., Top-K sparsification) and explore server-to-device (downlink) compression for further efficiency gains.

Summary updated

BibTeX
@inproceedings{haddadpour2021federated,
  author = {Farzin Haddadpour and Mohammad Mahdi Kamani and Aryan Mokhtari and Mehrdad Mahdavi},
  title = {{Federated Learning with Compression: Unified Analysis and Sharp Guarantees}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
  url = {https://openreview.net/forum?id=wp4m2F4BUu0},
}
Figure