Superposition
Superposition is the way neural networks represent more concepts than they have neurons by overlapping them, which makes individual neurons respond to several unrelated things (polysemanticity) and makes models harder to interpret.
It would be convenient if each artificial neuron in a network stood for one clear thing, such as a curve, a dog's snout or the colour red. Some do. Many, especially in large language models, do not: a single neuron may fire for several unrelated concepts. This is called polysemanticity, and it is one of the main obstacles to understanding what a model is doing inside.
Superposition is the leading explanation. In Toy Models of Superposition, published in September 2022 by Nelson Elhage, Chris Olah and colleagues at Anthropic and Harvard, the authors trained small networks on synthetic data and showed that a network can represent more features than it has dimensions. It does this by giving each feature its own direction in the network's internal space, with those directions overlapping. The trick works when features are sparse, meaning that any one of them is rarely active at the same time as the others, so the overlaps seldom cause confusion. The price is some interference that the network has to filter out.
An analogy is a crowded noticeboard on which several notices are printed on top of each other in different colours. If only one notice matters at a time, you can still read it. Look at any single spot on the board, though, and you see a mixture. In the same way, looking at one neuron shows a jumble of concepts, even though the network as a whole keeps them apart. The authors note that the idea is closely related to compressed sensing in mathematics and to distributed codes in neuroscience.
The concept changed how interpretability research is done. If concepts are spread across neurons, the right unit to study is the feature, not the neuron. In October 2023 Anthropic used dictionary learning to break a layer of 512 neurons in a small transformer into more than 4,000 features, many of them readable, such as DNA sequences, legal language and Hebrew text. In May 2024 it applied the same approach to Claude 3 Sonnet and extracted millions of features, including one for the Golden Gate Bridge that, when amplified, made the model talk as though it were the bridge. Sparse autoencoders, the tool most often used for this kind of dictionary learning, are designed to pull overlapping features apart.
For readers of AI news, superposition explains why "looking inside" a model is hard and why interpretability results usually speak of features rather than neurons. It is well supported in small models; how completely it describes very large models is still being studied.
It is a network representing more features, or concepts, than it has neurons or dimensions, by storing them as overlapping directions. It works because most features are rarely active at the same time, so the overlap seldom causes errors. A polysemantic neuron is one that activates for several unrelated concepts rather than one. Superposition is the main explanation for why such neurons are common, particularly in large language models. No. In interpretability, superposition means overlapping representations of many features in the same set of neurons. It borrows the word from physics but has nothing to do with quantum computing. They use methods such as sparse autoencoders, a form of dictionary learning, to decompose a layer's activity into a larger set of features that each mean one thing. Anthropic used this approach to find millions of features in Claude 3 Sonnet in 2024.Common questions
What is superposition in neural networks?
What is a polysemantic neuron?
Is AI superposition related to quantum superposition?
How do researchers get around superposition?
Search for "toy models of superposition", "polysemanticity" or "sparse autoencoders interpretability". The original research is published on arXiv and on Anthropic's Transformer Circuits site, and interpretability teams at other labs and universities publish follow-up work. Introductory explanations from the researchers themselves are generally more reliable than secondary summaries, which often blur features and neurons.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.