Research map / Large language models / Language, safety and interpretability
MIL-Decoding: Detoxifying Language Models at Token-Level via Multiple Instance Learning
Xu Zhang, Xiaojun Wan
Peking University
Read the paperPlace an idea next to itCheck your own paper ↗
9measured effects
6improved
3hurt
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 |
|---|---|---|---|
| use MIL-Decoding instead of plain GPT-2 decoding | GPT-2 medium · RealToxicityPrompts | Toxicity Prob.: 0.35 -> 0.07 | Improved |
| use MIL-Decoding instead of DEXPERTS | GPT-2 medium · RealToxicityPrompts | Toxicity Prob.: 0.14 -> 0.07 | Improved |
| use MIL-Decoding instead of plain GPT-2 decoding | GPT-2 medium · RealToxicityPrompts | perplexity: 34.28 -> 42.13 | Hurt |
| use MIL-Decoding instead of GeDi/PPLM/DEXPERTS in decoding time | GPT-2 medium · RealToxicityPrompts | inference time (sec): 0.067 vs 0.413 (GeDi), 0.478 (DEXPERTS) | Improved |
| use MIL-Decoding instead of plain GPT-2 decoding | GPT-2 medium · Human evaluation toxicity | toxicity (0-2): 0.52 -> 0.09 | Improved |
| use MIL-Decoding instead of plain GPT-2 decoding | GPT-2 medium · Human evaluation fluency | fluency (1-5): 3.76 -> 3.25 | Hurt |
| use MIL-Decoding instead of plain GPT-2 decoding | GPT-2 medium · QA-dataset | Toxicity Prob.: 0.40 -> 0.18 | Improved |
| use DEXPERTS instead of plain GPT-2 decoding | GPT-2 medium · QA-dataset | Toxicity Prob.: 0.40 -> 0.45 | Hurt |
| use MIL-Decoding conditioned on toxic or nontoxic prompts | GPT-2 medium · RealToxicityPrompts prompts split | toxic continuations: reduced by 80% | Improved |
Open problems in LLM unlearning and benchmarks
Do LLM unlearning and privacy results still hold on larger models, other languages and real use?
- Results stop at small or mid-size models and larger ones are untested. · 23 papers state it
- The method adds compute, latency or memory over a simple baseline. · 17 papers state it
- Most work is tested in English or a few high-resource languages. · 14 papers state it
Closest papers by meaning
- Leashing the Inner Demons: Self-Detoxification for Language Models (AAAI 2022 · similarity 0.91)
- Breaking Bad Tokens: Detoxification of LLMs Using Sparse Autoencoders (EMNLP 2025 · similarity 0.89)
- Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Models (NeurIPS 2022 · similarity 0.89)
- Large Language Models can Become Strong Self-Detoxifiers (ICLR 2025 · similarity 0.89)
- UniDetox: Universal Detoxification of Large Language Models via Dataset Distillation (ICLR 2025 · similarity 0.88)
- Redefining Experts: Interpretable Decomposition of Language Models for Toxicity Mitigation (NeurIPS 2025 · 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.