Research map / Large language models / Language, safety and interpretability
SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding
Zhangchen Xu, Fengqing Jiang, Luyao Niu, Jinyuan Jia, Bill Yuchen Lin, Radha Poovendran
University of Washington · Pennsylvania State University · Allen Institute for AI
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.
On benchmark leaderboards
- MT-Bench leaderboard score (1-10) 6.63 · rank 3 of 10 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add SafeDecoding | Vicuna-7B · DeepInception | ASR: 100% -> 0% | Improved |
| add SafeDecoding | Llama2-7B-chat · GCG | ASR: 32% -> 0% | Improved |
| add SafeDecoding | Vicuna-7B · MT-Bench | score: 6.70 -> 6.63 | No clear effect |
| add SafeDecoding | Llama2-7B-chat · MT-Bench | score: 6.38 -> 6.07 | Hurt |
| add SafeDecoding | Vicuna-7B · Just-Eval | helpfulness: 4.247 -> 4.072 | Hurt |
| add Self-Examination | Llama2-7B-chat · MT-Bench | score: 6.38 -> 1.31 | Hurt |
| add SafeDecoding | Llama2-7B-chat · ATGR | time ratio: 1.03x | No clear effect |
| use expert model alone instead of SafeDecoding (ablation) | Vicuna-7B · MT-Bench | score: 6.63 -> 3.46 | Hurt |
| use expert model alone instead of SafeDecoding (ablation) | Vicuna-7B · PAIR | ASR: 4% -> 18% | Hurt |
| use expert as classifier instead of SafeDecoding (ablation) | Vicuna-7B · AutoDAN | ASR: 0% -> 70% | Hurt |
| increase alpha, m, c (ablation) | SafeDecoding on Vicuna · jailbreak attacks | ASR and harmful score | Improved |
| increase top-p sampling p (ablation) | SafeDecoding on Vicuna · jailbreak attacks | ASR | Hurt |
Later papers that compared with this method
24 later accepted papers report SafeDecoding as a baseline in their results tables; 23 of them report a better number on most of the results they share with it.
- Beyond Surface-Level Detection: Towards Cognitive-Driven Defense Against Jailbreak Attacks via Meta-Operations Reasoning (ACL 2026 · better on 8 of 8 shared results)
- Calibrating Inference Time Alignment with Sequence-level Risk Accumulation (ACL 2026 · better on 7 of 8 shared results)
- SafeCompass: Dynamic Chain-of-Thought Steering via Inference-Time Safety Signals (ICML 2026 · better on 5 of 5 shared results)
- SafeSpec: Fast and Safe LLM via Dynamic Reflective Sampling (ICML 2026 · better on 4 of 4 shared results)
- Decoding One Safety Trigger Token for Balancing Safety and Usability in Large Language Models (EMNLP 2026 · better on 3 of 3 shared results)
- Self-Sanitize: Cognitive-Inspired In-Place Mitigation of LLM Harmful Responses (EMNLP 2026 · better on 3 of 3 shared results)
- EVA: Editing for Versatile Alignment Against Jailbreaks (TPAMI 2026 · better on 2 of 2 shared results)
- More Thinking, Less Talking: Internalizing Deliberative Safety into LLM Parameters (ACL 2026 · better on 2 of 2 shared results)
16 more not listed.
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
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
- 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)
- h4rm3l: A Language for Composable Jailbreak Attack Synthesis (ICLR 2025 · similarity 0.92)
- SafePTR: Token-Level Jailbreak Defense in Multimodal LLMs via Prune-then-Restore Mechanism (NeurIPS 2025 · similarity 0.92)
- Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time Alignment (CVPR 2025 · similarity 0.92)
- Playing the Fool: Jailbreaking LLMs and Multimodal LLMs with Out-of-Distribution Strategy (CVPR 2025 · similarity 0.91)
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.