arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.17894cs.CVcs.AI

针对大型视觉语言模型的白盒多模态越狱攻击

White-box Multimodal Jailbreaks Against Large Vision-Language Models

Fudan University(复旦大学);DataGrand Co., Ltd(DataGrand公司)

Ruofan Wang, Xingjun Ma, Hanxu Zhou, Chuanjun Ji, Guangnan Ye, Yu-Gang Jiang

AI总结:

本文提出一种针对大型视觉语言模型的白盒多模态越狱攻击方法,通过联合优化对抗性图像前缀和文本后缀构成通用主密钥(UMK),以96%的成功率攻破MiniGPT-4,揭示了VLMs的严重漏洞。

摘要:

大型视觉语言模型(VLMs)的最新进展凸显了其在各种多模态任务中的优势。然而,VLMs的对抗鲁棒性尚未得到充分探索。现有方法主要通过扰动图像的单模态对抗攻击来评估鲁棒性,同时假设对基于文本的攻击具有固有的抵御能力。与现有攻击不同,在这项工作中,我们提出了一种更全面的策略,联合攻击文本和图像两种模态,以利用VLMs内部更广泛的漏洞。具体而言,我们提出了一个双重优化目标,旨在引导模型生成具有高毒性的肯定性回复。我们的攻击方法首先从随机噪声中优化对抗性图像前缀,以在缺乏文本输入的情况下生成各种有害回复,从而使图像具备毒性语义。随后,整合对抗性文本后缀,并与对抗性图像前缀共同优化,以最大化引发对各种有害指令作出肯定性回复的概率。所发现的对抗性图像前缀和文本后缀被统称为Universal Master Key(UMK)。当集成到各种恶意查询中时,UMK可以绕过VLMs的对齐防御,导致生成令人反感的内容,即所谓的越狱。实验结果表明,我们的通用攻击策略能够以96%的成功率有效越狱MiniGPT-4,凸显了VLMs的脆弱性以及对新对齐策略的迫切需求。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