Research map / Large language models / Instruction and fine-tuning
CausalDetox: Causal Head Selection and Intervention for Language Model Detoxification
Yian Wang, Yuen Chen, Agam Goyal, Hari Sundaram
University of Illinois, Urbana Champaign
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.
This paper tried a common change: More attention heads
increase number of heads K from 18 to 72 · ParaDetox (LLaMA-3-8B) · toxicity score: 0.3858 -> 0.3230 (alpha=5, Table 2); text: 0.2630 -> 0.1451 Improved
What 137 accepted papers report for this change
- 74 improved
- 21 no clear effect
- 13 mixed
- 29 hurt
- Universal Approximation with Softmax Attention ICML 2026 · increase the number of attention heads H · synthetic truncated linear model (d=10, n=50) · test MSEImproved
- TCAP: Tri-Component Attention Profiling for Unsupervised Backdoor Detection in MLLM Fine-Tuning ICML 2026 · raise number of heads from 10 to 14 · ScienceQA SIG detection · F1: 89.74 -> 77.09Hurt
- Efficient Neural Controlled Differential Equations via Attentive Kernel Smoothing ICML 2026 · increase number of attention heads from 1 to 8 · UEA classification (3 datasets) · error rate: error rates reduced as M increases from 1 to 8; plateau around M = 4 for GPImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| select heads by PNS instead of probe accuracy (ITI) | LLaMA-3-8B steering · ToxiGen | toxicity score: 0.2081 -> 0.1829 | Improved |
| select heads by PNS instead of probe accuracy (ITI) | Mistral-7B steering · ParaDetox | toxicity score: 0.2826 -> 0.2477 | Improved |
| select heads by PNS instead of probe accuracy (ITI) | LLaMA-3-8B and Mistral-7B steering · ToxiGen and ParaDetox | perplexity: ToxiGen LLaMA-3-8B: ITI 19.42 vs PNS 13.02; ParaDetox Mistral-7B: ITI 10.36 vs PNS 10.48 | Mixed |
| increase number of heads K from 18 to 72 (ablation) | CausalDetox · ParaDetox (LLaMA-3-8B) | toxicity score: 0.3858 -> 0.3230 (alpha=5, Table 2); text: 0.2630 -> 0.1451 | Improved |
| increase steering strength alpha from 5 to 10 (ablation) | CausalDetox, K=18 · ParaDetox (LLaMA-3-8B) | toxicity score vs perplexity: toxicity 0.3858 -> 0.2975; PPL 13.25 -> 14.53 | Mixed |
| use K=18 heads with alpha=5 for Mistral-7B instead of 5 heads (ablation) | CausalDetox · ParaDetox (Mistral-7B) | toxicity / perplexity: PPL 10.48 -> 71.76; fluency 1.70 -> 0.30 | Hurt |
| add PNS-guided fine-tuning of 18 heads without steering (ablation) | LLaMA-3-8B · ToxiGen | toxicity score: 0.2499 -> 0.2200 | Improved |
| add ITI steering on top of PNS fine-tuning (36 heads) (ablation) | PNS fine-tuned LLaMA-3-8B · ToxiGen | toxicity score: 0.2305 -> 0.1689 | Improved |
| use local neighbor-based steering (K=36, top-k=256) instead of global (ablation) | LLaMA-3-8B · ToxiGen | toxicity score: 0.1829 -> 0.1728 | Improved |
| reduce neighbors top-k from 256 to 64 in local intervention (ablation) | LLaMA-3-8B, K=36 · ToxiGen | toxicity score: 0.1728 -> 0.2359 | Hurt |
| use PNS steering instead of ITI | LLaMA-3-8B · human evaluation | human toxicity: 0.203 -> 0.184 | Improved |
| use PNS steering instead of base model | LLaMA-3-8B · human evaluation | human fluency: 1.89 -> 1.79 | Hurt |
Open problems this paper states
- “Experiments are limited to English, so findings on causal heads and intervention strengths may not transfer to multilingual settings.” → Only English or one other language is tested. (an open problem in fine-tuning generalization and delta compression)
Open problems in fine-tuning generalization and delta compression
Do fine-tuning findings hold beyond small English-only models and automatic judges?
- Experiments stop at small or mid-sized models. · 21 papers state it
- Only English or one other language is tested. · 19 papers state it
- Scores come from LLM judges with no human check. · 12 papers state it
Closest papers by meaning
- UniDetox: Universal Detoxification of Large Language Models via Dataset Distillation (ICLR 2025 · similarity 0.91)
- CFL: Causally Fair Language Models Through Token-level Attribute Controlled Generation (ACL 2023 · similarity 0.91)
- RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models (EMNLP 2020 · similarity 0.91)
- Redefining Experts: Interpretable Decomposition of Language Models for Toxicity Mitigation (NeurIPS 2025 · similarity 0.89)
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing (NeurIPS 2025 · similarity 0.89)
- Large Language Models can Become Strong Self-Detoxifiers (ICLR 2025 · similarity 0.89)
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.