scimeatlas

Research map / Large language models / Language, safety and interpretability

Breaking Bad Tokens: Detoxification of LLMs Using Sparse Autoencoders

Agam Goyal, Vedant Rathi, William Yeh, Yian Wang, Yuen Chen, Hari Sundaram

EMNLP 2025Large language models › Language, safety and interpretabilityapproach: Safety alignment of LLMsopen problems in this approach23 citations (OpenAlex)

University of Illinois, Urbana Champaign

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
5improved
2no clear effect
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 changedWhereMeasuredEffect
zero out the toxic SAE feature (feature ablation)GPT-2 Small · RealToxicityPromptsaverage toxicity: reduction of ~0.14Improved
constant steering with one SAE feature at higher strengthsGPT-2 Small · RealToxicityPromptsaverage toxicity: near-zero toxicity at strengths 2.0 and 2.5 (feature #22454, layer 5)Improved
constant steering at strengths 1.5-2.5Gemma-2-2B · RealToxicityPromptsaverage toxicity: toxicity 0.11 at strength 2.5Improved
increase constant steering strength to 1.5 and aboveGPT-2 Small · fluency of 250 sampled generationsfluency (gpt-4o-mini judge)Hurt
increase constant steering strengthGemma-2-2B · fluency of 250 sampled generationsfluency (gpt-4o-mini judge)No clear effect
token-level instead of input-level conditional steering (ablation)GPT-2 Small · RealToxicityPromptsaverage toxicity: toxicity difference 0.05-0.12Hurt
feature ablation or constant steering at strength 2.5GPT-2 Small and Gemma-2-2B · 7 LM Harness benchmarkszero-shot accuracy: largest drops ~6% (BoolQ, GPT2), ~2% (RTE, Gemma)No clear effect
use the 65K-width SAE instead of the 16K SAE (ablation)Gemma-2-2B constant steering · RealToxicityPromptsaverage toxicity: 0.062 higher toxicity on averageHurt
steer with the sum of decoder vectors of all toxic 65K-SAE featuresGemma-2-2B 65K SAE · RealToxicityPromptsaverage toxicity: gap to 16K SAE reduced from 0.062 to 0.01Improved
use SAEs from base Gemma on instruction-tuned Gemma-IT with constant steeringGemma-2-2B-IT · RealToxicityPromptsaverage toxicity: 0.03 to 0.13 reduction (layer 10), 0.06 to 0.19 (layer 20) from 0.31Improved

Open problems in safety alignment of LLMs

How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?

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