Article 0.03
January 2027

A trained neural network is a few billion numbers that nobody chose. Training sets them, one small nudge at a time, until the network does what it was asked. Then it works, and we can watch what goes in and what comes out. What happens in between is mostly unread.
Mechanistic interpretability is the attempt to read it: to take a trained network and recover the algorithm it runs, in pieces small enough for a person to check. The field is young. Most of its results come from the last ten years and many from the last three.
This article walks through it in order. Neurons first, then the problem that neurons are not the right unit, then the tools built to get around that, then what those tools have found inside language models. We have kept the math light. The pictures are made for this article and are drawings of the ideas, not data, unless a caption says otherwise.
Part 1
Why look inside at all, when the outputs are right there?
You can learn a lot about a model by testing it. Give it questions, score the answers, find where it fails. Most of what we know about large models comes from this kind of work, and it is necessary.
It has a ceiling. A test shows what a model did on the inputs you thought to try. It cannot show why, and it cannot tell you what the model would do on the input you did not think of. Two models can pass the same tests for different reasons, and the reasons are what decide how each one fails later.
Looking inside is a way of getting at the reasons. If you can find the part of the network that computes something, you can check whether it computes what you hoped, and you can see things that no test was written to catch.
GPT-2 small, from 2019, has 12 layers, each with an MLP of 3,072 neurons. That is 36,864 neurons and about 124 million weights, in a model that is tiny by current standards.
Plenty of methods explain a model in some sense. A saliency map lights up the pixels that most affected an answer. A probe checks whether some fact can be read out of a layer. These are useful, and they are mostly about correlation.
The mechanistic program asks for more: a description of the computation itself. Which components read which information, what they do to it, and where they write the result. The ideal answer looks like a short program with the same behavior as the network, and with each line pointing at real weights.
The comparison people often reach for is reverse engineering a compiled binary. The program is all there. Nobody left the source code.
Test the model and describe what it does. Fast and broad, but blind to why.
Find which inputs or parts mattered for one output. A heat map, not a mechanism.
Recover the computation itself, in parts you can check and change.
Zoom In put forward three speculative claims, and much of the field since has been an attempt to test them.
First, that networks are made of features: directions in their activations that stand for something meaningful. Second, that features connect by weights into circuits, which can be read like small programs. Third, universality: that similar features and circuits turn up again in different networks trained on similar data.
All three were offered as working bets. The first has turned out to be complicated in an interesting way, which is the subject of part three.
Part 2
The obvious place to start is the smallest named part.
A neuron takes a weighted sum of its inputs and passes it through a simple function. Bright lines are positive weights, dim ones negative, thickness is size. A drawing, not data.
Start with an image model and pick one neuron. Then run the network backwards: begin with noise and adjust the input, step by step, to make that neuron fire as hard as possible. What comes out is a picture of what the neuron responds to.
This is feature visualization, set out by Chris Olah, Alexander Mordvintsev and Ludwig Schubert in Distill in 2017. Without care the results are static. With the right constraints they are strange, recognizable images: fur, eyes, wheels, scales.
A second check is to collect the real images that make the neuron fire hardest. When both agree, you start to believe you know what the neuron does.
In the spirit of feature visualization: a texture of the kind the method produces. This one is computed from sine waves and noise, not from a network.
The best studied neurons in any network may be the curve detectors in InceptionV1, an image model from 2014. A 2020 Distill paper by Nick Cammarata and colleagues looked at them closely.
Each responds to a curve at one orientation and stays quiet for others. Together they tile the circle. The authors showed how they are built from earlier edge detectors, and that they could rewrite the weights by hand to make a working curve detector of their own.
That last step matters. A circuit you can reimplement is a circuit you understand.
A family of curve detectors, each tuned to one orientation, drawn for this article.
Most neurons are not so tidy. Zoom In describes a neuron in InceptionV1 that responds to cat faces, the fronts of cars and cat legs. Those things share nothing obvious. Neurons like this are called polysemantic.
In language models the problem is worse. Look at the text that most excites a typical neuron and you find a mixture: a few words from one topic, a few from another, some punctuation. Clean single-meaning neurons exist, but they are the exception.
For a while this looked like noise or bad luck. It turned out to have a reason.
In 2021 Gabriel Goh and colleagues looked inside CLIP, a model trained on images and their captions. They found neurons that respond to a concept however it is shown: a photo, a drawing, or the word written out.
One responds to Spider-Man in costume, to comic drawings of him, and to the word spider. Others respond to famous people, to places and to emotions.
The finding echoed one in human brains. In 2005 Rodrigo Quian Quiroga and colleagues recorded single neurons in people and found one that fired for photos of the actor Jennifer Aniston, and another that fired for Halle Berry and for her name in print.
If one neuron can stand for several unrelated things, then reading a network neuron by neuron cannot work. We need a different unit.
Part 3
A model can represent more features than it has neurons, if it accepts a little noise.
A language model needs to track an enormous number of things: topics, names, grammar, code, languages, the mood of the text. Far more than it has neurons in any one layer.
If each feature had its own neuron, the model would run out quickly. So it does something else. It stores features as directions in its space of activations, and it uses more directions than the space has dimensions. They cannot all be at right angles, so they overlap a little.
This is superposition. The overlap means features interfere with each other. The model can live with that as long as only a few are active at once, which in real text is usually true.
Five features stored in a space of two dimensions, as a small trained model arranges them: a pentagon. Drawn for this article after Toy Models of Superposition.
Nelson Elhage and colleagues at Anthropic studied this in Toy Models of Superposition, in 2022. They trained tiny networks to squeeze many features through a narrow layer and rebuild them on the other side.
When features were common, the models kept the most important ones and dropped the rest. When features were rare, the models packed in more than there was room for, and arranged them in regular shapes: pairs pointing opposite ways, triangles, pentagons.
The paper also gave a cause for polysemantic neurons. If features are directions that do not line up with neurons, then every neuron sees a mixture. The neurons were never the right basis to look in.
Computed: the overlap between each pair of the five directions in the pentagon. Bright is the same direction, dark is opposite. The diagonal is each feature with itself.
A schematic of the toy model results. Across: how rare a feature is. Up: how much it matters. Top, a feature gets its own dimension. Middle, it is packed in superposition. Bottom, it is dropped. Not data.
In two or three dimensions, there is not much room. In a thousand there is a great deal. Pick two directions at random in high dimensions and they are almost always close to perpendicular.
That means a space with a thousand dimensions can hold far more than a thousand directions that are nearly perpendicular to each other: the number grows exponentially with the dimension. Each pair overlaps a little, and the overlaps stay small.
This is the geometry superposition relies on, and the two pictures that follow measure it.


