SD-NAE: Generating Natural Adversarial Examples with Stable Diffusion
On the map: Diffusion models → Robustness, privacy and adversarial aspects
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 13 of its 16 references that are in the map. First posted on arXiv 21 Nov 2023.
Builds on
13 of 16 references.
Closest ancestors · 1
Same direction, newest first
Other references · 12
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2013Intriguing properties of neural networkscited by 5,155
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2019Natural Adversarial Examplescited by 1,408
- 2023Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inferencecited by 846
- 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 179
- 2018Constructing Unrestricted Adversarial Examples with Generative Modelscited by 135
- 2021Mixture Outlier Exposure: Towards Out-of-Distribution Detection in Fine-grained Environmentscited by 66
Built on by
Citing papers per year: 2024: 3; 2025: 1; 2026: 1.
5 papers.
- 2024Prompt2Perturb (P2P): Text-Guided Diffusion-Based Adversarial Attacks on Breast Ultrasound Imagescited by 4
- 2024Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion Models!cited by 0
- 2024Boosting Imperceptibility of Stable Diffusion-based Adversarial Examples Generation with Momentumcited by 0
- 2025DiffHash: Text-Guided Targeted Attack via Diffusion Models against Deep Hashing Image Retrievalcited by 0
- 2026Fingerprinting Text-to-Image Diffusion Models via Collapsed Generationcited by 0
- 2026Fingerprinting Text-to-Image Diffusion Models via Collapsed Generation12 Aug 2026
- 2025DiffHash: Text-Guided Targeted Attack via Diffusion Models against Deep Hashing Image Retrieval16 Sep 2025
- 2024Prompt2Perturb (P2P): Text-Guided Diffusion-Based Adversarial Attacks on Breast Ultrasound Images13 Dec 2024
- 2024Boosting Imperceptibility of Stable Diffusion-based Adversarial Examples Generation with Momentum17 Oct 2024
- 2024Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion Models!7 Feb 2024
Similar, not cited
Close in wording, no citation either way
- 2025VENOM: Text-driven Unrestricted Adversarial Example Generation with Diffusion Models
- 2025ScoreAdv: Score-based Targeted Generation of Natural Adversarial Examples via Diffusion Models
- 2023Improving Adversarial Transferability by Stable Diffusion
- 2025NatADiff: Adversarial Boundary Guidance for Natural Adversarial Diffusion
- 2023Intriguing Properties of Diffusion Models: An Empirical Study of the Natural Attack Capability in Text-to-Image Generative Models
- 2022Enhancing Diffusion-Based Image Synthesis with Robust Classifier Guidance
- 2024Adversarial Examples are Misaligned in Diffusion Model Manifolds
- 2026Expanding the Role of Diffusion Models for Robust Classifier Training