mlsanityData to 14 Oct 2026

Robust Classification via a Single Diffusion Model

arXiv 2305.15241 ↗First posted 24 May 2023cs.CV cs.CR cs.LGcited by 79

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

Abstract (arXiv)

Diffusion models have been applied to improve adversarial robustness of image classifiers by purifying the adversarial noises or generating realistic data for adversarial training. However, diffusion-based purification can be evaded by stronger adaptive attacks while adversarial training does not perform well under unseen threats, exhibiting inevitable limitations of these methods. To better harness the expressive power of diffusion models, this paper proposes Robust Diffusion Classifier (RDC), a generative classifier that is constructed from a pre-trained diffusion model to be adversarially robust. RDC first maximizes the data likelihood of a given input and then predicts the class probabilities of the optimized input using the conditional likelihood estimated by the diffusion model through Bayes' theorem. To further reduce the computational cost, we propose a new diffusion backbone called multi-head diffusion and develop efficient sampling strategies. As RDC does not require training on particular adversarial attacks, we demonstrate that it is more generalizable to defend against multiple unseen threats. In particular, RDC achieves 75.67% robust accuracy against various ℓ_∞ norm-bounded adaptive attacks with ε_∞=8/255 on CIFAR-10, surpassing the previous state-of-the-art adversarial training models by +4.77%. The results highlight the potential of generative classifiers by employing pre-trained diffusion models for adversarial robustness compared with the commonly studied discriminative classifiers. Code is available at urlhttps://github.com/huanranchen/DiffusionClassifier.

Key facts. Cited by 79 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 69 of its 92 references that are in the map. First posted on arXiv 24 May 2023.

Builds on

69 of 92 references.

Closest ancestors · 5

Same direction, newest first

  1. 2023Better Diffusion Models Further Improve Adversarial Training9 Feb
  2. 2022Threat Model-Agnostic Adversarial Defense using Diffusion Models17 Jul
  3. 2022(Certified!!) Adversarial Robustness for Free!21 Jun
  4. 2022Guided Diffusion Model for Adversarial Purification30 May
  5. 2022Diffusion Models for Adversarial Purification16 May

Other references · 64

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2020Denoising Diffusion Implicit Modelscited by 9,781
  7. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  8. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  9. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  10. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  11. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  12. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
38 more
  1. 2022Classifier-Free Diffusion Guidancecited by 5,847
  2. 2013Intriguing properties of neural networkscited by 5,155
  3. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  4. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,761
  5. 2016Wide Residual Networkscited by 3,070
  6. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
  7. 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
  8. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  9. 2023Consistency Modelscited by 1,822
  10. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  11. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  12. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  13. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
  14. 2021Variational Diffusion Modelscited by 1,153
  15. 2018Robustness May Be at Odds with Accuracycited by 880
  16. 2020Fast is better than free: Revisiting adversarial trainingcited by 727
  17. 2017Masked Autoregressive Flow for Density Estimationcited by 684
  18. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
  19. 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 574
  20. 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 567
  21. 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
  22. 2019Evading Defenses to Transferable Adversarial Examples by Translation-Invariant Attackscited by 442
  23. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
  24. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  25. 2022Analytic-DPM: an Analytic Estimate of the Optimal Reverse Variance in Diffusion Probabilistic Modelscited by 334
  26. 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
  27. 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
  28. 2018Certified Defenses against Adversarial Examplescited by 306
  29. 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 306
  30. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 244
  31. 2022Diffusion models as plug-and-play priorscited by 231
  32. 2021Fixing Data Augmentation to Improve Adversarial Robustnesscited by 204
  33. 2018Spatially Transformed Adversarial Examplescited by 195
  34. 2019Adversarial Training and Robustness for Multiple Perturbationscited by 183
  35. 2019Efficient Decision-based Black-box Adversarial Attacks on Face Recognitioncited by 175
  36. 2023Text-to-Image Diffusion Models are Zero-Shot Classifierscited by 143
  37. 2020Perceptual Adversarial Robustness: Defense Against Unseen Threat Modelscited by 137
  38. 2018Towards the first adversarially robust neural network model on MNISTcited by 104

50 most cited of 64 All 64 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 7; 2024: 31; 2025: 25; 2026: 16.

79 papers.

Sort:

By area:

  1. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 210
  2. 2023How Robust is Google's Bard to Adversarial Image Attacks?cited by 183
  3. 2024Boosting Jailbreak Attack with Momentumcited by 40
  4. 2024Membership Inference on Text-to-Image Diffusion Models via Conditional Likelihood Discrepancycited by 38
  5. 2024Alignment of Diffusion Models: Fundamentals, Challenges, and Futurecited by 35
  6. 2024Your Diffusion Model is Secretly a Certifiably Robust Classifiercited by 24
  7. 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Trainingcited by 24
  8. 2024ADBM: Adversarial diffusion bridge model for reliable adversarial purificationcited by 24
  9. 2024DiffSim: Taming Diffusion Models for Evaluating Visual Similaritycited by 20
  10. 2024Rethinking Centered Kernel Alignment in Knowledge Distillationcited by 17
  11. 2024Prompt-Agnostic Adversarial Perturbation for Customized Diffusion Modelscited by 14
  12. 2025CaO2: Rectifying Inconsistencies in Diffusion-Based Dataset Distillationcited by 14
