ALERT: Zero-shot LLM Jailbreak Detection via Internal Discrepancy Amplification
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Despite rich safety alignment strategies, large language models (LLMs) remain highly susceptible to jailbreak attacks, which compromise safety guardrails and pose serious security risks. Existing detection methods mainly detect jailbreak status relying on jailbreak templates present in the training data. However, few studies address the more realistic and challenging zero-shot jailbreak detection setting, where no jailbreak templates are available during training. This setting better reflects real-world scenarios where new attacks continually emerge and evolve. To address this challenge, we propose a layer-wise, module-wise, and token-wise amplification framework that progressively magnifies internal feature discrepancies between benign and jailbreak prompts. We uncover safety-relevant layers, identify specific modules that inherently encode zero-shot discriminative signals, and localize informative safety tokens. Building upon these insights, we introduce ALERT (Amplification-based Jailbreak Detector), an efficient and effective zero-shot jailbreak detector that introduces two independent yet complementary classifiers on amplified representations. Extensive experiments on three safety benchmarks demonstrate that ALERT achieves consistently strong zero-shot detection performance. Specifically, (i) across all datasets and attack strategies, ALERT reliably ranks among the top two methods, and (ii) it outperforms the second-best baseline by at least 10% in average Accuracy and F1-score, and sometimes by up to 40%.
Key facts. Cited by 3 papers in the map (data through 13 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 34 of its 41 references that are in the map. First posted on arXiv 7 Jan 2026.
Builds on
34 of 41 references.
Closest ancestors · 15
Same direction, newest first
- 2025AlignTree: Efficient Defense Against LLM Jailbreak Attacks15 Nov
- 2025LLM Jailbreak Detection for (Almost) Free!18 Sep
- 2025JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulation11 Feb
- 2024HSF: Defending against Jailbreak Attacks with Hidden State Filtering31 Aug
- 2024Characterizing and Evaluating the Reliability of LLMs against Jailbreak Attacks18 Aug
- 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden States9 Jun
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Manner8 Jun
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing28 May
- 2024Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapes1 Mar
- 2024GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysis21 Feb
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding14 Feb
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
3 more
Other references · 19
- 2022Training language models to follow instructions with human feedbackcited by 15,856
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,492
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,472
- 2019Invariant Risk Minimizationcited by 1,842
- 2020GLU Variants Improve Transformercited by 1,759
- 2016Deep Variational Information Bottleneckcited by 924
- 2017Maximum Classifier Discrepancy for Unsupervised Domain Adaptationcited by 682
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 647
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
- 2016Domain Separation Networkscited by 318
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 243
- 2024Large Language Models for Education: A Survey and Outlookcited by 187
7 more
- 2023A Survey of Large Language Models for Healthcare: from Data, Technology, and Applications to Accountability and Ethicscited by 163
- 2023Large language models in healthcare and medical domain: A reviewcited by 127
- 2025Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agentscited by 120
- 2014Domain-Adversarial Neural Networkscited by 78
- 2021Improved Regularization and Robustness for Fine-tuning in Neural Networkscited by 45
- 2025HiddenDetect: Detecting Jailbreak Attacks against Large Vision-Language Models via Monitoring Hidden Statescited by 33
- 2024Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuningcited by 31
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Learning to Detect Unseen Jailbreak Attacks in Large Vision-Language Models
- 2025Learning to Detect Unknown Jailbreak Attacks in Large Vision-Language Models
- 2026SafeDream: Safety World Model for Proactive Early Jailbreak Detection
- 2025Jailbreaking Attacks vs. Content Safety Filters: How Far Are We in the LLM Safety Arms Race?
- 2026Re-Triggering Safeguards within LLMs for Jailbreak Detection
- 2025JailDAM: Jailbreak Detection with Adaptive Memory for Vision-Language Model
- 2025Guarding the Guardrails: A Taxonomy-Driven Approach to Jailbreak Detection
- 2025NegBLEURT Forest: Leveraging Inconsistencies for Detecting Jailbreak Attacks