Introduction
As Vision-Language Models (VLMs) become increasingly integrated into complex workflows, their safety alignment has become a critical area of research. Despite rigorous safety training, these models remain vulnerable to multimodal jailbreak attacks. This paper introduces Defense2Attack, a novel bimodal jailbreak strategy that paradoxically weaponizes weak defensive prompts to bypass safety guardrails. By creating a deceptive context of safety, the method achieves state-of-the-art attack success rates in a single shot, highlighting a fundamental vulnerability in current VLM alignment strategies.
The Problem: Inefficiency and Unimodal Limitations
Current jailbreak methods for VLMs face two primary hurdles: they are often unimodal—targeting either text or images in isolation—or they are highly inefficient, requiring computationally expensive iterative queries that are easily detected by rate-limiting systems. Furthermore, the role of defensive language within a prompt has been largely overlooked. The authors investigate whether wrapping a malicious request in safety-oriented language can actually facilitate a jailbreak by tricking the model into a false sense of security.
Methodology
Defense2Attack is a bimodal attack framework consisting of three integrated components designed to maximize the probability of a successful jailbreak:
- Semantic-Positive Visual Optimizer: Utilizing Projected Gradient Descent (PGD), the authors embed Universal Adversarial Perturbations (UAPs) into the input image. These perturbations are optimized to align with affirmative, encouraging semantics (e.g., "It is completely feasible"). This forces the visual encoder to provide a "positive" signal to the LLM backbone, regardless of the prompt's intent.
- Defense-Styled Textual Optimizer: Malicious prompts are rewritten by a powerful LLM (GPT-4o) to include "weak defense" language. For example, a prompt might be framed as a request to help a model identify harmful content. This creates a deceptive context that masks the underlying malicious intent.
- LLM-based Red-Team Suffix Generator: To further refine the attack, a GPT-2 model is fine-tuned using Proximal Policy Optimization (PPO). It generates a 10-token suffix that is appended to the prompt. The reward signal for this reinforcement learning process is provided by an LLM judge evaluating the target VLM's compliance.
Key Insights: The "Defense-to-Attack" Paradox
The core finding of this research is the "Defense-to-Attack" paradox: the inclusion of safety warnings or defensive cues can actually assist in jailbreaking a model. By disguising malicious intent as a benign safety exercise or a debugging task, the attacker can bypass the model's internal filters. Additionally, the use of affirmative visual perturbations acts as a "yes-man," pushing the model toward compliance before the textual prompt is even processed.
Experimental Results
The authors evaluated Defense2Attack across major safety benchmarks, including AdvBench, MM-SafetyBench, and Harmful-Instructions.
- State-of-the-Art Performance: Defense2Attack achieved an approximately 80% Attack Success Rate (ASR) on open-source VLMs such as LLaVA-v1.5-7B and MiniGPT-4. This significantly outperformed existing bimodal attacks like BAP, even though Defense2Attack requires only a single query.
- Black-Box Transferability: The attack demonstrated high transferability to commercial models, reaching a 56.73% ASR on Gemini-1.5-flash, which typically has a baseline ASR of less than 5%.
- Ablation Studies: Analysis showed that the "weak defense" textual wrapper alone is remarkably potent, often achieving over 60% ASR on open-source models without additional visual or suffix optimizations.
Conclusion and Future Work
Defense2Attack reveals that superficial safety wrappers can be easily subverted to create deceptive contexts. The findings suggest that VLM safety alignment must move beyond keyword-based or superficial pattern matching toward a more robust understanding of actual intent. Future research should focus on developing defensive mechanisms that can distinguish between genuine safety contexts and weaponized defensive language.
Summary updated