Introduction
Federated Learning (FL) enables collaborative model training across decentralized clients without requiring raw data sharing. However, real-world deployments face significant challenges due to data heterogeneity. Clients often possess non-Independent and Identically Distributed (non-IID) data, characterized by label skewness (different classes) or feature heterogeneity (same classes, different styles). Traditional FL methods that aim for a single global model often fail to perform optimally for individual clients in these diverse environments.
Personalized Federated Learning (PFL) addresses this by tailoring models to specific client distributions. Yet, existing PFL approaches often struggle with "Byzantine" clients—those with entirely unrelated datasets—or subtle feature variations. This paper introduces PFL-GAN, a framework that utilizes Generative Adversarial Networks (GANs) and Auto-Encoders to overcome these hurdles by measuring client similarity in a latent feature space.
Proposed Framework
PFL-GAN employs a multi-stage pipeline designed to bridge the gap between heterogeneous clients while maintaining strict privacy:
- Local GAN Training: Clients train local conditional GANs (cGANs) on their private data. Only the trained model weights are shared with the server.
- Synthetic Data Generation: The server uses these GANs as privacy-preserving proxies to generate synthetic datasets representing each client's distribution.
- AE-Guided Similarity Measurement: To compare distributions efficiently, the server passes synthetic data through a pre-trained Auto-Encoder (AE). By analyzing latent embeddings rather than raw pixels, the server calculates the Kullback–Leibler Divergence (KLD) between clients. This identifies meaningful feature similarities (e.g., stroke patterns) in a lower-dimensional space.
- Weighted Aggregation: Using a truncated Radial Basis Function (RBF) kernel, the server establishes a similarity threshold. It aggregates synthetic data from similar clients to create a refined, personalized dataset for each target client.
- Personalized GANs and Downstream Training: The server trains personalized cGANs for each client using the refined datasets. Clients then use these GANs to augment their local training sets, ultimately training high-performance local classifiers.
Experimental Setup
The effectiveness of PFL-GAN was evaluated across three distinct non-IID scenarios:
- MNIST: Testing traditional label skewness with handwritten digits.
- MNIST + FMNIST: Simulating "Byzantine" scenarios where some clients have completely unrelated clothing data (Fashion-MNIST) while others have digits.
- EMNIST: Testing feature heterogeneity by splitting handwritten letters into Capital and Simple (lowercase) categories.
Key Results and Insights
PFL-GAN consistently outperformed state-of-the-art methods like FedAvg, FedProx, and FedBN across all benchmarks.
- Robustness to Mixed Data: In the MNIST/FMNIST mix, PFL-GAN maintained high accuracy (96.91% on MNIST, 84.34% on FMNIST), whereas FedAvg's performance collapsed to 75.80% and 30.28%, respectively. This demonstrates the framework's ability to automatically ignore irrelevant "Byzantine" data.
- Handling Style Variations: In the EMNIST Capital vs. Simple test, PFL-GAN achieved 97.58% and 91.03% accuracy, respectively, nearing the performance of a centralized baseline.
- GANs as Privacy Proxies: The core innovation lies in using GANs to allow the server to "understand" client distributions without ever accessing raw private pixels.
- Asymmetric Relationships: By using KLD, the system recognizes that similarity is not always mutual; one client's data may benefit another without the reverse being true.
Conclusion
PFL-GAN provides a robust solution for personalized federated learning in the face of extreme data heterogeneity. While it introduces higher server-side computational overhead due to synthetic data generation and personalized GAN training, its ability to handle diverse feature spaces and Byzantine clients is a significant advancement. Future work will focus on automating the selection of similarity thresholds and extending the framework to handle multiple simultaneous feature spaces.
Summary updated