跳到正文
arXiv cs.AI· Zhihua Wei, Qiang Li, Jian Ruan, Zhenxin Qin, Leilei Wen, Ruiyang Qin, Qingzhuo Wang, Dongrui Liu, Wen Shen·· 2026-10-21AI 评分45

通过越狱相关表示偏移理解与防御 VLM 越狱(JRS-Rem)

Understanding and Defending VLM Jailbreaks via Jailbreak-Related Representation Shift

AI 导读

一项 arXiv 研究发现,VLM 并非无法识别有害意图,而是视觉模态使表示向特定越狱状态偏移,导致拒绝机制失效。研究定义了沿越狱方向的越狱相关表示偏移(jailbreak-related shift)来量化这一转变,可统一解释多种越狱场景。据此提出的推理时防御方法 JRS-Rem 在多个场景下提供强防御,同时保持良性任务性能,代码已开源。

正文 · 原文

View PDF HTML (experimental)

Abstract:Large vision-language models (VLMs) often exhibit weakened safety alignment with the integration of the visual modality. Even when text prompts contain explicit harmful intent, adding an image can substantially increase jailbreak success rates. In this paper, we observe that VLMs can clearly distinguish benign inputs from harmful ones in their representation space. Moreover, even among harmful inputs, jailbreak samples form a distinct internal state that is separable from refusal samples. These observations suggest that jailbreaks do not arise from a failure to recognize harmful intent. Instead, the visual modality shifts representations toward a specific jailbreak state, thereby leading to a failure to trigger refusal. To quantify this transition, we identify a jailbreak direction and define the jailbreak-related shift as the component of the image-induced representation shift along this direction. Our analysis shows that the jailbreak-related shift reliably characterizes jailbreak behavior, providing a unified explanation for diverse jailbreak scenarios. Finally, we propose a defense method that enhances VLM safety by removing the jailbreak-related shift (JRS-Rem) at inference time. Experiments show that JRS-Rem provides strong defense across multiple scenarios while preserving performance on benign tasks. Code is available at this https URL.
Subjects: Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI)
Cite as: arXiv:2603.17372 [cs.CV]
  (or arXiv:2603.17372v3 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2603.17372

arXiv-issued DOI via DataCite

Submission history

From: Qiang Li [view email]
[v1] Wed, 18 Mar 2026 05:31:29 UTC (2,294 KB)
[v2] Thu, 15 Oct 2026 09:57:58 UTC (2,045 KB)
[v3] Tue, 20 Oct 2026 12:45:53 UTC (2,045 KB)

来源:arXiv cs.AI · arxiv.org