arXiv:2501.04931cs.CRcs.AI2025-01ICCV被引 54

利用图文乱序不一致性,突破多模态大模型安全防护

Jailbreaking Multimodal Large Language Models via Shuffle Inconsistency

  • 发现模型理解与安全判断存在乱序不一致现象
  • 提出SI-Attack方法,攻击成功率显著提升
  • 适用于商业闭源模型,如GPT-4o和Claude-3.5

多模态大语言模型(MLLMs)在实际应用中表现优异,但仍存在安全机制漏洞。劫持攻击旨在绕过安全机制以暴露潜在风险。现有方法多依赖复杂优化或精心设计的图文提示,但在商业闭源模型上成功率较低。本文实证发现,当有害指令被随机打乱后,模型仍能良好理解其语义,却容易在安全判断上被绕过,导致生成有害响应。基于此,我们提出新型图文劫持攻击SI-Attack,采用基于查询的黑盒优化方法,结合毒性判别模型反馈,筛选最具危害性的乱序输入。实验表明,SI-Attack在三个基准测试上均提升攻击性能,尤其对GPT-4o、Claude-3.5-Sonnet等商用模型效果显著。

原文摘要 · Abstract (English)

Multimodal Large Language Models (MLLMs) have achieved impressive performance and have been put into practical use in commercial applications, but they still have potential safety mechanism vulnerabilities. Jailbreak attacks are red teaming methods that aim to bypass safety mechanisms and discover MLLMs' potential risks. Existing MLLMs' jailbreak methods often bypass the model's safety mechanism through complex optimization methods or carefully designed image and text prompts. Despite achieving some progress, they have a low attack success rate on commercial closed-source MLLMs. Unlike previous research, we empirically find that there exists a Shuffle Inconsistency between MLLMs' comprehension ability and safety ability for the shuffled harmful instruction. That is, from the perspective of comprehension ability, MLLMs can understand the shuffled harmful text-image instructions well. However, they can be easily bypassed by the shuffled harmful instructions from the perspective of safety ability, leading to harmful responses. Then we innovatively propose a text-image jailbreak attack named SI-Attack. Specifically, to fully utilize the Shuffle Inconsistency and overcome the shuffle randomness, we apply a query-based black-box optimization method to select the most harmful shuffled inputs based on the feedback of the toxic judge model. A series of experiments show that SI-Attack can improve the attack's performance on three benchmarks. In particular, SI-Attack can obviously improve the attack success rate for commercial MLLMs such as GPT-4o or Claude-3.5-Sonnet.

多模态安全劫持攻击模型漏洞图文对抗

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。