DIME · Do & Alabi, 2026

University of Illinois at Urbana-Champaign

DIME Query-Efficient Membership Inference on Diffusion Models

Tue Do  ·  Daniel Alabi


Abstract

Membership inference attacks expose whether individual records were used to train a model, yet existing attacks on diffusion models are largely heuristic and can require substantial query budgets. We introduce DIME (Denoiser Ideal Membership Error), a theoretically grounded and query-efficient framework for membership inference on diffusion models. Our starting point is an exact characterization of the optimal diffusion denoiser for a finite training set, which reveals that membership leakage is governed by the denoiser's implicit reconstruction error. This error decomposes into two complementary signals: a bias term, capturing reconstruction accuracy, and a previously unexplored local crowding term, capturing the geometry of nearby training examples. Both admit efficient estimators using only model queries, yielding a practical attack with as few as two queries. Across CIFAR-10/100, STL10-U, CelebA, and ImageNet, DIME consistently outperforms prior attacks at comparable or substantially lower query cost, improving TPR at 1% FPR by up to 3×; remarkably, its two-query variant can outperform existing 30-query baselines. Finally, we suggest, discuss, and evaluate specific defenses to counteract such powerful membership tests.


Reconstruction is retrieval

Three panels showing an isolated member, an isolated non-member, and a crowded non-member, with their local mean and nearby training points marked
The optimal denoiser reconstructs a candidate as a posterior-weighted average of nearby training points. An isolated member is reconstructed almost exactly by itself (small bias, low crowding). An isolated non-member sits far from every training point (large bias). A crowded non-member can land near the mean of several separated training points, giving small bias by coincidence — what exposes it is high crowding, which DIME measures directly.

The exact finite-set optimal denoiser is a soft nearest-neighbor decoder: every training point gets a posterior responsibility for a given noisy query, and the model's implicit reconstruction is the responsibility-weighted mean of the training set.

Reconstruction error from this retrieval splits exactly into bias (distance from the posterior mean to the candidate) and crowding (dispersion of the responsible points). DIME estimates both from as few as two forward queries to the network.

training points query / candidate

Results

Illustrative summaries of the experiments in the paper — see the preprint for full numbers, checkpoints, and datasets.

Histograms of DIME scores for member and hold-out sets across CIFAR10, CIFAR100, STL10-U, CelebA, and ImageNet

Score separation

DIME scores for members and hold-out data separate cleanly across every dataset tested, with the gap between distributions driving the low-false-positive gains over prior attacks.

Bias squared, variance, and their sum plotted over timestep for member, biased non-member, and crowded non-member candidates

Bias, crowding, and their sum

On synthetic data, a crowded non-member can have small bias like a true member, but its variance rises much earlier — the sum recovers a clean separation that bias alone would miss.

AUC and attack success rate as a function of timestep t for CIFAR10, CIFAR100, STL10-U, CelebA, and ImageNet

Stability across timesteps

Smaller DDPM checkpoints hold a broad plateau of strong AUC/ASR across timesteps, while the larger ImageNet Guided Diffusion model is most vulnerable at early, low-noise timesteps.

non-private DP-trained privacy budget →

Under differential privacy

Against differentially private training, DIME's advantage — like prior attacks' — is driven back toward chance, consistent with what DP is meant to guarantee.


Citation

@article{do2026dime, title={DIME: Query-Efficient Framework for Membership Inference on Diffusion Models}, author={Do, Tue and Alabi, Daniel}, journal={arXiv preprint arXiv:2608.22824}, year={2026} }