Computed for this article: the angle between 3,160 pairs of random directions, as a histogram from fully opposite on the left to identical on the right. In three dimensions every angle is equally likely. In a thousand, nearly every pair is close to perpendicular.
Part 4
The architecture behind language models, read as a set of parts that talk through one channel.
A transformer turns a text into a list of tokens and gives each one a vector. That vector then passes up through the layers. Each layer reads from it, computes something, and adds its result back in.
A Mathematical Framework for Transformer Circuits, by Nelson Elhage, Neel Nanda, Catherine Olsson and colleagues in 2021, made this the center of the picture. They called the running vector the residual stream: a shared channel that every layer reads from and writes to.
Seen this way, the model is not a stack. It is a set of components passing notes through a common space, and a circuit is a path that information takes through it.
The residual stream runs up the middle. Attention and MLP blocks on either side read from it and add their results back. A diagram drawn for this article.
Attention is the only place where information moves between tokens. Each attention head does two separate things.
One part, which the framework paper calls the QK circuit, decides where to look: for each token, which earlier tokens to attend to. The other, the OV circuit, decides what to carry back from them and how to write it into the stream.
Splitting a head into these two parts lets you study them on their own, often straight from the weights, without running the model at all.


Attention patterns over a sequence of 24 tokens in which the second half repeats the first. Rows are where each token looks, columns are positions. Left, every token looks one step back. Right, in the repeat, each token looks at the token after its earlier copy. Drawn, not measured.
Here is a pattern any reader uses. If a text says Harry Potter once, then the next time it says Harry, Potter is a good guess. A model that can do this is copying from its own context.
Catherine Olsson and colleagues showed in 2022 that transformers do it with a pair of heads. The first, a previous token head, writes into each token a note about the token before it. The second, the induction head, searches for an earlier token whose note matches the current token, and copies what came next.
They also found that induction heads appear suddenly during training, in a short window, at the same time as a sharp improvement in the model learning from its context. It is one of the cleanest cases of a circuit tied to a capability.
| Position | Token | What happens |
|---|---|---|
| 1 | Mr | |
| 2 | Dursley | The previous token head notes: came after Mr |
| … | … | |
| 40 | Mr | The induction head searches for a token that came after Mr |
| 41 | ? | It finds Dursley at position 2 and predicts it |
A worked example. Any repeated pair of tokens will do.
Take the sentence: When Mary and John went to the store, John gave a drink to. Any reader knows the next word is Mary. GPT-2 small knows it too.
In 2022 Kevin Wang and colleagues traced how, in a paper called Interpretability in the Wild. The circuit they found uses about two dozen heads, sorted into a handful of roles. Some notice that John appears twice. Some use that to hold John back. And some, which they called name movers, copy the remaining name into the output.
It was the largest circuit found by hand in a language model at the time, and it showed how much structure a single easy sentence can hide.
Attention moves information between tokens. The MLP layers do most of the rest. In 2021 Mor Geva and colleagues argued that MLP layers act like key value memories: one set of weights recognizes a pattern in the input, the other writes a matching output.
In 2022 Kevin Meng and colleagues looked for where a model stores a fact such as The Eiffel Tower is in Paris. They corrupted the input, then restored one piece of the network at a time to see which pieces brought the answer back. The effect was concentrated in middle MLP layers at the last token of the subject.
They then changed those weights directly, and the model went on to say the Eiffel Tower is in Rome, and to reason from that. Their method was called ROME.
A schematic of activation patching. Each square is one layer at one position in the prompt. Bright squares are where restoring the clean activation brings the right answer back. Drawn, not data.
Part 5
A small network learns arithmetic, and the mechanism can be read out completely.
In 2022 Alethea Power and colleagues at OpenAI trained small transformers on simple math tables, such as addition modulo a prime number. The networks memorized the training examples quickly, and did no better than chance on examples they had not seen.
Then, long after training accuracy was perfect, test accuracy shot up to near perfect too. The network had switched from memorizing to something that generalized. They called it grokking.
This was a good puzzle for interpretability. Something changed inside the network while its training score stayed exactly the same.
A schematic of grokking. The solid line is accuracy on the training data, which is solved early. The dashed line is accuracy on held-out data, which jumps much later. Not data.
In 2023 Neel Nanda and colleagues fully reverse engineered a network that had grokked addition modulo 113. It does not add the way people do.
The network represents each number as an angle, using sine and cosine waves at a few chosen frequencies. To add two numbers it combines their angles with trigonometry, the way rotations compose. To read off the answer it checks which number’s angle matches the result.
Understanding the mechanism let the authors build measures that track the new algorithm forming, gradually, long before the jump in the test score. The sudden change was the end of a slow one.
38 plus 61 is 99, as rotations on a clock with 113 positions. Drawn for this article.
A one-layer transformer, a prime modulus and a clear algorithm. Small, but every step of it was checked against the weights.
Part 6
If features are directions in superposition, the job is to find the directions.
Suppose a layer of a model holds many features in superposition, with only a few active on any one token. Then its activation is a sum of a few directions out of a large set. Finding that set is a well studied problem called dictionary learning.
The tool most groups now use is the sparse autoencoder. It is a second, simple network trained to rewrite each activation as a sum of directions from a dictionary much larger than the layer, while using as few of them at once as it can.
Hoagy Cunningham and colleagues and a team at Anthropic both published this approach in 2023. If it works, each direction in the dictionary is one feature, and each feature means one thing.


