Abstract
Federated Learning (FL) is often hindered by the Non-Independent and Identically Distributed (Non-IID) nature of client data, which leads to significant model divergence. This paper discusses Synthetic Data Aided Federated Learning (SDA-FL), a framework that utilizes Differentially Private Generative Adversarial Networks (DP-GANs) to generate and share synthetic data. By combining local private data with a globally shared synthetic dataset and employing an iterative pseudo-labeling mechanism, SDA-FL effectively mitigates the distribution gap between clients. Experimental results across multiple benchmarks, including a COVID-19 medical dataset, demonstrate that SDA-FL significantly outperforms traditional FL methods in extreme non-IID scenarios.
1. Introduction
Federated Learning (FL) has emerged as a promising paradigm for privacy-preserving collaborative machine learning. By allowing clients to train models locally and share only model updates with a central Parameter Server (PS), FL avoids the risks associated with raw data centralization. However, the practical deployment of FL faces a critical challenge: Non-IID data distribution. When clients possess data from different distributions (e.g., varying classes or features), local models tend to drift toward local optima, resulting in a suboptimal aggregated global model.
Existing approaches to mitigate this drift include model regularization and simple data augmentation. However, these methods often struggle in extreme non-IID cases or may inadvertently leak private information. To address these limitations, the SDA-FL framework introduces a privacy-preserving synthetic data sharing mechanism that homogenizes the training distribution without compromising raw data privacy.
2. The SDA-FL Framework
The SDA-FL methodology integrates GAN-based synthesis into the standard FL pipeline through five key stages:
2.1 Local DP-GAN Pretraining
Prior to the collaborative training phase, each client trains a local Wasserstein GAN with Gradient Penalty (WGAN-GP). To ensure formal privacy guarantees, Gaussian noise is injected into the training process, adhering to the principles of Differential Privacy (DP). This ensures that the generated synthetic samples do not reveal sensitive information about the underlying raw data.
2.2 Global Synthetic Dataset Construction
Once the local GANs are trained, clients generate and upload a set of synthetic samples to the Parameter Server. These samples are aggregated to form a global synthetic dataset. Because the GANs are trained in an unsupervised manner, this dataset initially lacks labels.
2.3 Iterative Pseudo-Labeling
To utilize the unlabeled synthetic data, SDA-FL employs an iterative pseudo-labeling mechanism. The PS uses the current global model (or aggregated local models) to predict labels for the synthetic dataset. As the FL process progresses and the model accuracy improves, these pseudo-labels become increasingly reliable, creating a positive feedback loop between model quality and data labeling.
2.4 Synthetic Data Aided Training
During local training rounds, clients utilize a Mixup strategy. This involves creating linear interpolations between their private local data and the shared synthetic data. This process effectively "fills in" the missing parts of the local distribution, reducing the divergence between client models.
2.5 Server-Side Updates
In addition to standard model averaging, the PS performs direct updates on the global model using the synthetic dataset and their corresponding pseudo-labels. This further stabilizes the global model against local drift.
3. Experimental Evaluation
The framework was evaluated on standard benchmarks (MNIST, FashionMNIST, CIFAR-10, and SVHN) and a real-world COVID-19 chest X-ray dataset.
3.1 Performance in Extreme Non-IID Scenarios
SDA-FL demonstrates remarkable resilience to data skew. In a FashionMNIST experiment where each client held only one class of data, SDA-FL achieved an accuracy of 85.70%, compared to a mere 16.50% for the standard FedAvg algorithm. On CIFAR-10 with three classes per client, SDA-FL reached 84.56% accuracy, surpassing FedAvg (79.33%) and FedMix (79.49%).
3.2 Medical Application
In the high-stakes context of COVID-19 diagnosis, SDA-FL achieved 96.25% accuracy. Notably, this performance exceeded a theoretical "IID" version of FedAvg (95.19%), suggesting that the synthetic data serves as a powerful regularizer that enhances generalization beyond what is possible with raw data alone.
4. Discussion
The success of SDA-FL is rooted in the "interplay effect" between model training and pseudo-labeling. Improved models yield better labels, which in turn facilitate better training. Furthermore, the framework manages the privacy-utility trade-off effectively; even with a strict privacy budget (epsilon=5), the framework maintains high classification accuracy despite an increase in the Fréchet Inception Distance (FID) of the synthetic images.
5. Conclusion and Future Work
SDA-FL provides a robust solution for the Non-IID challenge in Federated Learning by leveraging DP-GANs and pseudo-labeling. While the framework introduces some computational overhead due to local GAN training and initial communication costs for the synthetic dataset, its performance gains in skewed environments are substantial. Future research will explore more efficient GAN architectures and methods to further reduce the computational burden on edge devices.
Summary updated