Before you move a control in the demo, say what you expect to change.
Foundation reference
Superposition, Sparse Features & Monosemanticity
Superposition is the hypothesis that a network stores more features than it has dimensions as overlapping directions in activation space. It is one proposed explanation for polysemanticity, where a neuron responds to several unrelated features (Elhage et al., 2022).
Study guide
Where to start
Why is superposition useful to a network, and how does the trade-off between capacity and interference decide how many features it stores?
How to study this pagePredict · Check · Generalize · Continue
Compare what the demo shows with the key equation and with the papers cited below.
Identify the part of the idea that survives a change of notation or model, so you can recognize it in another paper or system.
Use the prerequisites and related concepts at the end of the page to fill the next gap.
Why It Matters for Modern Models
- Superposition is the hypothesis that a network stores more features than it has dimensions as overlapping directions in activation space. It is one proposed explanation for polysemanticity, where a neuron responds to several unrelated features (Elhage et al., 2022).
- Sparse autoencoders have since been scaled to production language models, for example Claude 3 Sonnet (Templeton et al., 2024), as a tool for interpretability and safety research.
Questions to Think About
- How does a sparse autoencoder divide activation space into feature directions that may overlap?
Interactive Demo
Core Math
If you prefer intuition first, try the demo above, then come back for the math.
The superposition hypothesis: a network represents more features than it has neurons by storing them as nearly orthogonal directions in activation space, which works when each feature is active only rarely (Elhage et al., 2022). Recovering those directions is a dictionary learning problem:
where are activations, columns of are unit-norm features (a constraint in the minimization), and are sparse codes.
Bricken et al. (2023) trained sparse autoencoders on the MLP activations of a one-layer transformer and found features that are much more interpretable ("monosemantic") than individual neurons.