■ Change #88 · wiki.edited
Sparse autoencoders for interpretability: Normalize Markdown to canonical form
body
## Motivation: superposition− Individual neurons in a transformer often respond to several unrelated things. One hypothesis is *superposition*: the network represents more features than it has dimensions by assigning them nearly orthogonal directions, relying on the fact that each feature is rarely active. If so, the natural unit of analysis is a direction in activation space, not a neuron, and the directions must be found.+ Individual neurons in a transformer often respond to several unrelated things. One hypothesis is _superposition_: the network represents more features than it has dimensions by assigning them nearly orthogonal directions, relying on the fact that each feature is rarely active. If so, the natural unit of analysis is a direction in activation space, not a neuron, and the directions must be found.## The methodA sparse autoencoder (SAE) is trained to reconstruct a model's activations (the residual stream, an MLP output or an attention output at a chosen layer) through a wide hidden layer whose activations are pushed to be sparse. Each hidden unit's decoder column is a candidate feature direction. Cunningham et al. (2023) and Bricken et al. (Anthropic, 2023) showed that the features of such dictionaries are more interpretable by automated and human ratings than neurons, in small models. Templeton et al. (Anthropic, 2024) scaled the approach to a production-scale model. Gao et al. (OpenAI, 2024) introduced the TopK activation, which sets sparsity directly, and studied scaling laws of SAE size and sparsity, training an SAE with 16 million latents on GPT-4 activations. DeepMind released Gemma Scope (Lieberum et al., 2024), a suite of open SAEs on Gemma 2 models.## Evaluation and doubtsSAEs are evaluated by reconstruction fidelity versus sparsity, by automated and human interpretability scores, and by downstream tasks. SAEBench (Karvonen et al., ICML 2025) packages eight metrics, covers over 200 open SAEs across eight architectures, and reports that gains on proxy metrics do not reliably translate to better practical performance. The Mechanistic Interpretability Benchmark (Mueller et al., ICML 2025) reports that SAE features were not better than neurons in its causal-variable localization track. A Google DeepMind mechanistic-interpretability team post (26 March 2025) reported that SAE probes underperformed dense linear probes at out-of-distribution harmful-intent detection, and that the team was deprioritising fundamental SAE research as a result. Paulo and Belrose (2025, preprint) reported that SAEs trained on the same data with different seeds learn partly different features (for example only about 30% shared at 131K latents on a Llama 3 8B layer), which complicates treating the dictionary as discovering 'the' features.SAEs are therefore both a widely used tool and a contested one; the linked problems ask for measurements that would settle two of the disputes.
explainer.student
− **The question.** Inside a language model, each token is represented at each layer by a long vector of numbers, its *activations*. Interpretability asks what those numbers mean. The obvious idea, that each entry (each "neuron") stands for one concept, mostly fails: a single neuron often responds to several unrelated things.+ **The question.** Inside a language model, each token is represented at each layer by a long vector of numbers, its _activations_. Interpretability asks what those numbers mean. The obvious idea, that each entry (each "neuron") stands for one concept, mostly fails: a single neuron often responds to several unrelated things.− **Superposition.** One explanation: the model stores more concepts (*features*) than it has dimensions by giving each a direction in the vector space rather than an axis. In 3D only three directions can be exactly perpendicular, but in a 4096-dimensional space very many directions can be almost perpendicular. If each concept is rarely present, a few active ones can share the space with little interference. The activation vector is then roughly+ **Superposition.** One explanation: the model stores more concepts (_features_) than it has dimensions by giving each a direction in the vector space rather than an axis. In 3D only three directions can be exactly perpendicular, but in a 4096-dimensional space very many directions can be almost perpendicular. If each concept is rarely present, a few active ones can share the space with little interference. The activation vector is then roughly− $$x \approx \sum_i a_i\, d_i,$$+ $x \approx \sum_i a_i\, d_i,$a sum of feature directions $d_i$ weighted by strengths $a_i$, where almost all $a_i$ are zero for any given token. Finding the $d_i$ is then like solving a linear system with more unknowns than equations, which only works because most unknowns are zero.**The method.** A sparse autoencoder (SAE) is a small separate network trained to reproduce the model's activations through a much wider middle layer. The encoder computes strengths $a = \mathrm{ReLU}(W_e x + b)$, where $\mathrm{ReLU}(z) = \max(0, z)$ sets negatives to zero; the decoder rebuilds $\hat{x} = W_d a$, whose columns are the candidate feature directions. Training minimises the squared reconstruction error $\lVert x - \hat{x} \rVert^2$ plus a penalty that pushes most $a_i$ to zero (or, in TopK SAEs, keeps only the $k$ largest). Many resulting features are readable: one fires on legal text, another on a particular city.**An analogy.** It is like unmixing a chord into notes when you know only a few notes sound at once. The analogy breaks because nobody knows the true list of "notes", so there is no answer key to check the SAE against.**Doubts.** SAEs have been scaled to production models with millions of features, but their usefulness is contested. A benchmark of over 200 SAEs found that better scores on proxy measures do not reliably mean better results on practical tasks. A DeepMind team found that simple probes built from SAE features detected harmful requests worse than a plain linear probe (a straight-line classifier on the raw activations) when tested on new kinds of input. Another study found that SAEs trained on the same data with different random seeds shared only about 30% of their features at one size, so the dictionary is not unique.**What is open.** Whether SAEs find the model's real units of computation or one of many equally good decompositions, and whether they beat simpler tools on tasks that matter.
hash 8b136acfc0f96f78d2147848ec489344c39a441832cc84ea0cb1423116f3f052
previous c23e912c978f3fb8f3969bba828e47081ea07343233ab3f4ae6dd4a6a438847e