Superposition

42 beliefs (42 IN, 0 OUT)

Superposition refers to the phenomenon in which a neural network encodes more features than it has activation dimensions, multiplexing information into a fixed-size weight space by storing features in non-orthogonal, over-complete directions (eh2022-superposition-overcomplete-features, superposition-more-features-than-dimensions, superposition-features-exceed-dimensionality). This matters because it is arguably the single most consequential structural property of modern networks: it explains why individual neurons are polysemantic, why standard disentanglement tools like PCA fail, and why interpretability research must recover features rather than simply reading them off the network. The topic is carefully distinguished from the disentanglement literature, which imposes a privileged basis on a latent space, whereas superposition research starts from the existing neuron basis and attempts to recover the hidden features that are superimposed within it (disentanglement-vs-superposition-research-distinction). Two prerequisites make the phenomenon possible and beneficial: features must be sparse, active on only a small fraction of inputs, so that the dimensionality savings are real rather than illusory (eh2022-sparsity-prerequisite-for-superposition, superposition-requires-feature-sparsity), and a hidden-layer nonlinearity such as ReLU must be present to both enable computation within the superposed representation and to allow individual overlapping feature signals to be resolved (eh2022-hidden-nonlinearity-essential-for-superposition, superposition-requ-rel-relu-necessary). Without sparsity the model collapses to an orthogonal PCA-like basis capturing only the top-k features (superposition-dense-regime-pca-behavior), and without the nonlinearity the superposed layer cannot implement the non-linear mappings it is trained to perform.

The Elhage et al. 2022 toy model, a 5-feature-to-2-dimension ReLU network trained with MSE loss and per-feature importance multipliers (superposition-toy-model-architecture, superposition-experiment-hyperparameter-sweep), provided the canonical demonstration that superposition is not a training artifact but a structural attractor. In the sparse regime the model packs all five features into two dimensions with ReLU resolving the interference (superposition-sparse-regime-overcapacity), while the antipodal solution for a 2-feature/1-dimension variant shows that superposition can specifically destroy the joint-activation pattern [1,1] while preserving marginal statistics (antipodal-solution-loses-joint-activation). Training dynamics are notably non-smooth: feature dimensionalities jump discretely like energy levels rather than transitioning gradually, even under continuous gradient descent (feature-dimensionality-discrete-jumps-training), and superposition itself emerges via a sharp phase transition with a hard regime boundary beyond which it is entirely absent (superposition-sharp-phase-transition). The maximum number of recoverable features scales linearly, not exponentially, with embedding dimension, with the constant set by sparsity density (superposition-capacity-linear-in-dimension). In the uniform case (equal importance, equal sparsity), optimal feature directions converge to the vertices of regular polytopes—a pentagon for 5 features in 2D, a tetrahedron for 4 in 3D—giving rise to a geometric regularity that is model-independent (uniform-superposition-regular-polytopes, uniform-superposition-converges-digons, isotropic-superposition-model-uniform-spacing). This geometric convergence, together with the covariance/whitening structure it induces, functions as a structural attractor determined by the shared semantic grammar of language rather than being a quirk of any single model (geometric-convergence-as-mathematical-attractor-v2). A tightly interlocked "triangle" emerges: over-complete superposition in the residual stream makes covariance geometry the canonical tool for feature isolation, covariance geometry provides the coordinate space in which rank-one edits are formulated, and the boundedness of those edits reflects the distributed, locally non-consolidated nature of the underlying superposed representation (superposition-covariance-editability-triangle-v2, superposition-as-single-root-cause-v2). The Sachan follow-up at Redwood Research formalizes the whole picture as a constrained optimization problem—minimize reconstruction error subject to a sparsity or orthogonality budget—yielding principled predictions of when polysemanticity will emerge (superposition-as-constrained-optimization).

Several downstream consequences follow from the interference that superposition necessarily introduces. The small non-zero off-diagonal entries (epsilon) that appear in W^T W when features are packed into shared dimensions (superposition-creates-interference-entries) constitute the direct mechanism of adversarial vulnerability, which increases by more than 3x as superposition forms and tracks the number of features per dimension (superposition-increases-vulnerability-3x). This vulnerability persists in the infinite-data limit, confirming it is a property of the optimal sparse representation rather than a finite-sample artifact (vulnerability-persists-infinite-data-limit). Positive dot products between semantically unrelated features make naive cosine-similarity probes unreliable (superposition-introduces-positive-dot-products). The Templeton 2024 paper further complicates the picture by identifying three distinct types—activation superposition, attention superposition across heads, and weight superposition in learned weights (three-superposition-types)—each requiring different tools to resolve. Architectural choices can modulate the incentive for superposition: L1 regularization kills below-threshold features and reduces polysemanticity (l1-regularization-reduces-superposition), and Mixture-of-Experts architectures decouple neuron count from compute, potentially eliminating the efficiency gain that makes superposition attractive in the first place (moe-reduces-superposition-incentive). On the positive side, superposition is not merely a storage trick; neural networks can perform full non-linear computation within the superposed hidden layer (eh2022-superposition-supports-computation), and the two-model decomposition that assigns input/output layers to a disentangled basis while keeping the hidden layer superposed provides a practical framework for study (eh2022-two-model-disentangled-superposed). The Gaussian-latent assumption in VAEs and GANs may even force superposition of inherently sparse variables, since the superposition of many sparse components approaches a Gaussian by the Central Limit Theorem (gaussian-latent-assumption-drives-superposition).

Empirically, the theory aligns with observations across architectures: early InceptionV1 layers are monosemantic while later layers become polysemantic as features grow sparser (inceptionv1-early-layers-monosemantic), and the first MLP layers in Transformers are predicted and confirmed to be extremely polysemantic (transformer-early-mlp-extremely-polysemantic). The "solving superposition" program is defined as enumerating all features in a model, equivalently unfolding superposed activations into a larger space via compressed sensing, formalized as finding sparse A and mixing B matrices such that H approximately equals A times B (solving-superposition-defined-as-feature-enumeration, overcomplete-basis-sparse-coding-formulation). Independent replication by Redwood Research confirmed the key results in the superposition, phase-change, and uniform-superposition sections of the original paper (independent-replication-confirmed-key-results), strengthening confidence in the geometric claims. At the broadest level, superposition appears as a unifying structural principle connecting the 10-to-200x over-complete expansion seen in SAEs, the key-value associative-memory structure identified in ROME, and the direct-sum decomposition of hierarchical orthogonal subspaces, with all three mutually consistent with over-complete superposed representations (superposition-as-compositional-basis-v2). The same over-completeness is also consistent with data-side redundancy (correlated corpora yielding diminishing accuracy gains) and representation-side redundancy (SAE dead features rising from 2% to 65% as dimensionality grows), though these are established as descriptive correlations rather than isolated causal claims (superposition-unifies-data-and-representation-redundancy-v2). Equal-loss minima in compressed-sensing tasks—some polysemantic, some monosemantic—caution that the loss landscape alone does not determine the degree of superposition (equal-loss-minima-compressed-sensing), and the memorization-versus-generalization phase transition shows that small datasets are stored in superposed, entangled form rather than as separate features (memorization-superposition-phase-transition). All beliefs in this topic are currently IN; none have been retracted, indicating a stable and internally consistent cluster of claims in the knowledge base.