arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.14539cs.CRcs.CL
收藏

分片越狱:多模态语言模型的组合对抗攻击

Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Models

University of California, Riverside(加州大学河滨分校)

Erfan Shayegani, Yue Dong, Nael Abu-Ghazaleh

AI总结:

本文提出针对视觉语言模型的组合跨模态越狱攻击,仅需访问视觉编码器即可生成对抗图像,破坏LLM对齐,成功率极高,凸显多模态对齐漏洞风险。

摘要:

我们针对视觉语言模型(VLM)提出了新的越狱攻击,这些模型使用对齐的LLM,并且对纯文本越狱攻击具有韧性。具体来说,我们开发了跨模态对齐攻击,将经过视觉编码器的对抗图像与文本提示配对,以破坏语言模型的对齐。我们的攻击采用了一种新颖的组合策略,将针对有毒嵌入的对抗图像与通用提示相结合,以实现越狱。因此,LLM从对抗图像中提取上下文来回答通用提示。生成看似良性的对抗图像利用了一种新颖的基于嵌入空间的方法,无需访问LLM模型。相反,攻击仅需访问视觉编码器,并利用我们四种嵌入空间定位策略之一。由于不需要访问LLM,这些攻击降低了攻击者的入门门槛,特别是当CLIP等视觉编码器嵌入在闭源LLM中时。这些攻击在不同VLM上实现了高成功率,凸显了跨模态对齐漏洞的风险,以及为多模态模型开发新对齐方法的必要性。

英文摘要:

We introduce new jailbreak attacks on vision language models (VLMs), which use aligned LLMs and are resilient to text-only jailbreak attacks. Specifically, we develop cross-modality attacks on alignment where we pair adversarial images going through the vision encoder with textual prompts to break the alignment of the language model. Our attacks employ a novel compositional strategy that combines an image, adversarially targeted towards toxic embeddings, with generic prompts to accomplish the jailbreak. Thus, the LLM draws the context to answer the generic prompt from the adversarial image. The generation of benign-appearing adversarial images leverages a novel embedding-space-based methodology, operating with no access to the LLM model. Instead, the attacks require access only to the vision encoder and utilize one of our four embedding space targeting strategies. By not requiring access to the LLM, the attacks lower the entry barrier for attackers, particularly when vision encoders such as CLIP are embedded in closed-source LLMs. The attacks achieve a high success rate across different VLMs, highlighting the risk of cross-modality alignment vulnerabilities, and the need for new alignment approaches for multi-modal models.

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

↑