DPD-InfoGAN: Differentially Private Distributed InfoGAN

Vaikkunth Mugunthan, Vignesh Gokul, Lalana Kagal, Shlomo Dubnov

TL;DR

Generative Adversarial Networks (GANs) are powerful tools for synthesizing data, but they often inadvertently memorize and expose sensitive training examples. This paper introduces DP-InfoGAN and its distributed counterpart, DPD-InfoGAN, which allow users to generate synthetic images with fine-grained control over specific attributes (like rotation and thickness) while mathematically guaranteeing the privacy of the training data. Furthermore, the distributed approach enables multiple clients to learn image variations from each other without sharing raw data or full models, significantly reducing communication costs compared to standard federated learning.

What Problem Does This Paper Address?

Machine learning models, particularly complex generative models like GANs, are vulnerable to privacy attacks (e.g., membership inference or reconstruction attacks) where an adversary can extract sensitive training data. To combat this, researchers have developed Differentially Private GANs (DP-GANs). However, existing DP-GANs typically generate fixed synthetic data and lack the ability to control specific attributes of the generated images. If you want to change an attribute (like making a generated digit thicker or rotating it), you'd normally have to train an entirely new model, which is computationally expensive.

The InfoGAN architecture solves this attribute control problem by disentangling latent variables, but it lacks privacy guarantees. Furthermore, in real-world scenarios, data is often distributed across multiple clients (e.g., different hospitals) who cannot share their private datasets due to regulations like GDPR. Standard Federated Learning (FL) approaches to train GANs across clients require heavy communication overhead to constantly share massive model parameters.

Methods

The authors propose two main architectures to bridge the gap between privacy, attribute control, and distributed learning:

  1. DP-InfoGAN (Single Client): The authors inject Differential Privacy (DP) into the standard InfoGAN training loop. Specifically, they clip the gradients of the discriminator to bound their sensitivity and add Gaussian noise before updating the weights. Because the generator and the auxiliary Q-network (which estimates the latent codes responsible for controlling image attributes) only receive updates derived from the DP-trained discriminator, they inherently satisfy differential privacy through the post-processing property of DP.
  2. DPD-InfoGAN (Distributed): To handle distributed data, they set up a system where $N$ clients each have their own local generator and discriminator. However, they all share a single auxiliary Q-network. During training, clients sequentially update this shared Q-network. This is a massive departure from standard Federated Learning: instead of transmitting massive generator and discriminator models back and forth, clients only share the outputs of their discriminators and the Q-network weights. This drastically cuts communication costs.

Datasets

  • MNIST: Used to evaluate the model's ability to control digit rotation and thickness.
  • FashionMNIST: Used to evaluate control over the thickness of clothing items.

Key Insights and Ideas

  • The Privacy-Utility-Control Trade-off: There is a direct tension between how private the model is and how well it can disentangle image attributes. Under strict privacy guarantees (smaller $\epsilon$), the model struggles to isolate features, causing attributes like thickness and rotation to become entangled.
  • Cross-Pollination of Features via a Shared Q-Network: In the distributed setting, a client that only has a limited subset of data (e.g., missing certain rotation angles) can still learn to generate those missing variations. The shared Q-network acts as a privacy-preserving bridge, capturing feature variances from all clients and allowing individual local generators to synthesize attributes they've never explicitly seen in their own training data.
  • Communication Efficiency: By only sharing the Q-network rather than the full GAN architecture, the distributed setup provides a highly cost-efficient alternative to traditional Federated Learning for generative models.

Key Results

  • Qualitative Image Generation: DP-InfoGAN successfully generates high-quality images while maintaining privacy. However, at very high privacy levels ($\epsilon = 0.1$), it begins to blur the lines between visually similar digits (like 3 and 5) and loses strict control over specific attributes (rotation and thickness start to blend).
  • Distributed Superiority: In an experiment with 10 clients (each holding 6,000 non-overlapping MNIST images), DPD-InfoGAN produced generated images with significantly more variety in rotation and thickness compared to a single-client model trained on the same amount of data (6,000 images).
  • FashionMNIST: Similar results were observed on FashionMNIST; as privacy increased, the model had a harder time differentiating between distinct objects like shoes and shirts, and the overall variation in generated thickness decreased.

Limitations and Future Work

  • Limitations: The primary limitation is the degradation of attribute control and image quality under strict privacy budgets (low $\epsilon$). The model struggles to perfectly disentangle latent spaces when gradient noise is high. Additionally, the evaluation is primarily qualitative (visual inspection) rather than using standard quantitative GAN metrics like Inception Score (IS) or Frechet Inception Distance (FID), which the authors note do not adequately capture specific variations like rotation or thickness.
  • Future Work: The authors plan to extend this privacy-preserving, distributed paradigm to more advanced and higher-resolution GAN architectures, such as CycleGANs and BigGANs.

Summary updated

BibTeX
@inproceedings{mugunthan2021dpd,
  author = {Vaikkunth Mugunthan and Vignesh Gokul and Lalana Kagal and Shlomo Dubnov},
  title = {{DPD-InfoGAN: Differentially Private Distributed InfoGAN}},
  booktitle = {EuroMLSys@EuroSys},
  year = {2021},
  url = {https://openreview.net/forum?id=_3qPnzYoFw},
}

Loading related content...

Figure