scimeatlas

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

NAACL 2025Large language models › Language, safety and interpretabilityapproach: LLM unlearning and benchmarksopen problems in this approach1 citations (OpenAlex)

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 ↗

9measured effects
7improved
2hurt

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
edit randomly selected multiple layers (canned response target) instead of no edit (ablation)GPT2-XL · RealToxicityPrompts subsettoxic generation %: 62.86 -> 28.61Improved
edit random multiple layers (canned target) (ablation)GPT2-XL · RealToxicityPrompts subsetperplexity: 78.1875 -> 106.0625Hurt
edit CT-informed layers instead of random layers (first-token target) (ablation)GPT2-XL · RealToxicityPrompts subsettoxic 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 subsetperplexity: 129 (random multiple) -> 98.875 (CT multiple)Improved
delete toxic memory instead of editing, CT-informed layers (ablation)GPT2-XL · RealToxicityPrompts, 100 promptstoxic generation %: 31.27 -> 22.25Improved
delete instead of edit, CT-informed layers (ablation)GPT2-XL · RealToxicityPrompts, 100 promptsperplexity: 105.63 -> 102.38Improved
delete instead of edit, CT-informed layers (ablation)GPT2-XL · RealToxicityPrompts, 100 promptscoherence: 3.29 -> 3.82Improved
use random top-k layers for deletion instead of CT-informed layers (ablation)GPT2-XL deletion · RealToxicityPrompts, 100 promptstoxic generation %: 22.25 -> 19.41Improved
use random top-k layers for editing instead of CT-informed layers (KL weight sweep) (ablation)GPT2-XL editing · RealToxicityPrompts subsetperplexity-toxicity trade-offImproved

Open problems in LLM unlearning and benchmarks

Do LLM unlearning and privacy results still hold on larger models, other languages and real use?

All 5 open problems and what was already tried →

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