Toy Models of Superposition — Extracted Summary

Authors: Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, Christopher Olah
Affiliation: Anthropic


1. Definitions and Motivation: Features, Directions, and Superposition

Core Framework

The paper begins by observing that when researchers say things like “word embeddings have a gender direction” or “vision models have curve detector neurons,” they are implicitly making strong claims about the structure of network representations. The authors argue this “linear representation hypothesis” rests on two properties:

  • Decomposability: Network representations can be described in terms of independently understandable features. This is what allows us to reason about a model without fitting the whole thing in our heads — it is the key property that defeats the curse of dimensionality.
  • Linearity: Features are represented as directions in activation space. Each feature has a corresponding representation direction . The presence of multiple features activating with values is represented by

This hypothesis is supported by empirical findings across multiple domains: word embedding arithmetic (e.g., V(“king”) - V(“man”) + V(“woman”) = V(“queen”)), interpretable directions in GAN latent spaces, interpretable neurons in CNNs and RNNs, universality of features across networks, and the existence of polysemantic neurons that respond to unrelated mixtures of inputs.

Three major benefits explain why neural networks form linear representations: (1) they are natural outputs of pattern-matching algorithms a layer might implement; (2) they make features “linearly accessible” to subsequent layers via a single linear transformation + nonlinearity; (3) they enable non-local generalization, increasing statistical efficiency. Importantly, a linear representation can store more features than it has dimensions through the phenomenon of superposition.

What Are Features?

Three candidate definitions are considered:

  1. Features as arbitrary functions of the input — too broad.
  2. Features as interpretable properties — excludes features we might not understand (e.g., protein folding structures discovered by AlphaFold).
  3. Neurons in sufficiently large models — the working definition adopted. A feature is a property of the input that a sufficiently large neural network would reliably dedicate a neuron to representing.

Privileged vs Non-Privileged Basis

Some representations (e.g., word embeddings) have no privileged basis — any rotation gives an equivalent model. Others have a privileged basis created by activation functions, which makes basis directions (“neurons”) special and potentially encourages features to align with them. Having a privileged basis is necessary (but not sufficient) for the question “is this neuron interpretable?” to be meaningful.

The Superposition Hypothesis

Neural networks “want to represent more features than they have neurons,” so they exploit high-dimensional geometry to simulate a larger model. Key mathematical facts enabling this:

  • Almost orthogonal vectors: In -dimensional space, one can have vectors with cosine similarity (Johnson-Lindenstrauss lemma).
  • Compressed sensing: A sparse vector projected into lower dimensions can often be recovered.

In superposition, features are represented as almost-orthogonal directions in the vector space of neuron outputs. Since features are only almost-orthogonal, one feature activating looks like other features slightly activating — this “noise” or “interference” comes at a cost. But for neural networks with highly sparse features, this cost may be outweighed by the benefit of representing more features. Crucially, sparsity reduces interference costs (sparse features rarely co-activate to interfere with each other), and nonlinear activation functions create opportunities to filter out small amounts of noise. One way to think about this: a small neural network may be able to noisily “simulate” a sparse larger model.

Hierarchy of Feature Properties (from weakest to strongest)

  1. Decomposability — activations decompose into independent features
  2. Linearity — features correspond to directions
  3. Non-superposition — is invertible (no more features than dimensions)
  4. Basis-aligned — all are one-hot basis vectors (features = neurons)

Properties 1-2 are hypothesized to be widespread; 3-4 only sometimes occur.


2. Demonstrating Superposition

Model Setup

The paper studies whether a neural network can project a high-dimensional sparse vector into a lower-dimensional space and recover it. Synthetic data features have three key properties:

  • Feature Sparsity: with probability , otherwise uniform in .
  • More features than neurons: .
  • Varying importance: Feature importances (e.g., ).

Two models are compared:

Linear Model:

ReLU Output Model:

The loss function is importance-weighted mean squared error:

The weight matrix is tied (same matrix for encoding and decoding transposed). Each column represents the direction in the lower-dimensional space corresponding to feature . A bias is included, which serves two purposes: it allows the model to set features it does not represent to their expected value, and (crucially for superposition) a negative bias allows models to discard small amounts of noise from interference. The choice of whether to include an activation function on the output turns out to be critical to whether superposition occurs.

Visualization Approach

The results are visualized by examining (a features-by-features matrix) and . Features are arranged from most to least important. To assess superposition explicitly, two quantities are tracked per feature: (1) , the norm of the feature’s embedding vector (whether it is represented at all), and (2) , which measures how much a feature shares its dimension with others ( if orthogonal to all others, if some group of features can activate as strongly as feature itself).

Key Results

  • The linear model always learns the top- most important features (analogous to PCA), regardless of sparsity. It never exhibits superposition.
  • The ReLU output model behaves like the linear model on dense features, but as sparsity increases, superposition emerges: the model represents more features by making them non-orthogonal. Superposition starts with less important features and gradually affects more important ones.
  • Initial superposition takes the form of antipodal pairs (one feature’s direction is the negative of another’s), then transitions to other geometric structures.

Mathematical Analysis

A deeper understanding comes from analytically studying the loss. The integral over input decomposes into terms for each sparsity pattern: , where is the loss on -sparse inputs. As , the terms and dominate. (loss on zero input) simply penalizes positive biases: . The interesting term is (loss on 1-sparse inputs), which reveals two competing forces:

  • Feature benefit: Representing more features reduces loss.
  • Interference: Non-orthogonal features create cross-talk, increasing loss.

For linear models, interference always makes it suboptimal to represent more features than dimensions (recovering the PCA result). But the ReLU changes things fundamentally.

If we assume uniform importance, for represented features, and , the interference term becomes a generalized Thomson problem — packing points on the surface of a sphere with an unusual energy function. Crucially, the ReLU makes negative interference “free” in the 1-sparse case (since clips negative outputs to zero), explaining why the model strongly prefers solutions with only negative interference, such as antipodal pairs. Using a negative bias can further convert small positive interferences into effectively negative ones.

For less sparse inputs (multiple features active simultaneously), compounding interferences occur and active features can experience interference. The model often organizes features into sparse interference graphs where only a small number of features interfere with any given feature, reducing the probability of compounding interference.


3. Superposition as a Phase Change

The results suggest three possible outcomes for any feature: (1) the feature is simply not learned; (2) the feature is learned and represented in superposition; or (3) the model dedicates a full dimension to the feature. The transitions between these outcomes appear sharp, suggesting phase changes.

To isolate this effect, the authors study models with 2 features in 1 hidden dimension. The first feature has importance 1.0; the importance and sparsity of the second “extra” feature are varied. Three natural weight configurations exist: (ignore the extra feature), (ignore the first feature, giving the extra feature a dedicated dimension), and (store both in superposition as an antipodal pair, losing the ability to represent both simultaneously). Closed-form loss expressions can be derived for each configuration.

The resulting phase diagram confirms a first-order phase change: the optimal weight configuration discontinuously changes as a function of sparsity and relative feature importance. Sparsity is necessary for superposition, and it interacts with importance — higher sparsity and lower relative importance favor superposition. The same analysis extends to 3 features in 2 dimensions, where additional superposition configurations become available (e.g., putting the extra feature in an antipodal pair with one of the others, or putting the two original features in superposition while giving the extra feature a dedicated dimension).


4. The Geometry of Superposition

Uniform Superposition

Studying a model with features, hidden dimensions, uniform importance , the authors measure (“dimensions per feature”) as a function of sparsity . The Frobenius norm approximates the number of represented features since for represented features and otherwise. The number of input features does not matter as long as , and doubling hidden dimensions simply doubles the number of features learned.

Surprisingly, this curve is “sticky” at specific fractions, especially at and . The point corresponds to features organized in antipodal pairs, which are so effective that the model uses them over a wide range of sparsity.

To understand the finer structure, the authors define feature dimensionality for feature :

The numerator measures how much a feature is represented; the denominator measures how many features share its dimension. For an antipodal pair, . Empirically, feature dimensionalities sum to the number of hidden dimensions when features are packed efficiently.

