VRSA: Jailbreaking Multimodal Large Language Models Through Visual Reasoning Sequential Attack

Shiji Zhao, Shukun Xiong, Yao Huang, Jin Yan, Zhenyu Wu, Jiyang Guan, Ranjie Duan, Jialing Tao, Hui Xue, Xingxing Wei

TL;DR

Multimodal Large Language Models (MLLMs) are highly capable of complex visual reasoning, but this paper demonstrates that this very strength can be weaponized. The authors introduce Visual Reasoning Sequential Attack (VRSA), a novel jailbreak method that splits a harmful intent into a sequence of logically connected, seemingly benign images, forcing the MLLM to use its reasoning capabilities to reconstruct the malicious request and bypass safety filters.

What Problem Does This Paper Address?

As MLLMs advance, they are increasingly evaluated on their ability to perform multi-step visual reasoning using Chain-of-Thought (CoT) paradigms. Current safety alignment techniques are heavily optimized to detect explicit harmful text or single adversarial images. However, they largely overlook safety risks embedded within visual sequences.

If a malicious intent (e.g., "how to build a bomb" or "how to make a silencer") is fragmented across a coherent narrative sequence of images, standard safety filters fail to recognize the distributed hazard. Meanwhile, the target model's internal reasoning engine naturally connects the dots across the scenes, inadvertently generating the prohibited output.

Overview of VRSA jailbreaking GPT-4o compared to a direct text refusal.

Methods

VRSA bypasses safety mechanisms by decomposing a harmful textual prompt into a structured sequence of sub-images. To ensure the attack is robust and interpretable by the model, the authors propose a three-part optimization pipeline:

  1. Adaptive Scene Refinement (ASR): Random backgrounds fail to trigger the deep domain knowledge required for complex tasks. ASR iteratively optimizes a highly relevant, domain-specific setting across six human-behavior dimensions: Field, Background, Character, Motivation, Ability, and Action (e.g., transforming a generic engineer into a mechanical fabricator to ground a weapons-related query).
  2. Semantic Coherent Completion (SCC): To prevent logical gaps that might confuse the MLLM and cause the attack to fail, an assistant LLM iteratively checks the narrative flow of the sub-texts, masking and rewriting low-coherence segments.
  3. Text-Image Consistency Alignment (TICA): This stage uses a Vision-Language Model (CLIP) to verify that the generated sub-images accurately reflect their corresponding optimized sub-texts, automatically regenerating images if the semantic similarity falls below a set threshold.

Finally, these images are concatenated into a single composite image and paired with a prompt instructing the victim MLLM to infer the causal relationships between the scenes.

Figure 2. Framework of our VRSA. Based on a harmful text T, VRSA operates in four stages: (1) A scene judge model selects and rewrites the scene S most relevant to the harmful text T, and decomposes it into scene-grounded sub-texts. (2) A semantic judge model and a revise model mask and reconstruct the semantically low-relevance content within the sub-texts. (3) A Text-to-Image model iteratively generates sub-images that are semantically aligned with the sub-texts, and the semantic similarity is measured by Visual-language Model (CLIP). (4) The sub-images are combined with a pre-defined guided texts to jailbreak the MLLMs.

Datasets

The method was evaluated using Safebench, selecting 350 harmful queries evenly distributed across seven distinct safety categories:

  • Illegal Activities (IA)
  • Hate Speech (HS)
  • Malware Generation (MG)
  • Physical Harm (PH)
  • Fraud (FR)
  • Pornography (PO)
  • Privacy Violation (PV)

Key Insights and Ideas

  • Weaponizing Model Intelligence: The attack succeeds precisely because the model is intelligent. While safety alignment acts like a gatekeeper looking for forbidden items, VRSA acts like a puzzle; the gatekeeper lets the individual, benign pieces through, and the model's reasoning engine willingly assembles them inside the secure perimeter.
  • Contextual Priming Matters: Aligning the visual context to the domain of the harmful query drastically improves attack success. Forcing the model to process a highly relevant scenario primes its internal weights to access domain-specific knowledge blocks.
Figure 3. An example of Adaptive Scene Refinement. The left panel shows the initial scene retrieved from the Scene library, and the right panel shows the final optimized scene after refinement, which is more closely related to the original harmful intention.
  • The "Goldilocks" Sequence Length: There is a distinct sweet spot for visual reasoning attacks. If the sequence has too few images (1–2), the harmful intent is too obvious and gets blocked. If it has too many images (5+), the narrative complexity overwhelms the model's context window or reasoning capacity, causing the attack success rate to drop. The authors identified 4 images as the optimal sequence length.
Figure 4. Ablation on the number of images in visual reasoning sequence. The horizontal axis represents the number of images in the visual reasoning sequence, while the two curves illustrate the trends of ASR and Toxic scores as the number of images increases.

Key Results

The authors evaluated VRSA against state-of-the-art baselines (including FigStep, HADES, and PRISM) across both open-source and closed-source commercial models:

  • Open-Source Models: VRSA achieved dominant average Attack Success Rates (ASR) of 70.00% on DeepSeek-VL2, 66.29% on InternVL-3.5, 76.57% on LLaVA-NEXT, and 70.29% on Qwen3-VL, outperforming the second-best baseline by up to 16.29%.
  • Closed-Source Models: The cross-model transferability was remarkably high. VRSA achieved an ASR of 61.14% on GPT-4o and 52.29% on Claude-4.5-Sonnet, outperforming the strongest baseline (PRISM) by 20.00% and 10.58% respectively.
  • Reasoning-Intensive Categories: The attack was particularly potent in categories requiring high contextual inference, such as Fraud (FR) and Privacy Violation (PV).

Limitations and Future Work

While highly effective, VRSA relies on an iterative optimization loop involving an assistant LLM and a text-to-image generator, which introduces notable computational overhead during the attack-crafting phase. Additionally, the attack's efficacy degrades if the target model's basic visual-textual alignment or sequential reasoning capabilities are weak.

The authors suggest that future defense mechanisms must move beyond static image filtering and begin evaluating the sequential logic and narrative continuity of multi-image inputs to prevent models from connecting dangerous dots.

Summary updated

BibTeX
@inproceedings{zhao2026vrsa,
  author = {Shiji Zhao and Shukun Xiong and Yao Huang and Jin Yan and Zhenyu Wu and Jiyang Guan and Ranjie Duan and Jialing Tao and Hui Xue and Xingxing Wei},
  title = {{VRSA: Jailbreaking Multimodal Large Language Models Through Visual Reasoning Sequential Attack}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=iBs4hQRCDF},
}
Figure