The Secret Revealer: Generative Model-Inversion Attacks Against Deep Neural Networks

Yuheng Zhang, Ruoxi Jia, Hengzhi Pei, Wenxiao Wang, Bo Li, Dawn Song

Abstract

This paper studies model-inversion attacks, in which the access to a model is abused to infer information about the training data. Since its first introduction, such attacks have raised serious concerns given that training data usually contain privacy-sensitive information. Thus far, successful model-inversion attacks have only been demonstrated on simple models, such as linear regression and logistic regression. Previous attempts to invert neural networks, even the ones with simple architectures, have failed to produce convincing results. Here we present a novel attack method, termed the generative model-inversion attack (GMI), which can invert deep neural networks with high success rates. Rather than reconstructing private training data from scratch, we leverage partial public information to learn a distributional prior via generative adversarial networks (GANs) and use it to guide the inversion process. Moreover, we theoretically prove that a model's predictive power and its vulnerability to inversion attacks are two sides of the same coin—highly predictive models establish a strong correlation between features and labels, which coincides exactly with what an adversary exploits. Our extensive experiments demonstrate that the proposed attack improves identification accuracy over existing work by about 75% for reconstructing face images from a state-of-the-art face recognition classifier. We also show that differential privacy, in its canonical form, is of little avail to defend against our attacks.

Introduction

Model-Inversion (MI) attacks occur when an adversary uses access to a machine learning model to infer information about its private training data. While MI attacks have been effective against simple models like linear regression, they historically failed on Deep Neural Networks (DNNs). The high dimensionality and non-convexity of DNNs meant that previous pixel-based optimization attempts usually resulted in "adversarial noise"—images that the model classified with high confidence but were visually unrecognizable to humans.

This paper introduces the Generative Model-Inversion (GMI) attack, the first effective method to invert DNNs and reconstruct sensitive training data with high fidelity. The authors mathematically prove that a model’s predictive power and its vulnerability are fundamentally linked: a model that is excellent at identifying features creates the very correlations an attacker exploits to work backward from labels to inputs.

Methodology

The GMI attack overcomes optimization hurdles by using Generative Adversarial Networks (GANs) as a regularizer to constrain the inversion process to the space of realistic-looking data. The attack follows a two-stage process:

  1. Public Knowledge Distillation: The attacker trains a GAN on a generic, public dataset (e.g., random faces) to learn a "distributional prior" of the data manifold. This public data does not need to contain the specific individuals in the private training set.
  2. Secret Revelation: Instead of optimizing raw pixels, the attacker optimizes the latent vector ($z$) of the pre-trained GAN. They search for a $z$ that, when passed through the Generator, produces an image that the target DNN classifies as the intended victim with high confidence. A diversity loss term is included to ensure the generator maintains variety in its output.
Overview of the Generative Model-Inversion (GMI) attack framework, showing the interaction between the Generator, Discriminator, and the Target Network.

Experimental Evaluation

The researchers evaluated GMI across domains including CelebA (faces), MNIST (digits), and ChestX-ray8 (medical imaging). On the state-of-the-art face.evoLVe classifier, GMI achieved a Top-5 attack accuracy of 76%, a massive improvement over the nearly 0% accuracy of previous pixel-based methods (EMI).

As shown in the qualitative results, GMI produces reconstructions that are visually recognizable as the target individuals. The attack is particularly potent when the adversary possesses auxiliary knowledge, such as a blurred or partially masked version of the target image, allowing the model to "fill in" private features with high accuracy.

Qualitative comparison of GMI against baseline methods (EMI, PII) across different scenarios: (a) without auxiliary knowledge, (b) blurring, (c) center masking, and (d) Face T masking.

Discussion and Conclusion

A significant finding of this work is the failure of standard Differential Privacy (DP) to defend against GMI. While DP is designed to protect membership privacy (whether a specific individual is in a dataset), it does not necessarily hide attribute privacy (what the average member of a class looks like). Even with a privacy budget of $\epsilon=0.1$, attack accuracy remained high. This highlights an urgent need for new defense mechanisms specifically designed to thwart generative inversion by protecting class-level attributes.

Summary updated

BibTeX
@inproceedings{zhang2020secret,
  author = {Yuheng Zhang and Ruoxi Jia and Hengzhi Pei and Wenxiao Wang and Bo Li and Dawn Song},
  title = {{The Secret Revealer: Generative Model-Inversion Attacks Against Deep Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=xWCZWSwKBZY},
}
Figure