TL;DR
This paper introduces JailBound, a novel framework for jailbreaking Vision-Language Models (VLMs) by targeting their internal safety boundaries. By probing and exploiting these latent boundaries, JailBound achieves significantly higher attack success rates than existing methods, highlighting a critical vulnerability in current VLM safety alignment.
What Problem Does This Paper Address?
Vision-Language Models (VLMs) are increasingly powerful, but their integration of vision encoders has expanded their attack surface, making them susceptible to jailbreak attacks. Existing jailbreak methods often struggle with gradient-based strategies that get stuck in local optima and lack precise directional guidance. Furthermore, they tend to treat visual and textual modalities separately, missing crucial cross-modal interactions. This paper addresses the challenge of effectively jailbreaking VLMs by proposing a method that leverages their internal safety mechanisms, inspired by the concept of "Eliciting Latent Knowledge" (ELK) in Large Language Models (LLMs). The authors hypothesize that VLMs, like LLMs, encode safety-relevant information within their internal representations, creating an implicit safety decision boundary that can be exploited.
Methods
JailBound operates in two main stages:
- Safety Boundary Probing: This stage aims to approximate the VLM's implicit safety decision boundary within its fusion layer representations. The authors train specialized logistic regression classifiers for each fusion layer to identify this boundary. This process provides crucial directional guidance for subsequent attacks.
- Safety Boundary Crossing: This stage employs an iterative, fusion-centric joint attack that simultaneously perturbs both image and text inputs. It uses three objectives:
- Adversarial Alignment Loss: Encourages the perturbed representation to cross the decision boundary towards an unsafe target.
- Geometric Boundary Loss: Ensures the perturbation aligns with the characterized decision boundary's normal vector.
- Semantic Preservation Loss: Constrains perturbation magnitudes to maintain the original input's semantic content.
This combined approach allows for a more effective and semantically coherent attack by jointly optimizing cross-modal latent representations.
Datasets
The authors used the MM-SafetyBench dataset for training and evaluation. This dataset is described as a "meticulously curated multimodal safety evaluation benchmark" covering 13 prohibited content categories and containing 1,719 adversarial examples.
Key Insights and Ideas
- Internal Safety Boundaries Exist in VLMs: The core insight is that VLMs, similar to LLMs, possess internal "safety decision boundaries" within their fusion layers. These boundaries represent an implicit understanding of safe vs. unsafe content.
- Exploiting Latent Knowledge is Key: Jailbreaking VLMs effectively requires tapping into this latent knowledge rather than just relying on surface-level text or image manipulations.
- Cross-Modal Interaction is Crucial: Separating visual and textual attacks is suboptimal. Jointly optimizing perturbations across both modalities is significantly more effective.
- Directional Guidance Matters: Gradient-based methods often fail due to a lack of precise directional guidance. JailBound's Safety Boundary Probing provides this essential guidance.
- Transferability is High: The proposed method demonstrates strong transferability to black-box models, indicating a common underlying vulnerability across different VLM architectures.
Key Results
JailBound achieves impressive attack success rates (ASR):
- White-box attacks: Averaged 94.38% on LLaMA-3.2, 91.40% on Qwen2.5-VL, and 97.19% on MiniGPT-4.
- Black-box attacks: Achieved remarkable ASRs of 75.24% on GPT-40, 70.06% on Gemini 2.0 Flash, and 56.55% on Claude 3.5 Sonnet.
- These results significantly outperform existing state-of-the-art (SOTA) methods, with improvements of up to 21.13% in black-box scenarios.
- The ablation study showed that removing the alignment loss significantly degraded performance, while removing semantic preservation slightly increased ASR but at the cost of response quality.
Limitations and Future Work
The authors acknowledge the following limitations:
- Focus on Fusion Layers: The primary focus is on exploiting latent knowledge within fusion layers. They did not extensively explore defenses specifically tailored to this attack vector.
- Fixed Perturbation Budgets: The experiments used a fixed set of perturbation budgets. A more fine-grained analysis of the relationship between perturbation magnitude and attack success across diverse model architectures could provide further insights.
Promising directions for future work include developing more generalizable and resilient multimodal defense strategies.
Summary updated