安全图片组合也能突破视觉语言模型安全防线
Safe + Safe = Unsafe? Exploring How Safe Images Can Be Exploited to Jailbreak Large Vision-Language Models
- 利用多张安全图像与提示构建攻击链
- 在最新模型上实现高成功率越狱
- 揭示模型内在安全缺陷,适合安全研究者
大型视觉语言模型(LVLM)虽在多模态推理上表现卓越,但其安全防护可能无法覆盖视觉模态带来的未知领域。现有研究多通过精心设计的图像越狱来诱导有害输出。本文发现,仅使用安全图像配合额外安全图像与提示,即可达成相同越狱效果。这源于LVLM的通用推理能力与安全雪球效应。为此提出安全雪球代理(SSA)框架,分两阶段运作:第一阶段生成或检索潜在有害意图的越狱图像;第二阶段通过优化提示诱导输出逐步恶化。实验表明, ours可使几乎任意图像引发模型产生不安全内容,在最新LVLM上均取得高成功率。与以往依赖对齐漏洞不同,本方法利用模型固有特性,对生成式多模态系统安全构成深层挑战。代码已开源。
原文摘要 · Abstract (English)
Recent advances in Large Vision-Language Models (LVLMs) have showcased strong reasoning abilities across multiple modalities, achieving significant breakthroughs in various real-world applications. Despite this great success, the safety guardrail of LVLMs may not cover the unforeseen domains introduced by the visual modality. Existing studies primarily focus on eliciting LVLMs to generate harmful responses via carefully crafted image-based jailbreaks designed to bypass alignment defenses. In this study, we reveal that a safe image can be exploited to achieve the same jailbreak consequence when combined with additional safe images and prompts. This stems from two fundamental properties of LVLMs: universal reasoning capabilities and safety snowball effect. Building on these insights, we propose Safety Snowball Agent (SSA), a novel agent-based framework leveraging agents' autonomous and tool-using abilities to jailbreak LVLMs. SSA operates through two principal stages: (1) initial response generation, where tools generate or retrieve jailbreak images based on potential harmful intents, and (2) harmful snowballing, where refined subsequent prompts induce progressively harmful outputs. Our experiments demonstrate that \ours can use nearly any image to induce LVLMs to produce unsafe content, achieving high success jailbreaking rates against the latest LVLMs. Unlike prior works that exploit alignment flaws, \ours leverages the inherent properties of LVLMs, presenting a profound challenge for enforcing safety in generative multimodal systems. Our code is avaliable at \url{https://github.com/gzcch/Safety_Snowball_Agent}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。