DIME: Query-Efficient Framework for Membership Inference on Diffusion Models
Organizations: University of Illinois at Urbana-Champaign
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 ; 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.
Figures & tables
| CIFAR-10 (%) | CIFAR-100 (%) | STL10-U (%) | CelebA (%) | ||||||||||
| Method | #Query | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR | ASR | AUC | TPR@1%FPR |
| Loss | 1 | 77.30 | 84.38 | 6.59 | 75.31 | 82.51 | 9.44 | 93.85 | 97.95 | 52.14 | 67.32 | 73.50 | 5.67 |
| PIA | 2 | 81.67 | 88.58 | 14.20 | 79.14 | 86.34 | 15.26 | 95.28 | 98.77 | 70.54 | 72.63 | 80.06 | 9.75 |
| SecMI stat | 12 | 81.45 | 88.51 | 10.45 | 80.85 | 88.05 | 13.34 | 93.98 | 98.20 | 57.76 | 71.08 | 78.03 | 8.64 |
| SimA ( ) | 1 | 83.60 | 90.43 | 14.07 | 82.40 | 89.40 | 13.64 | 95.42 | 98.61 | 62.68 | 71.09 | 78.21 | 8.91 |
| SimA-MC ( , #mc=10) | 10 | 84.26 | 91.34 | 16.95 | 83.22 | 90.55 | 19.03 | 97.25 | 99.31 | 80.92 | 74.33 | 82.05 | 9.91 |
| Method | #Query | ASR | AUC | TPR@1%FPR |
|---|---|---|---|---|
| Loss | 1 | 74.62 | 80.64 | 1.60 |
| PIA | 2 | 67.56 | 69.88 | 1.07 |
| SecMI stat | 12 | 66.67 | 50.59 | 0.93 |
| SimA ( ) | 1 | 83.84 | 86.35 | 7.20 |
| SimA-MC ( , mc=10) | 10 | 84.13 | 89.41 | 9.33 |
| SimA-MC ( , mc=30) | 30 | 82.58 | 87.45 | 1.87 |
| Loss | PIA | SecMI | SimA ( ) | DIME (Ours) | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ASR | AUC | T@1%F | ASR | AUC | T@1%F | ASR | AUC | T@1%F | ASR | AUC | T@1%F | ASR | AUC | T@1%F | |
| 0.530 | 0.521 | 1.00 | 0.526 | 0.516 | 1.60 | 0.517 | 0.500 | 1.80 | 0.517 | 0.505 | 0.40 | 0.529 | 0.517 | 0.40 | |
| 0.539 | 0.518 | 1.40 | 0.506 | 0.481 | 0.60 | 0.522 | 0.488 | 1.20 | 0.515 | 0.502 | 0.20 | 0.525 | 0.515 | 1.20 | |
| 0.519 | 0.509 | 1.40 | 0.506 | 0.483 | 0.80 | 0.523 | 0.519 | 1.00 | 0.510 | 0.489 | 1.00 | 0.537 | 0.529 | 0.80 | |
| Vanilla | 0.690 | 0.754 | 10.20 | 0.753 | 0.829 | 15.40 | 0.710 | 0.777 | 13.60 | 0.745 | 0.827 | 16.20 | 0.798 | 0.869 | 22.40 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Membership Inference Attacks
Membership inference attacks test whether records or entities were used to train a machine-learning model, revealing potential privacy leakage.
See all 111 papers