38 more
  1. 2025CLIPure: Purification in Latent Space via CLIP for Adversarially Robust Zero-Shot Classificationcited by 13
  2. 2024FreeSeg-Diff: Training-Free Open-Vocabulary Segmentation with Diffusion Modelscited by 12
  3. 2024Discriminative Probing and Tuning for Text-to-Image Generationcited by 11
  4. 2024GenRec: Unifying Video Generation and Recognition with Diffusion Modelscited by 11
  5. 2024IV-Mixed Sampler: Leveraging Image Diffusion Models for Enhanced Video Synthesiscited by 10
  6. 2023From Trojan Horses to Castle Walls: Unveiling Bilateral Data Poisoning Effects in Diffusion Modelscited by 9
  7. 2025Conditional Diffusion Models are Medical Image Classifiers that Provide Explainability and Uncertainty for Freecited by 9
  8. 2024Adversarial Guided Diffusion Models for Adversarial Purificationcited by 8
  9. 2024Towards Understanding the Robustness of Diffusion-Based Purification: A Stochastic Perspectivecited by 8
  10. 2025Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variationcited by 8
  11. 2025Generative Classifiers Avoid Shortcut Solutionscited by 8
  12. 2024A Simple and Efficient Baseline for Zero-Shot Generative Classificationcited by 7
  13. 2025Noise Matters: Optimizing Matching Noise for Diffusion Classifierscited by 7
  14. 2024ResVG: Enhancing Relation and Semantic Understanding in Multiple Instances for Visual Groundingcited by 6
  15. 2024DiffBreak: Is Diffusion-Based Purification Robust?cited by 6
  16. 2024ROIC-DM: Robust Text Inference and Classification via Diffusion Modelcited by 5
  17. 2024Classifier Guidance Enhances Diffusion-based Adversarial Purification by Preserving Predictive Informationcited by 5
  18. 2025An Image-like Diffusion Method for Human-Object Interaction Detectioncited by 5
  19. 2025Evaluating Compositional Generalisation in VLMs and Diffusion Modelscited by 5
  20. 2026AEGIS: Adversarial Target-Guided Retention-Data-Free Robust Concept Erasure from Diffusion Modelscited by 5
  21. 2023Distilling Knowledge from Text-to-Image Generative Models Improves Visio-Linguistic Reasoning in CLIPcited by 4
  22. 2023Investigating the Adversarial Robustness of Density Estimation Using the Probability Flow ODEcited by 4
  23. 2024Deep Generative Classification of Blood Cell Morphologycited by 4
  24. 2024CausalDiff: Causality-Inspired Disentanglement via Diffusion Model for Adversarial Defensecited by 4
  25. 2025Attention in Diffusion Model: A Surveycited by 4
  26. 2025TDM: Temporally-Consistent Diffusion Model for All-in-One Real-World Video Restorationcited by 3
  27. 2025One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancycited by 3
  28. 2025Diffusion Models as Dataset Distillation Priorscited by 3
  29. 2026Distributionally Robust Optimization via Generative Ambiguity Modelingcited by 3
  30. 2026FlowComposer: Composable Flows for Compositional Zero-Shot Learningcited by 3
  31. 2026Cert-LAS: Toward Certified Model Ownership Verification for Text-to-Image Diffusion Models via Layer-Adaptive Smoothingcited by 3
  32. 2024Efficient Image-to-Image Diffusion Classifier for Adversarial Robustnesscited by 2
  33. 2024Assessing Open-world Forgetting in Generative Image Model Customizationcited by 2
  34. 2024Pretrained Reversible Generation as Unsupervised Visual Representation Learningcited by 2
  35. 2025DIVE: Inverting Conditional Diffusion Models for Discriminative Taskscited by 2
  36. 2025FlowPure: Continuous Normalizing Flows for Adversarial Purificationcited by 2
  37. 2025Sample-Specific Noise Injection For Diffusion-Based Adversarial Purificationcited by 2
  38. 2025ZIUM: Zero-Shot Intent-Aware Adversarial Attack on Unlearned Modelscited by 2

50 most cited of 79 All 79 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2022Enhancing Diffusion-Based Image Synthesis with Robust Classifier Guidance
  2. 2024Adversarial Robustification via Text-to-Image Diffusion Models
  3. 2022DensePure: Understanding Diffusion Models towards Adversarial Robustness
  4. 2023A High-Quality Robust Diffusion Framework for Corrupted Dataset
  5. 2025Beyond Classification: Evaluating Diffusion Denoised Smoothing for Security-Utility Trade off
  6. 2022Improving Adversarial Robustness by Contrastive Guided Diffusion Process
  7. 2023DiffSmooth: Certifiably Robust Learning via Diffusion Models and Local Smoothing
  8. 2025Diffusion or Non-Diffusion Adversarial Defenses: Rethinking the Relation between Classifier and Adversarial Purifier