arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.00583cs.CVcs.AIcs.LG
收藏

通过视觉模态 jailbreak 视觉-语言模型

Jailbreaking Vision-Language Models Through the Visual Modality

Warsaw University of Technology(华沙理工大学);NASK National Research Institute(波兰国家研究研究院);University of Liverpool(利物浦大学);Indian Institute of Technology Roorkee(印度理工学院拉胡尔分校);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Aharon Azulay, Jan Dubiński, Zhuoyun Li, Atharv Mittal, Yossi Gandelsman

AI总结:

本文提出四种利用视觉组件的 jailbreak 攻击,揭示了文本安全训练无法自动推广到视觉传达的有害意图,展示了视觉模态在安全对齐中的关键作用。

摘要:

视觉语言模型(VLMs)的视觉模态是一个被低估的攻击面,用于绕过安全对齐。我们引入四种 jailbreak 攻击,利用视觉组件:(1)将有害指令编码为视觉符号序列并使用解码图例;(2)用无害替代物替换有害对象(如炸弹->香蕉)然后提示有害行为;(3)在图像中替换有害文本(如书封)为无害词语,同时保持视觉上下文的原意;(4)视觉类比谜题,其解决方案需要推断被禁止的概念。在六个前沿 VLMs 上评估,我们的视觉攻击绕过了安全对齐,揭示了跨模态对齐差距:基于文本的安全训练无法自动推广到通过视觉传达的有害意图。例如,我们的视觉密码在 Claude-Haiku-4.5 上达到 40.9% 的攻击成功率,而等效的文本密码仅为 10.7%。为进一步理解攻击机制,我们展示了初步的可解释性和缓解结果。这些发现强调,稳健的 VLM 对齐需要将视觉视为安全后训练的第一目标。

英文摘要:

The visual modality of vision-language models (VLMs) is an underexplored attack surface for bypassing safety alignment. We introduce four jailbreak attacks exploiting the vision component: (1) encoding harmful instructions as visual symbol sequences with a decoding legend, (2) replacing harmful objects with benign substitutes (e.g., bomb -> banana) then prompting for harmful actions using the substitute term, (3) replacing harmful text in images (e.g., on book covers) with benign words while visual context preserves the original meaning, and (4) visual analogy puzzles whose solution requires inferring a prohibited concept. Evaluating across six frontier VLMs, our visual attacks bypass safety alignment and expose a cross-modality alignment gap: text-based safety training does not automatically generalize to harmful intent conveyed visually. For example, our visual cipher achieves 40.9% attack success on Claude-Haiku-4.5 versus 10.7% for an equivalent textual cipher. To further our insight into the attack mechanism, we present preliminary interpretability and mitigation results. These findings highlight that robust VLM alignment requires treating vision as a first-class target for safety post-training.

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

↑