Arondight: Red Teaming Large Vision Language Models with Auto-generated Multi-modal Jailbreak Prompts

Yi Liu, Chengjun Cai, Xiaoli Zhang, Xingliang Yuan, Cong Wang

Introduction

As Large Vision Language Models (VLMs) like GPT-4 and LLaVA become increasingly integrated into consumer applications, ensuring their safety and alignment is paramount. While Large Language Models (LLMs) have been subjected to rigorous "red teaming" to identify vulnerabilities, their multi-modal counterparts remain relatively under-explored. VLMs present a significantly larger attack surface because they integrate visual modules (e.g., CLIP) with linguistic backbones. This paper introduces Arondight, an automated framework designed to stress-test VLM safety using coordinated multi-modal jailbreak prompts.

The researchers identify two critical gaps in current VLM security: modal neglect, where toxic images bypass filters that catch toxic text, and a lack of diversity in existing automated jailbreak attempts, which often fail to cover the full spectrum of prohibited content. Arondight addresses these by achieving an 84.5% attack success rate against GPT-4 across 14 prohibited safety scenarios.

The Arondight Framework

Arondight is a standardized framework that automates the generation of multi-modal jailbreak prompts through a five-step pipeline designed to maximize both toxicity and diversity.

Overview of the Arondight framework for automated multi-modal jailbreaking.
  1. Adversarial Image Generation: To bypass the refusal of VLMs to generate toxic imagery, Arondight employs a "Universal Prompt Template." This tricks a red-team VLM (such as GPT-4/DALL-E) into generating images for prohibited scenarios by framing them as fictional movie scenes or simulations (e.g., "rob the bank" in a fictional film).
  2. Diversity-Driven Text Generation: A red-team LLM is trained via Reinforcement Learning (RL) to generate harmful text prompts. To avoid repetitive test cases, the authors utilize entropy bonuses and novelty rewards to incentivize the model to explore niche or previously unseen scenarios.
  3. Semantic Correlation: The effectiveness of a jailbreak is significantly boosted when text and images are semantically aligned. Arondight uses a correlation metric to ensure the generated modalities are complementary rather than randomly paired.
  4. Attack Execution: The framework supports both "one-shot" (single query) and "few-shot" (multi-hop conversation) attack modes to test the model's persistence.
  5. Toxicity Detection: Finally, responses are evaluated using the Perspective API, Detoxify API, and human review to determine if the target VLM's safety guardrails were successfully breached.

Experimental Setup and Datasets

The researchers constructed a comprehensive multi-modal prompt dataset based on OpenAI’s 14 prohibited scenarios, including illegal acts, hate speech, and specialized medical or legal advice. The dataset consists of 1,400 base questions expanded into 14,000 multi-modal samples, categorized by toxicity levels (Highly, Moderately, and Slightly Toxic).

Results and Model Vulnerabilities

Arondight was tested against ten leading VLMs, revealing significant vulnerabilities across the board. The framework achieved an average 84.5% attack success rate on GPT-4 in one-shot scenarios, with success reaching 98% in specific categories like "Political Lobbying."

Vulnerability profiles of ten leading VLMs across 14 safety scenarios (S0-S13).

Based on the results shown in Figure 5, the researchers classified the models into three safety tiers:

  • Level I (Strong): GPT-4, Bard, Bing Chat, Qwen-VL, and ERNIE Bot. While these models show the most resistance, they remain highly vulnerable to Arondight's coordinated attacks.
  • Level II (Medium): LLaMA, MiniGPT-4, and Spark.
  • Level III (Weak): VisualGLM-6B and BLIP, which showed minimal resistance to multi-modal jailbreaks.

Ablation studies confirmed the "catalyst" effect of images: using both red-team images and text resulted in an 87.21% success rate, compared to only 34.21% when using text alone. This suggests that the visual modality acts as a backdoor that can overwhelm a model's linguistic alignment.

Discussion and Limitations

The findings highlight a clear disconnect between text-to-text alignment and multi-modal alignment. Models that appear safe in text-only interactions often "forget" their training when presented with complex image-text pairs. Furthermore, the study emphasizes that diversity is a security metric; by optimizing for novelty, Arondight uncovered vulnerabilities in scenarios that standard benchmarks often miss.

However, the study faces limitations due to the black-box nature of many target models, making it difficult to pinpoint the exact failure mechanism of internal safety filters. Additionally, the "cat-and-mouse" nature of red teaming means that as models evolve, so must the attack strategies. Due to the harmful nature of the generated content, the full dataset is subject to strict ethical oversight.

Conclusion

Arondight demonstrates that current VLMs, including state-of-the-art models like GPT-4, possess significant safety gaps when confronted with coordinated multi-modal attacks. The framework provides a robust tool for developers to identify these vulnerabilities and underscores the urgent need for more integrated multi-modal alignment techniques.

Summary updated

BibTeX
@inproceedings{liu2024arondight,
  author = {Yi Liu and Chengjun Cai and Xiaoli Zhang and Xingliang Yuan and Cong Wang},
  title = {{Arondight: Red Teaming Large Vision Language Models with Auto-generated Multi-modal Jailbreak Prompts}},
  booktitle = {ACM Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=lZWaVy4IiH},
}
Figure