Skip to main content
QUICK REVIEW

[Paper Review] Are Diffusion Models Vulnerable to Membership Inference Attacks?

Jinhao Duan, Fei Kong|arXiv (Cornell University)|Feb 2, 2023
Generative Adversarial Networks and Image SynthesisComputer Science12 citations
TL;DR

The paper shows existing MIAs for GANs/VAEs largely fail on diffusion models and introduces SecMI, a step-wise error–based, query-driven MIA that effectively infer memberships for diffusion models including DDPM, LDMs, and Stable Diffusion.

ABSTRACT

Diffusion-based generative models have shown great potential for image synthesis, but there is a lack of research on the security and privacy risks they may pose. In this paper, we investigate the vulnerability of diffusion models to Membership Inference Attacks (MIAs), a common privacy concern. Our results indicate that existing MIAs designed for GANs or VAE are largely ineffective on diffusion models, either due to inapplicable scenarios (e.g., requiring the discriminator of GANs) or inappropriate assumptions (e.g., closer distances between synthetic samples and member samples). To address this gap, we propose Step-wise Error Comparing Membership Inference (SecMI), a query-based MIA that infers memberships by assessing the matching of forward process posterior estimation at each timestep. SecMI follows the common overfitting assumption in MIA where member samples normally have smaller estimation errors, compared with hold-out samples. We consider both the standard diffusion models, e.g., DDPM, and the text-to-image diffusion models, e.g., Latent Diffusion Models and Stable Diffusion. Experimental results demonstrate that our methods precisely infer the membership with high confidence on both of the two scenarios across multiple different datasets. Code is available at https://github.com/jinhaoduan/SecMI.

Motivation & Objective

  • Assess whether existing membership inference attacks (MIAs) designed for GANs/VAEs apply to diffusion models.
  • Evaluate diffusion models (DDPM, Latent Diffusion Models, Stable Diffusion) against conventional MIAs.
  • Develop a diffusion-specific MIA leveraging forward-process posterior estimation.
  • Demonstrate SecMI's effectiveness across multiple datasets and diffusion-model variants.

Proposed method

  • Review and evaluate five MIAs designed for generative models on diffusion models using a CIFAR-10 split and shadow models where needed.
  • Develop SecMI, a query-based MIA that compares step-wise posterior estimation errors across diffusion timesteps.
  • Formalize a t-error metric that approximates posterior estimation error and prove convergence under learning objective conditions.
  • Implement SecMI in two variants: SecMI stat (statistical thresholding) and SecMI NNs (neural-network-based inference).
  • Extend SecMI to Latent Diffusion Models and to large-scale text-to-image diffusion models such as Stable Diffusion.

Experimental results

Research questions

  • RQ1Do existing MIAs for GANs/VAEs effectively disclose membership in diffusion models?
  • RQ2Can a diffusion-specific MIA leverage forward-process posterior estimation to reveal membership?
  • RQ3How well does SecMI perform across standard DDPMs, Latent Diffusion Models, and Stable Diffusion on multiple datasets?
  • RQ4What is the impact of training dynamics and data augmentations on SecMI's effectiveness?

Key findings

  • Existing MIAs largely fail to reveal membership in diffusion models under standard evaluation settings.
  • SecMI, a step-wise error–based MIA, achieves high attack success and discrimination metrics across diffusion models and datasets.
  • SecMI variants achieve strong performance in both statistics-based and neural-network-based inference.
  • SecMI generalizes to Latent Diffusion Models and large pre-trained Stable Diffusion models.
  • Data augmentations can modestly reduce SecMI effectiveness, while some defenses (like aggressive DP training) may prevent model convergence.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.