mlsanityData to 7 Oct 2026

Threat Model-Agnostic Adversarial Defense using Diffusion Models

arXiv 2207.08089 ↗First posted 17 Jul 2022cs.CV cs.AIcited by 24

On the map: Diffusion models → Robustness, privacy and adversarial aspects

Abstract (arXiv)

Deep Neural Networks (DNNs) are highly sensitive to imperceptible malicious perturbations, known as adversarial attacks. Following the discovery of this vulnerability in real-world imaging and vision applications, the associated safety concerns have attracted vast research attention, and many defense techniques have been developed. Most of these defense methods rely on adversarial training (AT) -- training the classification network on images perturbed according to a specific threat model, which defines the magnitude of the allowed modification. Although AT leads to promising results, training on a specific threat model fails to generalize to other types of perturbations. A different approach utilizes a preprocessing step to remove the adversarial perturbation from the attacked image. In this work, we follow the latter path and aim to develop a technique that leads to robust classifiers across various realizations of threat models. To this end, we harness the recent advances in stochastic generative modeling, and means to leverage these for sampling from conditional distributions. Our defense relies on an addition of Gaussian i.i.d noise to the attacked image, followed by a pretrained diffusion process -- an architecture that performs a stochastic iterative process over a denoising network, yielding a high perceptual quality denoised outcome. The obtained robustness with this stochastic preprocessing step is validated through extensive experiments on the CIFAR-10 dataset, showing that our method outperforms the leading defense methods under various threat models.

Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 38 of its 45 references that are in the map. First posted on arXiv 17 Jul 2022.

Builds on

38 of 45 references.

Closest ancestors · 1

Same direction, newest first

  1. 2021Adversarial purification with Score-based generative models11 Jun

Other references · 37

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2020Denoising Diffusion Implicit Modelscited by 9,655
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  6. 2013Intriguing properties of neural networkscited by 5,114
  7. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
  8. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  9. 2016Wide Residual Networkscited by 3,057
  10. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  11. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  12. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
25 more
  1. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  2. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  3. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  4. 2022Denoising Diffusion Restoration Modelscited by 951
  5. 2016Adversarial Machine Learning at Scalecited by 934
  6. 2018Robustness May Be at Odds with Accuracycited by 873
  7. 2020On Adaptive Attacks to Adversarial Example Defensescited by 547
  8. 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
  9. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
  10. 2017Mitigating Adversarial Effects Through Randomizationcited by 382
  11. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  12. 2021Unsolved Problems in ML Safetycited by 291
  13. 2021Recent Advances in Adversarial Training for Adversarial Robustnesscited by 276
  14. 2020Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examplescited by 275
  15. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
  16. 2021SNIPS: Solving Noisy Inverse Problems Stochasticallycited by 191
  17. 2020Perceptual Adversarial Robustness: Defense Against Unseen Threat Modelscited by 137
  18. 2020Solving Linear Inverse Problems Using the Prior Implicit in a Denoisercited by 78
  19. 2019ME-Net: Towards Effective Adversarial Robustness with Matrix Estimationcited by 65
  20. 2022Evaluating the Adversarial Robustness of Adaptive Test-time Defensescited by 64
  21. 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
  22. 2021Stochastic Image Denoising by Sampling from the Posterior Distributioncited by 45
  23. 2021The Dimpled Manifold Model of Adversarial Examples in Machine Learningcited by 41
  24. 2021High Perceptual Quality Image Denoising with a Posterior Sampling CGANcited by 33
  25. 2021BIGRoC: Boosting Image Generation via a Robust Classifiercited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 12; 2024: 3; 2025: 2; 2026: 3.

24 papers.

Sort:

By area:

  1. 2022Imagic: Text-Based Real Image Editing with Diffusion Modelscited by 1,172
  2. 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,107
  3. 2023Robust Classification via a Single Diffusion Modelcited by 79
  4. 2023Image Denoising: The Deep Learning Revolution and Beyond -- A Survey Paper --cited by 71
  5. 2022JPEG Artifact Correction using Denoising Diffusion Restoration Modelscited by 45
  6. 2023GSURE-Based Diffusion Model Training with Corrupted Datacited by 40
  7. 2023DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purificationcited by 36
  8. 2022Enhancing Diffusion-Based Image Synthesis with Robust Classifier Guidancecited by 33
  9. 2023Enhancing Adversarial Robustness via Score-Based Optimizationcited by 19
  10. 2023Binary Latent Diffusioncited by 18
  11. 2023A Transformer-based Diffusion Probabilistic Model for Heart Rate and Blood Pressure Forecasting in Intensive Care Unitcited by 14
  12. 2023Purify++: Improving Diffusion-Purification with Advanced Diffusion Models and Control of Randomnesscited by 13
12 more
  1. 2024InstructGIE: Towards Generalizable Image Editingcited by 11
  2. 2023Adversarial Attacks and Defenses in Machine Learning-Powered Networks: A Contemporary Surveycited by 5
  3. 2023Class-Conditioned Transformation for Enhanced Robust Image Classificationcited by 5
  4. 2025VideoPure: Diffusion-based Adversarial Purification for Video Recognitioncited by 5
  5. 2023Time Series Diffusion Method: A Denoising Diffusion Probabilistic Model for Vibration Signal Generationcited by 4
  6. 2024Context-aware Prompt Tuning: Advancing In-Context Learning with Adversarial Methodscited by 4
  7. 2023Asymmetric Diffusion Based Channel-Adaptive Secure Wireless Semantic Communicationscited by 2
  8. 2025TAIGen: Training-Free Adversarial Image Generation via Diffusion Modelscited by 2
  9. 2026PILD: Physics-Informed Learning via Diffusioncited by 2
  10. 2024RCDM: Enabling Robustness for Conditional Diffusion Modelcited by 0
  11. 2026Memory Efficient Full-gradient Attacks (MEFA) Framework for Adversarial Defense Evaluationscited by 0
  12. 2026DanceDuo: Bridging Human Movement and AI Choreographycited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023Adversarial defense based on distribution transfer
  2. 2025Gradient-Free Adversarial Purification with Diffusion Models
  3. 2025Embedding Hidden Adversarial Capabilities in Pre-Trained Diffusion Models
  4. 2025Defending Against Frequency-Based Attacks with Diffusion Models
  5. 2025Diffusion or Non-Diffusion Adversarial Defenses: Rethinking the Relation between Classifier and Adversarial Purifier
  6. 2024Adversarial Robustification via Text-to-Image Diffusion Models
  7. 2025Diffusion Models are Robust Pretrainers
  8. 2024Deceptive Diffusion: Generating Synthetic Adversarial Examples