JPS: Jailbreak Multimodal Large Language Models with Collaborative Visual Perturbation and Textual Steering

Renmiao Chen, Shiyao Cui, Xuancheng Huang, Chengwei Pan, Victor Shea-Jay Huang, Qinglin Zhang, Xuan Ouyang, Zhexin Zhang, Hongning Wang, Minlie HuangACM Multimedia 2025 · DOI

TL;DR

This paper introduces JPS, a novel method for jailbreaking multimodal large language models (MLLMs) that goes beyond simply bypassing safety filters. JPS uses a dual approach of adversarial image perturbations for safety bypass and a multi-agent system to craft textual prompts that ensure the generated malicious content actually fulfills the attacker's intent. This is evaluated using a new metric, Malicious Intent Fulfillment Rate (MIFR), which shows JPS significantly outperforms existing methods.

What Problem Does This Paper Address?

Current research on jailbreaking MLLMs primarily focuses on maximizing the Attack Success Rate (ASR), which measures whether a model's response bypasses safety filters. However, this often leads to responses that are technically "unsafe" but lack actual harmful utility or fail to follow the attacker's specific malicious instructions. The paper highlights two key issues: 1) Failed Instruction Following, where the model provides a theoretical explanation instead of a practical guide, and 2) Insufficient Content Harmfulness, where the model suggests infeasible actions or ineffective advice. This gap arises from attack strategies that might impose extraneous constraints and, crucially, from evaluation metrics that don't penalize low-quality, unhelpful malicious outputs. The core problem is how to jailbreak MLLMs to produce responses that are not only unsafe but also genuinely fulfill the attacker's malicious intent.

Methods

JPS employs a collaborative approach involving two main components:

  1. Visual Perturbation (I_adv): This component uses target-guided adversarial image perturbations to bypass the MLLM's safety mechanisms. It leverages a Projected Gradient Descent (PGD) optimization with momentum to refine an image, making it more likely to elicit a harmful response. A key aspect is "target-guided optimization," where a specific affirmative prefix (e.g., "I am happy to help you with that!") is embedded in the prompt to guide the model towards generating a non-refusal response, thereby facilitating safety bypass.
  2. Textual Steering (T_steer): This component is responsible for ensuring the quality and intent fulfillment of the malicious response. It uses a Multi-Agent System (MAS) composed of three agents:
  3. Judger: Evaluates responses for instruction following and content harmfulness.
  4. Summarizer: Aggregates feedback from multiple responses to identify common failure modes and suggest improvements.
  5. Revisor: Rewrites the steering prompt based on the summarized feedback to refine the LLM's output.

These two components are iteratively co-optimized. The process involves generating responses with the current adversarial image and steering prompt, then using the MAS to refine the steering prompt, and finally updating the adversarial image based on the new prompt. This iterative refinement aims to achieve both robust safety bypass and high-quality malicious intent fulfillment.

To address the evaluation gap, the paper introduces the Malicious Intent Fulfillment Rate (MIFR), a new metric assessed by a reasoning LLM. MIFR measures the percentage of responses that genuinely fulfill the attacker's specific malicious intent, going beyond mere safety bypass.

Datasets

The paper evaluates JPS on two existing benchmarks:

  • MM-SafetyBench [12]: A comprehensive benchmark for MLLM safety evaluation, used with its default set of 1,680 harmful queries across 13 forbidden scenarios.
  • HarmBench [18]: Provides 200 standard unsafe text-based behaviors, with the authors using corresponding harmful queries.

The adversarial images for the JPS method were generated using an AdvBench-subset [42].

Key Insights and Ideas

  • Decoupling Safety Bypass and Intent Fulfillment: The core idea is that visual perturbations are good for bypassing safety filters, while textual steering is better for controlling the quality and intent of the malicious output. This separation is crucial for achieving high-quality jailbreaks.
  • The Problem with ASR Alone: The paper strongly argues that ASR is insufficient for evaluating jailbreak attacks because it doesn't penalize low-utility or irrelevant malicious responses. This is demonstrated by high ASR scores from existing safety evaluators even for responses that don't fulfill the attacker's intent.
  • Multi-Agent System for Prompt Refinement: Using a MAS (Judger, Summarizer, Revisor) allows for a more nuanced and effective refinement of steering prompts compared to single-agent approaches. This system can identify common issues and generate targeted suggestions for improving prompt quality.
  • Target-Guided Optimization for Visual Perturbations: Embedding an affirmative prefix in the prompt during visual perturbation optimization significantly accelerates convergence and improves the likelihood of bypassing refusal mechanisms.
  • MIFR as a Superior Evaluation Metric: The introduction of MIFR provides a much-needed metric that aligns with an attacker's perspective, measuring the actual utility of a jailbroken response.

Key Results

  • State-of-the-Art Performance: JPS achieves state-of-the-art results in both ASR and MIFR across various MLLMs (InternVL2, Qwen2-VL, MiniGPT-4) and benchmarks (MM-SafetyBench, HarmBench).
  • Significant MIFR Improvement: For example, on InternVL2 (HarmBench), JPS achieved an ASR of 93.50% and a MIFR of 86.50%, demonstrating a much smaller gap between bypass and intent fulfillment compared to baselines. The best baseline achieved only 52.00% MIFR in this scenario.
  • Coherence of ASR and MIFR: JPS shows a smaller gap between ASR and MIFR compared to baselines, indicating that successful safety bypass is strongly correlated with high-utility response generation.
  • Effectiveness of Components: Ablation studies show that removing the adversarial image component leads to a drastic drop in ASR, while removing the steering prompt significantly reduces MIFR, highlighting the importance of both. The MAS is crucial for achieving high MIFR.
  • Robustness: JPS demonstrates robustness against defense techniques like Adashield-A and ESCO.

Limitations and Future Work

  • Limitations:
    • The paper notes a performance drop on MiniGPT-4 against the Adashield-A defense, hypothesizing it's due to MiniGPT-4's simpler fusion architecture leading to a weaker visual signal.
  • The iterative process for Qwen2-VL showed a performance drop after the first round, suggesting potential overfitting with excessive iterations.
  • Future Work:
    • Developing more robust defenses against such attacks.
  • Applying the JPS decoupling strategy to other domains.

Summary updated

BibTeX
@inproceedings{chen2025jps,
  author = {Renmiao Chen and Shiyao Cui and Xuancheng Huang and Chengwei Pan and Victor Shea-Jay Huang and Qinglin Zhang and Xuan Ouyang and Zhexin Zhang and Hongning Wang and Minlie Huang},
  title = {{JPS: Jailbreak Multimodal Large Language Models with Collaborative Visual Perturbation and Textual Steering}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3754561},
}
Figure