AdvDiff: Generating Unrestricted Adversarial Examples using Diffusion Models
Xuelong Dai, Kaisheng Liang, Bin Xiao
TL;DR
AdvDiff addresses the threat of unrestricted adversarial examples by generating them with pre-trained diffusion models rather than perturbing real data. It introduces two adversarial guidance mechanisms that steer the reverse diffusion sampling toward a targeted misclassification while preserving high-quality generation, and it provides theoretical support for these techniques. Empirical results on MNIST and ImageNet show AdvDiff outperforms GAN-based UAE methods and other diffusion-based attacks in both attack effectiveness and sample quality, including resilience against defenses and better transfer to black-box models. The work highlights diffusion models as a powerful platform for UAE generation and underscores the need for robust defenses against unrestricted adversarial threats.
Abstract
Unrestricted adversarial attacks present a serious threat to deep learning models and adversarial defense techniques. They pose severe security problems for deep learning applications because they can effectively bypass defense mechanisms. However, previous attack methods often directly inject Projected Gradient Descent (PGD) gradients into the sampling of generative models, which are not theoretically provable and thus generate unrealistic examples by incorporating adversarial objectives, especially for GAN-based methods on large-scale datasets like ImageNet. In this paper, we propose a new method, called AdvDiff, to generate unrestricted adversarial examples with diffusion models. We design two novel adversarial guidance techniques to conduct adversarial sampling in the reverse generation process of diffusion models. These two techniques are effective and stable in generating high-quality, realistic adversarial examples by integrating gradients of the target classifier interpretably. Experimental results on MNIST and ImageNet datasets demonstrate that AdvDiff is effective in generating unrestricted adversarial examples, which outperforms state-of-the-art unrestricted adversarial attack methods in terms of attack performance and generation quality.
