Discovering Failure Modes of Text-guided Diffusion Models via Adversarial Search
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Text-guided diffusion models (TDMs) are widely applied but can fail unexpectedly. Common failures include: (i) natural-looking text prompts generating images with the wrong content, or (ii) different random samples of the latent variables that generate vastly different, and even unrelated, outputs despite being conditioned on the same text prompt. In this work, we aim to study and understand the failure modes of TDMs in more detail. To achieve this, we propose SAGE, the first adversarial search method on TDMs that systematically explores the discrete prompt space and the high-dimensional latent space, to automatically discover undesirable behaviors and failure cases in image generation. We use image classifiers as surrogate loss functions during searching, and employ human inspections to validate the identified failures. For the first time, our method enables efficient exploration of both the discrete and intricate human language space and the challenging latent space, overcoming the gradient vanishing problem. Then, we demonstrate the effectiveness of SAGE on five widely used generative models and reveal four typical failure modes: (1) We find a variety of natural text prompts that generate images failing to capture the semantics of input texts. We further discuss the underlying causes and potential solutions based on the results. (2) We find regions in the latent space that lead to distorted images independent of the text prompt, suggesting that parts of the latent space are not well-structured. (3) We also find latent samples that result in natural-looking images unrelated to the text prompt, implying a possible misalignment between the latent and prompt spaces. (4) By appending a single adversarial token embedding to any input prompts, we can generate a variety of specified target objects. Project page: https://sage-diffusion.github.io/
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 38 of its 45 references that are in the map. First posted on arXiv 1 Jun 2023.
Builds on
38 of 45 references.
Closest ancestors · 8
Same direction, newest first
- 2023MultiDiffusion: Fusing Diffusion Paths for Controlled Image Generation16 Feb
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
- 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesis9 Dec
- 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
- 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
Other references · 30
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,006
18 more
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,107
- 2022Diffusion Policies as an Expressive Policy Class for Offline Reinforcement Learningcited by 543
- 2022StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasetscited by 489
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
- 2023Reduce, Reuse, Recycle: Compositional Generation with Energy-Based Diffusion Models and MCMCcited by 216
- 2023Noise2Music: Text-conditioned Music Generation with Diffusion Modelscited by 173
- 2021On Fast Sampling of Diffusion Probabilistic Modelscited by 170
- 2022Benchmarking Spatial Relationships in Text-to-Image Generationcited by 96
- 2022A very preliminary analysis of DALL-E 2cited by 82
- 2023A Pilot Study of Query-Free Adversarial Attack against Stable Diffusioncited by 75
- 2022Discovering the Hidden Vocabulary of DALLE-2cited by 42
- 2022DALL-E 2 Fails to Reliably Capture Common Syntactic Processescited by 31
- 2022Adversarial Attacks on Image Generation With Made-Up Wordscited by 29
- 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
- 2023PoseExaminer: Automated Testing of Out-of-Distribution Robustness in Human Pose and Shape Estimationcited by 10
Built on by
Citing papers per year: 2023: 1; 2024: 8; 2025: 11; 2026: 5.
25 papers.
Sort:
By area:
- 2024Latent Guard: a Safety Framework for Text-to-image Generationcited by 68
- 2024Attacks and Defenses for Generative Diffusion Models: A Comprehensive Surveycited by 32
- 2025VITA: Vision-to-Action Flow Matching Policycited by 23
- 2024Unlocking Dataset Distillation with Diffusion Modelscited by 21
- 2025Can Diffusion Models Learn Hidden Inter-Feature Rules Behind Images?cited by 15
- 2023From Fake to Real: Pretraining on Balanced Synthetic Images to Prevent Spurious Correlations in Image Recognitioncited by 12
- 2025Mitigating Hallucinations in Diffusion Models through Adaptive Attention Modulationcited by 11
- 2024Trustworthy Text-to-Image Diffusion Models: A Timely and Focused Surveycited by 6
- 2026CtrlAttack: A Unified Attack on World-Model Control in Diffusion Modelscited by 6
- 2024An Analysis of Human Alignment of Latent Diffusion Modelscited by 5
- 2024Repairing Catastrophic-Neglect in Text-to-Image Diffusion Models via Attention-Guided Feature Enhancementcited by 5
- 2025Mitigating Diffusion Model Hallucinations with Dynamic Guidancecited by 5
13 more
- 2025Counting Hallucinations in Diffusion Modelscited by 5
- 2025T2VAttack: Adversarial Attack on Text-to-Video Diffusion Modelscited by 5
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
- 2025Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept Attackcited by 3
- 2024Adversarial Attacks on Parts of Speech: An Empirical Study in Text-to-Image Generationcited by 2
- 2025Differences That Matter: Auditing Models for Capability Gap Discovery and Rectificationcited by 1
- 2026Early Failure Detection and Intervention in Video Diffusion Modelscited by 1
- 2024Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion Models!cited by 0
- 2025Security Risk of Misalignment between Text and Image in Multi-modal Modelcited by 0
- 2025Chain of Time: In-Context Physical Simulation with Image Generation Modelscited by 0
- 2026DriftScope: Measuring The Hidden Effects of Diffusion Model Adaptationcited by 0
- 2026Diagnosing Aerial-View Object Detectors with Foundational Image Generative Modelscited by 0
- 2026Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasurecited by 0
- 2026Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasure27 Sep 2026
- 2026Diagnosing Aerial-View Object Detectors with Foundational Image Generative Models2 Jul 2026
- 2026DriftScope: Measuring The Hidden Effects of Diffusion Model Adaptation30 Jun 2026
- 2026Early Failure Detection and Intervention in Video Diffusion Models15 Mar 2026
- 2026CtrlAttack: A Unified Attack on World-Model Control in Diffusion Models13 Mar 2026
- 2025T2VAttack: Adversarial Attack on Text-to-Video Diffusion Models30 Dec 2025
- 2025Differences That Matter: Auditing Models for Capability Gap Discovery and Rectification18 Dec 2025
- 2025Chain of Time: In-Context Physical Simulation with Image Generation Models30 Oct 2025
- 2025Security Risk of Misalignment between Text and Image in Multi-modal Model30 Oct 2025
- 2025Counting Hallucinations in Diffusion Models15 Oct 2025
- 2025Mitigating Diffusion Model Hallucinations with Dynamic Guidance6 Oct 2025
- 2025Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept Attack1 Oct 2025
13 more
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Models25 Sep 2025
- 2025VITA: Vision-to-Action Flow Matching Policy17 Jul 2025
- 2025Mitigating Hallucinations in Diffusion Models through Adaptive Attention Modulation24 Feb 2025
- 2025Can Diffusion Models Learn Hidden Inter-Feature Rules Behind Images?7 Feb 2025
- 2024Trustworthy Text-to-Image Diffusion Models: A Timely and Focused Survey26 Sep 2024
- 2024Adversarial Attacks on Parts of Speech: An Empirical Study in Text-to-Image Generation21 Sep 2024
- 2024Attacks and Defenses for Generative Diffusion Models: A Comprehensive Survey6 Aug 2024
- 2024Repairing Catastrophic-Neglect in Text-to-Image Diffusion Models via Attention-Guided Feature Enhancement24 Jun 2024
- 2024Latent Guard: a Safety Framework for Text-to-image Generation11 Apr 2024
- 2024An Analysis of Human Alignment of Latent Diffusion Models13 Mar 2024
- 2024Unlocking Dataset Distillation with Diffusion Models6 Mar 2024
- 2024Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion Models!7 Feb 2024
- 2023From Fake to Real: Pretraining on Balanced Synthetic Images to Prevent Spurious Correlations in Image Recognition8 Aug 2023
- 2024Attacks and Defenses for Generative Diffusion Models: A Comprehensive Surveycited by 32
- 2025VITA: Vision-to-Action Flow Matching Policycited by 23
- 2024Unlocking Dataset Distillation with Diffusion Modelscited by 21
- 2025Can Diffusion Models Learn Hidden Inter-Feature Rules Behind Images?cited by 15
- 2025Mitigating Hallucinations in Diffusion Models through Adaptive Attention Modulationcited by 11
- 2024Trustworthy Text-to-Image Diffusion Models: A Timely and Focused Surveycited by 6
- 2024An Analysis of Human Alignment of Latent Diffusion Modelscited by 5
- 2024Repairing Catastrophic-Neglect in Text-to-Image Diffusion Models via Attention-Guided Feature Enhancementcited by 5
- 2025Mitigating Diffusion Model Hallucinations with Dynamic Guidancecited by 5
- 2025Counting Hallucinations in Diffusion Modelscited by 5
- 2025T2VAttack: Adversarial Attack on Text-to-Video Diffusion Modelscited by 5
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
12 most cited of 18 All 18 (JSON)
- 2026Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasure27 Sep 2026
- 2026DriftScope: Measuring The Hidden Effects of Diffusion Model Adaptation30 Jun 2026
- 2026Early Failure Detection and Intervention in Video Diffusion Models15 Mar 2026
- 2025T2VAttack: Adversarial Attack on Text-to-Video Diffusion Models30 Dec 2025
- 2025Security Risk of Misalignment between Text and Image in Multi-modal Model30 Oct 2025
- 2025Counting Hallucinations in Diffusion Models15 Oct 2025
- 2025Mitigating Diffusion Model Hallucinations with Dynamic Guidance6 Oct 2025
- 2025Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept Attack1 Oct 2025
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Models25 Sep 2025
- 2025VITA: Vision-to-Action Flow Matching Policy17 Jul 2025
- 2025Mitigating Hallucinations in Diffusion Models through Adaptive Attention Modulation24 Feb 2025
- 2025Can Diffusion Models Learn Hidden Inter-Feature Rules Behind Images?7 Feb 2025
12 newest of 18 All 18 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024On Discrete Prompt Optimization for Diffusion Models
- 2026ELROND: Exploring and decomposing intrinsic capabilities of diffusion models
- 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Models
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Survey
- 2023Identifying and Mitigating Model Failures through Few-shot CLIP-aided Diffusion Generation
- 2024AdvAnchor: Enhancing Diffusion Model Unlearning with Adversarial Anchors
- 2024ProTIP: Probabilistic Robustness Verification on Text-to-Image Diffusion Models against Stochastic Perturbation
- 2025Steer Away From Mode Collisions: Improving Composition In Diffusion Models