Breaking down the plot per-feature reveals additional sticky points at specific fractions: 3/4 (tetrahedron), 2/3 (triangle), 1/2 (antipodal pair), 2/5 (pentagon), 3/8 (square antiprism), and 0 (not learned). Each corresponds to a specific geometric polytope that is a solution to the Thomson problem. The analogy to physics is striking: just as water has many phases of ice with different crystal structures (hexagonal vs cubic), superposition has many sub-phases corresponding to different geometric arrangements.

Many Thomson solutions can be understood as tegum products — an operation constructing polytopes by embedding two polytopes in orthogonal subspaces. Tegum factors ensure zero interference across groups, which the model prefers since simultaneous interference from multiple features is especially costly. This also explains why 3D Thomson solutions appear in higher-dimensional problems: higher-dimensional solutions are often tegum products of lower-dimensional ones.

Polytopes and Low-Rank Matrices

There is an exact correspondence between polytopes and symmetric, positive-definite, low-rank matrices . A rank- matrix where is corresponds to points in -dimensional space. Off-diagonal entries of are driven by the geometry of these points. Every strategy for putting features in superposition corresponds to a polytope, and vice versa. For equally important and sparse features, the optimal strategy corresponds to the most regular polytope available.

Non-Uniform Superposition

When features differ in importance or sparsity, the uniform geometry deforms. For example, with 5 features in 2 dimensions forming a pentagon, making one feature sparser causes the other features to repel from it (giving it less space); making it denser causes others to give it more space. Sufficiently large changes cause a phase change — the pentagon collapses to a pair of digons with the sparser point at zero.

More generally:

  • Polytopes smoothly deform as imbalance builds, until a critical breaking point at which they snap to another polytope (first-order phase transition).
  • Correlated features exhibit an “order of preferences”: (1) ideally orthogonal, in separate tegum factors with no interaction; (2) when they cannot be orthogonal, side-by-side (preferring positive over negative interference); (3) when space is insufficient, they collapse into their principal component. This last behavior hints at a fundamental tradeoff: as features become more correlated, PCA becomes better; as features become sparser, superposition becomes better. Mixtures of both strategies occur when features are both sparse and correlated.
  • Anti-correlated features (only one in a set can be active at a time) prefer to share tegum factors and have negative interference (ideally antipodal).

The tendency of correlated features to be orthogonal is a strong phenomenon. In larger models, it generates a kind of “local almost-orthogonal basis” where, even though the model as a whole is in superposition, correlated feature sets considered in isolation are nearly orthogonal. This suggests a possible “local non-superposition” assumption for narrow sub-distributions.

These results also imply that polysemantic neuron groupings are not random but are strongly influenced by feature correlation structure, which has implications for comparing polysemantic neurons across models.


5. Superposition and Learning Dynamics

The focus of the paper is on fully trained networks, but the authors briefly explore how superposition emerges during training, motivated by several observations: (1) the trained models converge to simple but non-trivial geometric structures; (2) superposition involves surprisingly discrete structure (polytopes); and (3) understanding when superposition emerges during training matters for interpretability.

The most striking finding is that training dynamics are dominated by “energy level jumps” where features discretely transition between different dimensionalities (e.g., from to ). These jumps correspond to sudden drops in the loss curve, suggesting that seemingly smooth loss decreases in larger models may be composed of many small discrete transitions. This connects to broader evidence of sudden mechanistic changes in neural networks (e.g., induction head phase changes, grokking).

For correlated features in 3D ( features as 2 correlated sets of 3, ), learning proceeds in distinct regimes visible in the loss curve, each corresponding to a geometric transformation:

  1. An initial linear/PCA-like solution (consistent with theory that two-layer networks first learn a linear approximation).
  2. “Splitting” of embedding vectors as features differentiate.
  3. Rotation and rearrangement into more efficient configurations.
  4. Convergence to structured solutions (e.g., octahedra with antipodal pairs from different correlated sets).

Different training runs can follow different trajectories to similar final solutions, depending on which geometric attractor the model is closest to at critical transition points.


6. Relationship to Adversarial Robustness

In a model without superposition, end-to-end weights for a feature are clean: . With superposition, they become noisy: . The terms create an attack surface.

