arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.00548cs.CRcs.CLcs.LG
收藏

Con Instruction:通过非文本模态对多模态大语言模型的通用越狱攻击

Con Instruction: Universal Jailbreaking of Multimodal Large Language Models via Non-Textual Modalities

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Technical University of Darmstadt(达姆施塔特工业大学)

Jiahui Geng, Thy Thy Tran, Preslav Nakov, Iryna Gurevych

AI总结:

本文提出 Con Instruction 方法,通过优化对抗性图像或音频在嵌入空间中与目标指令对齐,实现对多模态大语言模型的通用越狱攻击,并引入 ARC 框架评估攻击效果,在多个模型上取得最高攻击成功率。

摘要:

现有的针对多模态语言模型(MLLMs)的攻击主要通过文本并伴随对抗性图像来传递指令。相比之下,我们利用 MLLMs 解释非文本指令的能力,具体而言,是利用我们提出的新方法 Con Instruction 生成的对抗性图像或音频。我们优化这些对抗样本,使其在嵌入空间中与目标指令高度对齐,从而揭示 MLLMs 复杂理解能力所带来的有害影响。与先前工作不同,我们的方法不需要训练数据,也不需要文本指令的预处理。虽然这些非文本对抗样本能够有效绕过 MLLM 的安全机制,但它们与各种文本输入的结合会显著提高攻击成功率。我们进一步引入了一个新的攻击响应分类(ARC)框架,该框架同时评估模型响应的质量及其与恶意指令的相关性。实验结果表明,Con Instruction 在多个视觉和音频语言模型上有效绕过安全机制,包括 LLaVA-v1.5、InternVL、Qwen-VL 和 Qwen-Audio,并在两个标准基准 AdvBench 和 SafeBench 上进行了评估。具体而言,我们的方法在 LLaVA-v1.5(13B)上取得了最高的攻击成功率,分别达到 81.3% 和 86.6%。在防御方面,我们探索了针对我们攻击的各种对策,并发现现有技术之间存在显著的性能差距。我们的实现已公开发布。

英文摘要:

Existing attacks against multimodal language models (MLLMs) primarily communicate instructions through text accompanied by adversarial images. In contrast, we exploit the capabilities of MLLMs to interpret non-textual instructions, specifically, adversarial images or audio generated by our novel method, Con Instruction. We optimize these adversarial examples to align closely with target instructions in the embedding space, revealing the detrimental implications of MLLMs' sophisticated understanding. Unlike prior work, our method does not require training data or preprocessing of textual instructions. While these non-textual adversarial examples can effectively bypass MLLM safety mechanisms, their combination with various text inputs substantially amplifies attack success. We further introduce a new Attack Response Categorization (ARC) framework, which evaluates both the quality of the model's response and its relevance to the malicious instructions. Experimental results demonstrate that Con Instruction effectively bypasses safety mechanisms in multiple vision- and audio-language models, including LLaVA-v1.5, InternVL, Qwen-VL, and Qwen-Audio, evaluated on two standard benchmarks: AdvBench and SafeBench. Specifically, our method achieves the highest attack success rates, reaching 81.3% and 86.6% on LLaVA-v1.5 (13B). On the defense side, we explore various countermeasures against our attacks and uncover a substantial performance gap among existing techniques. Our implementation is made publicly available.

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

↑