paper-with-me

홈 › Papers

JailDAM: Jailbreak Detection with Adaptive Memory for Vision-Language Model

2025-04-03 · Yi Nian, Shenzhe Zhu, Yuehan Qin, Li Li, Ziyi Wang, Chaowei Xiao, Yue Zhao

Multimodal large language models (MLLMs) excel in vision-language tasks but also pose significant risks of generating harmful content, particularly through jailbreak attacks. Jailbreak attacks refer to intentional manipulations that bypass safety mechanisms in models, leading to the generation of inappropriate or unsafe content. Detecting such attacks is critical to ensuring the responsible deployment of MLLMs. Existing jailbreak detection methods face three primary challenges: (1) Many rely on model hidden states or gradients, limiting their applicability to white-box models, where the internal workings of the model are accessible; (2) They involve high computational overhead from uncertainty-based analysis, which limits real-time detection, and (3) They require fully labeled harmful datasets, which are often scarce in real-world settings. To address these issues, we introduce a test-time adaptive framework called JAILDAM. Our method leverages a memory-based approach guided by policy-driven unsafe knowledge representations, eliminating the need for explicit exposure to harmful data. By dynamically updating unsafe knowledge during test-time, our framework improves generalization to unseen jailbreak strategies while maintaining efficiency. Experiments on multiple VLM jailbreak benchmarks demonstrate that JAILDAM delivers state-of-the-art performance in harmful content detection, improving both accuracy and speed.

📄 PDF Abstract BibTeX arXiv:2504.03770

Code (1)

ShenzheZhu/JailDAM 공식 구현

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

SelfGrader: LLM Jailbreak Detection via Anchored Token-Level Logits

2026-04-01 · Zikai Zhang, Rui Hu, Olivera Kotevska, Jiahao Xu arxiv

Large Language Models (LLMs) are powerful tools for answering user queries, yet they remain highly vulnerable to jailbreak attacks. Existing guardrail methods typically rely on internal features or textual responses to d…

Text Generation

Re-Triggering Safeguards within LLMs for Jailbreak Detection

2026-05-11 · Zheng Lin, Zhenxing Niu, Haoxuan Ji, Yuzhe Huang 외 arxiv

This paper proposes a jailbreaking prompt detection method for large language models (LLMs) to defend against jailbreak attacks. Although recent LLMs are equipped with built-in safeguards, it remains possible to craft ja…

SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Manner

2024-06-08 · Xunguang Wang, Daoyuan Wu, Zhenlan Ji, Zongjie Li 외

Jailbreaking is an emerging adversarial attack that bypasses the safety alignment deployed in off-the-shelf large language models (LLMs) and has evolved into multiple categories: human-based, optimization-based, generati…

Adversarial AttackLLM JailbreakSafety Alignment

Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks

2024-04-02 · Maksym Andriushchenko, Francesco Croce, Nicolas Flammarion

We show that even the most recent safety-aligned LLMs are not robust to simple adaptive jailbreaking attacks. First, we demonstrate how to successfully leverage access to logprobs for jailbreaking: we initially design an…

In-Context Learning

A Self-Evolving Multi-Agent Framework Defense against LLM Jailbreak Attacks

2026-08-26 · Tongyan Hu, Bryan Hooi arxiv

Large language models (LLMs) remain vulnerable to jailbreak attacks that exploit techniques such as role-playing, obfuscation, code transformation, and multi-step indirection to elicit harmful outputs. As jailbreak strat…