NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Differentially Private Diffusion Models

Tim Dockhorn, Tianshi Cao, Arash Vahdat, Karsten Kreis

Abstract

While modern machine learning models rely on increasingly large training datasets, data is often limited in privacy-sensitive domains. Generative models trained with differential privacy (DP) on sensitive data can sidestep this challenge, providing access to synthetic data instead. We build on the recent success of diffusion models (DMs) and introduce Differentially Private Diffusion Models (DPDMs), which enforce privacy using differentially private stochastic gradient descent (DP-SGD). We investigate the DM parameterization and the sampling algorithm, which turn out to be crucial ingredients in DPDMs, and propose noise multiplicity, a powerful modification of DP-SGD tailored to the training of DMs. We validate our novel DPDMs on image generation benchmarks and achieve state-of-the-art performance in all experiments. Moreover, on standard benchmarks, classifiers trained on DPDM-generated synthetic data perform on par with task-specific DP-SGD-trained classifiers, which has not been demonstrated before for DP generative models.

Introduction

Generative models are a double-edged sword: they can create incredibly realistic data, but they also risk "memorizing" training sets, potentially leaking sensitive information about individuals. In a new paper published in Transactions on Machine Learning Research, researchers introduce Differentially Private Diffusion Models (DPDMs), a framework that allows for the training of powerful generative models while providing rigorous, mathematical guarantees of privacy.

Deep learning thrives on massive datasets, but in fields like healthcare or finance, data is often restricted due to privacy concerns. While synthetic data can be shared publicly, standard models are prone to overfitting and can be attacked to reveal original training samples. To prevent this, researchers use Differential Privacy (DP), specifically DP-SGD, which clips and adds noise to gradients during training. However, DP-SGD is notoriously difficult to use with Generative Adversarial Networks (GANs), often leading to instability. DPDMs explore whether Diffusion Models—which are generally more stable and easier to optimize—can bridge this gap.

Methodology

The DPDM framework integrates DP-SGD into the standard diffusion training pipeline, focusing on three key areas: noise multiplicity, parameterization tuning, and stochastic sampling.

Noise Multiplicity

The primary innovation is "noise multiplicity." In standard diffusion training, one image is paired with one random noise level to calculate a gradient. DPDMs take a single private image and apply $K$ different noise levels simultaneously. By averaging the gradients from these $K$ samples before the DP sanitization step (clipping and noising), the variance of the gradient is significantly reduced. Crucially, because only one private image is used, this multiplicity does not consume additional privacy budget.

The DPDM training pipeline illustrating the forward diffusion process, noise multiplicity (averaging over noise levels), and gradient sanitization.

Parameterization and Sampling

The authors found that the mathematical definition of the model (e.g., "v-prediction" vs. "EDM") is critical under DP. Oversampling high-noise levels helps the model learn global image structures more effectively when gradients are noisy. Additionally, stochastic (randomized) sampling during generation acts as an error-correction mechanism, smoothing out imperfections from the private training process.

Key Insights

Gradient Variance Reduction

The effectiveness of noise multiplicity is empirically demonstrated by the reduction in gradient variance. As the multiplicity factor $K$ increases, the average gradient variance decreases, providing a cleaner signal for the model to learn from even under strict privacy constraints. This allows the model to converge more effectively without increasing the privacy cost.

Average gradient variance as a function of noise multiplicity K, showing a significant reduction in variance as K increases.

Stability and Utility

Diffusion models are inherently "smoother" than GANs, making them less sensitive to the gradient clipping required by DP. A major milestone achieved by this work is the demonstration of "downstream utility": for the first time, synthetic data generated by a DP model is high-quality enough to train classifiers that perform on par with those trained directly on real data using DP-SGD.

Results

DPDMs significantly outperform previous state-of-the-art private generative models across several benchmarks:

  • MNIST: Improved Fréchet Inception Distance (FID) from 56.2 to 23.4 at a privacy budget of $\epsilon=1$.
  • Downstream Utility: On MNIST ($\epsilon=10$), a CNN trained on DPDM synthetic data reached 98.1% accuracy, compared to the previous best of 83.2% for other private generative methods.
  • High Resolution: The framework successfully generated 64x64 CelebA images with recognizable facial features, a task where previous private methods often failed.

Conclusion

While DPDMs represent a significant leap forward, challenges remain. DP noise scales with the number of model parameters, creating a trade-off between image resolution and privacy-induced degradation. Furthermore, noise multiplicity increases computational cost linearly with $K$. Future work will focus on parameter-efficient architectures and scaling DPDMs to larger, more complex datasets to achieve the photo-realism seen in non-private models.

Summary updated

BibTeX
@article{dockhorn2023differentially,
  author = {Tim Dockhorn and Tianshi Cao and Arash Vahdat and Karsten Kreis},
  title = {{Differentially Private Diffusion Models}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=ZPpQk7FJXF},
}
Figure