Metaphor-based Jailbreak Attacks on Text-to-Image Models
On the map: LLM safety and security → Vision-language and text-to-image safety
Abstract (arXiv)
Text-to-image (T2I) models commonly incorporate defense mechanisms to prevent the generation of sensitive images. Unfortunately, recent jailbreak attacks have shown that adversarial prompts can effectively bypass these mechanisms and induce T2I models to produce sensitive content, revealing critical safety vulnerabilities. However, existing attack methods implicitly assume that the attacker knows the type of deployed defenses, which limits their effectiveness against unknown or diverse defense mechanisms. In this work, we reveal an underexplored vulnerability of T2I models to metaphor-based jailbreak attacks (MJA), which aims to attack diverse defense mechanisms without prior knowledge of their type by generating metaphor-based adversarial prompts. Specifically, MJA consists of two modules: an LLM-based multi-agent generation module (LMAG) and an adversarial prompt optimization module (APO). LMAG decomposes the generation of metaphor-based adversarial prompts into three subtasks: metaphor retrieval, context matching, and adversarial prompt generation. Subsequently, LMAG coordinates three LLM-based agents to generate diverse adversarial prompts by exploring various metaphors and contexts. To enhance attack efficiency, APO first trains a surrogate model to predict the attack results of adversarial prompts and then designs an acquisition strategy to adaptively identify optimal adversarial prompts. Extensive experiments on T2I models with various external and internal defense mechanisms demonstrate that MJA achieves stronger attack performance while using fewer queries, compared with six baseline methods. Additionally, we provide an in-depth vulnerability analysis suggesting that metaphor-based adversarial prompts evade safety mechanisms by inducing semantic ambiguity, while sensitive images arise from the model's probabilistic interpretation of concealed semantics.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Vision-language and text-to-image safety, one of 12 directions in LLM safety and security. Builds on 30 of its 56 references that are in the map. First posted on arXiv 6 Dec 2025.
Builds on
30 of 56 references.
Closest ancestors · 12
Same direction, newest first
- 2025Align is not Enough: Multimodal Universal Jailbreak Attack against Multimodal Large Language Models2 Jun
- 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generation16 Oct
- 2024Perception-guided Jailbreak against Text-to-Image Models20 Aug
- 2024Fuzz-Testing Meets LLM-Based Agents: An Automated and Efficient Framework for Jailbreaking Text-To-Image Generation Models1 Aug
- 2024Unlearning Concepts in Diffusion Model via Concept Domain Correction and Concept Preserving Gradient24 May
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models24 May
- 2024SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Models10 Apr
- 2024GuardT2I: Defending Text-to-Image Models from Adversarial Prompts3 Mar
- 2024Revealing Vulnerabilities in Stable Diffusion via Targeted Attacks16 Jan
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
- 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Prompts12 Sep
- 2023FLIRT: Feedback Loop In-context Red Teaming8 Aug
Other references · 18
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
- 2023Unified Concept Editing in Diffusion Modelscited by 388
- 2024MACE: Mass Concept Erasure in Diffusion Modelscited by 307
- 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 194
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 155
- 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Eraserscited by 120
6 more
- 2024Latent Guard: a Safety Framework for Text-to-image Generationcited by 71
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Surveycited by 35
- 2023SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitutioncited by 34
- 2020Adversarial Feature Selection against Evasion Attackscited by 13
- 2024Exploring Vulnerabilities of No-Reference Image Quality Assessment Models: A Query-Based Black-Box Methodcited by 10
- 2024DiffGuard: Text-Based Safety Checker for Diffusion Modelscited by 10
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Anyone Can Jailbreak: Prompt-Based Attacks on LLMs and T2Is
- 2025from Benign import Toxic: Jailbreaking the Language Model via Adversarial Metaphors
- 2025Reason2Attack: Jailbreaking Text-to-Image Models via LLM Reasoning
- 2024Na'vi or Knave: Jailbreaking Language Models via Metaphorical Avatars
- 2026Low-Effort Jailbreak Attacks Against Text-to-Image Safety Filters
- 2025Adversarial Poetry as a Universal Single-Turn Jailbreak Mechanism in Large Language Models
- 2026MacPrompt: Maraconic-guided Jailbreak against Text-to-Image Models
- 2024Jailbreak Vision Language Models via Bi-Modal Adversarial Prompt