Improved Large Language Model Jailbreak Detection via Pretrained Embeddings
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
The adoption of large language models (LLMs) in many applications, from customer service chat bots and software development assistants to more capable agentic systems necessitates research into how to secure these systems. Attacks like prompt injection and jailbreaking attempt to elicit responses and actions from these models that are not compliant with the safety, privacy, or content policies of organizations using the model in their application. In order to counter abuse of LLMs for generating potentially harmful replies or taking undesirable actions, LLM owners must apply safeguards during training and integrate additional tools to block the LLM from generating text that abuses the model. Jailbreaking prompts play a vital role in convincing an LLM to generate potentially harmful content, making it important to identify jailbreaking attempts to block any further steps. In this work, we propose a novel approach to detect jailbreak prompts based on pairing text embeddings well-suited for retrieval with traditional machine learning classification algorithms. Our approach outperforms all publicly available methods from open source LLM security applications.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 14 of its 18 references that are in the map. First posted on arXiv 2 Dec 2024.
Builds on
14 of 18 references.
References · 14
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2013Intriguing properties of neural networkscited by 5,114
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 466
- 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 347
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 302
- 2024Defending LLMs against Jailbreaking Attacks via Backtranslationcited by 65
2 more
Built on by
Citing papers per year: 2025: 7; 2026: 3.
10 papers.
- 2025SoK: Evaluating Jailbreak Guardrails for Large Language Modelscited by 17
- 2025AudioJailbreak: Jailbreak Attacks against End-to-End Large Audio-Language Modelscited by 16
- 2025Towards the Worst-case Robustness of Large Language Modelscited by 7
- 2025JavelinGuard: Low-Cost Transformer Architectures for LLM Securitycited by 4
- 2026AISA: Awakening Intrinsic Safety Awareness in Large Language Models against Jailbreak Attackscited by 3
- 2025Do You Really Need a GPU to Guard Your LLM? CPU-Class Classifiers and Multi-Stage Pipelines for Safety Enforcement at Scalecited by 2
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2025Embedding Poisoning: Bypassing Safety Alignment via Embedding Semantic Shiftcited by 0
- 2026Security Assessment and Mitigation Strategies for Large Language Models: A Comprehensive Defensive Frameworkcited by 0
- 2026Cross-Lingual Jailbreak Detection via Semantic Codebookscited by 0
- 2026Cross-Lingual Jailbreak Detection via Semantic Codebooks28 Apr 2026
- 2026Security Assessment and Mitigation Strategies for Large Language Models: A Comprehensive Defensive Framework17 Mar 2026
- 2026AISA: Awakening Intrinsic Safety Awareness in Large Language Models against Jailbreak Attacks14 Feb 2026
- 2025Do You Really Need a GPU to Guard Your LLM? CPU-Class Classifiers and Multi-Stage Pipelines for Safety Enforcement at Scale22 Dec 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Embedding Poisoning: Bypassing Safety Alignment via Embedding Semantic Shift8 Sep 2025
- 2025SoK: Evaluating Jailbreak Guardrails for Large Language Models12 Jun 2025
- 2025JavelinGuard: Low-Cost Transformer Architectures for LLM Security9 Jun 2025
- 2025AudioJailbreak: Jailbreak Attacks against End-to-End Large Audio-Language Models20 May 2025
- 2025Towards the Worst-case Robustness of Large Language Models31 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2024Efficient LLM-Jailbreaking via Multimodal-LLM Jailbreak
- 2024JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak Attacks
- 2024textitMMJ-Bench: A Comprehensive Study on Jailbreak Attacks and Defenses for Multimodal Large Language Models
- 2026Jailbreaking Leaves a Trace: Understanding and Detecting Jailbreak Attacks from Internal Representations of Large Language Models
- 2025Do Internal Layers of LLMs Reveal Patterns for Jailbreak Detection?
- 2024Token Highlighter: Inspecting and Mitigating Jailbreak Prompts for Large Language Models
- 2024Defensive Prompt Patch: A Robust and Interpretable Defense of LLMs against Jailbreak Attacks