Abstract
Federated Learning (FL) faces significant challenges when dealing with highly heterogeneous (Non-IID) data across clients. While Personalized Federated Learning (PFL) aims to address this by training client-specific models, existing approaches often struggle with either insufficient collaboration or high communication overhead. This paper presents PFedCS, a novel PFL framework that adaptively groups clients based on the similarity of their personalized classifier parameters. By generating customized "teacher" classifiers to guide local training via knowledge distillation, PFedCS enables fine-grained collaboration that significantly improves local task performance. Experimental results on CIFAR and Tiny-ImageNet benchmarks demonstrate that PFedCS outperforms state-of-the-art methods by up to 4.07% in test accuracy.
Introduction
Federated Learning (FL) enables collaborative model training without centralizing raw data, preserving privacy. However, real-world data distributions are frequently non-independent and identically distributed (Non-IID), leading to "client drift" where a single global model fails to perform well for all participants.
Personalized Federated Learning (PFL) addresses this by allowing each client to maintain a unique model. Current PFL strategies generally fall into two categories: architecture-driven methods that keep certain layers (like classifiers) strictly local, and similarity-based methods that group clients for full-model aggregation. The former often misses collaborative opportunities, while the latter can be computationally expensive and sensitive to low-quality data. PFedCS bridges this gap by enabling task-specific collaboration at the classifier level without increasing the communication burden on edge devices.
Methodology
PFedCS decouples the neural network into a shared feature extractor and a personalized linear classifier. The framework introduces a sophisticated server-side aggregation and client-side distillation process.
The core mechanics include:
- Adaptive Collaborator Selection: The server calculates pair-wise L2 distances between client classifiers. It employs a Gaussian Mixture Model (GMM) to cluster these distances, identifying relevant "candidate collaborators" for each client.
- Dynamic Aggregation: To account for initial parameter instability, PFedCS uses a dynamic threshold that starts broad and narrows as training converges. A customized classifier is then generated for each client using a distance-weighted average of its peers.
- Guided Local Training: Instead of direct replacement, clients use the customized classifier as a "teacher." Through a four-step process (Download, Replace, Fine-tune, and Distill), the local model absorbs peer knowledge via KL divergence while maintaining its focus on local data.
Experimental Results
The authors evaluated PFedCS using CIFAR-10, CIFAR-100, and Tiny-ImageNet. Two Non-IID scenarios were simulated: Pathological Non-IID, where clients are restricted to a small subset of classes, and Practical Non-IID, where data is distributed via a Dirichlet distribution to create realistic class imbalances.
Key findings include:
- State-of-the-Art Performance: PFedCS consistently outperformed 12 baseline algorithms, including FedAvg, FedProx, and specialized PFL methods like FedPer and FeSEM. It achieved an average improvement of 2.51% over the best baseline in pathological settings.
- Scalability: As shown in the results, PFedCS maintains its performance advantage even as the number of clients increases from 10 to 100, demonstrating robustness to data fragmentation.
- Similarity as a Proxy: The method validates that classifier parameter distance serves as an effective, privacy-preserving proxy for data distribution similarity, allowing the server to group similar clients without inspecting raw data.
Conclusion
PFedCS introduces an effective way to leverage inter-client similarities in heterogeneous federated environments. By focusing collaboration on the classifier and using knowledge distillation for stable local updates, it achieves state-of-the-art performance. While the local fine-tuning step adds some computational overhead, the gains in accuracy and robustness make it a compelling solution for real-world PFL. Future work may focus on further optimizing the distillation process for resource-constrained edge devices.
Summary updated