Rethinking Jailbreak Detection of Large Vision Language Models with Representational Contrastive Scoring
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
Large Vision-Language Models (LVLMs) are vulnerable to a growing array of multimodal jailbreak attacks, necessitating defenses that are both generalizable to novel threats and efficient for practical deployment. Many current strategies fall short, either targeting specific attack patterns, which limits generalization, or imposing high computational overhead. While lightweight anomaly-detection methods offer a promising direction, we find that their common one-class design tends to confuse unseen benign inputs with malicious ones, leading to unreliable over-rejection. To address this, we propose Representational Contrastive Scoring (RCS), a framework built on a key insight: the most potent safety signals reside within the LVLM's own internal representations. Our approach inspects the internal geometry of these representations, learning a lightweight projection to maximally separate benign and malicious inputs in safety-critical layers. This enables a simple yet powerful contrastive score that differentiates true malicious intent from mere distribution shift. Our instantiations, MCD (Mahalanobis Contrastive Detection) and KCD (K-nearest Contrastive Detection), achieve state-of-the-art performance on a challenging evaluation protocol designed to test generalization to unseen attack types. This work demonstrates that effective jailbreak detection can be achieved by applying simple, interpretable statistical methods to the internal representations, offering a practical path towards safer LVLM deployment.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 117 of its 183 references that are in the map. First posted on arXiv 12 Dec 2025.
Builds on
117 of 183 references.
Closest ancestors · 1
Same direction, newest first
Other references · 116
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2025InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Modelscited by 1,834
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2023MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilitiescited by 1,239
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
38 more
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 858
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
- 2021FLAVA: A Foundational Language And Vision Alignment Modelcited by 649
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 496
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 469
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 431
- 2023FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Promptscited by 398
- 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 390
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
- 2023Visual Adversarial Examples Jailbreak Aligned Large Language Modelscited by 328
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2023Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Modelscited by 273
- 2023Certifying LLM Safety against Adversarial Promptingcited by 266
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preferencecited by 261
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 231
- 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attackscited by 230
- 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 221
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
- 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
- 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70Bcited by 195
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 173
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attackscited by 156
- 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fastcited by 153
- 2023On the Adversarial Robustness of Multi-Modal Foundation Modelscited by 145
- 2024AutoDefense: Multi-Agent LLM Defense against Jailbreak Attackscited by 145
- 2024Devils in Middle Layers of Large Vision-Language Models: Interpreting, Detecting and Mitigating Object Hallucinations via Attention Lenscited by 143
50 most cited of 116 All 116 (JSON)
Built on by
Citing papers per year: 2026: 11.
11 papers.
- 2026Why Supervised Fine-Tuning Fails to Learn: A Systematic Study of Incomplete Learning in Large Language Modelscited by 8
- 2026Shifting Uncertainty to Critical Moments: Towards Reliable Uncertainty Quantification for VLA Modelcited by 7
- 2026Reason Only When Needed: Efficient Generative Reward Modeling via Model-Internal Uncertaintycited by 6
- 2026Backdoors in RLVR: Jailbreak Backdoors in LLMs From Verifiable Rewardcited by 3
- 2026Behavioral Skill Reconstruction: Reconstructing Hidden Functionality from LLM Agent Skillscited by 2
- 2026GAMBIT: A Gamified Jailbreak Framework for Multimodal Large Language Modelscited by 1
- 2026Revisiting JBShield: Breaking and Rebuilding Representation-Level Jailbreak Defensescited by 0
- 2026A Cross-Architecture Audit of Direction-Based Inference-Time Defences in Vision-Language Modelscited by 0
- 2026Backdoor in the Loop: Compromising Agentic Search via Malicious Retrieverscited by 0
- 2026A Safe Prototype Is Not a Safety Direction: Reference Dependence and Prompt Confounds in Response-Safety Embeddingscited by 0
- 2026Benchmarking Jailbreak Guardrails for Embodied Agentscited by 0
- 2026Benchmarking Jailbreak Guardrails for Embodied Agents5 Oct 2026
- 2026A Safe Prototype Is Not a Safety Direction: Reference Dependence and Prompt Confounds in Response-Safety Embeddings1 Oct 2026
- 2026Backdoor in the Loop: Compromising Agentic Search via Malicious Retrievers26 Sep 2026
- 2026Behavioral Skill Reconstruction: Reconstructing Hidden Functionality from LLM Agent Skills4 Aug 2026
- 2026A Cross-Architecture Audit of Direction-Based Inference-Time Defences in Vision-Language Models30 Jul 2026
- 2026Revisiting JBShield: Breaking and Rebuilding Representation-Level Jailbreak Defenses4 May 2026
- 2026Why Supervised Fine-Tuning Fails to Learn: A Systematic Study of Incomplete Learning in Large Language Models11 Apr 2026
- 2026Reason Only When Needed: Efficient Generative Reward Modeling via Model-Internal Uncertainty11 Apr 2026
- 2026Backdoors in RLVR: Jailbreak Backdoors in LLMs From Verifiable Reward10 Apr 2026
- 2026Shifting Uncertainty to Critical Moments: Towards Reliable Uncertainty Quantification for VLA Model18 Mar 2026
- 2026GAMBIT: A Gamified Jailbreak Framework for Multimodal Large Language Models6 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Learning to Detect Unseen Jailbreak Attacks in Large Vision-Language Models
- 2025JailDAM: Jailbreak Detection with Adaptive Memory for Vision-Language Model
- 2026SALLIE: Generation-Free Hidden-State Detection of Jailbreaks and Prompt Injections Across Text and Vision
- 2025Learning to Detect Unknown Jailbreak Attacks in Large Vision-Language Models
- 2025Tit-for-Tat: Safeguarding Large Vision-Language Models Against Jailbreak Attacks via Adversarial Defense
- 2026Fully Unleashing the Multimodal Attacker: Meta-Adaptive Jailbreaking of Vision-Language Models
- 2025CeTAD: Towards Certified Toxicity-Aware Distance in Vision Language Models
- 2025Towards Effective MLLM Jailbreaking Through Balanced On-Topicness and OOD-Intensity