Diffusion Models Demand Contrastive Guidance for Adversarial Purification to Advance
; Zhao, Qibin Otros responsables
Fecha
2024
Editorial
MLR press
Revista
Título del libro
Nombre del evento
41st International Conference on Machine Learning
Fecha del evento
2024-07-21
Institución organizadora
Carnegie Mellen University
ISSN
2640-3498
eISSN
ISBN
Idioma
Inglés
Tipo del evento
Conferencia
Clasificación temática
Palabras clave
Resumen
In adversarial defense, adversarial purification can be viewed as a special generation task with the purpose to remove adversarial attacks and dif- fusion models excel in adversarial purification for their strong generative power. With different predetermined generation requirements, various types of guidance have been proposed, but few of them focuses on adversarial purification. In this work, we propose to guide diffusion mod- els for adversarial purification using contrastive guidance. We theoretically derive the proper noise level added in the forward process diffu- sion models for adversarial purification from a feature learning perspective. For the reverse pro- cess, it is implied that the role of contrastive loss guidance is to facilitate the evolution towards the signal direction. From the theoretical findings and implications, we design the forward process with the proper amount of Gaussian noise added and the reverse process with the gradient of contrastive loss as the guidance of diffusion models for adversarial purification. Empirically, exten- sive experiments on CIFAR-10, CIFAR-100, the German Traffic Sign Recognition Benchmark and ImageNet datasets with ResNet and WideResNet classifiers show that our method outperforms most of current adversarial training and adversarial purification methods by a large improvement.
Colecciones
Aprobación
Revisión
Complementado por
Referenciado por
Licencia Creative Commons
Excepto donde se indique lo contrario, la licencia de este ítem se describe como by-nc-sa
