Score-based Membership Inference on Diffusion Models

Mingxing Rao, Bowen Qu, Daniel Moyer
9/29/2025
cs.LGcs.CV

No official code found. Best implementation: mx-ethan-rao/SimA (5 stars, MIT, last commit 2026-03-25).

Abstract

Membership inference attacks (MIAs) against diffusion models have emerged as a pressing privacy concern, as these models may inadvertently reveal whether a given sample was part of their training set. We present a theoretical and empirical study of score-based MIAs, focusing on the predicted noise vectors that diffusion models learn to approximate. We show that the expected denoiser output points toward a kernel-weighted local mean of nearby training samples, such that its norm encodes proximity to the training set and thereby reveals membership. Building on this observation, we propose SimA, a single-query attack that provides a principled, efficient alternative to existing multi-query methods. SimA achieves consistently strong performance across variants of DDPM, Latent Diffusion Model (LDM). Notably, we find that Latent Diffusion Models are surprisingly less vulnerable than pixel-space models, due to the strong information bottleneck imposed by their latent auto-encoder. We further investigate this by differing the regularization hyperparameters ($β$ in $β$-VAE) in latent channel and suggest a strategy to make LDM training more robust to MIA. Our results solidify the theory of score-based MIAs, while highlighting that Latent Diffusion class of methods requires better understanding of inversion for VAE, and not simply inversion of the Diffusion process

View on arXivView PDF

Code Implementations(1)

mx-ethan-rao/SimACommunity69%
MIT

Code release for "Score-based Membership Inference on Diffusion Models"

50Shell, PythonAug 13, 20256 months agoMIT

Similar Papers

Cite this paper

@article{rao2025scorebased,
  title  = {Score-based Membership Inference on Diffusion Models},
  author = {Mingxing Rao and Bowen Qu and Daniel Moyer},
  year   = {2025},
  eprint = {2509.25003},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.25003v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.25003.svg)](https://codeofpaper.com/paper/2509.25003)

Discussion