mlsanityData to 7 Oct 2026

DensePure: Understanding Diffusion Models towards Adversarial Robustness

arXiv 2211.00322 ↗First posted 1 Nov 2022cs.LG cs.AI cs.CRcited by 33

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

Abstract (arXiv)

Diffusion models have been recently employed to improve certified robustness through the process of denoising. However, the theoretical understanding of why diffusion models are able to improve the certified robustness is still lacking, preventing from further improvement. In this study, we close this gap by analyzing the fundamental properties of diffusion models and establishing the conditions under which they can enhance certified robustness. This deeper understanding allows us to propose a new method DensePure, designed to improve the certified robustness of a pretrained model (i.e. classifier). Given an (adversarial) input, DensePure consists of multiple runs of denoising via the reverse process of the diffusion model (with different random seeds) to get multiple reversed samples, which are then passed through the classifier, followed by majority voting of inferred labels to make the final prediction. This design of using multiple runs of denoising is informed by our theoretical analysis of the conditional distribution of the reversed sample. Specifically, when the data density of a clean sample is high, its conditional density under the reverse process in a diffusion model is also high; thus sampling from the latter conditional distribution can purify the adversarial example and return the corresponding clean sample with a high probability. By using the highest density point in the conditional distribution as the reversed sample, we identify the robust region of a given instance under the diffusion model's reverse process. We show that this robust region is a union of multiple convex sets, and is potentially much larger than the robust regions identified in previous works. In practice, DensePure can approximate the label of the high density region in the conditional distribution so that it can enhance certified robustness.

Key facts. Cited by 33 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 29 of its 37 references that are in the map. First posted on arXiv 1 Nov 2022.

Builds on

29 of 37 references.

Closest ancestors · 3

Same direction, newest first

  1. 2022Guided Diffusion Model for Adversarial Purification from Random Noise22 Jun
  2. 2022(Certified!!) Adversarial Robustness for Free!21 Jun
  3. 2022Diffusion Models for Adversarial Purification16 May

Other references · 26

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  4. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  5. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  6. 2016Wide Residual Networkscited by 3,057
  7. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  8. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  9. 2021Maximum Likelihood Training of Score-Based Diffusion Modelscited by 670
  10. 2021Score-based Generative Modeling in Latent Spacecited by 634
  11. 2018Certified Robustness to Adversarial Examples with Differential Privacycited by 462
  12. 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 439
14 more
  1. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
  2. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  3. 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 328
  4. 2018Certified Defenses against Adversarial Examplescited by 305
  5. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
  6. 2021Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Complete and Incomplete Neural Network Robustness Verificationcited by 224
  7. 2018Semidefinite relaxations for certifying robustness to adversarial examplescited by 178
  8. 2019A Convex Relaxation Barrier to Tight Robustness Verification of Neural Networkscited by 124
  9. 2020MACER: Attack-free and Scalable Robust Training via Maximizing Certified Radiuscited by 114
  10. 2020Consistency Regularization for Certified Robustness of Smoothed Classifierscited by 73
  11. 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
  12. 2021SmoothMix: Training Confidence-calibrated Smoothed Classifiers for Certified Robustnesscited by 49
  13. 2021Boosting Randomized Smoothing with Variance Reduced Classifierscited by 47
  14. 2022PointDP: Diffusion-driven Purification against Adversarial Attacks on 3D Point Cloud Recognitioncited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 13; 2024: 15; 2025: 3; 2026: 2.

33 papers.

Sort:

By area:

  1. 2023Better Diffusion Models Further Improve Adversarial Trainingcited by 207
  2. 2023Generative Diffusion Models on Graphs: Methods and Applicationscited by 79
  3. 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 65
  4. 2023On the Design Fundamentals of Diffusion Models: A Surveycited by 59
  5. 2023DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purificationcited by 36
  6. 2024Safeguarding Vision-Language Models Against Patched Visual Prompt Injectorscited by 26
  7. 2023Defending against Adversarial Audio via Diffusion Modelcited by 20
  8. 2023DiffSmooth: Certifiably Robust Learning via Diffusion Models and Local Smoothingcited by 20
  9. 2023Enhancing Adversarial Robustness via Score-Based Optimizationcited by 19
  10. 2024Espresso: Robust Concept Filtering in Text-to-Image Modelscited by 14
  11. 2023Purify++: Improving Diffusion-Purification with Advanced Diffusion Models and Control of Randomnesscited by 13
  12. 2024Towards Understanding the Robustness of Diffusion-Based Purification: A Stochastic Perspectivecited by 8
21 more
  1. 2024Calibration Attacks: A Comprehensive Study of Adversarial Attacks on Model Confidencecited by 7
  2. 2023Diffusion models meet image counter-forensicscited by 6
  3. 2024DiffBreak: Is Diffusion-Based Purification Robust?cited by 6
  4. 2023On enhancing the robustness of Vision Transformers: Defensive Diffusioncited by 5
  5. 2024Guardians of Image Quality: Benchmarking Defenses Against Adversarial Attacks on Image Quality Metricscited by 5
  6. 2024Classifier Guidance Enhances Diffusion-based Adversarial Purification by Preserving Predictive Informationcited by 5
  7. 2024ToDA: Target-oriented Diffusion Attacker against Recommendation Systemcited by 4
  8. 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Modelscited by 4
  9. 2024SPLITZ: Certifiable Robustness via Split Lipschitz Randomized Smoothingcited by 4
  10. 2024CausalDiff: Causality-Inspired Disentanglement via Diffusion Model for Adversarial Defensecited by 4
  11. 2023A Diffusion Model for Event Skeleton Generationcited by 3
  12. 2025LISArD: Learning Image Similarity to Defend Against Gray-box Adversarial Attackscited by 3
  13. 2024Belief-Enriched Pessimistic Q-Learning against Adversarial State Perturbationscited by 2
  14. 2026LipNeXt: Scaling up Lipschitz-based Certified Robustness to Billion-parameter Modelscited by 2
  15. 2023Rapid Plug-in Defenderscited by 1
  16. 2024Adversarial Examples are Misaligned in Diffusion Model Manifoldscited by 1
  17. 2024Average Certified Radius is a Poor Metric for Randomized Smoothingcited by 1
  18. 2025Robust Representation Consistency Model via Contrastive Denoisingcited by 1
  19. 2025Rectifying Adversarial Sample with Low Entropy Prior for Test-Time Defensecited by 1
  20. 2024Stochastic BIQA: Median Randomized Smoothing for Certified Blind Image Quality Assessmentcited by 0
  21. 2026VocalBridge: Latent Diffusion-Bridge Purification for Defeating Perturbation-Based Voiceprint Defensescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Demystifying Adversarial Robustness in Diffusion Models: Compression, Randomness, and Geometry
  2. 2025Robustifying Diffusion-Denoised Smoothing Against Covariate Shift
  3. 2025Diffusion Models are Robust Pretrainers
  4. 2026Expanding the Role of Diffusion Models for Robust Classifier Training
  5. 2023Robust Classification via a Single Diffusion Model
  6. 2025Beyond Classification: Evaluating Diffusion Denoised Smoothing for Security-Utility Trade off
  7. 2024Your Diffusion Model is Secretly a Certifiably Robust Classifier
  8. 2025What is Adversarial Training for Diffusion Models?