用图像化文本+干扰项绕过视觉语言模型的安全防护
Text is All You Need for Vision-Language Model Jailbreaking
- 将有害指令拆成多个无害子查询,以图像网格形式呈现
- 在多个无关干扰项中隐藏关键指令,使安全机制失效
- 揭示了现有模型对分散多图输入的防御短板,适合安全研究者参考
大型视觉语言模型(LVLMs)虽具备强大的安全防护机制,但主要依赖对显式文本或视觉内容的分析。本文提出Text-DJ攻击方法,利用模型的OCR能力实现越狱。该方法分三步:首先将单一有害查询分解为多个语义相关但更温和的子查询;其次选取与有害查询完全无关的干扰查询;最后将所有子查询和干扰查询以图像网格形式同时呈现,其中子查询位于网格中心。实验表明,该方法可成功绕过当前主流LVLM的安全对齐机制。其有效性源于两点:一是将文本转为图像,规避常规文本过滤;二是通过大量无关查询制造干扰,使安全系统无法识别散落的子查询之间的关联。结果暴露了LVLM在处理碎片化多模态输入时的严重脆弱性,强调需加强针对非连续、分散输入的防御策略。
原文摘要 · Abstract (English)
Large Vision-Language Models (LVLMs) are increasingly equipped with robust safety safeguards to prevent responses to harmful or disallowed prompts. However, these defenses often focus on analyzing explicit textual inputs or relevant visual scenes. In this work, we introduce Text-DJ, a novel jailbreak attack that bypasses these safeguards by exploiting the model's Optical Character Recognition (OCR) capability. Our methodology consists of three stages. First, we decompose a single harmful query into multiple and semantically related but more benign sub-queries. Second, we pick a set of distraction queries that are maximally irrelevant to the harmful query. Third, we present all decomposed sub-queries and distraction queries to the LVLM simultaneously as a grid of images, with the position of the sub-queries being middle within the grid. We demonstrate that this method successfully circumvents the safety alignment of state-of-the-art LVLMs. We argue this attack succeeds by (1) converting text-based prompts into images, bypassing standard text-based filters, and (2) inducing distractions, where the model's safety protocols fail to link the scattered sub-queries within a high number of irrelevant queries. Overall, our findings expose a critical vulnerability in LVLMs' OCR capabilities that are not robust to dispersed, multi-image adversarial inputs, highlighting the need for defenses for fragmented multimodal inputs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。