AI Paper Atlas

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

AAAI 2022 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 14 citations (OpenAlex) · University of California, San Diego

Read the 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 changedWhereMeasuredEffect
Re-rank top-k candidates against the toxic modelGPT-2 Large · WritingPromptstoxicity: 21.56 -> 13.97; ($-$7.59)Improved
Re-rank top-k candidates against the toxic modelGPT-2 Large · RealToxicPromptstoxicity: 49.17 -> 26.09; ($-$23.08)Improved
Re-rank top-k candidates against the toxic modelGPT-2 Large · WritingPromptsdiversity: 54.05 -> 82.69Improved
Re-rank top-k candidates against the toxic modelGPT-2 Large · RealToxicPromptsdiversity: 61.74 -> 80.57Improved
Use PPLM steering instead of self-detoxificationGPT-2 Large · RealToxicPromptstoxicity: 46.02 vs 26.09Hurt
Use PPLM steering instead of self-detoxificationGPT-2 Large · WritingPromptsdiversity: 13.20 vs 82.69Hurt
Use self-toxification reranking instead of the original sampling distributionGPT-2 Large · WritingPromptstoxicity: 21.56 -> 23.98 ($+$2.42)Hurt
Use self-toxification reranking instead of the original sampling distributionGPT-2 Large · RealToxicPromptstoxicity: 49.17 -> 57.99 ($+$8.82)Hurt
Lower temperatureGPT-2 Large and CTRL · WritingPromptstoxicityImproved
Increase top-k sampling kGPT-2 Large and CTRL · WritingPromptstoxicityHurt
Increase top-p thresholdGPT-2 Large and CTRL · WritingPromptstoxicityMixed
Use beam search with larger beam sizeGPT-2 Large and CTRL · RealToxicPromptstoxicityImproved

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy