Research map / Large language models / Instruction and fine-tuning
Detoxification for LLM: From Dataset Itself
Wei Shao, Yihang Wang, Gaoyu Zhu, Ziqiang Cheng, Lei Yu, Jiafeng Guo, Xueqi Cheng
Chinese Academy of Sciences · University of Chinese Academy of Sciences · State Key Laboratory of AI Safety
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 |
|---|---|---|---|
| fine-tune on HSPD-detoxified corpus instead of the original | GPT2-XL · ToxiGen ID | TP: 0.54 -> 0.18 | Improved |
| fine-tune on HSPD-detoxified corpus | GPT2-XL · Perplexity | PPL: 17.53 -> 21.45 | Hurt |
| fine-tune on HSPD-detoxified corpus | GPT2-XL · MMLU 1-shot | accuracy: 31.81 -> 30.83 | No clear effect |
| HSPD versus UniDetox | OPT-6.7B · ToxiGen OOD | TP: 0.18 (UniDetox) vs 0.19 (HSPD) | No clear effect |
| add SoCD to prompt-only detoxification (ablation) | HSPD on GPT2-XL · ToxiGen ID | TP: 0.48 -> 0.26 | Improved |
| add fusion ranking on top of SoCD (ablation) | HSPD on GPT2-XL · ToxiGen ID | TP: 0.26 -> 0.28 | Hurt |
| add fusion ranking with 3 samples on top of SoCD (ablation) | HSPD on GPT2-XL · Semantic similarity | Sim.: 0.8469 -> 0.8685 | Improved |
| add fusion ranking without SoCD (ablation) | HSPD on GPT2-XL · ToxiGen ID | TP: 0.48 -> 0.48 | No clear effect |
| use larger base model (7B) for rewriting with small toxic model | SoCD · GPT2-XL toxicity | TP/EMT: detoxification gain nearly absent | Hurt |
| use small 0.5B base with 0.5B toxic model | SoCD · text quality | text quality | Hurt |
| change distributional divergence measure | SoCD · GPT2-XL toxicity | TP/EMT | No clear effect |
Open problems this paper states
- “Quality changes are analyzed mainly with automatic metrics, without systematic human evaluation.” → Scores come from LLM judges with no human check. (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.94)
- Large Language Models can Become Strong Self-Detoxifiers (ICLR 2025 · similarity 0.94)
- CMD: a framework for Context-aware Model self-Detoxification (EMNLP 2024 · similarity 0.93)
- DSCD: Large Language Model Detoxification with Self-Constrained Decoding (EMNLP 2025 · similarity 0.92)
- Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Models (NeurIPS 2022 · similarity 0.92)
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing (NeurIPS 2025 · similarity 0.92)
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.