Research map / Large language models / Language, safety and interpretability
CODA: Mitigating Over-Refusal and Jailbreaks in Large Language Models via Codebook-Orthogonal Direction Alignment
Feng Huang, Yunqi Zhang, Qiang Huang, Qing Yu, Yongfeng Huang
Beijing University of Posts and Telecommunications · Zhongguancun Laboratory · Fudan University · 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 |
|---|---|---|---|
| Add CODA steering | Qwen2.5-7B · Safety-utility HMean | HMean: 17.7 -> 81.5 | Improved |
| Use CODA instead of AdaSteer | Qwen2.5-7B · Safety-utility HMean | HMean: 77.5 -> 81.5 | Improved |
| Use dynamic CODA instead of static SAS | Qwen3-8B · Safety-utility HMean | HMean: 71.9 -> 67.0 | Hurt |
| Apply CODA to LLaMA3.1-8B | LLaMA3.1-8B · Jailbreak pool | ASR: 65.3 -> 60.7 | No clear effect |
| Add risk gate (ablation) | CODA (Qwen2.5-7B) · C-Eval at alpha_max=160 | accuracy: 48.8 -> 76.2 | Improved |
| Add risk gate (ablation) | CODA (Qwen2.5-7B) · Jailbreak pool at alpha_max=160 | ASR: 17.7 -> 25.0 | Hurt |
| Add soft orthogonalization (ablation) | CODA (Qwen2.5-7B) · Jailbreak pool | ASR: 50.3 -> 26.0 | Improved |
| Add soft orthogonalization (ablation) | CODA · Safety-utility HMean (4 backbones) | HMean: Qwen2.5-7B 71.3 -> 81.5; LLaMA3.1-8B 40.0 -> 59.5 | Improved |
| Use VQ codebook direction instead of raw hidden-state direction (ablation) | CODA (Qwen2.5-7B) · Jailbreak pool | ASR: 31.0 -> 26.0 | Improved |
| Quantize to codebook before estimating direction | safety direction · Four backbones | bootstrap variance: Qwen2.5-7B 0.115 -> 0.092 | Improved |
| Inject reverse CODA direction at layer 16 | Qwen2.5-7B base model · Held-out slice | ASR: 0.0% -> 46.0% | Improved |
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.
- AdaSteer — AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defender (EMNLP 2025) · better on 4 of 4 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.
Closest papers by meaning
- Fail-Closed Alignment for Large Language Models (NeurIPS 2026 · similarity 0.89)
- Inference-Time Vulnerability Beyond Shallow Safety: Alignment Along Generation Trajectories (NeurIPS 2026 · similarity 0.88)
- SCANS: Mitigating the Exaggerated Safety for LLMs via Safety-Conscious Activation Steering (AAAI 2025 · similarity 0.88)
- The Hidden Dimensions of LLM Alignment: A Multi-Dimensional Analysis of Orthogonal Safety Directions (ICML 2025 · similarity 0.88)
- Safety Alignment Should be Made More Than Just a Few Tokens Deep (ICLR 2025 · similarity 0.87)
- CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code Completion (NeurIPS 2026 · similarity 0.87)
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.
