Adaptive Diffusion Freezing: Privacy-preserving Diffusion Models Against Membership Inference Attacks
Organizations: MIIT Key Laboratory of Data Intelligence and Management Beihang University Beijing, China
Abstract
Diffusion models have achieved remarkable success in generative tasks across various areas, however their training process raises significant privacy concerns, particularly under membership inference attacks (MIAs). Prior studies on privacy-preserving of diffusion models fail to balance privacy, utility, and efficiency. To address this gap, we propose a novel framework of privacy-preserving diffusion models, Adaptive Diffusion Freezing (ADF), which can defend against MIAs with better trade-off. By leveraging cross-timestep adaptive freezing training, ADF explicitly control the participation of different data subsets across diffusion timesteps via a mask matrix, which reduces the over-memorization and leads to more uniform model behaviors between member and nonmember samples. To construct a freezing mask matrix that effectively reduce membership leakage without unnecessarily harming generation quality, we introduce a pretraining-based risk-aware freezing policy to estimate MIA risk based on memorization tendency, and suppress the contribution of the subset-timestep pairs with higher risk. Evaluations on multiple datasets demonstrate that ADF provides effective defense performance as well as state-of-the-art privacy-utility-efficiency trade-off performance compared to various baselines.
Figures & tables
| SecMI stat | SecMI nn | ||||||
|---|---|---|---|---|---|---|---|
| Model | FID | ASR | AUC | ASR | AUC | ASR | AUC |
| SD3 | 31.223 | 0.520 | 0.519 | 0.519 | 0.516 | 0.627 | 0.682 |
| ADF | 26.479 | 0.517 | 0.516 | 0.511 | 0.501 | 0.601 | 0.653 |
| Items | Analysis | Value |
|---|---|---|
| Loss reduction | MIA-success members | 0.9722 |
| MIA-missed members | 0.9655 | |
| Success vs. missed | 0.0067 ( ) | |
| MIA Success | Point biserial correlation | |
| Membership Confidence | Pearson correlation | |
| Spearman correlation |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Defense | FID | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ASR | AUC | @1% | @0.1% | ASR | AUC | @1% | @0.1% | ASR | AUC | @1% | @0.1% | |||
| CIFAR-10 | W/O | 18.227 | 0.678 | 0.737 | 0.033 | 0.004 | 0.720 | 0.789 | 0.082 | 0.013 | 0.772 | 0.858 | 0.239 | 0.084 |
| Cutout | 29.108 | 0.625 | 0.665 | 0.021 | 0.003 | 0.629 | 0.675 | 0.035 | 0.005 | 0.599 | 0.635 | 0.021 | 0.003 | |
| L2 | 27.201 | 0.518 | 0.521 | 0.009 | 0.001 | 0.505 | 0.504 | 0.011 | 0.001 | 0.543 | 0.559 | 0.014 | 0.001 | |
| DP-SGD | 22.121 | 0.548 | 0.563 | 0.013 | 0.002 | 0.528 | 0.538 | 0.012 | 0.001 | 0.680 | 0.745 | 0.091 | 0.029 | |
| KD | 55.203 | 0.523 | 0.529 | 0.010 | 0.001 | 0.507 | 0.505 | 0.011 | 0.001 | 0.533 | 0.548 | 0.013 | 0.001 | |
| ASR | AUC | TPR@1%FPR | [email protected]%FPR | |||||
| Attack | Mean Std | Range | Mean Std | Range | Mean Std | Range | Mean Std | Range |
| FID | Mean std: | Range: | ||||||
| Method | Trainable | Extra | Time | Runtime |
|---|---|---|---|---|
| Params | Params | (s) | vs. DDPM | |
| W/O | 35.75M | 0 | 1684.36 | 1.00 |
| Cutout | 35.75M | 0 | 1695.37 | 1.01 |
| L2 | 35.75M | 0 | 1707.31 | 1.01 |
| DP-SGD | 35.75M | 0 | 4278.79 | 2.54 |
| KD | 71.49M | 61.31M | 7458.01 | 4.43 |
Privacy-Preserving ML
Privacy-preserving machine learning develops methods to learn, share, and run models while limiting exposure of sensitive data.
See all 424 papers