Abstract
Federated Learning (FL) enables decentralized model training but is often hampered by significant communication bottlenecks during the exchange of model weights. We introduce FedCompress, a framework that reduces communication overhead through dynamic weight clustering and server-side knowledge distillation. By performing "self-compression" on the server using unlabeled, out-of-distribution (OOD) data, FedCompress restores the compressed structure of aggregated models without compromising client privacy. Our evaluation across vision and audio tasks shows a 4.5x reduction in communication costs and up to a 1.24x inference speedup on edge devices, with minimal impact on model accuracy.
Introduction
Federated Learning allows models to learn from private, decentralized data. However, the "price" of this privacy is a massive communication bottleneck caused by sending model weights back and forth between a central server and thousands of clients. While weight clustering can save space, it faces the challenge of aggregation smearing: when a server averages clustered weights from different clients, the resulting global model loses its compressed structure. FedCompress provides a "drop-in" compression scheme that works bi-directionally and adapts to task complexity automatically.
Methods
The FedCompress framework employs a three-pronged approach to maintain high compression ratios throughout the FL lifecycle:
- Client-Side Weight Clustering: During local training, clients use a modified loss function that encourages weights to cluster around learnable centroids, making the upstream update highly compressible.
- Server-Side Self-Compression: To counteract aggregation smearing, the server treats the aggregated global model as a "teacher" and trains a new, clustered "student" model to mimic it. This uses Knowledge Distillation (KD) on unlabeled, Out-of-Distribution (OOD) data, ensuring the server never needs access to private client data.
- Dynamic Cluster Adjustment: Instead of a fixed number of clusters, FedCompress uses a representation quality score based on the "effective rank" of model embeddings. This allows the system to automatically increase model capacity as the task becomes more sophisticated.
Experimental Results
FedCompress was evaluated across five diverse datasets, including CIFAR-10/100 and PathMNIST for vision, and SpeechCommands and VoxForge for audio. For server-side distillation, the researchers used StyleGAN-generated images and Librispeech as OOD data sources.
Communication and Performance
FedCompress achieved an average 4.5-fold reduction in communication costs (CCR) across all datasets. As shown in the performance table, it consistently outperformed the FedZip baseline, maintaining accuracy within 0.5% of the uncompressed FedAvg baseline on audio tasks while providing significantly higher compression ratios.
Edge Device Efficiency
Beyond communication, the framework improves on-device performance. When quantized to 8-bit integers, the compressed models were 1.13x to 1.24x faster during inference on edge hardware such as the Pixel 6, Jetson Nano, and Coral TPU.
Conclusion
FedCompress demonstrates that server-side distillation using OOD data is a powerful tool for recovering model compression after aggregation. By combining this with adaptive clustering, the framework significantly lowers the barrier for deploying sophisticated AI models in communication-constrained federated environments. Future research will focus on the sensitivity of the system to OOD data quality and its scalability to massive, million-parameter models.
Summary updated