Understanding and Defending Against VLM Jailbreaks via Jailbreak-Related Representation ShiftsUnderstanding and Defending VLM Jailbreaks via Jailbreak-Related Representation Shift
Translation in progress — untranslated text is omitted.
The paper proposes a method JRS-Rem that defends against VLM jailbreaks by removing jailbreak-related representation shifts. The authors observe that a VLM can distinguish benign inputs from harmful inputs in representation space, and jailbreak samples also form internal states separable from refusal samples, indicating that jailbreaks do not stem from a failure to recognize harmful intent, but rather the visual modality pushes the representation toward a jailbreak state, causing the refusal to fail to trigger. Based on this, the authors define a jailbreak direction and jailbreak-related shifts, and remove this shift at inference time. Experiments show that JRS-Rem provides strong defense across multiple scenarios while maintaining performance on benign tasks.
- The visual modality often weakens the safety alignment of VLMs relative to the language model backbone. Even when the text contains explicit harmful intent, adding an image can still increase the jailbreak rate. The authors argue the reason is not failure to recognize harmful intent, but that the representation is pushed into a separate jailbreak state.
- The jailbreak direction is defined as the difference between the means of jailbreak and refusal; the projection of the image-induced representation shift onto this direction is the jailbreak-related shift. JRS-Rem, when generating the first token, removes this component from the last-token hidden states of each layer if the normalized shift exceeds 0.2.
- Evaluate explicit, implicit, and adversarial images on three VLMs. The authors claim that JRS-Rem mostly achieves the lowest or second-lowest ASR. On LLaVA-1.5-7B with HADES SD+TYPO, it goes from 84.9% to 12.4% (Table 2), and its MME remains 1754.9 (Table 5).
- The authors point out that JRS-Rem relies on the existing safety alignment of the language model backbone, does not extend to text-only jailbreaks, and is only validated up to 19B. Experiments cover three VLMs, explicit/implicit/adversarial images, and MM-Vet, ScienceQA, MME; the adversarial table does not include other defenses. The paper does not report inter-annotator agreement.
Related events and news
1 events · 1 news mentions
News that mentions this paper
模安局盘点NeurIPS 2026 AI安全七大研究重点
- 公众号 模安局gives the paper's titleNeurIPS 2026 AI安全的七个研究重点
Understanding and Defending VLM Jailbreaks via Jailbreak-Related Representation Shift
Related papers
- What Do Safety-Aligned LLMs Learn From Mixed Compliance Demonstrations?Analysis / interpretabilityarXiv