Abstract
In federated learning, communication cost is often a critical bottleneck to scale up distributed optimization algorithms to collaboratively learn a model from millions of devices with potentially unreliable or limited communication and heterogeneous data distributions. Two notable trends to deal with the communication overhead of federated algorithms are gradient compression and local computation with periodic communication. Despite many attempts, characterizing the relationship between these two approaches has proven elusive. We address this by proposing a set of algorithms with periodical compressed (quantized or sparsified) communication and analyze their convergence properties in both homogeneous and heterogeneous local data distributions settings. For the homogeneous setting, our analysis improves existing bounds by providing tighter convergence rates for both strongly convex and non-convex objective functions. To mitigate data heterogeneity, we introduce a local gradient tracking scheme and obtain sharp convergence rates that match the best-known communication complexities without compression for convex, strongly convex, and nonconvex settings. We complement our theoretical results by demonstrating the effectiveness of our proposed methods on real-world datasets.
Introduction
Federated Learning (FL) enables training shared models across vast networks of edge devices without centralizing private data. However, the scalability of FL is severely hampered by communication bottlenecks. Specifically, modern deep learning models possess millions of parameters, making the transmission of full gradients in every training step prohibitively expensive. Researchers have historically tackled this via two distinct paths: reducing the frequency of communication rounds (periodic averaging/local SGD) and reducing the size of individual messages (gradient compression).
Combining these techniques is challenging, particularly in heterogeneous (non-IID) environments where local data distributions vary significantly across clients. Such heterogeneity often leads to "model drift," where local updates pull the global model in divergent directions, a problem exacerbated by the noise introduced during compression.
Proposed Methods: FedCOM and FedCOMGATE
This paper introduces two algorithms designed to unify periodic communication and compression:
- FedCOM (Homogeneous Data): A generalized framework where clients perform $\tau$ local updates before sending a compressed (quantized or sparsified) signal. It utilizes a global learning rate ($\gamma$) at the server to stabilize the aggregation process.
- FedCOMGATE (Heterogeneous Data): The primary contribution of this work, which introduces Local Gradient Tracking. Each client maintains a local state variable to track the difference between its local gradient and the estimated global gradient. This "correction term" nudges local updates back toward the global objective, effectively neutralizing the drift caused by data heterogeneity.
Key Insights
- Cooperative Noise Reduction: In homogeneous settings, the noise from compression is inversely proportional to the number of participating devices ($m$). As more devices contribute, individual quantization errors tend to cancel out, improving overall convergence.
- Tracking as a Stabilizer: In heterogeneous settings, compression typically worsens client drift. FedCOMGATE's tracking mechanism acts as a stabilizer, allowing it to achieve convergence rates comparable to algorithms using full, uncompressed communication.
Empirical Results
The effectiveness of these methods was validated on standard benchmarks including MNIST, CIFAR-10, and Fashion-MNIST. To simulate extreme heterogeneity, data was partitioned such that each client only accessed a small subset of classes.
Key findings include:
- Theoretical Sharpness: For non-convex objectives, FedCOMGATE matches the $O(1/\epsilon)$ convergence rate of state-of-the-art uncompressed methods.
- Communication Efficiency: By employing 8-bit quantization, the authors reduced communication volume by 4x to 8x without sacrificing model accuracy. As shown in the figure above, FedCOMGATE's per-round communication size is drastically lower than that of SCAFFOLD or FedAvg.
- Robustness: The algorithms remain stable under partial client participation, a crucial requirement for real-world FL deployments where devices frequently go offline.
Conclusion
By integrating periodic communication with local gradient tracking and compression, FedCOM and FedCOMGATE offer a robust solution to the communication bottlenecks in Federated Learning. The proposed framework provides both theoretical guarantees and practical speedups, ensuring that high-performance collaborative learning is possible even under constrained bandwidth and diverse data distributions.
Summary updated