DiffPAD: Denoising Diffusion-based Adversarial Patch Decontamination

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fu, Jia, Zhang, Xiao, Pashami, Sepideh, Rahimian, Fatemeh, Holst, Anders
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929590671245312
author Fu, Jia
Zhang, Xiao
Pashami, Sepideh
Rahimian, Fatemeh
Holst, Anders
author_facet Fu, Jia
Zhang, Xiao
Pashami, Sepideh
Rahimian, Fatemeh
Holst, Anders
contents 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 $\ell_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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_24006
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DiffPAD: Denoising Diffusion-based Adversarial Patch Decontamination
Fu, Jia
Zhang, Xiao
Pashami, Sepideh
Rahimian, Fatemeh
Holst, Anders
Computer Vision and Pattern Recognition
Machine Learning
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 $\ell_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.
title DiffPAD: Denoising Diffusion-based Adversarial Patch Decontamination
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2410.24006