Sparse Autoencoders Find Highly Interpretable Features in Language Models
TL;DR. This paper was concurrent with Towards Monosemanticity. It trains sparse autoencoders with an L1 penalty on the residual streams (and MLPs) of Pythia-70M and Pythia-410M. The learned dictionary features are more interpretable than neurons, random directions, PCA or ICA. They also pin down the features behind indirect object identification more precisely than PCA.
Key idea
Section titled “Key idea”The dictionary is tied (encoder = decoder transpose), uses a ReLU, and has unit-norm rows. It is trained with . For evaluation, an LLM explains each feature from its top-activating text and then predicts the feature’s activations; the agreement is the autointerpretability score. A patching method adapted to dictionary features then tests causal relevance on IOI.
Key results
Section titled “Key results”Sparse dictionary features score higher on automated interpretability than every baseline (§3.2). In IOI patching, sparse dictionaries give the same model edit with fewer patches and smaller edit magnitude than PCA (§4.2, Fig. 3). Case studies show monosemantic features with intuitive logit effects, plus a simple automatic circuit-detection method over dictionary features (§5).
Connections
Section titled “Connections”- Towards Monosemanticity: the concurrent Anthropic SAE paper, with an untied decoder and resampling.
- Interpretability in the Wild (IOI): the task used for the causal test.
- Toy Models of Superposition: the reason a sparse overcomplete basis should help.
- Negative results for SAEs: a later test of whether interpretable features also help downstream tasks.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Mechanism
This paper ties encoder and decoder weights (the encoder is the decoder transpose) and normalises dictionary rows, while Towards Monosemanticity uses an untied decoder with a separate pre-encoder bias. Explain the argument for tying and what flexibility it gives up.
What a strong answer covers
- Tying encodes the expectation that the direction which detects a feature should be the same as the direction it writes; it also halves the parameters.
- With a tied, row-normalised dictionary, the code for feature i is ReLU of the projection onto its dictionary row (plus bias), and the L1 penalty α‖c‖₁ encourages few active rows.
- Given superposition, the best detector for a feature should partly subtract interfering features, which a tied encoder cannot do, so untied encoders can reduce interference.
- Later work (Gao et al.) keeps the encoder separate but initialises it as the decoder transpose, combining the prior with flexibility.
- Critique
The headline evidence is that SAE features get higher autointerpretability scores than the neuron basis, random directions, PCA and ICA. What does autointerpretability measure, and why is beating these baselines necessary but not sufficient to show the features are what the model uses?
What a strong answer covers
- An LLM writes an explanation from top-activating examples, then predicts activations on held-out text from that explanation; the score is the correlation with the real activations.
- Beating neurons, PCA and ICA shows sparse features are easier to describe, which is necessary for a useful basis.
- Not sufficient: a feature can be easy to describe but causally unimportant, and the score depends on the explainer model and the sampled examples.
- That is why the paper adds the causal IOI patching experiment; the interpretability advantage also shrinks in later layers.
- Design
Adapt the paper's IOI patching experiment to test whether SAE features localise a reranker's use of exact query-term matches. What would you patch, what is the counterfactual, and what result would favour the SAE basis over PCA?
What a strong answer covers
- Build pairs of query-document inputs that differ only in whether the document contains the exact query term (clean vs corrupted), analogous to IOI's name swaps.
- Train SAEs on a mid-layer residual stream; patch the smallest set of SAE features (and, as a baseline, PCA components) from the clean run into the corrupted run.
- Measure how much of the score difference (or KL to the clean output) is restored as a function of the number of patched components and the edit size.
- The SAE basis is better if fewer, smaller patches restore the behaviour; also check that a non-sparse dictionary (α = 0) does not do as well.