[Paper Review] Membership Inference of Diffusion Models
This paper studies membership inference attacks against diffusion models, proposing loss-based and likelihood-based attacks, evaluating them on several diffusion models and privacy-sensitive datasets, and examining defense with differential privacy.
Recent years have witnessed the tremendous success of diffusion models in data synthesis. However, when diffusion models are applied to sensitive data, they also give rise to severe privacy concerns. In this paper, we systematically present the first study about membership inference attacks against diffusion models, which aims to infer whether a sample was used to train the model. Two attack methods are proposed, namely loss-based and likelihood-based attacks. Our attack methods are evaluated on several state-of-the-art diffusion models, over different datasets in relation to privacy-sensitive data. Extensive experimental evaluations show that our attacks can achieve remarkable performance. Furthermore, we exhaustively investigate various factors which can affect attack performance. Finally, we also evaluate the performance of our attack methods on diffusion models trained with differential privacy.
Motivation & Objective
- Motivate privacy concerns when diffusion models are trained on sensitive data.
- Introduce and formalize membership inference attacks for diffusion models under two threat models.
- Develop loss-based and likelihood-based attack methods for diffusion models.
- Evaluate attack effectiveness across multiple diffusion models and datasets.
- Explore defense with differential privacy and its impact on utility and attack effectiveness.
Proposed method
- Define two threat models: access to the target diffusion model (loss-based attack) and access to sample likelihoods (likelihood-based attack).
- Derive loss-based attack metrics by computing per-step reconstruction losses for discrete SDEs (DDPM, SMLD) and continuous SDEs (VPSDE, VESDE).
- Define a likelihood-based attack using the log-likelihood formula for diffusion models and Skilling-Hutchinson trace estimator to compute the required divergence term.
- Apply attacks to four diffusion models (DDPM, SMLD, VPSDE, VESDE) trained on FFHQ-1k and DRD, and evaluate with FID and ROC-based privacy metrics.
- Assess the impact of diffusion step, dataset size, and DP-SGD defense on attack performance.
Experimental results
Research questions
- RQ1Can membership inference reveal training data membership for diffusion models?
- RQ2How do loss-based and likelihood-based attacks perform across different diffusion models and diffusion steps?
- RQ3How does training set size affect membership leakage?
- RQ4Does differential privacy mitigate membership leakage in diffusion models, and what is the trade-off with data utility?
Key findings
- Loss-based attacks can achieve high TPR at very low FPR across diffusion steps, e.g., up to 100% TPR at 0.01% FPR for DDPM on FFHQ-1k at step 200.
- Likelihood-based attacks yield strong leakage, with high TPR across FPRs, e.g., 100% TPR at all FPRs for SMLD on FFHQ and high TPR for VPSDE/ VESDE.
- Leakage is strongest at low-noise diffusion steps and weakens as training set size increases; even with larger datasets, some steps remain vulnerable.
- Medical dataset DRD shows similar vulnerability patterns, with strong leakage in certain diffusion steps.
- DP-SGD reduces leakage but significantly degrades model utility (high FID changes), indicating a privacy-utility trade-off.
- Models trained with DP-SGD still exhibit some leakage at extremely low FPRs, though greatly mitigated.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.