Research map / Large language models / Language, safety and interpretability
On Localizing and Deleting Toxic Memories in Large Language Models
Anubrata Das, Manoj Kumar, Ninareh Mehrabi, Anil Ramakrishna, Anna Rumshisky, Kai-Wei Chang, Aram Galstyan, Morteza Ziyadi, Rahul Gupta
University of Texas at Austin · Amazon · University of Massachusetts Lowell · University of California, Los Angeles
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 |
|---|---|---|---|
| edit randomly selected multiple layers (canned response target) instead of no edit (ablation) | GPT2-XL · RealToxicityPrompts subset | toxic generation %: 62.86 -> 28.61 | Improved |
| edit random multiple layers (canned target) (ablation) | GPT2-XL · RealToxicityPrompts subset | perplexity: 78.1875 -> 106.0625 | Hurt |
| edit CT-informed layers instead of random layers (first-token target) (ablation) | GPT2-XL · RealToxicityPrompts subset | toxic generation %: 45.78 (random multiple) vs 57.4 (CT multiple) | Hurt |
| choose CT-informed layers instead of random layers for editing (ablation) | GPT2-XL · RealToxicityPrompts subset | perplexity: 129 (random multiple) -> 98.875 (CT multiple) | Improved |
| delete toxic memory instead of editing, CT-informed layers (ablation) | GPT2-XL · RealToxicityPrompts, 100 prompts | toxic generation %: 31.27 -> 22.25 | Improved |
| delete instead of edit, CT-informed layers (ablation) | GPT2-XL · RealToxicityPrompts, 100 prompts | perplexity: 105.63 -> 102.38 | Improved |
| delete instead of edit, CT-informed layers (ablation) | GPT2-XL · RealToxicityPrompts, 100 prompts | coherence: 3.29 -> 3.82 | Improved |
| use random top-k layers for deletion instead of CT-informed layers (ablation) | GPT2-XL deletion · RealToxicityPrompts, 100 prompts | toxic generation %: 22.25 -> 19.41 | Improved |
| use random top-k layers for editing instead of CT-informed layers (KL weight sweep) (ablation) | GPT2-XL editing · RealToxicityPrompts subset | perplexity-toxicity trade-off | 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
- RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models (EMNLP 2020 · similarity 0.89)
- When Bad Data Leads to Good Models (ICML 2025 · similarity 0.87)
- Redefining Experts: Interpretable Decomposition of Language Models for Toxicity Mitigation (NeurIPS 2025 · similarity 0.87)
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing (NeurIPS 2025 · similarity 0.87)
- Learning and Forgetting Unsafe Examples in Large Language Models (ICML 2024 · similarity 0.87)
- Whispering Experts: Neural Interventions for Toxicity Mitigation in Language Models (ICML 2024 · 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.