IDEATOR: Jailbreaking Large Vision-Language Models Using Themselves

Ruofan Wang, Bo Wang, Xiaosen Wang, Xingjun Ma, Yu-Gang JiangarXiv 2024 · DOI

Abstract

Large Vision-Language Models (VLMs) are increasingly integrated into various domains, yet their safety against multimodal jailbreak attacks remains a significant concern. We introduce IDEATOR, a black-box framework that leverages the reasoning capabilities of VLMs themselves to autonomously generate malicious image-text pairs. By iteratively refining attack strategies based on victim feedback, IDEATOR achieves a 94% attack success rate on open-source models and exposes significant vulnerabilities in commercial systems like GPT-4o and Gemini-1.5-Pro. We also present VLJailbreakBench, a comprehensive benchmark of over 3,600 samples across 12 safety categories, to facilitate further research into robust multimodal defenses.

Introduction

As Vision-Language Models (VLMs) become central to real-world applications, ensuring they do not generate harmful content is a critical challenge. However, these models are susceptible to "jailbreak" attacks—carefully crafted prompts designed to bypass safety filters. Existing jailbreak methods generally fall into two categories: gradient-based attacks and structure-based attacks.

Gradient-based attacks require "white-box" access to a model's internal weights, which is typically unavailable for commercial APIs. Furthermore, they often produce noisy, "snow-like" images that are easily detected by simple visual filters. Structure-based attacks, such as embedding malicious text directly into an image, are easier to implement but lack diversity and are difficult to scale.

Comparison of IDEATOR (c) with gradient-based (a) and structure-based (b) attacks.

To address these limitations, we propose IDEATOR, a training-free, end-to-end framework that uses the creative and reasoning power of VLMs to find their own vulnerabilities. Unlike previous methods, IDEATOR generates semantically meaningful images that provide a deceptive context for malicious requests.

The IDEATOR Framework

IDEATOR simulates an adaptive adversary through an iterative loop involving an "Attacker VLM" and a target "Victim VLM."

  1. Attacker VLM (The "Ideator"): An open-source VLM (e.g., MiniGPT-4) is prompted to act as a red-team assistant. It generates a structured response containing an analysis of previous attempts, a text prompt, and an image prompt.
  2. Image Generation: The image prompt is processed by a diffusion model (such as Stable Diffusion 3) to create a contextually relevant, semantically rich image.
  3. Victim Interaction: The generated image-text pair is sent to the target model.
  4. Iterative Refinement: If the victim model refuses the request, the Attacker VLM analyzes the refusal and pivots to a more subtle strategy, such as complex roleplaying or emotional manipulation.

To maximize exploit discovery, IDEATOR employs a Breadth-Depth Exploration strategy, launching multiple parallel attack streams and allowing each to iterate over several turns to find the most effective exploit.

VLJailbreakBench

A significant contribution of this work is the introduction of VLJailbreakBench, a comprehensive safety benchmark consisting of 3,654 multimodal jailbreak samples. The benchmark covers 12 broad safety categories, including Illegal Activities, Malware, and Economic Harm. It is divided into a "Base Set" for fundamental vulnerabilities and a "Challenge Set" for sophisticated, subtle attacks designed to test the limits of state-of-the-art defenses.

Key Results and Insights

IDEATOR demonstrates that VLMs' own reasoning capabilities are their greatest vulnerability. The framework achieved a 94% Attack Success Rate (ASR) on MiniGPT-4, requiring an average of only 5.34 queries. These attacks also showed strong transferability, reaching ASRs of 82% on LLaVA and 88% on InstructBLIP.

Even top-tier commercial models are not immune. On the VLJailbreakBench challenge set, GPT-4o exhibited an ASR of 46.31%, while Gemini-1.5-Pro reached 64.94%. IDEATOR also proved resilient to modern defenses; when tested against AdaShield, its success rate remained high while other methods failed.

An example of a semantically rich image generated by IDEATOR to bypass safety filters.

A key insight is that semantic context is more effective than adversarial noise. By generating semantically meaningful images—such as a person in a lab coat to "justify" a request for chemical instructions—IDEATOR can bypass filters that would catch more obvious or noisy attacks. Furthermore, the study found that multimodal attacks are significantly more effective than text-only or image-only attempts, as the two modalities can work together to "hide" malicious intent within a seemingly benign narrative.

Conclusion

IDEATOR exposes a fundamental challenge in VLM safety: the very capabilities that make these models useful also make them effective at bypassing safeguards. The framework's success against both open-source and commercial models highlights the urgent need for more robust, multimodal-aware safety mechanisms. Future work will focus on scaling benchmarks and developing automated methods to identify increasingly stealthy exploits that leverage complex storytelling to deceive safety filters.

Summary updated

BibTeX
@misc{wang2024ideator,
  author = {Ruofan Wang and Bo Wang and Xiaosen Wang and Xingjun Ma and Yu-Gang Jiang},
  title = {{IDEATOR: Jailbreaking Large Vision-Language Models Using Themselves}},
  year = {2024},
  eprint = {2411.00827},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.00827},
}
Figure