CVNov 21, 2023

SD-NAE: Generating Natural Adversarial Examples with Stable Diffusion

arXiv:2311.12981v36 citationsh-index: 8Has Code
Originality Incremental advance
AI Analysis

This work addresses the need for robust evaluation of classifiers by creating NAEs, but it is incremental as it builds on existing methods with a novel application of Stable Diffusion.

The paper tackles the problem of generating natural adversarial examples (NAEs) by actively synthesizing them using Stable Diffusion, rather than passively collecting from real images, and demonstrates effectiveness through experiments.

Natural Adversarial Examples (NAEs), images arising naturally from the environment and capable of deceiving classifiers, are instrumental in robustly evaluating and identifying vulnerabilities in trained models. In this work, unlike prior works that passively collect NAEs from real images, we propose to actively synthesize NAEs using the state-of-the-art Stable Diffusion. Specifically, our method formulates a controlled optimization process, where we perturb the token embedding that corresponds to a specified class to generate NAEs. This generation process is guided by the gradient of loss from the target classifier, ensuring that the created image closely mimics the ground-truth class yet fools the classifier. Named SD-NAE (Stable Diffusion for Natural Adversarial Examples), our innovative method is effective in producing valid and useful NAEs, which is demonstrated through a meticulously designed experiment. Code is available at https://github.com/linyueqian/SD-NAE.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes