scimeatlas

Research map / Adversarial robustness and security / Attacks on text and graphs

TrajGuard: Streaming Hidden-state Trajectory Detection for Decoding-time Jailbreak Defense

Cheng Liu, Xiaolei Liu, Xingyu Li, Bangzhou Xin, Kangyi Ding

ACL 2026Adversarial robustness and security › Attacks on text and graphsapproach: LLM jailbreak and injection defenseopen problems in this approach5 citations (OpenAlex)

National Interdisciplinary Research Center of Engineering Physics

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
11improved
1no clear effect
1hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add TrajGuard decoding-time defenseLlama-2-7B-chat · 12 jailbreak attacks averageASR: 0.52 -> 0.02Improved
add TrajGuard decoding-time defenseMistral-7B · 12 jailbreak attacks averageASR: 0.75 -> 0.10Improved
add TrajGuard decoding-time defenseVicuna-7B · 12 jailbreak attacks averageASR: 0.75 -> 0.05Improved
use TrajGuard instead of Qwen3GuardMistral-7B · 12 jailbreak attacks averageASR: 0.09 -> 0.10Hurt
use TrajGuard instead of Llama Guard 3Mistral-7B · DeepInceptionASR: 0.65 -> 0.19Improved
use TrajGuard instead of Llama Guard 3Llama-2-7B-chat · CipherASR: 0.16 -> 0.10Improved
add PAIR-Judge to SGS (ablation)TrajGuard on Vicuna-7B · XSTest and Alpacafalse positive rate: + 18.4% -> + 1.0%Improved
add SGS gating to PAIR-Judge (ablation)TrajGuard on Vicuna-7B · per-sample latencylatency: + 750.2 ms -> + 189.9 msImproved
add SGS gating to PAIR-Judge (ablation)TrajGuard on Vicuna-7B · XSTest and Alpacafalse positive rate: + 1.0% -> + 1.0%No clear effect
replace self-judge with adversarially trained Qwen3Guard-8B (ablation)TrajGuard · Cipher and DeepInception, four modelsASR: e.g. Mistral-7B DeepInception 0.19 -> 0.06Improved
use TrajGuard instead of external guards for judge callsVicuna-7B · benign setstrigger frequency: 1.00 -> 0.06 (Alpaca), 1.00 -> 0.47 (XSTest)Improved
use TrajGuard instead of Qwen3GuardVicuna-7B · XSTestfalse positive rate: + 12.40 -> + 1.50Improved

Open problems in LLM jailbreak and prompt injection defense

Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?

All 4 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy