mlsanityData to 14 Oct 2026

Random Sampling for Diffusion-based Adversarial Purification

arXiv 2411.18956 ↗First posted 28 Nov 2024cs.CV cs.AI cs.LGcited by 1

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

Abstract (arXiv)

Denoising Diffusion Probabilistic Models (DDPMs) have gained great attention in adversarial purification. Current diffusion-based works focus on designing effective condition-guided mechanisms while ignoring a fundamental problem, i.e., the original DDPM sampling is intended for stable generation, which may not be the optimal solution for adversarial purification. Inspired by the stability of the Denoising Diffusion Implicit Model (DDIM), we propose an opposite sampling scheme called random sampling. In brief, random sampling will sample from a random noisy space during each diffusion process, while DDPM and DDIM sampling will continuously sample from the adjacent or original noisy space. Thus, random sampling obtains more randomness and achieves stronger robustness against adversarial attacks. Correspondingly, we also introduce a novel mediator conditional guidance to guarantee the consistency of the prediction under the purified image and clean image input. To expand awareness of guided diffusion purification, we conduct a detailed evaluation with different sampling methods and our random sampling achieves an impressive improvement in multiple settings. Leveraging mediator-guided random sampling, we also establish a baseline method named DiffAP, which significantly outperforms state-of-the-art (SOTA) approaches in performance and defensive stability. Remarkably, under strong attack, our DiffAP even achieves a more than 20% robustness advantage with 10× sampling acceleration.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 30 of its 34 references that are in the map. First posted on arXiv 28 Nov 2024.

Builds on

30 of 34 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023MimicDiffusion: Purifying Adversarial Perturbation via Mimicking Clean Diffusion Model8 Dec
  2. 2022Guided Diffusion Model for Adversarial Purification30 May
  3. 2022Diffusion Models for Adversarial Purification16 May
  4. 2021Adversarial purification with Score-based generative models11 Jun

Other references · 26

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2020Denoising Diffusion Implicit Modelscited by 9,781
  6. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  9. 2016Wide Residual Networkscited by 3,070
  10. 2016Deep Learning with Differential Privacycited by 2,728
  11. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  12. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
14 more
  1. 2022Diffusion Posterior Sampling for General Noisy Inverse Problemscited by 1,416
  2. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
  3. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  4. 2023FreeDoM: Training-Free Energy-Guided Conditional Diffusion Modelcited by 294
  5. 2018Deep Face Recognition: A Surveycited by 276
  6. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 244
  7. 2021Improving Robustness using Generated Datacited by 234
  8. 2016Learning in Implicit Generative Modelscited by 125
  9. 2021Stable Neural ODE with Lyapunov-Stable Equilibrium Points for Defending Against Adversarial Attackscited by 91
  10. 2023Robust Evaluation of Diffusion-Based Adversarial Purificationcited by 65
  11. 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
  12. 2022DISCO: Adversarial Defense with Local Implicit Functionscited by 34
  13. 2018Resisting Adversarial Attacks using Gaussian Mixture Variational Autoencoderscited by 26
  14. 2018Security and Privacy Issues in Deep Learningcited by 19

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026NADD: Amplifying Noise for Effective Diffusion-based Adversarial Purification
  2. 2025Divide and Conquer: Heterogeneous Noise Integration for Diffusion-based Adversarial Purification
  3. 2022Guided Diffusion Model for Adversarial Purification from Random Noise
  4. 2024Towards Understanding the Robustness of Diffusion-Based Purification: A Stochastic Perspective
  5. 2024LoRID: Low-Rank Iterative Diffusion for Adversarial Purification
  6. 2025Demystifying Adversarial Robustness in Diffusion Models: Compression, Randomness, and Geometry
  7. 2023Semi-Implicit Denoising Diffusion Models (SIDDMs)
  8. 2023Denoising Diffusion Probabilistic Models as a Defense against Adversarial Attacks