Experimental findings:

  • Vulnerability to adversarial examples sharply increases as superposition forms (>3x increase).
  • Vulnerability tracks the number of features per dimension.
  • This holds even in the infinite data limit: optimal sparse models use superposition, leaving them inherently vulnerable.

Note that this vulnerability persists even in the infinite data limit: the optimal model trained on sparse infinite data uses superposition, leaving it inherently vulnerable.

A “superposition maximalist stance” can predict several known adversarial phenomena: (1) adversarial examples exist (from interference terms); (2) robust models have worse performance (they must give up superposition and represent fewer features); (3) robust models are more interpretable; (4) adversarial examples transfer across models (if feature arrangements are driven by shared correlation structure in the data). The authors experimented with adversarial training to reduce superposition, and found it partially effective, but attacks had to be unreasonably large (80% of input L2 norm) to fully eliminate superposition.


7. Superposition in a Privileged Basis

Adding a ReLU to the hidden layer creates a privileged basis:

This radically changes the model from an interpretability perspective. Features align with neurons in a structured way: many neurons become dedicated to representing a single feature (monosemantic), while others represent multiple features (polysemantic).

This can be visualized directly by inspecting (features-to-neurons), or as a per-neuron “stacked bar plot” where each column represents a neuron and each colored rectangle represents a feature weight. Polysemantic neurons are immediately visible as columns with multiple colored rectangles.

Key observations from models with at varying sparsity:

  • There is a clear shift from monosemantic to polysemantic neurons as sparsity increases, resembling a neuron-level phase change.
  • Both monosemantic and polysemantic neurons can coexist in the same model — matching observations in real networks.
  • Polysemantic neurons are surprisingly structured and neuron-aligned: features typically correspond to sets of neurons (monosemantic neurons are the special case of singleton sets). There is also structure in how polysemantic neurons transition from representing few features to gradually representing more.
  • More important features tend to avoid superposition, getting dedicated monosemantic neurons.

Limitation: This toy model has a significant weakness — the ReLU hidden layer has no computational role (it only constrains how information is encoded). Given any chance, the model circumvents it (e.g., by setting biases positive so neurons operate in a linear regime, or by averaging over features to simulate a bias). The model only uses the ReLU if absolutely forced, which limits the regimes showing interesting results and motivates the next section’s more principled model.


8. Computation in Superposition

Setup

A model computes using a hidden layer:

The absolute value function requires ReLU: , giving the hidden layer a genuine computational role. Features are sparse, with nonzero values sampled uniformly from .

Key Results

With features and neurons (no superposition needed), the model learns the expected solution: for each input feature , it constructs a “positive side” neuron and a “negative side” neuron , then sums them to compute absolute value.

With features, neurons, and , as sparsity increases the model achieves computation in superposition — computing absolute value for more features than it has neuron-pairs. This is notable because it demonstrates that neural networks can perform meaningful nonlinear computation on data represented in superposition.

Qualitative behaviors matching real neural networks:

  • In intermediate sparsity regimes, many neurons are monosemantic while a subset are highly polysemantic. The neurons representing the most important features (analogous to the most common stimuli) tend to be monosemantic.
  • Many neurons have a “primary” feature (large weight) plus one or more “secondary” features (smaller weights). Over a range of inputs, the largest activations of such a neuron are nearly all associated with the primary feature, but lower-magnitude activations are more polysemantic. This closely matches findings in language models, where neurons appear interpretable at their strongest activations but are polysemantic at lower magnitudes.

The Asymmetric Superposition Motif

A discovered computational motif: asymmetric superposition with inhibition. Instead of storing features with equal weights , features are stored with asymmetric magnitudes (e.g., ) and reciprocal output weights (). This causes one feature to heavily interfere with the other but not vice versa. A second “inhibition” neuron cancels the interference when it would cause positive errors.


9. The Strategic Picture of Superposition

Why Superposition Matters for Safety

Solving superposition is equivalent to the ability to enumerate over all features in a model. This is critical for:

  • Decomposing activation space into independently understandable components.
  • Describing activations in terms of pure features.
  • Circuit analysis (understanding weights requires connecting interpretable features).
  • Even basic methods (e.g., cosine similarity for detecting deceptive behavior) become unreliable under superposition.

