Reason2Attack: Jailbreaking Text-to-Image Models via LLM Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Text-to-Image(T2I) models typically deploy safety filters to prevent the generation of sensitive images. Unfortunately, recent jailbreaking attack methods manually design instructions for the LLM to generate adversarial prompts, which effectively bypass safety filters while producing sensitive images, exposing safety vulnerabilities of T2I models. However, due to the LLM's limited understanding of the T2I model and its safety filters, existing methods require numerous queries to achieve a successful attack, limiting their practical applicability. To address this issue, we propose Reason2Attack(R2A), which aims to enhance the LLM's reasoning capabilities in generating adversarial prompts by incorporating the jailbreaking attack into the post-training process of the LLM. Specifically, we first propose a CoT example synthesis pipeline based on Frame Semantics, which generates adversarial prompts by identifying related terms and corresponding context illustrations. Using CoT examples generated by the pipeline, we fine-tune the LLM to understand the reasoning path and format the output structure. Subsequently, we incorporate the jailbreaking attack task into the reinforcement learning process of the LLM and design an attack process reward that considers prompt length, prompt stealthiness, and prompt effectiveness, aiming to further enhance reasoning accuracy. Extensive experiments on various T2I models show that R2A achieves a better attack success ratio while requiring fewer queries than baselines. Moreover, our adversarial prompts demonstrate strong attack transferability across both open-source and commercial T2I models.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 6 of its 45 references that are in the map. First posted on arXiv 23 Mar 2025.
Builds on
6 of 45 references.
References · 6
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 175
- 2023FLIRT: Feedback Loop In-context Red Teamingcited by 83
- 2024Fuzz-Testing Meets LLM-Based Agents: An Automated and Efficient Framework for Jailbreaking Text-To-Image Generation Modelscited by 27
- 2023Harnessing LLM to Attack LLM-Guarded Text-to-Image Modelscited by 12
- 2024Revealing Vulnerabilities in Stable Diffusion via Targeted Attackscited by 9
Built on by
Citing papers per year: 2025: 4; 2026: 11.
15 papers.
Sort:
By area:
- 2025Revoking Amnesia: RL-based Trajectory Optimization to Resurrect Erased Concepts in Diffusion Modelscited by 11
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modelingcited by 8
- 2025Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept Attackcited by 3
- 2026Conditioned Activation Transport for T2I Safety Steeringcited by 3
- 2025Trojan Horse Prompting: Jailbreaking Conversational Multimodal Models by Forging Assistant Messagecited by 2
- 2026Unsafe by Reciprocity: How Generation-Understanding Coupling Undermines Safety in Unified Multimodal Modelscited by 2
- 2026What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion Transformerscited by 1
- 2026ReLAPSe: Reinforcement-Learning-trained Adversarial Prompt Search for Erased concepts in unlearned diffusion modelscited by 0
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defensecited by 0
- 2026Benign Inputs, Harmful Outputs: Cross-Modal Jailbreaking via Distributed Semantic Recompositioncited by 0
- 2026PixJail: Self-Evolving Paper-to-Pipeline Reproduction for Text-to-Image Jailbreak Evaluationcited by 0
- 2026Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Modelscited by 0
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Models28 Sep 2026
- 2026Concept Score Relearning: A Unified Cross-Architecture Attack on Concept Erasure27 Sep 2026
- 2026Stress Testing Concept Erasure with Large Language Model Agents20 Jul 2026
- 2026Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Models20 Jul 2026
- 2026PixJail: Self-Evolving Paper-to-Pipeline Reproduction for Text-to-Image Jailbreak Evaluation23 Jun 2026
- 2026Benign Inputs, Harmful Outputs: Cross-Modal Jailbreaking via Distributed Semantic Recomposition1 Jun 2026
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defense13 May 2026
- 2026What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion Transformers11 May 2026
- 2026Unsafe by Reciprocity: How Generation-Understanding Coupling Undermines Safety in Unified Multimodal Models28 Mar 2026
- 2026Conditioned Activation Transport for T2I Safety Steering3 Mar 2026
- 2026ReLAPSe: Reinforcement-Learning-trained Adversarial Prompt Search for Erased concepts in unlearned diffusion models30 Jan 2026
- 2025Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept Attack1 Oct 2025
3 more
- 2025Revoking Amnesia: RL-based Trajectory Optimization to Resurrect Erased Concepts in Diffusion Models30 Sep 2025
- 2025Trojan Horse Prompting: Jailbreaking Conversational Multimodal Models by Forging Assistant Message7 Jul 2025
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling27 May 2025
- 2025Revoking Amnesia: RL-based Trajectory Optimization to Resurrect Erased Concepts in Diffusion Modelscited by 11
- 2025Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept Attackcited by 3
- 2026What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion Transformerscited by 1
- 2026ReLAPSe: Reinforcement-Learning-trained Adversarial Prompt Search for Erased concepts in unlearned diffusion modelscited by 0
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defensecited 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
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defense13 May 2026
- 2026What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion Transformers11 May 2026
- 2026ReLAPSe: Reinforcement-Learning-trained Adversarial Prompt Search for Erased concepts in unlearned diffusion models30 Jan 2026
- 2025Erased, But Not Forgotten: Erased Rectified Flow Transformers Still Remain Unsafe Under Concept Attack1 Oct 2025
- 2025Revoking Amnesia: RL-based Trajectory Optimization to Resurrect Erased Concepts in Diffusion Models30 Sep 2025
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modelingcited by 8
- 2025Trojan Horse Prompting: Jailbreaking Conversational Multimodal Models by Forging Assistant Messagecited by 2
- 2026Benign Inputs, Harmful Outputs: Cross-Modal Jailbreaking via Distributed Semantic Recompositioncited by 0
- 2026PixJail: Self-Evolving Paper-to-Pipeline Reproduction for Text-to-Image Jailbreak Evaluationcited by 0
- 2026Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Modelscited by 0
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Modelscited by 0
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Models28 Sep 2026
- 2026Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Models20 Jul 2026
- 2026PixJail: Self-Evolving Paper-to-Pipeline Reproduction for Text-to-Image Jailbreak Evaluation23 Jun 2026
- 2026Benign Inputs, Harmful Outputs: Cross-Modal Jailbreaking via Distributed Semantic Recomposition1 Jun 2026
- 2025Trojan Horse Prompting: Jailbreaking Conversational Multimodal Models by Forging Assistant Message7 Jul 2025
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling27 May 2025
- 2026Conditioned Activation Transport for T2I Safety Steeringcited by 3
- 2026Conditioned Activation Transport for T2I Safety Steering3 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025Anyone Can Jailbreak: Prompt-Based Attacks on LLMs and T2Is
- 2026Open Models, Open Risks: Measuring Unsafe Generation in Text-to-Image Models In the Wild
- 2025Jailbreaking Safeguarded Text-to-Image Models via Large Language Models
- 2025AutoAdv: Automated Adversarial Prompting for Multi-Turn Jailbreaking of Large Language Models
- 2025Metaphor-based Jailbreak Attacks on Text-to-Image Models
- 2026Low-Effort Jailbreak Attacks Against Text-to-Image Safety Filters
- 2025Jailbreaking Commercial Black-Box LLMs with Explicitly Harmful Prompts
- 2025Dynamic Optimization and Safety Indicator Injection for Jailbreaking Text-to-Image Models with Multimodal Safety Filters