Skip to content
All papers

Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet

AnthropicTempleton et al., 202416 min readRead the paper2024-05

Anthropic scaled sparse autoencoders from a one-layer toy transformer to a production model, Claude 3 Sonnet, training dictionaries of roughly 1M, 4M and 34M features on a middle-layer residual stream. They found features that are abstract, multilingual and multimodal, showed that clamping features changes behavior in matching ways, and catalogued safety-relevant features while being careful to say that a feature existing is not evidence the model acts on it.

Ready to ace your system design interview?

This article is just one piece. StackSweep gives you structured, interview-focused practice across every topic that comes up in senior engineering rounds.

  • 1,000+ quiz questions across system design and ML/AI
  • Spaced repetition to lock in what you learn
  • Full case study walkthroughs of real interview topics
  • Track streaks, XP, and progress over time

TL;DR

  • Sparse autoencoders (SAEs) trained on the middle-layer residual stream of Claude 3 Sonnet produce many features that humans can interpret, showing the method works on a production model.
  • The authors fit scaling laws for SAE training to choose dictionary size and training length for a compute budget, treating SAE training as an engineering problem.
  • Features are often abstract: the same feature responds to a concept across languages and to both text and images, and many features are more specific than individual neurons.
  • Clamping a feature to a high value steers the model; the Golden Gate Bridge feature made the model talk about, and identify as, the bridge.
  • Safety-relevant features exist (deception, sycophancy, unsafe code, bias, dangerous content), but the authors stress this does not show the model uses them to behave unsafely.

Why this paper matters

This paper is the reason SAEs became the dominant interpretability tool at frontier labs, and it is the standard reference for what dictionary learning can and cannot deliver at scale. Research engineers are expected to discuss its evidence for interpretability, its steering results, and especially its limitations section.

Breakdown

1.From toy model to production model

The earlier Towards Monosemanticity work (2023) trained sparse autoencoders on a one-layer transformer and showed the learned features were far more interpretable than neurons. The obvious objection was that a one-layer toy model says little about frontier models, which might be too messy for the method to work.

This paper answers that objection directly. The authors train SAEs on the residual stream at a middle layer of Claude 3 Sonnet, choosing the middle because it is likely to hold abstract representations rather than token-level or output-level detail. They train three dictionaries of increasing size, roughly 1M, 4M and 34M features.

The SAE is the standard form covered in the earlier lesson: an encoder with a ReLU produces a sparse vector of feature activations, a linear decoder reconstructs the activation, and the loss combines reconstruction error with an L1 sparsity penalty weighted by decoder norms. The authors report that, for all three SAEs, fewer than 300 features were active on a given token on average.

A notable engineering contribution is the use of scaling laws to allocate compute: for a given budget, how many features and how many training tokens minimize the loss? This turns SAE training from guesswork into a planned run.

Discussion angle: A sharp question: why a single middle layer? Features that exist at other layers, or that are spread across layers, are invisible to this SAE. Ask also what 'the loss is lower' guarantees: a lower SAE loss does not by itself mean more interpretable or more faithful features.

2.What the features look like

The headline is qualitative. Many features correspond to recognizable concepts: specific landmarks, people, programming constructs, scientific fields, emotions. Several properties stand out.

Abstraction. Features often respond to a concept regardless of surface form. A feature for a landmark fires on its name in many languages and on images of it, since Claude 3 Sonnet is multimodal and the SAE was trained on text activations alone.

Behavioral features. Some features track not a topic but a pattern, for example a feature that fires on bugs and errors in code across programming languages.

Feature splitting and neighborhoods. As dictionary size grows, a broad feature in the small SAE often splits into several more specific features in the larger one. Nearby features in decoder space tend to be related concepts.

Frequency and completeness. Whether a concept gets its own feature depends on how often it appears in training data relative to dictionary size. Rare concepts are often missing even from the largest dictionary, which means an SAE is not an exhaustive catalogue of what the model knows.

To estimate interpretability at scale, the authors use automated interpretability: a model rates how well a feature's explanation predicts its activations.

Discussion angle: Interviewers ask how you would know a feature is what its label says. Top activations are cherry-picked by construction. Look at the full activation distribution, including weak activations, and test specificity: does it fire on things outside the label? Ask what fraction of features are actually interpretable, and how that was measured.

3.Steering: features have causal effects

Interpretability claims based only on when a feature fires are correlational. To test causation, the authors clamp a feature to a fixed value (often a multiple of its maximum observed activation) during the forward pass and observe the model's behavior.

The famous example is the Golden Gate Bridge feature. Clamped high, the model steers nearly every conversation toward the bridge and, asked about itself, describes itself as the bridge. Anthropic briefly released this as 'Golden Gate Claude'. Other clamps produce matching effects: activating a feature tied to sycophantic praise makes responses flattering, and features for specific content shift output toward that content.

This matters because it shows the features are not just readouts that correlate with concepts. Writing along a feature's decoder direction changes downstream computation in the way the label predicts.

