English

What is Adversarial Training for Diffusion Models?

Computer Vision and Pattern Recognition 2025-05-29 v1 Machine Learning

Abstract

We answer the question in the title, showing that adversarial training (AT) for diffusion models (DMs) fundamentally differs from classifiers: while AT in classifiers enforces output invariance, AT in DMs requires equivariance to keep the diffusion process aligned with the data distribution. AT is a way to enforce smoothness in the diffusion flow, improving robustness to outliers and corrupted data. Unlike prior art, our method makes no assumptions about the noise model and integrates seamlessly into diffusion training by adding random noise, similar to randomized smoothing, or adversarial noise, akin to AT. This enables intrinsic capabilities such as handling noisy data, dealing with extreme variability such as outliers, preventing memorization, and improving robustness. We rigorously evaluate our approach with proof-of-concept datasets with known distributions in low- and high-dimensional space, thereby taking a perfect measure of errors; we further evaluate on standard benchmarks such as CIFAR-10, CelebA and LSUN Bedroom, showing strong performance under severe noise, data corruption, and iterative adversarial attacks.

Keywords

Cite

@article{arxiv.2505.21742,
  title  = {What is Adversarial Training for Diffusion Models?},
  author = {Briglia Maria Rosaria and Mujtaba Hussain Mirza and Giuseppe Lisanti and Iacopo Masi},
  journal= {arXiv preprint arXiv:2505.21742},
  year   = {2025}
}

Comments

40 pages

R2 v1 2026-07-01T02:44:36.624Z