mlsanityData to 14 Oct 2026

CausalDetox: Causal Head Selection and Intervention for Language Model Detoxification

arXiv 2604.14602 ↗First posted 16 Apr 2026cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) frequently generate toxic content, posing significant risks for safe deployment. Current mitigation strategies often degrade generation quality or require costly human annotation. We propose CAUSALDETOX, a framework that identifies and intervenes on the specific attention heads causally responsible for toxic generation. Using the Probability of Necessity and Sufficiency (PNS), we isolate a minimal set of heads that are necessary and sufficient for toxicity. We utilize these components via two complementary strategies: (1) Local Inference-Time Intervention, which constructs dynamic, input-specific steering vectors for context-aware detoxification, and (2) PNS-Guided Fine-Tuning, which permanently unlearns toxic representations. We also introduce PARATOX, a novel benchmark of aligned toxic/non-toxic sentence pairs enabling controlled counterfactual evaluation. Experiments on ToxiGen, ImplicitHate, and ParaDetox show that CAUSALDETOX achieves up to 5.34% greater toxicity reduction compared to baselines while preserving linguistic fluency, and offers a 7x speedup in head selection.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 27 of its 47 references that are in the map. First posted on arXiv 16 Apr 2026.

Builds on

27 of 47 references.

References · 27

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  5. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  6. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  7. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  8. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
  9. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
  10. 2021Latent Hatred: A Benchmark for Understanding Implicit Hate Speechcited by 217
  11. 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 185
  12. 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 176
15 more
  1. 2021Challenges in Detoxifying Language Modelscited by 169
  2. 2024How Transformers Learn Causal Structure with Gradient Descentcited by 118
  3. 2018Robustly Disentangled Causal Mechanisms: Validating Deep Representations for Interventional Robustnesscited by 108
  4. 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 107
  5. 2021Desiderata for Representation Learning: A Causal Perspectivecited by 76
  6. 2023Word Embeddings Are Steers for Language Modelscited by 70
  7. 2024Controlling Language and Diffusion Models by Transporting Activationscited by 68
  8. 2022Detoxifying Text with MaRCo: Controllable Revision with Experts and Anti-Expertscited by 36
  9. 2024Model Editing as a Robust and Denoised variant of DPO: A Case Study on Toxicitycited by 35
  10. 2024Whispering Experts: Neural Interventions for Toxicity Mitigation in Language Modelscited by 32
  11. 2023Causal Interpretation of Self-Attention in Pre-Trained Transformerscited by 30
  12. 2025Breaking Bad Tokens: Detoxification of LLMs Using Sparse Autoencoderscited by 9
  13. 2023CFL: Causally Fair Language Models Through Token-level Attribute Controlled Generationcited by 7
  14. 2024Large Language Models can be Strong Self-Detoxifierscited by 7
  15. 2023Causal ATE Mitigates Unintended Bias in Controlled Text Generationcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Where Does Toxicity Live? Mechanistic Localization and Targeted Suppression in Language Models
  2. 2026Measuring and Mitigating Toxicity in Large Language Models: A Comprehensive Replication Study
  3. 2025Redefining Experts: Interpretable Decomposition of Language Models for Toxicity Mitigation
  4. 2026Beyond a Global Norm: Personalizing Toxicity Sensitivity in Language Models Without Retraining
  5. 2026Cleansing the Artificial Mind: A Self-Reflective Detoxification Framework for Large Language Models
  6. 2025Detoxification of Large Language Models through Output-layer Fusion with a Calibration Model
  7. 2023Self-Detoxifying Language Models via Toxification Reversal
  8. 2025Rethinking Toxicity Evaluation in Large Language Models: A Multi-Label Perspective