PS-FedGAN: An Efficient Federated Learning Framework Based on Partially Shared Generative Adversarial Networks For Data Privacy

Achintha Wijesinghe, Songyang Zhang, Zhi DingarXiv 2023 · DOI

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized devices while keeping raw data local. However, FL faces two critical challenges: data heterogeneity (non-IID data distributions across users) and the privacy-communication trade-off. While Generative Adversarial Networks (GANs) are often used to generate synthetic data to bridge the distribution gap, sharing full GAN models is bandwidth-intensive and vulnerable to reconstruction attacks.

This paper introduces PS-FedGAN (Partially Shared Federated GAN), an architectural shift that handles non-IID data by sharing only the GAN's discriminator with the server. This approach reduces communication overhead by approximately 50% and significantly hardens the system against privacy leaks while maintaining high classification accuracy.

The PS-FedGAN Architecture

The core innovation of PS-FedGAN is a "split" training strategy designed to protect the generator, which is the component most prone to leaking private data features. By keeping the generator local and only sharing the discriminator, the framework creates a "one-way street" that makes data reconstruction significantly harder for eavesdroppers.

Overview of the PS-FedGAN architecture, illustrating how partial sharing of the discriminator protects against reconstruction attacks compared to full-GAN sharing.

Deterministic Synchronization

To ensure the server can still utilize the local training progress without receiving the generator, PS-FedGAN employs a "shadow generator" mirroring technique:

  1. Local Training: Each client trains a local GAN ($G_u$ and $D_u$).
  2. Partial Sharing: The client sends only the discriminator ($D_u$), noise vectors ($z$), and labels ($l$) to the server.
  3. Server-Side Mirroring: The server maintains a shadow generator ($G_s$) for every client. Using a secret seed shared at initialization, the server’s $G_s$ starts with the same weights as the client’s $G_u$. By receiving the same noise and labels, the server can update $G_s$ to stay perfectly in sync with the client's local generator without the generator ever leaving the device.

Performance and Privacy Analysis

The framework was evaluated using four standard benchmarks (MNIST, Fashion MNIST, SVHN, and CIFAR10) partitioned into shards to simulate varying degrees of non-IID data (Split-1 and Split-2).

Accuracy and Efficiency

PS-FedGAN consistently outperforms standard FL baselines like FedAvg (FA) and FedProx (FP) in non-IID scenarios. Crucially, it matches the performance of "Full GAN" (FG) sharing methods. For instance, on the CIFAR10 dataset under Split-1, PS-FedGAN achieved ~67% accuracy, nearly identical to the full-sharing approach but with half the communication cost.

Table comparing the classification accuracy of PS-FedGAN (PS) against baselines like FedAvg (FA) and FedProx (FP) across multiple datasets and data splits.

Robustness to Attacks

In experiments with adversarial attackers, the authors demonstrated that without the exact initial weights or architecture of the generator, reconstruction attempts result in trivial noise. When even slight weight perturbations were introduced, an attacker's classification accuracy dropped to near-random levels, proving the framework's inherent privacy benefits.

Conclusion

PS-FedGAN offers a robust solution to the data heterogeneity problem in Federated Learning. By leveraging "communication through computation"—where the server replicates generator evolution deterministically—the framework achieves high accuracy and significant bandwidth savings. Future work will focus on the impact of lossy networking channels and the scalability of maintaining shadow generators for thousands of concurrent clients.

Summary updated

BibTeX
@misc{wijesinghe2023ps,
  author = {Achintha Wijesinghe and Songyang Zhang and Zhi Ding},
  title = {{PS-FedGAN: An Efficient Federated Learning Framework Based on Partially Shared Generative Adversarial Networks For Data Privacy}},
  year = {2023},
  eprint = {2305.11437},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.11437},
}
Figure