mlsanityData to 7 Oct 2026

DiffPAD: Denoising Diffusion-based Adversarial Patch Decontamination

arXiv 2410.24006 ↗First posted 31 Oct 2024cs.CV cs.LGcited by 2

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

Abstract (arXiv)

In the ever-evolving adversarial machine learning landscape, developing effective defenses against patch attacks has become a critical challenge, necessitating reliable solutions to safeguard real-world AI systems. Although diffusion models have shown remarkable capacity in image synthesis and have been recently utilized to counter ℓp-norm bounded attacks, their potential in mitigating localized patch attacks remains largely underexplored. In this work, we propose DiffPAD, a novel framework that harnesses the power of diffusion models for adversarial patch decontamination. DiffPAD first performs super-resolution restoration on downsampled input images, then adopts binarization, dynamic thresholding scheme and sliding window for effective localization of adversarial patches. Such a design is inspired by the theoretically derived correlation between patch size and diffusion restoration error that is generalized across diverse patch attack scenarios. Finally, DiffPAD applies inpainting techniques to the original input images with the estimated patch region being masked. By integrating closed-form solutions for super-resolution restoration and image inpainting into the conditional reverse sampling process of a pre-trained diffusion model, DiffPAD obviates the need for text guidance or fine-tuning. Through comprehensive experiments, we demonstrate that DiffPAD not only achieves state-of-the-art adversarial robustness against patch attacks but also excels in recovering naturalistic images without patch remnants. The source code is available at https://github.com/JasonFu1998/DiffPAD.

Key facts. Cited by 2 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 40 of its 50 references that are in the map. First posted on arXiv 31 Oct 2024.

Builds on

40 of 50 references.

Closest ancestors · 5

Same direction, newest first

  1. 2023DIFFender: Diffusion-Based Adversarial Defense against Patch Attacks15 Jun
  2. 2023Better Diffusion Models Further Improve Adversarial Training9 Feb
  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 · 35

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  4. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  7. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  8. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  9. 2013Intriguing properties of neural networkscited by 5,114
  10. 2022A ConvNet for the 2020scited by 3,545
  11. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  12. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
23 more
  1. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  2. 2022Denoising Diffusion Restoration Modelscited by 951
  3. 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
  4. 2021ILVR: Conditioning Method for Denoising Diffusion Probabilistic Modelscited by 634
  5. 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 564
  6. 2017Adversarial Patchcited by 514
  7. 2020Plug-and-Play Image Restoration with Deep Denoiser Priorcited by 467
  8. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  9. 2023Denoising Diffusion Models for Plug-and-Play Image Restorationcited by 335
  10. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
  11. 2020Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulationcited by 225
  12. 2016A study of the effect of JPG compression on adversarial imagescited by 196
  13. 2018LaVAN: Localized and Visible Adversarial Noisecited by 112
  14. 2020Certified Defenses for Adversarial Patchescited by 100
  15. 2021Adversarial Sticker: A Stealthy Attack Method in the Physical Worldcited by 92
  16. 2017A General Framework for Adversarial Examples with Objectivescited by 82
  17. 2021Segment and Complete: Defending Object Detectors against Adversarial Patch Attacks with Robust Patch Detectioncited by 67
  18. 2019Defending Against Physically Realizable Attacks on Image Classificationcited by 66
  19. 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
  20. 2020Adversarial Training against Location-Optimized Adversarial Patchescited by 50
  21. 2021Online Adversarial Purification based on Self-Supervisioncited by 45
  22. 2023Jedi: Entropy-based Localization and Removal of Adversarial Patchescited by 35
  23. 2021Generative Dynamic Patch Attackcited by 19

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Real-world Adversarial Defense against Patch Attacks based on Diffusion Model
  2. 2025Beyond Classification: Evaluating Diffusion Denoised Smoothing for Security-Utility Trade off
  3. 2024LoRID: Low-Rank Iterative Diffusion for Adversarial Purification
  4. 2025SAP-DIFF: Semantic Adversarial Patch Generation for Black-Box Face Recognition Models via Diffusion Models
  5. 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Models
  6. 2025Towards more transferable adversarial attack in black-box manner
  7. 2023DiffDefense: Defending against Adversarial Attacks via Diffusion Models
  8. 2025Gradient-Free Adversarial Purification with Diffusion Models