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

针对多模态大语言模型的越狱攻击

Jailbreaking Attack against Multimodal Large Language Model

University of YYY(YYY大学);Company Name(公司名称);School of ZZZ(ZZZ学院)

Zhenxing Niu, Haodong Ren, Xinbo Gao, Gang Hua, Rong Jin

AI总结:

本文提出基于最大似然的图像越狱提示生成算法,实现跨数据与模型的MLLM越狱,并揭示与LLM越狱的联系,提出更高效的构造方法。

摘要:

本文聚焦于针对多模态大语言模型(MLLMs)的越狱攻击,旨在诱导MLLMs对有害的用户查询生成令人反感的回应。我们提出了一种基于最大似然的算法,用于寻找一个图像越狱提示(imgJP),使得该提示能够在多个未见过的提示和图像上实现对MLLMs的越狱(即数据通用性)。我们的方法展现出强大的模型迁移性,因为生成的imgJP可以以黑盒方式迁移到多种模型上进行越狱,包括MiniGPT-v2、LLaVA、InstructBLIP和mPLUG-Owl2。此外,我们揭示了MLLM越狱与LLM越狱之间的联系。因此,我们引入了一种基于构造的方法,利用我们的方法进行LLM越狱,其效率优于当前最先进的方法。代码可在此处获取。警告:语言模型生成的部分内容可能对某些读者具有冒犯性。

英文摘要:

This paper focuses on jailbreaking attacks against multi-modal large language models (MLLMs), seeking to elicit MLLMs to generate objectionable responses to harmful user queries. A maximum likelihood-based algorithm is proposed to find an \emph{image Jailbreaking Prompt} (imgJP), enabling jailbreaks against MLLMs across multiple unseen prompts and images (i.e., data-universal property). Our approach exhibits strong model-transferability, as the generated imgJP can be transferred to jailbreak various models, including MiniGPT-v2, LLaVA, InstructBLIP, and mPLUG-Owl2, in a black-box manner. Moreover, we reveal a connection between MLLM-jailbreaks and LLM-jailbreaks. As a result, we introduce a construction-based method to harness our approach for LLM-jailbreaks, demonstrating greater efficiency than current state-of-the-art methods. The code is available here. \textbf{Warning: some content generated by language models may be offensive to some readers.}

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

↑