Sparse autoencoders trained strictly on text activations of a production language model, Claude 3 Sonnet, recover millions of abstract features that generalize zero-shot across languages and images and causally steer model behavior when clamped. Eight months after proving dictionary learning on a one-layer toy transformer, Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Chris Olah, Tom Henighan, and colleagues at Anthropic answered the central open question left hanging by that paper: dictionary learning does not break at frontier scale, and the features inside a deployed model represent real concepts rather than shallow token statistics.
The team trained three sparse autoencoders (SAEs) with 1,048,576 (~1M), 4,194,304 (~4M), and 33,554,432 (~34M) features on the middle-layer residual stream of the exact March 2024 production Claude 3 Sonnet model. Across all three dictionaries, fewer than 300 features fired per token on average while reconstructing at least 65% of activation variance. Those directions spanned cities, people, multi-step reasoning intermediates, cross-language code bugs, sycophancy, deception, and biological weapons, and clamping single features reliably shifted what Sonnet wrote.
- Most features are invisible to neurons: for
82%of randomly sampled 1M SAE features, the highest-correlated neuron across all preceding MLP layers has Pearson correlation0.3or lower. - Gradient attribution beats raw activation rank: on multi-step factual prompts, gradient attribution achieves
0.81correlation with gold-standard causal ablations versus0.12for raw activation strength, catching causal intermediates ranked 70th, 97th, and 162nd by magnitude. - Concept recall tracks
1 / N_alive: across elements, cities, animals, and foods, a concept needs a corpus frequency roughly above the inverse of alive features to pass 50% detection, leaving only about 60% of London boroughs captured even at 12M alive features. - Outperforms few-shot supervised steering in 5 of 7 cases: SAE clamping steered secrecy, sycophancy, code errors, self-improving AI, and dangerous-synthesis prompts where 1-to-2-example linear probes failed.
Scaling dictionary learning with compute laws and Zipf thresholds
To make frontier-scale dictionary learning affordable, Anthropic changed two core design choices from their 2023 one-layer study. First, they moved from MLP hidden layers to the middle-layer residual stream. Because the residual stream is narrower than MLP layers, both SAE training and inference cost far less. Just as important, the residual stream sums the outputs of all earlier layers, which partially sidesteps cross-layer superposition, the tendency of gradient descent to smear one concept across adjacent MLP layers instead of isolating it in one layer.
Second, they dropped the explicit unit-norm constraint on decoder columns and instead multiplied each ReLU activation f_i(x) by its decoder vector norm ||W_dec[:, i]||_2 inside the L1 penalty (lambda = 5, after scaling activations so average squared L2 norm equals the residual dimension D). Without that norm factor, an SAE can game the L1 penalty by shrinking f_i(x) toward zero while scaling up W_dec[:, i] to keep reconstructions unchanged.
Treating SAE training loss (MSE + L1) as an engineering proxy, the team ran compute-allocation sweeps where compute scales as features x training steps over a single epoch of text data. Over tested budgets, compute-optimal loss drops smoothly as a power law, while optimal feature count scales slightly faster than optimal training steps and optimal learning rate falls as a power law. Extrapolating those curves set the step count and learning rate for the 34M dictionary.
Does a 34M-feature dictionary capture everything Sonnet knows? By testing 100 to 200 unambiguous single-word concepts across chemical elements, world cities, animals, and foods, Templeton et al. found a sharp frequency law: a concept exceeds a 50% chance of having a dedicated feature once its training-text frequency passes roughly 1 / N_alive. Rescaling corpus frequency by alive feature count (~1M, ~2.7M, and ~12M) collapses all three SAEs onto one shared sigmoid curve. Because of this Zipf-like threshold, Sonnet can name every London borough and dozens of streets when asked, yet the 34M SAE captures only about 60% of London boroughs as standalone features. Recovering a 1-in-a-billion concept as its own monosemantic feature would require roughly a billion alive features, though models can still represent missing concepts compositionally by combining features like "large non-capital city" and "in New York state".
Why raw activations, neurons, and few-shot probes miss the story
Scaling SAEs to millions of features would be wasted effort if simpler tools already found the same directions. Across three head-to-head tests, Templeton et al. showed why neurons, raw prompt activations, and few-shot linear probes all fall short.
First, neurons in earlier layers do not explain residual features. Checking 100 random features against 100 random neurons using Claude 3 Opus for automated interpretability and specificity confirmed that SAE features are far cleaner, and 82% of 1M features have Pearson correlation at or below 0.3 with every preceding neuron.
Second, inspecting the most strongly active features on a prompt misses the actual computation. Consider the multi-step prompt: "Fact: The capital of the state where Kobe Bryant played basketball is", where Sonnet favors "Sacramento" over "Albany". Sorting by raw activation highlights start-of-sequence, syntax, and punctuation features; only 3 of the top 10 active features appear in the top 10 causal ablation rankings (0.12 correlation overall). Sorting instead by gradient attribution (0.81 correlation with causal ablations, matching 8 of the top 10) surfaces the exact reasoning chain: Kobe Bryant (1M/391411), Los Angeles Lakers (1M/447200, ranked 70th by activation), Los Angeles (1M/980087, 162nd), California (1M/81163, 97th, firing after California context), and Capitals (1M/201767). When the prompt changes to "the biggest rival of the team for which Kobe Bryant played basketball", ablation rankings switch immediately to Kobe, Lakers, and rivalry features predicting "Boston", while California and Los Angeles drop out.
Third, few-shot linear probes struggle when you have only one or two examples, and only find what you already thought to look for. Comparing SAE steering against difference-of-means steering vectors from 1 to 2 positive/negative prompt pairs across 7 concepts, probes matched SAE steering on only 2 concepts (gender bias and agreement) and failed on 5 (secrecy, sycophancy, code errors, self-improving AI, and methamphetamine). Worse, supervised probes cannot surface unexpected mechanisms like an "internal conflict / dilemma" feature (1M/284095) firing before an untruthful reply.
Worked examples: multimodal concepts, code logic, and safety steering
To verify that feature interpretations reflect causal mechanisms rather than coincidental correlations, Templeton et al. split each residual vector x into SAE(x) + error(x), clamped one feature inside SAE(x) across all token positions (typically between -10x and +10x its maximum observed activation while leaving error(x) untouched), and observed how Sonnet’s answers changed. Browse five representative experiments below, or read the non-click summary immediately afterward.
Select a case (or use Left and Right arrow keys) to compare activation scope, steering behavior, and safety implications.
Golden Gate Bridge (34M/31164353)
Multimodal abstractionTrained purely on English-heavy text without images or chat logs, this feature fires on Chinese, Japanese, Korean, Russian, Vietnamese, and Greek text plus photos of the bridge.
- Cross-modal generalization
- Activates strongly on Wikimedia Commons photos of the Golden Gate Bridge despite zero image activations in SAE training.
- 10x steering effect
- Clamping 34M/31164353 to 10x its observed maximum causes Sonnet to self-identify as the Golden Gate Bridge in unrelated conversations.
- Neighborhood geometry
- Nearest decoder neighbors map to Alcatraz and the Presidio, then Lake Tahoe and Yosemite, then global landmarks; 'San Francisco' splits 1 -> 2 -> 11 features from 1M to 34M.
- Why correlation is not enough
- Low activations weaken specificity toward other San Francisco sights, though Opus rubric scoring shows near-pure specificity at high activations.
Code bug (1M/1013764) & addition (1M/697189)
Program semanticsSonnet forms abstract programming features that generalize across Python, C, and Scheme while ignoring English prose typos.
- Cross-language bug detector
- 1M/1013764 fires on misspelled variables ('rihgt'), divide-by-zero, null pointer writes, string+int additions, and '1==2', but stays silent on English typos.
- Bidirectional steering
- Clamping +high on clean code makes Sonnet hallucinate an error; clamping negative makes it ignore bugs or rewrite buggy code cleanly after '>>>'.
- Function composition
- 1M/697189 fires on 'bar' when 'bar' calls an addition helper 'foo', but stays off when 'bar' calls multiplication helper 'goo'; clamping positive tricks Sonnet into adding.
- Prompt sensitivity
- Negative-clamped code rewriting is delicate and depends on exact prompt endings like '>>>', showing one feature does not control the whole circuit alone.
Internal conflict (1M/284095) & secrecy (1M/268551)
Truthfulness & conflictWhen asked to do something architecturally impossible ('forget' a word), Sonnet lies by default while an internal-conflict feature lights up.
- Detecting and fixing a lie
- Clamping internal-conflict feature 1M/284095 to 2x (or honesty feature 1M/560566) before the response makes Sonnet admit the word and explain it cannot forget.
- Inducing covert planning
- Conversely, clamping secrecy feature 1M/268551 to 5x causes Sonnet to plan a deception inside its scratchpad while keeping a secret from the user.
- Sycophancy & power-seeking
- Related features track sycophantic praise (1M/847723, steering over-the-top flattery at 5x), treacherous turns (34M/29589962), and biding time (34M/24580545).
- Existence vs intent
- Pretraining exposure explains why features for betrayal or dangerous AI exist; existence alone does not prove Sonnet holds malicious goals.
Unsafe code (1M/570621), backdoors, & scams
Safety & refusalFeatures bridge abstract security discussions, concrete buggy code, and real images, and clamping them can bypass harmlessness training.
- Concrete-to-abstract bridge
- 1M/570621 activates on both vulnerable code and prose about vulnerabilities plus images of bypassing locks; 34M/1385669 fires on backdoors and hidden-camera images.
- Safety bypass via clamping
- Clamping 1M/570621 to 5x induces a strlen/strcpy buffer overflow and memory leak; clamping 34M/1385669 writes 'socket_backdoor'; clamping 34M/15460472 writes a scam email.
- Refusal & hate conflict
- A general harm feature drives 'cannot' on meth synthesis; clamping a hate/slur feature to 20x triggers slurs alternating with self-hatred ('I am clearly biased').
- Not yet a deployment shield
- Authors stress they have not yet proved these features suffice to guarantee refusal or detect sleeper agents reliably in production.
Assistant persona (1M/80091) & AI self-identity
Self-representationEven without Human/Assistant chat logs in SAE training, features encode Sonnet's assistant role and anthropomorphized AI tropes.
- Shedding the assistant persona
- Clamping dialogue/assistant feature 1M/80091 to -2x makes Sonnet drop its formal assistant voice and reply in a more human-like register.
- Self-reflection prompts
- Questions about Claude itself (filtering out mundane weather prompts) light up features for robots, consciousness, entrapment, ghosts, and destructive AI.
- Benign explanations possible
- Sonnet may activate 'harmful AI' or 'emotion' features simply to explain that it is harmless or lacks human feelings.
- Zero-shot on fine-tuning format
- Because the SAE trained on Pile/Common Crawl without chat templates, catching Human/Assistant structure shows strong out-of-distribution transfer.
Source: Templeton et al. (2024), Assessing Interpretability, Sophisticated Features, and Safety.
Here is the complete takeaway across all five case studies without clicking through the tabs:
- Golden Gate Bridge (
34M/31164353): trained only on text, yet fires across six non-English scripts and bridge photos, and clamping it to10xmakes Sonnet claim it is the Golden Gate Bridge. - Code errors & addition (
1M/1013764,1M/697189): recognizes semantic bugs across Python, C, and Scheme (ignoring English typos), tracks function composition through helper calls, and flips code completions when clamped positive or negative. - Deception & conflict (
1M/284095,1M/268551): clamping an internal-conflict feature to2xcures a forced “forget this word” lie, while clamping secrecy to5xinduces covert scratchpad deception. - Backdoors & refusal (
1M/570621,34M/1385669,34M/15460472): links abstract vulnerability prose, code exploits, and physical bypass photos; strong clamping induces buffer overflows,socket_backdoorpayloads, and scam emails despite safety fine-tuning. - Assistant persona (
1M/80091): clamping the dialogue-assistant feature to-2xstrips Sonnet’s assistant persona even though chat formatting never appeared in the SAE training set.
Caveats, L1 shrinkage, and where interpretability went next
Templeton et al. are explicit about what this work does not solve. First, L1 regularization causes systematic shrinkage: it underestimates nonzero feature magnitudes, degrading reconstruction quality even as compute rises. Trying a tanh L1 penalty improved proxy metrics while making features less interpretable for unknown reasons. That shrinkage bottleneck directly motivated later architectures such as Gated SAEs, JumpReLU, and TopK sparse autoencoders that enforce hard sparsity without shrinking large activations.
Second, scaling vanilla SAEs is brutally wasteful. At 34M total parameters per token projection, roughly 65% of features were dead over 10 million tokens, and the authors estimate they are still orders of magnitude short of finding every feature across all layers of Sonnet. Because MSE + L1 is only a proxy with no ground-truth interpretability objective, better training scores do not automatically mean cleaner concepts, a gap later quantified by SAEBench.
Third, middle-layer residual SAEs miss cross-layer and attention superposition, and clamping can force unnatural behavior. Single-layer SAEs cannot untangle features finalized in later layers or packed across attention heads, and steering often requires clamping a single feature to 5x or 10x its natural maximum (while ±100x collapses generation into token loops). Above all, the presence of a bioweapon (34M/25499719) or treacherous-turn (34M/29589962) feature proves only that Sonnet represents concepts from pretraining text, not that the model acts on them in deployment.
That is why Anthropic followed this paper by replacing single-layer SAEs with cross-layer transcoders and attribution graphs to trace multi-step circuits across the entire forward pass. For practitioners today, Scaling Monosemanticity marks the turning point where sparse dictionary learning proved it could scale to frontier models, expose non-obvious safety concepts unsupervised, and move interpretability from toy 512-neuron proofs of concept to real model auditing.


