Research map / Large language models / Language, safety and interpretability
LLM Jailbreak Detection for (Almost) Free!
Guorui Chen, Yifan Xia, Xiaojun Jia, Zhijiang Li, Philip Torr, Jindong Gu
Wuhan University · Nanyang Technological University · University of Oxford
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 |
|---|---|---|---|
| prepend an affirmative instruction (ablation) | FJD first-token confidence · AutoDAN, Vicuna-7B | AUC: 0.1617 -> 0.7862 | Improved |
| add temperature scaling on top of affirmative instruction (ablation) | FJD · AutoDAN, Llama2-7B | AUC: 0.9436 -> 0.9578 | Improved |
| add temperature scaling without affirmative instruction (ablation) | first-token confidence · AutoDAN, Vicuna-7B | AUC: 0.1617 -> 0.1709 | No clear effect |
| use FJD instead of PPL/SmoothLLM/GradSafe baselines | Llama2-7B · AutoDAN | AUC: 0.8197 -> 0.9578 (vs SMLLM); GradSafe 0.8025 | Improved |
| learn a virtual instruction (FJD-LI) instead of a manual one | FJD · AutoDAN, Vicuna-7B | AUC: 0.7964 -> 0.9969 | Improved |
| learn a virtual instruction (FJD-LI) instead of a manual one | FJD · Cipher, Guanaco-7B (unseen attack) | AUC: 0.8299 -> 0.8826 | Improved |
| use FJD instead of SmoothLLM for efficiency | Llama2 · time cost | seconds: 1568s -> 396s | Improved |
| use a different affirmative instruction wording (ablation) | FJD on Llama2-7B · AutoDAN | AUC: 0.8869 (none) -> 0.9163 to 0.9624 | Improved |
| apply a white-box detection-aware GCG attack | FJD · Vicuna-7B | AUC: 0.7964 -> 0.4761 | Hurt |
| apply detection-aware attack transferred from another model | FJD · Vicuna-7B | AUC: 0.9017 (from Llama2) | No clear effect |
| use FJD instead of PPL on GCG attacks | FJD · GCG (Appendix) | AUC | Hurt |
Open problems this paper states
- “Detection-aware white-box attacks where FJD and the LLM are fully known can break the detection to some degree.” → Defenses and adaptive attackers are rarely tested against each other. (an open problem in jailbreak attacks and defenses)
Open problems in jailbreak attacks and defenses
How can jailbreak attacks and defenses be tested on real deployed models, in more languages, with judges that can be trusted?
- Attack success is scored by LLM judges whose labels may be wrong. · 20 papers state it
- Defenses and adaptive attackers are rarely tested against each other. · 20 papers state it
- Most tests use English prompts only. · 10 papers state it
Closest papers by meaning
- JailPO: A Novel Black-Box Jailbreak Framework via Preference Optimization Against Aligned LLMs (AAAI 2025 · similarity 0.91)
- AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models (ICLR 2024 · similarity 0.91)
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024 · similarity 0.90)
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs (NeurIPS 2024 · similarity 0.90)
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models (NeurIPS 2024 · similarity 0.90)
- Injecting Universal Jailbreak Backdoors into LLMs in Minutes (ICLR 2025 · similarity 0.90)
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.