Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Models

Dongdong Yang, Deyue Zhang, Zhao Liu, Zonghao Ying, Wenzhuo Xu, Jiankai Jin, Xiangzheng Zhang, Quanchen ZouarXiv 2026

TL;DR

The paper introduces MIND, a novel framework that treats text-to-image (T2I) jailbreaking as a cognitive inference problem rather than a blind optimization task. By analyzing fine-grained, multi-modal feedback (such as text refusals, blurred images, or subtle semantic shifts), MIND reverse-engineers a target model's latent defense mechanisms to generate highly effective, semantically consistent adversarial prompts.

What Problem Does This Paper Address?

As Text-to-Image (T2I) models like Stable Diffusion and Midjourney grow more powerful, safety guardrails have evolved into multi-layered systems. Modern defenses include input text filtering, output image blocking, and model-level alignment (like RLHF or concept unlearning).

Existing jailbreak methods typically treat these safety barriers as a black box with a binary output: either the prompt succeeded or it failed. This coarse-grained approach suffers from two major flaws:

  1. Inefficiency: It ignores the rich information hidden within different failure modes. For instance, a textual refusal tells you something completely different about the defense than a blurred output image.
  2. Semantic Collapse: Optimization-based attacks often yield gibberish prompts that bypass filters but completely lose the original creative intent of the user.

The authors address this gap by asking: Can we use multi-modal failure signals to infer the exact nature of the hidden defense and adaptively bypass it without destroying the prompt's meaning?

Methods

The authors formulate jailbreaking as a Partially Observable Markov Decision Process (POMDP), where the target model's defense configuration is the hidden state. To solve this, MIND coordinates three core components in a closed-loop evolutionary search:

Figure 1: Overview of the proposed MIND framework. The system performs profile-guided evolutionary jailbreak through the interaction of three core components: Multi-modal Judge, Defense Profiler, and Meta-Memory, under a multi-agent collaboration paradigm.
  1. Multi-modal Judge: Instead of a binary success/fail flag, this module uses a Vision-Language Model (VLM) and CLIP to classify the model's response into five distinct categories: Text Refusal, Visual Block, Soft Defense (semantic sanitization, e.g., changing "naked" to "clothed"), Semantic Failure, or Success.
  2. Dynamic Defense Profiler: This module maintains a probabilistic belief state of the target system's defenses (tracking text vs. image bias, strictness, and concept-level sensitivity). It updates this profile using an approximate Bayesian update driven by LLM attribution analysis and generates natural-language "tactical guidance" for the next step.
  3. Contextual Meta-Memory: A vector database that stores historically successful attack strategies. Before a new prompt mutation, it retrieves the most relevant past strategies based on the current defense profile.

These components feed into an Attack Agent (powered by an LLM like Llama-3.1 or Vicuna), which performs Chain-of-Thought (CoT) prompt mutations based on the tactical guidance and retrieved memories.

Datasets

MIND was evaluated on two prominent unsafe content benchmarks:

  • I2P (Inappropriate Image Prompts): The authors selected 95 high-risk prompts focusing on sexual content and nudity.
  • T2I-RiskyPrompt: The authors sampled 100 prompts from the "Weapons and Conflicts" category to evaluate performance on violent content.

Key Insights and Ideas

  • Failure is a Dense Signal: The core "aha moment" of the paper is that a model's refusal behavior is a goldmine of intelligence. For example, "Soft Defenses" (where an image is generated but modified to be safe) reveal exactly which concepts the model is sensitive to, allowing the attacker to substitute them with clever abstractions.
  • The Pareto Frontier of Jailbreaking: Traditional optimization attacks create unnatural prompts with massive perplexity scores. By using an LLM-driven evolutionary loop constrained by multi-modal feedback, MIND discovers a superior Pareto frontier—achieving incredibly high attack success rates while keeping the prompts concise, fluent, and semantically aligned.

Key Results

MIND consistently outperformed existing state-of-the-art jailbreak methods across individual, composite, and real-world commercial defenses.

ASR (%) on adult content under various defenses
  • Bypassing Hard Filters: Under an enhanced text classifier defense (text-cls), MIND achieved an Attack Success Rate (ASR) of 88.42%, outperforming the best baseline by over 46 percentage points.
  • Resilience to Model Alignment: Against model-level defenses like SafeGen and SafetyDPO, where baselines plummeted below 15% ASR, MIND maintained a stable ASR between 34.74% and 61.05%.
  • Commercial Systems: MIND demonstrated remarkable transferability to production-grade commercial systems, hitting an ASR of 97.89% on SDXL, 91.58% on Wan-2.5, and 70.52% on Gemini-3-pro.

Qualitative results show that MIND successfully generates the requested adversarial content while maintaining high visual fidelity and semantic alignment, whereas baselines often generate irrelevant images or fail entirely.

Figure 2: Qualitative results on two representative prompts (one nudity and one violence). Columns correspond to different methods. MIND consistently produces semantically aligned and visually coherent outputs across diverse scenarios.

Limitations and Future Work

While highly effective, MIND relies on an external auxiliary reasoning model (DeepSeek-V3.2) to perform the attribution analysis and generate tactical guidance. This multi-agent, multi-modal pipeline introduces noticeable computational overhead per iteration compared to simpler heuristic methods, even though it reduces the total number of queries needed by avoiding blind trial-and-error.

The authors suggest that future work should explore how these cognitive inference strategies adapt to rapidly evolving, real-time defensive updates, and extend the framework to other multi-modal modalities like text-to-video generation.

Summary updated

BibTeX
@misc{yang2026dynamic,
  author = {Dongdong Yang and Deyue Zhang and Zhao Liu and Zonghao Ying and Wenzhuo Xu and Jiankai Jin and Xiangzheng Zhang and Quanchen Zou},
  title = {{Dynamic Defense Profiling Enables Cognitive Jailbreak of Text-to-Image Models}},
  year = {2026},
  eprint = {2607.17779},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.17779},
}
Figure