mlsanityData to 14 Oct 2026

Rethinking Jailbreak Detection of Large Vision Language Models with Representational Contrastive Scoring

arXiv 2512.12069 ↗First posted 12 Dec 2025cs.CR cs.AI cs.CLcited by 11

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

  1. 2025Safety in Large Reasoning Models: A Survey24 Apr

Other references · 116

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  4. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  5. 2025InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Modelscited by 1,834
  6. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  7. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  8. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  9. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  10. 2023MM-Vet: Evaluating Large Multimodal Models for Integrated Capabilitiescited by 1,239
  11. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  12. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
38 more
  1. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  2. 2018Deep Anomaly Detection with Outlier Exposurecited by 942
  3. 2018VizWiz Grand Challenge: Answering Visual Questions from Blind Peoplecited by 858
  4. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  5. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
  6. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  7. 2021FLAVA: A Foundational Language And Vision Alignment Modelcited by 649
  8. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  9. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 496
  10. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
  11. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 469
  12. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  13. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 431
  14. 2023FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Promptscited by 398
  15. 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 390
  16. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
  17. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
  18. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
  19. 2023Visual Adversarial Examples Jailbreak Aligned Large Language Modelscited by 328
  20. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  21. 2023Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Modelscited by 273
  22. 2023Certifying LLM Safety against Adversarial Promptingcited by 266
  23. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  24. 2024PKU-SafeRLHF: Towards Multi-Level Safety Alignment for LLMs with Human Preferencecited by 261
  25. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
  26. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 231
  27. 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attackscited by 230
  28. 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 221
  29. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
  30. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
  31. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
  32. 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70Bcited by 195
  33. 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 173
  34. 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attackscited by 156
  35. 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fastcited by 153
  36. 2023On the Adversarial Robustness of Multi-Modal Foundation Modelscited by 145
  37. 2024AutoDefense: Multi-Agent LLM Defense against Jailbreak Attackscited by 145
  38. 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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 11.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Learning to Detect Unseen Jailbreak Attacks in Large Vision-Language Models
  2. 2025JailDAM: Jailbreak Detection with Adaptive Memory for Vision-Language Model
  3. 2026SALLIE: Generation-Free Hidden-State Detection of Jailbreaks and Prompt Injections Across Text and Vision
  4. 2025Learning to Detect Unknown Jailbreak Attacks in Large Vision-Language Models
  5. 2025Tit-for-Tat: Safeguarding Large Vision-Language Models Against Jailbreak Attacks via Adversarial Defense
  6. 2026Fully Unleashing the Multimodal Attacker: Meta-Adaptive Jailbreaking of Vision-Language Models
  7. 2025CeTAD: Towards Certified Toxicity-Aware Distance in Vision Language Models
  8. 2025Towards Effective MLLM Jailbreaking Through Balanced On-Topicness and OOD-Intensity