Three Approaches

One hopeful observation: all results suggest superposition is a phase with sharp transitions, meaning there exists a regime where it is totally absent. The question is whether the cost of pushing models into that regime is acceptable.

  1. Create models without superposition. L1 regularization on hidden activations ( added to the loss) eliminates superposition in toy models by killing features below a certain importance threshold. However, models benefit significantly from superposition, especially for very sparse features. Language models know about individuals who appear less than one in a million tokens — superposition may effectively make models much larger. The performance cost of eliminating superposition for a fixed neuron count could be substantial.

    However, the constraint is fundamentally about FLOPs, not neurons. Mixture of Experts (MoE) models change the FLOP-neuron relationship by organizing neurons into experts that activate only a fraction of the time, effectively allowing times more neurons for a similar FLOP budget. Since superposition exploits a gap between neuron sparsity and feature sparsity, MoE models eat that same gap and should exhibit less superposition. If models could recover all non-activating neuron compute, it seems unlikely superposition would be optimal: one could always split a polysemantic neuron into dedicated feature neurons at the same cost.

  2. Find an overcomplete basis after training (dictionary learning / sparse coding). This is a standard sparse coding problem applied to neural network activations. Advantages: no damage to model performance. Challenges: (a) unknown number of features to enumerate; (b) solutions are “virtual neurons” not integrated into the model’s surface structure; (c) massive engineering scale (factoring a millions-by-billions matrix to be 1000x overcomplete); (d) no training-time pressure working in your favor — interference is baked in.

  3. Hybrid approaches that modify models to make post-hoc analysis easier (reduce superposition during training, or architectural changes that make overcomplete basis discovery more tractable).

Additional Considerations

  • Phase changes as hope: Since superposition is a phase (with sharp transitions), there exists a regime where it is totally absent. The challenge is pushing models into that regime cost-effectively.
  • Any superposition-free model (even non-performant) would be a powerful research tool, providing ground truth for studying superposition in regular models.
  • Local bases are insufficient for safety: correlated features may form local orthogonal bases, but safety requires mechanistic accounts over the full distribution.

10. Discussion

Validation Against Real Models

The toy model’s predictions are consistent with observations in real neural networks:

  • Polysemantic neurons exist and co-occur with monosemantic neurons in the same layer.
  • InceptionV1 has more polysemantic neurons in later layers (where features are sparser).
  • Early Transformer MLP neurons are extremely polysemantic (distinguishing rare token interpretations).

The authors believe superposition, monosemantic/polysemantic neuron coexistence, and the adversarial robustness connection are likely to generalize. The geometry and learning dynamics results are more uncertain.

Key Open Questions

The paper concludes with a rich set of open questions for future work:

  • Detection: Is there a statistical test for catching superposition in real models?
  • Control: How can we change the phase diagram so features do not fall into the superposition regime? L1 regularization, adversarial training, and activation function changes all seem promising.
  • Closed-form solutions: Are there models of superposition with analytically tractable solutions, extending the partial results for the case?
  • Realism: How realistic are these toy models? To what extent do they capture the important properties of real models?
  • Empirical estimation: Can we estimate feature importance and sparsity curves for real models (e.g., by training models of varying sizes and observing loss and neuron sparsities)?
  • Scaling: Should we expect superposition to go away with sufficient scale, remain a constant fraction of features, or increase?
  • Computation: What class of computation is amenable to being performed in superposition? Is absolute value representative or idiosyncratic?
  • Correlation structure: How does superposition interact with correlated features in practice? Can anti-correlated features be packed more efficiently?
  • Capacity bounds: How many features can be stored in superposition? Compressed sensing results may provide upper bounds.
  • Definitions: What is the most principled definition and measurement of superposition and polysemanticity?
  • Importance: If X% of neurons are interpretable and (1-X)% are polysemantic, how much should we trust our understanding from analyzing only the interpretable neurons?
  • Non-robust features: How does superposition relate to the useful but non-robust features identified in principal component analyses of linear models?