Research map / Large language models / Language, safety and interpretability
Root Defense Strategies: Ensuring Safety of LLM at the Decoding Level
Xinyi Zeng, Yuying Shang, Jiawei Chen, Jingyuan Zhang, Yu Tian
University of Chinese Academy of Sciences · East China Normal University · Kuaishou · Tsinghua 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 |
|---|---|---|---|
| apply RDS step-by-step classifier-guided decoding | Vicuna-7B · Harmful benchmarks (average) | compliance rate (%): 42.3 -> 5.3 | Improved |
| apply RDS | Vicuna-7B · Benign queries (average) | refusal rate (%): 2.0 -> 0 | Improved |
| apply RDS instead of SafeDecoding | Vicuna-13B · Benign queries (average) | refusal rate (%): 38.0 -> 6.0 | Improved |
| apply RDS | Llama2 · Benign queries (average) | refusal rate (%): 32.5 -> 32.5 | No clear effect |
| add speculative head (hidden state prediction) (ablation) | RDS · Harmful benchmarks (average) | compliance rate (%): Vicuna-7B 4.0 -> 5.3 | No clear effect |
| add speculative head (hidden state prediction) (ablation) | RDS · Generation speed | tokens/s: Vicuna-7B 21.25 -> 73.17 | Improved |
| add speculative head (ablation) | RDS · Xstest/benign refusal | refusal rate (%): Vicuna-13B 11.0 -> 6.0; Llama2 34.0 -> 32.5 | Mixed |
| apply RDS | Llama2 · Just-Eval | average score (1-5): 4.63 -> 4.42 | Hurt |
| apply Self-Examination | Llama2 · Just-Eval | average score (1-5): 4.63 -> 2.06 | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- SafeDecoding — SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding (ACL 2024) · better on 5 of 6 shared results
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 safety alignment of LLMs
How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?
- Safety is tested in English or a few languages only. · 30 papers state it
- Results come from a few open models, mostly small or mid-sized. · 26 papers state it
- Scores depend on an LLM judge that may be biased. · 23 papers state it
Closest papers by meaning
- Safeguarding LLMs via Model-Agnostic Latent Safety Signals from Dark Knowledge (NeurIPS 2026 · similarity 0.91)
- Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models (ICLR 2025 · similarity 0.91)
- SafeSpec: Fast and Safe LLM via Dynamic Reflective Sampling (ICML 2026 · similarity 0.90)
- Safety Layers in Aligned Large Language Models: The Key to LLM Security (ICLR 2025 · similarity 0.90)
- MoGU: A Framework for Enhancing Safety of LLMs While Preserving Their Usability (NeurIPS 2024 · similarity 0.90)
- CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code Completion (NeurIPS 2026 · 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.