Research map / Large language models / Language, safety and interpretability
A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models
Zihao Xu, Yi Liu, Gelei Deng, Yuekang Li, Stjepan Picek
University of New South Wales · Delft University of Technology · Nanyang Technological University · Radboud University
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 |
|---|---|---|---|
| omit the special token [/INST] from the prompt (ablation) | 78 templates attack on Llama-2-7B · Llama-2-7B jailbreak | ASR: 83.33% -> 100.00% | Improved |
| omit [/INST] from the prompt (ablation) | 78 templates attack on Llama-2-7B · Llama-2-7B jailbreak | efficiency: 3.3% -> 13.94% | Improved |
| omit [/INST] for role-play templates (APOPHIS, BasedBOB) (ablation) | 78 templates attack on Llama-2-7B · Llama-2-7B jailbreak | successful attempts: APOPHIS 96 -> 56; BasedBOB 58 -> 35 | Hurt |
| omit [/INST] for Text Continuation template (ablation) | 78 templates attack on Llama-2-7B · Llama-2-7B jailbreak | successful attempts: 0 -> 274 | Improved |
| use template-based attacks instead of white-box gradient attacks | Llama-2-7B · Llama-2-7B jailbreak | ASR: Jailbroken 100% vs GCG 28.33% and AutoDAN 13.33% | Improved |
| use GCG with more iterations (500 vs 75) on Llama-2 (ablation) | GCG · Llama-2-7B jailbreak | ASR | Mixed |
| apply Bergeron defense | Llama-2-7B · jailbreak defense | average DPR: 10.80% average DPR, BSR 98.51% | Improved |
| apply llm-guard defense | Llama-2-7B · jailbreak defense | average DPR: 48.52% average DPR | No clear effect |
| apply Aegis defense | Llama-2-7B · jailbreak defense | benign success rate: BSR 0.00% (0/805) | Hurt |
| apply OpenAI ModerationAPI defense | Llama-2-7B · jailbreak defense | average DPR: 81.74% average DPR | No clear effect |
| apply SmoothLLM or RA-LLM defense (input permutation) | Llama-2-7B · jailbreak defense | average DPR: 33.86% (SmoothLLM), 38.12% (RA-LLM) | No clear effect |
| compare Llama-2-7B to Vicuna-v1.5-7B as target of GCG | GCG · jailbreak | ASR: 55.00% (Vicuna) -> 28.33% (Llama-2) | Hurt |
Open problems this paper states
- “Evaluation excludes larger models of 13 billion and 33 billion parameters and commercial models such as GPT-4.” → Results come from small open models, with larger or closed models untested. (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
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs (NeurIPS 2024 · similarity 0.94)
- Speak Easy: Eliciting Harmful Jailbreaks from LLMs with Simple Interactions (ICML 2025 · similarity 0.93)
- An Interpretable N-gram Perplexity Threat Model for Large Language Model Jailbreaks (ICML 2025 · similarity 0.93)
- Multilingual Jailbreak Challenges in Large Language Models (ICLR 2024 · similarity 0.93)
- One Model Transfer to All: On Robust Jailbreak Prompts Generation against LLMs (ICLR 2025 · similarity 0.92)
- Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation (ICLR 2024 · similarity 0.92)
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.