Papers › Membership Inference Attacks against Diffusion Models

Membership Inference Attacks against Diffusion Models

7 Feb 2023arXiv:2302.03262archive 2025-07-28

Tomoya Matsumoto, Takayuki Miura, Naoto Yanai

Diffusion models have attracted attention in recent years as innovative generative models. In this paper, we investigate whether a diffusion model is resistant to a membership inference attack, which evaluates the privacy leakage of a machine learning model. We primarily discuss the diffusion model from the standpoints of comparison with a generative adversarial network (GAN) as conventional models and hyperparameters unique to the diffusion model, i.e., time steps, sampling steps, and sampling variances. We conduct extensive experiments with DDIM as a diffusion model and DCGAN as a GAN on the CelebA and CIFAR-10 datasets in both white-box and black-box settings and then confirm if the diffusion model is comparably resistant to a membership inference attack as GAN. Next, we demonstrate that the impact of time steps is significant and intermediate steps in a noise schedule are the most vulnerable to the attack. We also found two key insights through further analysis. First, we identify that DDIM is vulnerable to the attack for small sample sizes instead of achieving a lower FID. Second, sampling steps in hyperparameters are important for resistance to the attack, whereas the impact of sampling variances is quite limited.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2302.03262")

Code

Syntology Ran 7 of 14 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 3 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

fseclab-osaka/mia-diffusion officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 7 ran; 1 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
3ran · fixture could not drive it
1ran
7unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from fseclab-osaka/mia-diffusion. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Normalize fseclab-osaka/mia-diffusion/ddim/models/diffusion.py official repository ran · our draft was wrong MIT (permissive) · c3a6b977022957cb · report
betas_for_alpha_bar fseclab-osaka/mia-diffusion/ddim/runners/diffusion.py official repository ran · honoured contract MIT (permissive) · 7eb19b2d745af94f · report
calculate_frechet_distance fseclab-osaka/mia-diffusion/TTUR/fid.py official repository ran · fixture could not drive it MIT (permissive) · 5277c96076ea2fe5 · report
get_timestep_embedding fseclab-osaka/mia-diffusion/ddim/models/diffusion.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · cb49209c125de1b4 · report
noise_estimation_loss fseclab-osaka/mia-diffusion/ddim/functions/losses.py official repository ran MIT (permissive) · 36a45cceb1209d2f · report
nonlinearity fseclab-osaka/mia-diffusion/ddim/models/diffusion.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 3137073275f8c21a · report
torch2hwcuint8 fseclab-osaka/mia-diffusion/ddim/runners/diffusion.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · c27a10ca9f6b75f3 · report
calculate_activation_statistics fseclab-osaka/mia-diffusion/TTUR/fid.py official repository unverified MIT (permissive) · 2dff109c7a95321a · report
find_knn fseclab-osaka/mia-diffusion/attacks/fbb.py official repository unverified MIT (permissive) · 4b55cf9a5ba8cdfc · report
find_pred_z fseclab-osaka/mia-diffusion/attacks/fbb.py official repository unverified MIT (permissive) · 4163c565f0a353d8 · report
get_activations fseclab-osaka/mia-diffusion/TTUR/fid.py official repository unverified MIT (permissive) · 1b7fb683b1a517bc · report
get_beta_schedule fseclab-osaka/mia-diffusion/ddim/runners/diffusion.py official repository unverified MIT (permissive) · 70a7a36a723cc519 · report
get_dataloader_celeba fseclab-osaka/mia-diffusion/mydataset.py official repository unverified MIT (permissive) · dad3a4c772ca2124 · report
get_dataloader_cifar10 fseclab-osaka/mia-diffusion/mydataset.py official repository unverified MIT (permissive) · cd5c81bb93d0f22a · report

Tasks

Inference AttackMembership Inference Attack

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Batch NormalizationConvolutionDCGANDiffusionReLU

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections