Black-Box Training Data Identification in GANs via Detector Networks

Lukman Olagoke, Salil P. Vadhan, Seth NeelarXiv 2023 · OpenReview

TL;DR

This paper introduces novel "detector" networks to identify if a specific data point was used to train a Generative Adversarial Network (GAN), focusing on the realistic "black-box" scenario where only the GAN's generator is accessible. They demonstrate that non-trivial privacy attacks are possible, though GANs appear more private than other generative models, leaving open the question of whether this is inherent or due to current attack limitations.

What Problem Does This Paper Address?

Generative Adversarial Networks (GANs) are powerful tools for creating synthetic data across various domains. However, their ability to "memorize" training data raises privacy concerns. For instance, individuals might want to know if their copyrighted data was used to train a GAN, or researchers might want to perform membership inference attacks (MIAs) to detect if a specific data point was part of the training set. Most prior work on GAN privacy attacks assumes "white-box" access, meaning the attacker can see the GAN's discriminator. This paper addresses the more practical "black-box" setting, where the attacker only has access to samples generated by the GAN, not its internal workings. This gap is crucial because typically only the generator is shared after training.

Methods

The core contribution is a new class of attacks called "detector-based attacks." The most successful of these, dubbed "The Detector," involves training a separate network (the detector) to distinguish between samples generated by the target GAN and genuine samples from the underlying data distribution. The authors prove that this detector can serve as an approximately optimal membership inference attack under certain assumptions about the GAN's generator. They also introduce an augmented version, ADIS, which incorporates features from distance-based attacks and the DOMIAS method. The paper also evaluates existing distance-based and density-based MIA methods for comparison.

Datasets

The authors evaluate their attacks on two main types of data:

  • Genomic Data: Sub-sampled datasets from the 1000 Genomes and dbGaP repositories, with dimensions ranging from 805 to 10,000 SNPs.
  • Image Data: The CIFAR-10 dataset, consisting of 60,000 images across 10 categories.

Key Insights and Ideas

  • Black-Box GAN Privacy is a Real Concern: Contrary to a potential assumption that GANs are inherently more private due to their black-box nature, this work demonstrates that significant privacy leakage is still possible.
  • The Detector is a Powerful MIA Tool: Training a separate network to distinguish GAN-generated data from real data proves to be an effective strategy for inferring training set membership.
  • GANs Might Be More Private (or Attacks Aren't Strong Enough Yet): While attacks are successful, their overall effectiveness against GANs appears lower compared to other generative models or discriminative models. This raises a fundamental question: are GANs inherently more private, or do we simply need better attacks?
  • Data and GAN Architecture Matter: The success of these attacks varies depending on the dimensionality of the tabular data, the specific GAN architecture used (e.g., Vanilla GAN vs. WGAN-GP), and the dataset itself.

Key Results

  • Non-trivial Attack Success: The proposed "Detector" and "ADIS" attacks achieve True Positive Rates (TPRs) that are significantly higher (up to 10x) than random guessing at low False Positive Rates (FPRs), indicating a real privacy risk.
  • Genomic Data Vulnerability: Attacks show notable success on genomic datasets, especially with higher dimensions and WGAN-GP architectures. For instance, ADIS achieved TPRs up to 6.40% at a 2.59% FPR on dbGaP with WGAN-GP at 805 SNPs.
  • Image Data Less Vulnerable (but still leaky): Image GANs (CIFAR-10) exhibit lower overall privacy leakage (lower AUCs), but detector-based attacks still manage to achieve TPRs 2-6x higher than random baselines at low FPRs.
  • Detector Robustness: Detector-based attacks (especially ADIS) demonstrate more consistent performance across varying data dimensions and GAN architectures compared to distance-based methods.

Limitations and Future Work

  • GAN Privacy vs. Attack Strength: The paper highlights the open question of whether GANs are inherently more private or if current attacks are simply less sophisticated than those for other models. This suggests a need for developing stronger black-box attacks against GANs.
  • Theoretical Guarantees: While theoretical results are provided for the Detector under simplified models, extending these guarantees to more complex GAN architectures and real-world scenarios would be valuable.
  • Domain-Specific Attacks: The effectiveness of distance metrics can be domain-specific, suggesting further research into tailored distance measures for different data types.
  • Investigating Inconsistent Performance: The paper notes that DOMIAS performed inconsistently on image GANs, sometimes worse than random guessing, indicating an interesting direction for future investigation.

Summary updated

Abstract

Since their inception Generative Adversarial Networks (GANs) have been popular generative models across images, audio, video, and tabular data. In this paper we study whether given access to a trained GAN, as well as fresh samples from the underlying distribution, if it is possible for an attacker to efficiently identify if a given point is a member of the GAN's training data. This is of interest for both reasons related to copyright, where a user may want to determine if their copyrighted data has been used to train a GAN, and in the study of data privacy, where the ability to detect training set membership is known as a membership inference attack. Unlike the majority of prior work this paper investigates the privacy implications of using GANs in black-box settings, where the attack only has access to samples from the generator, rather than access to the discriminator as well. We introduce a suite of membership inference attacks against GANs in the black-box setting and evaluate our attacks on image GANs trained on the CIFAR10 dataset and tabular GANs trained on genomic data. Our most successful attack, called The Detector, involve training a second network to score samples based on their likelihood of being generated by the GAN, as opposed to a fresh sample from the distribution. We prove under a simple model of the generator that the detector is an approximately optimal membership inference attack. Across a wide range of tabular and image datasets, attacks, and GAN architectures, we find that adversaries can orchestrate non-trivial privacy attacks when provided with access to samples from the generator. At the same time, the attack success achievable against GANs still appears to be lower compared to other generative and discriminative models; this leaves the intriguing open question of whether GANs are in fact more private, or if it is a matter of developing stronger attacks.
BibTeX
@misc{olagoke2023black,
  author = {Lukman Olagoke and Salil P. Vadhan and Seth Neel},
  title = {{Black-Box Training Data Identification in GANs via Detector Networks}},
  year = {2023},
  eprint = {2310.12063},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.12063},
}
Figure