White-box Multimodal Jailbreaks Against Large Vision-Language Models
Ruofan Wang, Xingjun Ma, Hanxu Zhou, Chuanjun Ji, Guangnan Ye, Yu-Gang Jiang
TL;DR
This work investigates the robustness of large vision-language models by introducing a text-image multimodal jailbreak called the Universal Master Key (UMK), consisting of an adversarial image prefix and a text suffix. The authors formulate a dual-objective optimization that first seeds toxicity in the image modality and then jointly optimizes both modalities to elicit highly toxic, affirmative responses, achieving a 96% test attack success rate on MiniGPT-4. Through extensive experiments on Advbench, VAJM, and RealToxicityPrompts, UMK consistently outperforms prior unimodal attacks, and ablation analyses show the critical roles of both dual objectives and multimodal coupling. While effective, the method exhibits limited transferability across models, pointing to future work on generalizing the UMK across architectures and tokenizers to strengthen VLM alignment defenses and safety mechanisms.
Abstract
Recent advancements in Large Vision-Language Models (VLMs) have underscored their superiority in various multimodal tasks. However, the adversarial robustness of VLMs has not been fully explored. Existing methods mainly assess robustness through unimodal adversarial attacks that perturb images, while assuming inherent resilience against text-based attacks. Different from existing attacks, in this work we propose a more comprehensive strategy that jointly attacks both text and image modalities to exploit a broader spectrum of vulnerability within VLMs. Specifically, we propose a dual optimization objective aimed at guiding the model to generate affirmative responses with high toxicity. Our attack method begins by optimizing an adversarial image prefix from random noise to generate diverse harmful responses in the absence of text input, thus imbuing the image with toxic semantics. Subsequently, an adversarial text suffix is integrated and co-optimized with the adversarial image prefix to maximize the probability of eliciting affirmative responses to various harmful instructions. The discovered adversarial image prefix and text suffix are collectively denoted as a Universal Master Key (UMK). When integrated into various malicious queries, UMK can circumvent the alignment defenses of VLMs and lead to the generation of objectionable content, known as jailbreaks. The experimental results demonstrate that our universal attack strategy can effectively jailbreak MiniGPT-4 with a 96% success rate, highlighting the vulnerability of VLMs and the urgent need for new alignment strategies.
