Knowledge-Enriched Distributional Model Inversion Attacks

Si Chen, Mostafa Kahla, Ruoxi Jia, Guo-Jun Qi · DOI

Abstract

Model Inversion (MI) attacks pose a significant threat to the privacy of training data by attempting to reconstruct sensitive samples from a trained model's parameters. While previous methods struggled with the high-dimensional, non-convex landscapes of Deep Neural Networks (DNNs), this paper introduces Knowledge-Enriched Distributional Model Inversion (KED-MI). By tailoring a Generative Adversarial Network (GAN) to the target model’s specific internal knowledge and searching for a distribution of latent vectors rather than a single point, KED-MI achieves state-of-the-art reconstruction accuracy, demonstrating that DNNs memorize significantly more private information than previously estimated.

Introduction

As deep learning models are increasingly deployed in sensitive domains like facial recognition and medical diagnostics, the risk of data leakage becomes a paramount concern. Model Inversion (MI) attacks represent a class of privacy exploits where an adversary attempts to "reverse-engineer" a model to recover its training data. For instance, an attacker might attempt to reconstruct the faces used to train a biometric authentication system.

Historically, MI attacks were effective against simple linear models but faltered against Deep Neural Networks (DNNs). The complexity of DNNs often causes gradient-based searches to become trapped in local minima, resulting in unrecognizable noise. While recent advancements utilized Generative Adversarial Networks (GANs) as a "natural image prior" to guide the reconstruction, these generic GANs often fail to capture the specific features memorized by the target model. Furthermore, traditional attacks typically seek a single representative image per class, ignoring the inherent diversity within a single identity or category.

The KED-MI Framework

The authors propose a two-step framework designed to overcome the limitations of generic GAN-based inversion. The Knowledge-Enriched Distributional Model Inversion (KED-MI) approach focuses on two primary innovations: enriching the generative prior and modeling the latent space as a distribution.

1. Inversion-Specific GAN Enrichment

Instead of employing a generic GAN trained on public data, KED-MI "distills" knowledge from the target model into the generative process. During the GAN training phase, the discriminator is modified to solve a $(K+1)$-class classification problem. It must distinguish between "fake" images and the $K$ specific classes recognized by the target model.

Crucially, the discriminator uses the soft labels (probability distributions) generated by the target model to label the public training data. This process forces the GAN’s generator to learn the specific image statistics and features that the target model deems important for classification, creating a prior that is uniquely tuned to the target's internal representations.

2. Distributional Latent Recovery

Standard MI attacks search for a single latent vector $z$ that maximizes the target model's confidence for a specific class. However, classifiers are many-to-one mappings; many different visual representations (e.g., different poses, lighting, or expressions) can map to the same identity.

KED-MI models the private data as a distribution—specifically a Gaussian $N(\mu, \sigma^2)$—within the GAN’s latent space. By optimizing both the mean ($\mu$) and variance ($\sigma$), the attack can generate a variety of images for a single target class. This distributional approach is more robust and more accurately reflects the breadth of features the target model has memorized.

3. Entropy Regularization

To ensure the generated samples are highly representative of the target class, the authors incorporate an entropy loss term. This pushes the generator toward producing "low-entropy" outputs, meaning the target model identifies the reconstructed images with high certainty.

Experimental Evaluation

The researchers evaluated KED-MI across diverse domains, including face recognition (CelebA, FaceScrub), digit classification (MNIST), object recognition (CIFAR-10), and medical imaging (ChestX-ray8). To simulate a realistic and challenging scenario, the experiments were conducted under a "no class overlap" constraint: the public data used to train the GAN contained none of the specific identities or classes present in the private training set of the target model.

Key Results

  • Significant Accuracy Gains: On the CelebA dataset attacking a VGG16 architecture, KED-MI achieved an attack accuracy of 72%. This is a dramatic improvement over the previous state-of-the-art method (GMI), which achieved only 21% accuracy.
  • Multi-Target Synergy: The framework allows for simultaneous attacks on multiple models trained on the same data (e.g., VGG16 and ResNet152). In these scenarios, attack accuracy soared to over 95%.
  • Robustness to Distribution Shift: The attack remained effective even when the public and private datasets differed in resolution or style (e.g., using high-resolution FFHQ data to attack a model trained on lower-resolution CelebA images).
  • Attribute Recovery: Beyond simple visual reconstruction, KED-MI successfully recovered implicit attributes such as gender, age, and hairstyle of the individuals in the private dataset.

Discussion and Conclusion

The success of KED-MI provides a definitive answer to a long-standing question in AI privacy: Is the failure of previous MI attacks due to models not memorizing data, or simply due to poor attack design? These results suggest the latter. DNNs memorize a surprising amount of granular detail, and sophisticated algorithms can extract this information even with limited prior knowledge.

While KED-MI is highly effective, its performance can degrade when the distribution shift between public and private data is extreme. Future research may explore unsupervised domain adaptation to bridge this gap. Furthermore, while this study focused on "white-box" settings where model parameters are known, extending these distributional techniques to "black-box" API-based attacks remains a critical frontier.

Ultimately, this work underscores the urgent need for privacy-preserving training techniques. As model inversion becomes more potent, the community must move beyond simple heuristics to develop robust defenses against data leakage.

Summary updated

BibTeX
@inproceedings{chen2021knowledge,
  author = {Si Chen and Mostafa Kahla and Ruoxi Jia and Guo-Jun Qi},
  title = {{Knowledge-Enriched Distributional Model Inversion Attacks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01587},
}
Figure