DiffPAD: Denoising Diffusion-based Adversarial Patch Decontamination
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
- 2023DIFFender: Diffusion-Based Adversarial Defense against Patch Attacks15 Jun
- 2023Better Diffusion Models Further Improve Adversarial Training9 Feb
- 2022(Certified!!) Adversarial Robustness for Free!21 Jun
- 2022Guided Diffusion Model for Adversarial Purification30 May
- 2022Diffusion Models for Adversarial Purification16 May
Other references · 35
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2013Intriguing properties of neural networkscited by 5,114
- 2022A ConvNet for the 2020scited by 3,545
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
23 more
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2022Denoising Diffusion Restoration Modelscited by 951
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
- 2021ILVR: Conditioning Method for Denoising Diffusion Probabilistic Modelscited by 634
- 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 564
- 2017Adversarial Patchcited by 514
- 2020Plug-and-Play Image Restoration with Deep Denoiser Priorcited by 467
- 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
- 2023Denoising Diffusion Models for Plug-and-Play Image Restorationcited by 335
- 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
- 2020Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulationcited by 225
- 2016A study of the effect of JPG compression on adversarial imagescited by 196
- 2018LaVAN: Localized and Visible Adversarial Noisecited by 112
- 2020Certified Defenses for Adversarial Patchescited by 100
- 2021Adversarial Sticker: A Stealthy Attack Method in the Physical Worldcited by 92
- 2017A General Framework for Adversarial Examples with Objectivescited by 82
- 2021Segment and Complete: Defending Object Detectors against Adversarial Patch Attacks with Robust Patch Detectioncited by 67
- 2019Defending Against Physically Realizable Attacks on Image Classificationcited by 66
- 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
- 2020Adversarial Training against Location-Optimized Adversarial Patchescited by 50
- 2021Online Adversarial Purification based on Self-Supervisioncited by 45
- 2023Jedi: Entropy-based Localization and Removal of Adversarial Patchescited by 35
- 2021Generative Dynamic Patch Attackcited by 19
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Real-world Adversarial Defense against Patch Attacks based on Diffusion Model
- 2025Beyond Classification: Evaluating Diffusion Denoised Smoothing for Security-Utility Trade off
- 2024LoRID: Low-Rank Iterative Diffusion for Adversarial Purification
- 2025SAP-DIFF: Semantic Adversarial Patch Generation for Black-Box Face Recognition Models via Diffusion Models
- 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Models
- 2025Towards more transferable adversarial attack in black-box manner
- 2023DiffDefense: Defending against Adversarial Attacks via Diffusion Models
- 2025Gradient-Free Adversarial Purification with Diffusion Models