mlsanityData to 7 Oct 2026

Real-world Adversarial Defense against Patch Attacks based on Diffusion Model

arXiv 2409.09406 ↗First posted 14 Sep 2024cs.CV cs.AI cs.CRcited by 5

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

Abstract (arXiv)

Adversarial patches present significant challenges to the robustness of deep learning models, making the development of effective defenses become critical for real-world applications. This paper introduces DIFFender, a novel DIFfusion-based DeFender framework that leverages the power of a text-guided diffusion model to counter adversarial patch attacks. At the core of our approach is the discovery of the Adversarial Anomaly Perception (AAP) phenomenon, which enables the diffusion model to accurately detect and locate adversarial patches by analyzing distributional anomalies. DIFFender seamlessly integrates the tasks of patch localization and restoration within a unified diffusion model framework, enhancing defense efficacy through their close interaction. Additionally, DIFFender employs an efficient few-shot prompt-tuning algorithm, facilitating the adaptation of the pre-trained diffusion model to defense tasks without the need for extensive retraining. Our comprehensive evaluation, covering image classification and face recognition tasks, as well as real-world scenarios, demonstrates DIFFender's robust performance against adversarial attacks. The framework's versatility and generalizability across various settings, classifiers, and attack methodologies mark a significant advancement in adversarial patch defense strategies. Except for the popular visible domain, we have identified another advantage of DIFFender: its capability to easily expand into the infrared domain. Consequently, we demonstrate the good flexibility of DIFFender, which can defend against both infrared and visible adversarial patch attacks alternatively using a universal defense framework.

Key facts. Cited by 5 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 48 of its 67 references that are in the map. First posted on arXiv 14 Sep 2024.

Builds on

48 of 67 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023DIFFender: Diffusion-Based Adversarial Defense against Patch Attacks15 Jun
  2. 2022Guided Diffusion Model for Adversarial Purification30 May
  3. 2022Diffusion Models for Adversarial Purification16 May

Other references · 45

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  5. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  7. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  8. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  9. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  10. 2013Intriguing properties of neural networkscited by 5,114
  11. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  12. 2018YOLOv3: An Incremental Improvementcited by 2,652
33 more
  1. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  2. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  3. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
  4. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  5. 2017Countering Adversarial Images using Input Transformationscited by 517
  6. 2017Adversarial Patchcited by 514
  7. 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
  8. 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
  9. 2021LLVIP: A Visible-infrared Paired Dataset for Low-light Visioncited by 229
  10. 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
  11. 2016A study of the effect of JPG compression on adversarial imagescited by 196
  12. 2018Parametric Noise Injection: Trainable Randomness to Improve Deep Neural Network Robustness against Adversarial Attackcited by 123
  13. 2018LaVAN: Localized and Visible Adversarial Noisecited by 112
  14. 2023Benchmarking Robustness of 3D Object Detection to Common Corruptions in Autonomous Drivingcited by 112
  15. 2020Certified Defenses for Adversarial Patchescited by 100
  16. 2022Adversarial Texture for Fooling Person Detectors in the Physical Worldcited by 96
  17. 2021Adversarial Sticker: A Stealthy Attack Method in the Physical Worldcited by 92
  18. 2018Local Gradients Smoothing: Defense against localized adversarial attackscited by 85
  19. 2021Improving Transferability of Adversarial Patches on Face Recognition with Generative Modelscited by 80
  20. 2021Segment and Complete: Defending Object Detectors against Adversarial Patch Attacks with Robust Patch Detectioncited by 67
  21. 2019Defending Against Physically Realizable Attacks on Image Classificationcited by 66
  22. 2021Fooling thermal infrared pedestrian detectors in real world using small bulbscited by 51
  23. 2020Adversarial Training against Location-Optimized Adversarial Patchescited by 50
  24. 2022Infrared Invisible Clothing:Hiding from Infrared Detectors at Multiple Angles in Real Worldcited by 42
  25. 2022Simultaneously Optimizing Perturbations and Positions for Black-box Adversarial Patch Attackscited by 41
  26. 2023DAP: A Dynamic Adversarial Patch for Evading Person Detectorscited by 40
  27. 2023Jedi: Entropy-based Localization and Removal of Adversarial Patchescited by 35
  28. 2024PAD: Patch-Agnostic Defense against Adversarial Patch Attackscited by 31
  29. 2022HOTCOLD Block: Fooling Thermal Infrared Detectors with a Novel Wearable Designcited by 27
  30. 2023Unified Adversarial Patch for Visible-Infrared Cross-modal Attacks in the Physical Worldcited by 21
  31. 2021Generative Dynamic Patch Attackcited by 19
  32. 2023Adversarial Infrared Blocks: A Multi-view Black-box Attack to Thermal Infrared Detectors in Physical Worldcited by 11
  33. 2021Deep adversarial attack on target detection systemscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023DiffDefense: Defending against Adversarial Attacks via Diffusion Models
  2. 2024DiffPAD: Denoising Diffusion-based Adversarial Patch Decontamination
  3. 2025Diffusion or Non-Diffusion Adversarial Defenses: Rethinking the Relation between Classifier and Adversarial Purifier
  4. 2025SAP-DIFF: Semantic Adversarial Patch Generation for Black-Box Face Recognition Models via Diffusion Models
  5. 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Survey
  6. 2024Watch the Watcher! Backdoor Attacks on Security-Enhancing Diffusion Models
  7. 2024Adversarial Examples are Misaligned in Diffusion Model Manifolds
  8. 2026A Low-Rank Defense Method for Adversarial Attack on Diffusion Models