The same activation two ways, drawn for this article. On the left, every neuron is partly on. On the right, a much larger dictionary explains it with five features.
In Towards Monosemanticity, in 2023, Trenton Bricken and colleagues trained sparse autoencoders on a one layer transformer with 512 neurons in its MLP. They asked for thousands of features.
Many of the features they found were far cleaner than any neuron. One fired on DNA sequences. Others fired on Arabic script, on Hebrew, on base64. They checked them with automated tools and by hand, and showed that turning a feature up changed the model’s output in the way its meaning predicted.
It was a small model. The open question was whether the method would survive a large one.
Ask a sparse autoencoder for more features and it does not just add new ones. Existing features break into finer ones.
A small dictionary may have one feature for base64 text. A larger one splits it into several, each covering some part of what the first one did. The general feature becomes a family of specific ones.
This suggests there is no single true list of features. There is a range of detail, and the dictionary size picks a point on it.
A feature splitting as the dictionary grows. A drawing, not data.
In May 2024 Adly Templeton and colleagues at Anthropic applied the method to Claude 3 Sonnet, a production model. They trained sparse autoencoders with up to about 34 million features on one of its middle layers.
The features were often abstract. The same feature would fire for a concept in many languages, and for images of it as well as text. They found features for famous people and places, for security flaws in code, for flattery, for keeping secrets.
Some of these were directly relevant to safety, which was much of the point. The authors were careful to say that finding a feature is not the same as knowing how the model uses it.
The largest dictionary in Scaling Monosemanticity. Many features in it never fired on the data used to check it.
A suspension bridge in fog, drawn for this article.
One feature in that dictionary fired for the Golden Gate Bridge: for its name, for descriptions, and for pictures of it.
When the researchers clamped this feature to a high value, the model became fixated on it. Asked about itself, it said it was the bridge. Asked for a recipe or a poem, it found its way back to the bay. Anthropic put this version online for a short time in May 2024 as Golden Gate Claude.
It was a demonstration and a test at once. If a feature is what you think it is, changing it should change the behavior in the way its meaning predicts. Here it plainly did.
A sparse autoencoder does not explain an activation perfectly. Some part is left over, the error between the activation and its rebuilt version. Researchers sometimes call it dark matter.
The leftover matters. Replace a layer with its dictionary version and the model gets measurably worse. Something it uses is not in the dictionary, and we do not know what.
Other groups have scaled the method too. OpenAI trained sparse autoencoders with 16 million features on GPT-4 in 2024. Google DeepMind released Gemma Scope, a large open set of them for its Gemma 2 models, the same year. The size and quality of the leftover is one of the main things they compare.
Shapes stand for what the dictionary explains. The haze around them is the rest. A drawing, not data.
Part 7
With features in hand, the next step is to connect them into circuits in a full size model.
Features say what is represented at one point. To see a computation you need to know how features at one layer cause features at the next.
In 2025 a team at Anthropic built replacement models for this. They trained a kind of dictionary called a cross layer transcoder, which stands in for the model’s MLPs with features that read from one layer and write to later ones. For a given prompt they can then draw an attribution graph: which features fired, and how strongly each pushed on the others, all the way to the output.
They published the method and a long companion paper, On the Biology of a Large Language Model, applying it to Claude 3.5 Haiku.
An attribution graph, drawn. Boxes are features, with the tokens of the prompt at the bottom and the output at the top. Thicker lines push harder. The lit boxes are the path that matters most.
Ask the model: Fact: the capital of the state containing Dallas is. It answers Austin. To get there it has to know that Dallas is in Texas, and then that the capital of Texas is Austin.
The attribution graph shows both steps inside a single forward pass. Features for Dallas activate features for Texas. Those, together with features for capital, activate Austin. The intermediate step is really there.
The researchers could check it by intervening. Swap the Texas features for features for California, and the model says Sacramento.
Asked to finish a rhyming couplet whose first line ends in grab it, the model writes a second line ending in rabbit. A natural guess is that it writes word by word and finds a rhyme at the end.
The graph says otherwise. Before writing the second line at all, at the newline token, the model already has features active for rabbit, and it writes the line to arrive there.
When the researchers suppressed the rabbit feature, the model ended the line on habit. When they put in a feature for green, it wrote a sensible line ending in green. The model was planning ahead, which few people had expected from a system trained only to predict the next word.
Ask it for 36 plus 59. The model does not carry digits the way it was taught at school, though it will say it did if you ask.
The graph shows paths working in parallel. One estimates the rough size of the answer. Another works out the last digit exactly. They are combined at the end to give 95.
The gap between what the model does and what it says it does is one of the main reasons people want to look inside.
The authors were plain about the limits. The replacement model is not the real model, and on many prompts it does not explain the output well. Attention is only partly covered.
Even when a graph works, it takes a person hours to read, for one prompt. They estimated that their method gave satisfying insight on about a quarter of the prompts they tried.
It is still the most detailed view anyone has had of a large model at work.
Part 8
Much of what models know is laid out along straight lines.
In 2013 Tomas Mikolov and colleagues showed that in word vectors trained on text, the direction from man to woman is about the same as the direction from king to queen. Take king, subtract man, add woman, and the nearest word is queen.
Results like this suggested that concepts are laid out as directions, and that you can move along them. The idea that models represent features linearly has been tested many times since and has mostly held up, with known exceptions.
Man to king and woman to queen as two parallel arrows. Drawn for this article.
A probe is a small model trained to read some property out of a network’s activations. If a simple linear probe can tell, from the middle layers, whether a sentence is true, then the information is there in a readable form.
Guillaume Alain and Yoshua Bengio proposed linear probes in 2016. They are cheap and widely used. Their weakness is that they show information is present, not that the model uses it. A probe can find things the model ignores.
Two kinds of activation, filled and hollow dots, split by a plane. A linear probe learns that plane. Drawn, not data.
In 2023 Kenneth Li and colleagues trained a model on lists of moves from the game Othello, and nothing else. It never saw a board. It learned to play legal moves.
They found they could read the state of the board out of its activations, and that changing the board in the activations changed which moves it played. Neel Nanda and colleagues then showed the board is stored linearly, once you read each square as mine or theirs instead of black or white.
A model trained only on sequences had built a model of the world that produced them.
An Othello board in the middle of a game, drawn for this article.
Wes Gurnee and Max Tegmark found in 2023 that Llama 2 models hold linear representations of where places are and when events happened. A probe can read latitude and longitude from the activations for a city name, and a year from the activations for a historical figure.
The readouts are rough, but they are straight lines, and they improve with model size.
If a concept is a direction, you can add it. In 2023 Alex Turner and colleagues took the difference between a model’s activations on Love and on Hate and added it during generation. The text turned warmer.
Andy Zou and colleagues called a broader version representation engineering, and used it to push models toward or away from honesty, among other things. Golden Gate Claude was the same move made with a dictionary feature.
Steering is the clearest test that a direction means what you think. It is also a tool in its own right.
Part 9
The handful of moves that most of these results are built from.
Ablation: remove one unit, or set it to an average value, and see what breaks. Drawn for this article.
In 2020 a researcher writing as nostalgebraist took GPT-2 and read its residual stream at each layer through the model’s final output step, as if the model had stopped there.
The guesses get better layer by layer. Early layers often guess something generic. Later ones sharpen toward the final answer. It is a crude tool and works better in some models than others, but it is a quick way to watch an answer form.
| Layer | Top guess |
|---|---|
| 2 | the |
| 4 | city |
| 6 | France |
| 8 | Paris |
| 10 | Paris |
| 12 | Paris |
An invented example of what the logit lens shows for the prompt The Eiffel Tower is in the city of. Real readouts are messier.
There are far too many features for people to label by hand. In 2023 Steven Bills and colleagues at OpenAI used GPT-4 to write explanations of neurons in GPT-2, then scored each explanation by how well it predicted the neuron’s activity.
Most explanations scored poorly, partly because most neurons are polysemantic. The approach has since become standard for labeling dictionary features, with the same caution: a label is a guess to be tested, not a finding.
Arthur Conmy and colleagues automated another step in 2023 with a method called ACDC, which finds circuits by removing connections one at a time and keeping only those that matter.
Part 10
The field has a method and some results. It does not yet have an account of a whole model.
The most common reason given for this work is safety. If a model has learned to deceive the people testing it, the outputs may not show it. The internals might.
There are other reasons. Debugging a model is easier when you know where a behavior lives. And there is the plain scientific interest: these systems do things nobody knows how to program by hand, and their weights contain the answer to how.
Some researchers think of interpretability as a microscope: a way of seeing what is there, one sample at a time, without needing a general theory first. Biology did a great deal that way.
Others want a theory of how networks represent and compute, from which particular findings would follow. Superposition was a step in that direction.
The two are not exclusive. Most of the results in this article came from looking carefully at one thing and then asking why it was like that.
Just as the early microscope hinted at a new world of cells and microorganisms, visualizations of artificial neural networks have revealed tantalizing hints and glimpses of a rich inner world within our models.
Chris Olah and colleagues, Zoom In: An Introduction to Circuits, Distill, 2020.