Introduction
Membership Inference Attacks (MIA) pose a significant privacy risk by determining whether a specific individual's data was used to train a machine learning model. While well-documented for discriminative models, MIA against generative models like GANs is more complex because these models output samples rather than confidence scores. This paper introduces GAN-Leaks, a systematic taxonomy and framework for MIA against deep generative models, demonstrating that they can leak membership information even in black-box settings.
Taxonomy of Adversary Knowledge
The researchers categorize potential attacks based on the level of access an adversary has to the target model. This ranges from seeing only generated samples to having full access to the internal discriminator.
- Full Black-box: The attacker only observes generated samples.
- Partial Black-box: The attacker has access to the generator and the latent code ($z$) for each sample but not the weights.
- White-box: The attacker has access to the generator's internal parameters.
- Accessible Discriminator: The attacker has access to the full model, including the discriminator (rare in practice).
The GAN-Leaks Attack Framework
The core of the GAN-Leaks attack is reconstruction distance. The intuition is that a generative model will more accurately reconstruct a sample if it was part of its training set.
Attack Mechanism and Calibration
To execute the attack, an adversary attempts to find a latent code $z$ that produces an image as close as possible to a query sample $x$. In white-box settings, first-order optimization (L-BFGS) is used, while black-box settings rely on derivative-free optimization.
A critical innovation is Attack Calibration. Since some samples are inherently harder to generate, a high reconstruction error doesn't always imply non-membership. The authors use a "reference" GAN trained on a disjoint dataset to normalize the reconstruction error. If the victim model reconstructs a sample significantly better than the reference model, it is likely a training sample.
Experimental Evaluation
The framework was tested across three diverse datasets:
- CelebA: Celebrity face images.
- MIMIC-III: Sensitive electronic health records.
- Instagram New-York: Spatiotemporal location check-in data.
Key Results
- High Accuracy: On smaller training sets (e.g., 512 samples), the attack achieves near-perfect inference (AUCROC ~1.0).
- Scalability: The white-box attack remains effective even with larger training sets (20,000 images), maintaining an AUCROC significantly above random chance.
- The Calibration Boost: Calibration consistently improves performance, often increasing AUCROC by up to 0.2.
- Defense Trade-offs: Differential Privacy (DP-SGD) can mitigate these attacks but significantly slows training (10x) and degrades the quality of generated samples (higher FID).
Insights and Conclusion
The study reveals that overfitting is a primary driver of MIA vulnerability in generative models. Furthermore, while black-box attacks on classifiers are often comparable to white-box ones, generative models show a significant performance gap; white-box access allows for much more precise reconstruction.
Ultimately, GAN-Leaks highlights a severe utility-privacy trade-off. While defenses like DP-SGD exist, they currently compromise model performance. Future research must focus on efficient defense mechanisms that protect membership privacy without sacrificing the generative quality of the models.
Summary updated