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

用于检测多模态大语言模型中越狱攻击的跨模态信息检查

Cross-modality Information Check for Detecting Jailbreaking in Multimodal Large Language Models

School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院);The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室)

Yue Xu, Xiuyuan Qi, Zhan Qin, Wenjie Wang

AI总结:

本文提出即插即用的跨模态信息检测器CIDER,利用有害查询与对抗图像间的跨模态相似性检测多模态大语言模型的越狱攻击,无需修改模型且计算成本低,对白盒和黑盒模型均具可迁移性。

摘要:

多模态大语言模型(MLLMs)扩展了LLM全面理解多模态信息的能力,在许多以视觉为中心的任务中取得了显著性能。尽管如此,近期研究表明这些模型容易受到越狱攻击,这是一种利用性技术,恶意用户可借此破坏目标模型的安全对齐并生成误导性和有害的回答。这一潜在威胁既源于LLM固有的脆弱性,也源于视觉输入引入的更大攻击范围。为增强MLLM抵御越狱攻击的安全性,研究者开发了多种防御技术。然而,这些方法要么需要修改模型内部结构,要么在推理阶段需要大量计算资源。多模态信息是一把双刃剑。它在增加攻击风险的同时,也提供了可用于增强防护的额外数据。受此启发,我们提出了跨模态信息检测器(CIDER),这是一种即插即用的越狱攻击检测器,旨在利用有害查询与对抗性图像之间的跨模态相似性来识别被恶意扰动的图像输入。CIDER独立于目标MLLM,且计算成本更低。大量实验结果表明了CIDER的有效性和高效性,以及其对白盒和黑盒MLLM的可迁移性。

英文摘要:

Multimodal Large Language Models (MLLMs) extend the capacity of LLMs to understand multimodal information comprehensively, achieving remarkable performance in many vision-centric tasks. Despite that, recent studies have shown that these models are susceptible to jailbreak attacks, which refer to an exploitative technique where malicious users can break the safety alignment of the target model and generate misleading and harmful answers. This potential threat is caused by both the inherent vulnerabilities of LLM and the larger attack scope introduced by vision input. To enhance the security of MLLMs against jailbreak attacks, researchers have developed various defense techniques. However, these methods either require modifications to the model's internal structure or demand significant computational resources during the inference phase. Multimodal information is a double-edged sword. While it increases the risk of attacks, it also provides additional data that can enhance safeguards. Inspired by this, we propose Cross-modality Information DEtectoR (CIDER), a plug-and-play jailbreaking detector designed to identify maliciously perturbed image inputs, utilizing the cross-modal similarity between harmful queries and adversarial images. CIDER is independent of the target MLLMs and requires less computation cost. Extensive experimental results demonstrate the effectiveness and efficiency of CIDER, as well as its transferability to both white-box and black-box MLLMs.

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

↑