Towards Effective MLLM Jailbreaking Through Balanced On-Topicness and OOD-Intensity

Zuoou Li, Weitong Zhang, Jingyuan Wang, Shuyuan Zhang, Wenjia Bai, Bernhard Kainz, Mengyun Qiao · DOI

Abstract

This paper investigates the critical "relevance-novelty" trade-off in jailbreaking Multimodal Large Language Models (MLLMs). We introduce Balanced Structural Decomposition (BSD), a recursive strategy that decomposes malicious prompts into semantically aligned sub-tasks paired with descriptive images. Our approach achieves a 67% average improvement in attack success rates across 13 leading models, including GPT-4o and Gemini 2.5 Pro, by identifying a "sweet spot" between on-topicness and out-of-distribution intensity.

Introduction

As MLLMs integrate vision and text, their attack surface expands. Current jailbreak evaluations often fail to distinguish between truly harmful outputs and benign, noisy responses that merely bypass filters. We identify a structural trade-off: high On-Topicness (OT) triggers safety filters, while high Out-of-Distribution (OOD) Intensity (OI) causes the model to lose the original malicious intent. Effective jailbreaking requires navigating this trade-off to find inputs that are novel enough to evade detection but relevant enough to trigger high-quality, harmful outputs.

Methodology: Balanced Structural Decomposition (BSD)

We propose BSD, a recursive strategy designed to optimize the balance between relevance and novelty.

The BSD pipeline utilizes recursive width selection and depth pruning to maintain semantic alignment while introducing OOD signals through multimodal distraction.

The BSD process consists of three core stages:

  1. Recursive Rewriting: A helper LLM (e.g., Qwen2.5) decomposes a malicious prompt $P_0$ into a tree of semantically coherent sub-tasks.
  2. Scoring and Pruning: The system employs an Explore Score ($S_{Explore}$) to ensure sub-task diversity and an Exploit Score ($S_{Exploit}$) to prune branches that deviate too far from the original intent.
  3. Multimodal Distraction: Each sub-task is paired with a descriptive image generated by a text-to-image model (FLUX.1-schnell). These images reinforce the sub-tasks while introducing subtle OOD signals that confuse safety mechanisms.

Evaluation Framework

To accurately measure jailbreak effectiveness, we utilize a four-axis metric system:

  • On-Topicness (OT): Semantic similarity of the attack input to the original malicious goal.
  • OOD-Intensity (OI): Complexity or "unusualness" of the input to the model's processors.
  • Harmfulness Score (HS): Quantitative toxicity of the output, measured via the OpenAI Moderation API.
  • Refusal Rate (RR): Frequency of explicit model refusals.

Results and the "Sweet Spot"

Our empirical analysis reveals that the most effective jailbreaks are clustered in a specific "sweet spot" of the OT-OI space.

Scatter plot of On-Topicness vs. OOD-Intensity, illustrating the "sweet spot" where BSD achieves high success rates compared to baseline methods.

BSD significantly outperforms the previous state-of-the-art method (CS-DJ). Across 13 models, BSD improved the Attack Success Rate (ASR) by an average of 67%. Notable gains include:

  • GPT-4o: ASR increased from 30.27% to 73.60%.
  • Gemini 2.5 Pro: ASR rose from 17.07% to 82.80%.
  • Claude 3.5 Haiku: ASR surged from 4.4% to 64.53%.

Furthermore, the Harmfulness Score of the outputs increased by 21%, indicating that models provided more actionable and detailed harmful information rather than vague responses.

Conclusion

The success of BSD highlights a critical vulnerability in current MLLM safety filters, which often rely on surface-level input filtering. Effective defense requires a structural understanding of intent across multimodal inputs. Future safety mechanisms must move toward recognizing the emergent harmful intent behind collections of seemingly benign sub-tasks.

Summary updated

BibTeX
@misc{li2025towards,
  author = {Zuoou Li and Weitong Zhang and Jingyuan Wang and Shuyuan Zhang and Wenjia Bai and Bernhard Kainz and Mengyun Qiao},
  title = {{Towards Effective MLLM Jailbreaking Through Balanced On-Topicness and OOD-Intensity}},
  year = {2025},
  eprint = {2508.09218},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.09218},
}
Figure