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
National Interdisciplinary Research Center of Engineering Physics
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add TrajGuard decoding-time defense | Llama-2-7B-chat · 12 jailbreak attacks average | ASR: 0.52 -> 0.02 | Improved |
| add TrajGuard decoding-time defense | Mistral-7B · 12 jailbreak attacks average | ASR: 0.75 -> 0.10 | Improved |
| add TrajGuard decoding-time defense | Vicuna-7B · 12 jailbreak attacks average | ASR: 0.75 -> 0.05 | Improved |
| use TrajGuard instead of Qwen3Guard | Mistral-7B · 12 jailbreak attacks average | ASR: 0.09 -> 0.10 | Hurt |
| use TrajGuard instead of Llama Guard 3 | Mistral-7B · DeepInception | ASR: 0.65 -> 0.19 | Improved |
| use TrajGuard instead of Llama Guard 3 | Llama-2-7B-chat · Cipher | ASR: 0.16 -> 0.10 | Improved |
| add PAIR-Judge to SGS (ablation) | TrajGuard on Vicuna-7B · XSTest and Alpaca | false positive rate: + 18.4% -> + 1.0% | Improved |
| add SGS gating to PAIR-Judge (ablation) | TrajGuard on Vicuna-7B · per-sample latency | latency: + 750.2 ms -> + 189.9 ms | Improved |
| add SGS gating to PAIR-Judge (ablation) | TrajGuard on Vicuna-7B · XSTest and Alpaca | false positive rate: + 1.0% -> + 1.0% | No clear effect |
| replace self-judge with adversarially trained Qwen3Guard-8B (ablation) | TrajGuard · Cipher and DeepInception, four models | ASR: e.g. Mistral-7B DeepInception 0.19 -> 0.06 | Improved |
| use TrajGuard instead of external guards for judge calls | Vicuna-7B · benign sets | trigger frequency: 1.00 -> 0.06 (Alpaca), 1.00 -> 0.47 (XSTest) | Improved |
| use TrajGuard instead of Qwen3Guard | Vicuna-7B · XSTest | false positive rate: + 12.40 -> + 1.50 | Improved |
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?
- Adaptive attacks are not ruled out. · 8 papers state it
- Attack success does not carry over between target models. · 7 papers state it
- Strong attacks still need white-box access. · 6 papers state it
Closest papers by meaning
- GraphShield: Graph-Theoretic Modeling of Network-Level Dynamics for Robust Jailbreak Detection (ICLR 2026 · similarity 0.89)
- Beyond the Prompt: Leveraging Pre-Decoding States for Jailbreak Detection in dLLMs (NeurIPS 2026 · similarity 0.88)
- JPU: Bridging Jailbreak Defense and Unlearning via On-Policy Path Rectification (ACL 2026 · similarity 0.88)
- Shaping the Safety Boundaries: Understanding and Defending Against Jailbreaks in Large Language Models (ACL 2025 · similarity 0.88)
- Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models (NeurIPS 2026 · similarity 0.87)
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs (NeurIPS 2024 · similarity 0.86)
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.