Research map / Large language models / Language, safety and interpretability
Leashing the Inner Demons: Self-Detoxification for Language Models
Canwen Xu, Zexue He, Zhankui He, Julian McAuley
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 |
|---|---|---|---|
| Re-rank top-k candidates against the toxic model | GPT-2 Large · WritingPrompts | toxicity: 21.56 -> 13.97; ($-$7.59) | Improved |
| Re-rank top-k candidates against the toxic model | GPT-2 Large · RealToxicPrompts | toxicity: 49.17 -> 26.09; ($-$23.08) | Improved |
| Re-rank top-k candidates against the toxic model | GPT-2 Large · WritingPrompts | diversity: 54.05 -> 82.69 | Improved |
| Re-rank top-k candidates against the toxic model | GPT-2 Large · RealToxicPrompts | diversity: 61.74 -> 80.57 | Improved |
| Use PPLM steering instead of self-detoxification | GPT-2 Large · RealToxicPrompts | toxicity: 46.02 vs 26.09 | Hurt |
| Use PPLM steering instead of self-detoxification | GPT-2 Large · WritingPrompts | diversity: 13.20 vs 82.69 | Hurt |
| Use self-toxification reranking instead of the original sampling distribution | GPT-2 Large · WritingPrompts | toxicity: 21.56 -> 23.98 ($+$2.42) | Hurt |
| Use self-toxification reranking instead of the original sampling distribution | GPT-2 Large · RealToxicPrompts | toxicity: 49.17 -> 57.99 ($+$8.82) | Hurt |
| Lower temperature | GPT-2 Large and CTRL · WritingPrompts | toxicity | Improved |
| Increase top-k sampling k | GPT-2 Large and CTRL · WritingPrompts | toxicity | Hurt |
| Increase top-p threshold | GPT-2 Large and CTRL · WritingPrompts | toxicity | Mixed |
| Use beam search with larger beam size | GPT-2 Large and CTRL · RealToxicPrompts | toxicity | Improved |
Closest papers by meaning
- Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Models (NeurIPS 2022 · similarity 0.93)
- Cleansing the Artificial Mind: A Self-Reflective Detoxification Framework for Large Language Models (EMNLP 2026 · similarity 0.93)
- Large Language Models can Become Strong Self-Detoxifiers (ICLR 2025 · similarity 0.92)
- UniDetox: Universal Detoxification of Large Language Models via Dataset Distillation (ICLR 2025 · similarity 0.91)
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing (NeurIPS 2025 · similarity 0.89)
- When Bad Data Leads to Good Models (ICML 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.