The limits are worth stating. Steering effects are shown on selected features with large clamps. Large interventions can break the model in other ways, and the behavior under clamping does not tell you how the feature functions at its natural activation levels. Steering is a strong existence proof of causal relevance, not a precise tool.

Discussion angle: Ask what control you would run: clamp random directions of the same norm and see whether they produce coherent topic shifts. Ask whether steering with the raw decoder direction differs from steering via the SAE reconstruction, and why a large clamp might degrade fluency.

4.Safety-relevant features, read carefully

A section of the paper catalogues features relevant to safety: features related to deception and lying, power-seeking, manipulation, secrecy, sycophancy, bias, unsafe code such as backdoors and vulnerabilities, and dangerous content such as weapons.

The authors are explicit about what this shows. A feature's existence means the model represents the concept; it can recognize deception in a story, for example. It does not mean the model deceives, or that this feature drives its behavior in deployment. The authors say directly that they have not shown these features are used in the way their names suggest in natural behavior.

The hope for safety is longer term: if features for concerning concepts can be reliably found, they might support monitoring (watch whether a deception feature activates when the model is being honest with users), auditing, or detecting when a model's internal state does not match its output. This paper establishes that such features exist and can be found. It does not demonstrate any of those applications working.

Discussion angle: This is where interviewers test calibration. If asked 'did they find a deception feature?', the right answer is: they found a feature that activates on deception-related content and steers behavior when clamped, not a detector of the model deceiving. Then propose an experiment: compare its activation on matched honest and dishonest model outputs.

5.What the SAE misses

The limitations section is one of the most useful parts of the paper.

Reconstruction error. The SAE does not perfectly reconstruct activations. Some variance remains unexplained, and substituting the reconstruction into the model raises its loss. The concepts living in that residual (sometimes called dark matter) are invisible to the analysis.

Incompleteness. Rare concepts lack dedicated features, so you cannot conclude a model lacks a concept because no feature matches it.

One layer, residual stream only. Computation spread across layers, or happening in attention and MLP internals, is not directly captured. Features describe representations, not the circuits that compute them.

Cost. Training a 34M-feature SAE on a production model is expensive, and analyzing millions of features requires automated labeling, which has its own errors.

Shrinkage and dead features. The L1 penalty biases activations toward zero, and a substantial share of latents never activate: the authors report roughly 65% dead features in the 34M dictionary. Later work, including TopK SAEs from OpenAI, targets these training issues directly.

The overall picture: SAEs give a vocabulary for what a model represents at one point. Turning that vocabulary into explanations of behavior needs further methods, such as attribution graphs.

Discussion angle: Expect to be asked: 'If an SAE has no feature for X, does the model not represent X?' No: the concept may be rare, split, spread across layers, or in the reconstruction error. A good follow-up is how you would measure how much behavior lives in the error term, for example by patching the error into a clean forward pass.

Reading the evidence

What it shows

  • Sparse autoencoders scale to a production model and yield many human-interpretable features.
  • Many features are abstract, responding to the same concept across languages and across text and images.
  • Clamping features changes behavior in ways consistent with their labels, so they have causal effects.
  • The model represents safety-relevant concepts such as deception, sycophancy, unsafe code and dangerous content.
  • Scaling laws can guide SAE training choices for a compute budget.

What it does not show

  • That the model uses its deception or other safety-relevant features to behave unsafely in practice.
  • That the dictionary is complete: rare concepts often lack features, and reconstruction error hides some information.
  • How features interact to produce behavior; the analysis is of representations at one layer.
  • That steering with large clamps reflects how features act at natural activation levels.

The most boring explanation

The deflationary reading is that an SAE with millions of latents will find something label-able in any large activation space, and humans then pattern-match on top activations. The authors counter this with specificity checks, comparisons with neuron interpretability, automated scoring over activation ranges, and above all steering experiments showing features change behavior in matching ways, while conceding that interpretability scores are imperfect and coverage is incomplete.

Key Concepts

Sparse autoencoder (SAE)

A wide autoencoder trained to reconstruct activations with a sparse code, so each latent ideally corresponds to one interpretable feature.

SAE scaling laws

Empirical relationships between compute, dictionary size and training tokens used to choose SAE hyperparameters for a budget.

Feature clamping (steering)

Fixing a feature's activation to a chosen value during the forward pass to test whether it causally influences behavior.

Analogy: Like holding down one key on a synthesizer while someone plays: if every song now drifts toward that note, the key really does feed the output.

Feature splitting

A broad feature in a small dictionary dividing into several narrower features as the dictionary grows.

Analogy: A map at low zoom shows 'downtown'; zoom in and it splits into separate neighborhoods. Neither view is wrong, they are different resolutions.

Multimodal and multilingual features

Features that respond to the same concept across languages and across text and images, evidence of abstract representations.

Dark matter (reconstruction error)

The part of the activation the SAE fails to reconstruct; whatever the model encodes there is invisible to feature analysis.

Analogy: Like a transcription of a meeting that captures most words but drops some; you cannot conclude nobody said something just because it is missing from the transcript.

Knowledge Check

10 questions — your answers are saved locally so you can come back anytime.