Visual-RolePlay:通过扮演图像角色对多模态大语言模型实施通用越狱攻击
Visual-RolePlay: Universal Jailbreak Attack on MultiModal Large Language Models via Role-playing Image Character
AI总结:
本文提出 Visual Role-play(VRP)越狱攻击,利用高风险角色图像与良性角色扮演指令诱导 MLLMs 生成恶意内容,并在基准上取得优于基线的 ASR。
摘要:
随着多模态大语言模型(MLLMs)的出现和广泛部署,确保其安全性变得愈发关键。为实现这一目标,我们需要通过探索攻击方法,主动发现 MLLMs 的漏洞。因此,基于结构的越狱攻击被提出,这类攻击将有害语义内容嵌入图像中,以误导模型。然而,以往基于结构的越狱方法主要关注转换恶意查询的形式,例如通过排版将有害内容转换为图像,这缺乏足够的越狱有效性和泛化能力。为解决这些局限,我们首次将“角色扮演”概念引入 MLLM 越狱攻击,并提出一种新颖且有效的方法,称为 Visual Role-play(VRP)。具体而言,VRP 利用大语言模型生成高风险角色的详细描述,并根据这些描述创建相应图像。当与良性的角色扮演指令文本配对时,这些高风险角色图像通过让模型扮演具有负面属性的角色,有效误导 MLLMs 生成恶意响应。我们进一步将 VRP 方法扩展到通用设置,以证明其泛化能力。在流行基准上进行的大量实验表明,VRP 在所有模型上的平均攻击成功率(ASR)优势比最强基线 Query relevant 和 FigStep 高出 14.3%。
英文摘要:
With the advent and widespread deployment of Multimodal Large Language Models (MLLMs), ensuring their safety has become increasingly critical. To achieve this objective, it requires us to proactively discover the vulnerability of MLLMs by exploring the attack methods. Thus, structure-based jailbreak attacks, where harmful semantic content is embedded within images, have been proposed to mislead the models. However, previous structure-based jailbreak methods mainly focus on transforming the format of malicious queries, such as converting harmful content into images through typography, which lacks sufficient jailbreak effectiveness and generalizability. To address these limitations, we first introduce the concept of "Role-play" into MLLM jailbreak attacks and propose a novel and effective method called Visual Role-play (VRP). Specifically, VRP leverages Large Language Models to generate detailed descriptions of high-risk characters and create corresponding images based on the descriptions. When paired with benign role-play instruction texts, these high-risk character images effectively mislead MLLMs into generating malicious responses by enacting characters with negative attributes. We further extend our VRP method into a universal setup to demonstrate its generalizability. Extensive experiments on popular benchmarks show that VRP outperforms the strongest baseline, Query relevant and FigStep, by an average Attack Success Rate (ASR) margin of 14.3% across all models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。