Embedding disruptions re-activate LLM safeguards and block jailbreak prompts
Embedding disruption can re-trigger internal safeguards in LLMs, effectively detecting and defending against jailbreak attacks
AI/ML arXiv 11 May 2026 Defense Prototype evidence
Published as “Re-Triggering Safeguards within LLMs for Jailbreak Detection”
Why it matters
The method offers a practical way to harden deployed LLM services against many jailbreak attempts without degrading normal response quality.
Summary
The paper shows that injecting carefully chosen noise into token embeddings can repeatedly trigger LLMs' built-in safeguards, causing them to refuse jailbreak prompts. Across three open-source models and two benchmark suites, the method attains near-perfect detection for most attacks while keeping false alarms low, and it also lowers attack success rates (e.g., from 60% to 29% on Qwen2.5). However, detection fails for some attacks (e.g., I-FSJ on Vicuna-13B at 0.01 detection, AutoDAN-Turbo on Qwen2.5 at 0), indicating limits to its universality.
What they found 3
- Embedding-level noise can reliably cause LLMs to produce a denial response for jailbreak prompts.
“We can always identify an appropriate noise that causes the LLM to output a denial response, regardless of the jailbreak method used or the jailbreak prompt sampled.”
- The proposed defense outperforms prior defenses in both attack success reduction and model utility.
“As shown in Table 1, our approach significantly outperforms defense methods in terms of both defensive effectiveness and model utility.”
- Disrupting the last token is more effective than other token-selection strategies.
“As illustrated in Fig. 4, disrupting the last token proves more effective than the other three strategies.”
Caveats 2
- Detection rate for the I-FSJ attack on Vicuna-13B is only 0.01, showing poor coverage for that method.
- Detection rate for AutoDAN-Turbo on Qwen2.5-7B-Instruct is 0, indicating the defense can completely miss this attack.
What’s new here 4
- Identifies and exploits the inherent fragility of jailbreak prompts via embedding-level noise injection.
- Introduces a two-stage noise-search algorithm guided by anchor tokens discovered from successful disruptions.
- Extends the white-box detection method to a black-box setting using embedding-to-token transfer.
- Provides extensive analysis of disruption parameters (layer, token, dimensions, strength) to guide effective noise placement.