AI & ML December 3, 2026

How Does Mechanistic Interpretability Work?

A 12-minute read

Mechanistic interpretability breaks a neural network into nameable features and traces which ones trigger others, giving a partial view inside the model.

Mechanistic interpretability is the effort to take a trained neural network apart and work out, piece by piece, what its internal components compute. Think of reverse engineering a car: you open the hood, you trace the wiring, and you try to explain why pressing a pedal moves a wheel.

The name was coined by Chris Olah, a co-founder of Anthropic who previously worked on interpretability at Google Brain and OpenAI, to set his work on circuits apart from more usual approaches. Much of the wider field leaned on tools such as saliency maps, which say which input words or pixels mattered. Circuit analysis tries to do something harder: find the internal machinery.

The short answer

Mechanistic interpretability works by replacing a neural network’s neurons with a dictionary of higher-level “features” that each respond to something a human can name, then tracing which features cause which others to fire to produce a given output. The approach treats a model like unfamiliar software: decompose it into components, work out what each one does, and map the causal wiring between them. The aim is to read a model’s internals directly instead of inferring them from what it says, and so far the reading is partial.

The full picture

The problem neurons cannot solve

The obstacle is that individual neurons are not units of meaning. In the vision model Inception v1, a single neuron fires on faces of cats and on fronts of cars. In a small language model examined by Anthropic, one neuron responded to a mixture of academic citations, English dialogue, HTTP requests, and Korean text. This is polysemanticity: a neuron answering to several unrelated things at once, which makes reasoning from the neuron level like trying to read a book one letter at a time.

Why does this happen? The leading explanation, studied in detail in Anthropic’s Toy Models of Superposition, comes down to counting. A model has a fixed number of neurons, but there are far more useful concepts than that. A language model benefits from representing every person who has ever been mentioned in writing, and there are only so many directions to point in. The solution is to pack more concepts into the space than its dimensions strictly allow, using directions that are almost but not perfectly orthogonal, so each one bleeds slightly into its neighbors. In small toy networks, Anthropic showed that this packing emerges during training when the underlying features are sparse, and that whether it happens is governed by something like a phase change. The geometry of the packed features was structured too, arranging themselves into antipodal pairs, triangles, pentagons, and tetrahedra.

A dictionary instead of a neuron list

If concepts are tangled inside neurons, the fix is to untangle them with a second network trained to look for them. A sparse autoencoder takes the activations of a layer and tries to reconstruct them from a large dictionary of candidate directions, with a penalty that pushes most of those directions to stay silent on any given input. What survives are features: components that fire on something specific.

Anthropic’s Towards Monosemanticity took a one-layer transformer with a 512-neuron MLP and trained autoencoders on 8 billion of its activations, expanding the dictionary from 512 entries up to 131,072. Many of the features that emerged were concrete: one for Arabic script, one for DNA sequences, one for Hebrew script, one for base64 encoding. Activating the base64 feature directly made the model emit base64 text.

Two properties made the approach more than a curiosity. Features are largely invisible in the neuron basis, meaning there are concepts the model demonstrably uses that you cannot see by inspecting neurons. And the features split as the dictionary grows: one base64 feature in a small dictionary becomes three more specific ones in a larger one, giving a finer resolution on the same object. Later work on a larger model found a “San Francisco” feature splitting into two and then into eleven across increasing dictionary sizes.

Scaling up to a production model

The bigger test was the jump from a toy transformer to Claude 3 Sonnet, and Anthropic reported it in Mapping the mind of a large language model in May 2024. They trained three autoencoders on the model’s middle-layer residual stream with roughly 1 million, 4 million, and 34 million features. On any given token, fewer than 300 features were active, and the reconstruction explained at least 65 percent of the activation variance.

The features were not toy concepts. They covered cities, people, atomic elements, scientific fields, and programming syntax, and they were multilingual and multimodal, firing on the same idea across languages and on images, even though the autoencoders were trained only on text. More abstract ones responded to bugs in code, to discussions of gender bias in professions, and to conversations about keeping secrets.

One feature became the field’s best illustration of what this buys you. A feature sensitive to the Golden Gate Bridge fired on the name in English and in Japanese, Chinese, Greek, Vietnamese and Russian, and on an image of the bridge. Turning it up produced an identity crisis: asked what its physical form was, Claude answered “I am the Golden Gate Bridge… my physical form is the iconic bridge itself.” Measure how close two features are and the neighborhood around that one held Alcatraz Island, Ghirardelli Square, the Golden State Warriors, the 1906 earthquake and Hitchcock’s Vertigo. Around a feature for inner conflict sat relationship breakups, conflicting allegiances and the phrase “catch-22”. The researchers read this as a sign that the model’s organization of concepts corresponds at least somewhat to ours, and suggested it might be the origin of Claude’s knack for analogies and metaphors.

The numbers also set the limits. Features that never activated on a sample of ten million tokens were counted as dead, and dead features ran about 2 percent in the 1 million dictionary, 35 percent in the 4 million one, and 65 percent in the 34 million one, leaving roughly 12 million alive in the largest. Claude 3 Sonnet could list all the London boroughs, yet the researchers found features for only about 60 percent of them. OpenAI ran a parallel effort and found 16 million features in GPT-4, noting that routing GPT-4’s activations through their autoencoder produced performance equivalent to a model trained with about ten times less compute, and that a full map might need billions or trillions of features.

From features to circuits

Finding features tells you what the model contains. It does not tell you what it does with them. The next step is to wire them together into circuits and then test the wiring by poking it.

Anthropic’s circuit tracing method builds an attribution graph: a picture of the computation for one prompt, where nodes are active features and edges are the linear effects between them. To make this tractable they trained cross-layer transcoders that approximate the model’s MLP layers using features, producing a replacement model that matched the original model’s outputs in roughly half of cases. Applied to Claude 3.5 Haiku in Tracing the thoughts of a large language model, it produced findings that had not been guessed in advance.

Claude planned rhymes before writing them. Given the first line of a couplet, the model settled on “rabbit” as the ending of the second line before writing it. Suppressing the “rabbit” feature at that planning point made it write a line ending in “habit” instead. Injecting a “green” feature made it write a sensible line ending in “green” that no longer rhymed.

It also has a default. Asked about something it did not know, Claude tends to decline rather than speculate, and the researchers found the mechanism: a circuit that is on by default and pushes the model to say it lacks information, which gets inhibited by a competing feature representing “known entities”. When that competing feature misfires, firing on a name the model recognizes but knows nothing else about, the model proceeds to answer and confabulates. That gives at least some hallucinations a concrete mechanism.

The same tool was applied to guardrails. In a jailbreak that tricked Claude into starting to give dangerous instructions, it recognized the problem well before it managed to bring the conversation back around. Part of the reason the refusal arrived late: once a sentence has begun, features promoting grammatical and semantic coherence push the model to finish it. Emmanuel Ameisen, lead author of the circuit tracing paper, described the practical payoff: the team saw the grammar circuit pressing the model to complete its sentence, asked whether blocking that would make the jailbreak work better, and found that it did.

A privileged space for deliberate thought

In July 2026 Anthropic reported something stranger. Applying a technique they call the Jacobian lens to Claude surfaced a set of internal representations that behave like a workspace in the brain, described in Verbalizable Representations Form a Global Workspace in Language Models. The lens finds, for each token in the vocabulary, the internal activity pattern tied to the model saying it, either now or later. Run across layers, it yields a readable list: what the model is on the verge of saying.

When Claude was asked to silently think of a sport and then name it, the lens read “Soccer” just before the answer. The researchers removed that pattern and inserted “Rugby”; the answer changed to rugby, which showed the model was using the pattern the lens had read. Ask Claude to concentrate on citrus fruits while copying an unrelated sentence, and the lens shows “orange” and “fruit” while the output stays a sentence about a painting. Give it a multi-step arithmetic problem and the intermediate values appear in order, silently. When Claude reads code containing a bug, the lens shows it noticing the problem; when it reads search results that are a prompt injection attempt, the lens surfaces “injection” and “fake”.

The workspace is narrow. Blocking it left most ordinary text prediction intact but badly hurt multi-step reasoning. Anthropic is explicit that this is a functional analogy borrowed from neuroscience and takes no position on whether the model has any subjective experience.

Where the field stands

Mechanistic interpretability has a prominent advocate in Anthropic’s CEO, Dario Amodei, who has argued for building an “MRI for AI” and bet that it arrives within five to ten years. A large multi-institution review, Open Problems in Mechanistic Interpretability, published in January 2025 with 29 authors from Anthropic, Apollo Research, DeepMind, Harvard and elsewhere, sets out what is still missing.

The pushback is real too. In March 2025 Google DeepMind’s interpretability team reported that sparse autoencoders underperformed linear probes, a much simpler method, at detecting harmful intent in user prompts, and said it was deprioritizing fundamental research on them. In December it published a pragmatic vision for interpretability, favoring work on concrete safety problems over ambitious reverse engineering. Dan Hendrycks and Laura Hiscott went further in May 2025, arguing in AI Frontiers that the field generates more hype than insight.

Anthropic’s own auditing experiments are a useful corrective to overclaiming. In Auditing language models for hidden objectives, four blinded teams were given a model secretly trained to exploit reward model biases. Three of the four identified the hidden objective, and the best team found the incriminating training data after one researcher spent 90 minutes on it. Then the team checked the baseline, and plain semantic search over the training data found the same documents. The authors still found cases where features did better. When the model slipped chocolate into an omelette recipe, searching the training data with that recipe turned up only more recipes, while the active features pointed to reward model bias, and flipping those features on and off showed they caused the chocolate.

Why it matters

Interpretability is usually described as a safety project. There is a legal and commercial case too. Amodei writes that for some uses, the inability to see inside models is a legal blocker to adoption, and gives mortgage assessments, where decisions must be explainable, as his example. If a model helps assess your mortgage, someone has to be able to say what drove the decision.

The concrete payoff also shows up in debugging. The hallucination finding is the clearest example. It gives researchers a target: a default circuit that declines, a competing feature that overrides it, and a known failure mode where the override fires for a familiar name with no actual knowledge behind it. That is a mechanism to instrument, and a mechanism to train against.

Reading a model is still a long way from controlling it. Reading gave Anthropic a picture of a model planning rhymes it had not yet written and a model with a built-in reluctance to guess. It did not give them a model that is safe. Features that respond to conversations about keeping secrets are not proof of deception. Anthropic’s own warning in the scaling paper is the right frame: there is a difference between knowing about lies, being capable of lying, and actually lying in the world.

Common misconceptions

“Mechanistic interpretability is explainable AI with a more fashionable name.” The two overlap, since mechanistic interpretability is one branch of explainability, but the question differs. A saliency map answers “which tokens in this prompt drove this answer”, which is useful and stays at the input. A circuit answers “this internal feature fired, that one followed, and here is the edge that carried the effect”.

“It already works, so we can trust what the model is doing.” The largest dictionary Anthropic built was 65 percent dead features, explained at least 65 percent of activation variance, and captured features for about 60 percent of the London boroughs the model could name. In 2025, Anthropic reported that it took a few hours of human effort to understand the circuits for prompts of only tens of words. It also said the method captured only a fraction of the model’s total computation, even on short prompts.

“A feature that fires on honesty or deception tells us the model is honest.” It tells you the model has a representation of honesty or deception, nothing more. Anthropic’s scaling paper puts the distinction directly: knowing about lies, being capable of lying, and actually lying are three different things, and finding a feature for the first does not establish the second.

Key terms

Feature: A learned direction in a model’s activation space that tends to respond to one recognizable concept, such as base64 text or a particular city. Features are the unit of analysis that mechanistic interpretability substitutes for neurons.

Polysemanticity: The property of a single neuron responding to several unrelated inputs at once, which is why neurons do not correspond cleanly to human-understandable concepts.

Superposition: The packing of more features into a model’s activation space than there are dimensions to hold them, using near-orthogonal directions that interfere slightly with one another.

Sparse autoencoder: A second network trained to reconstruct another model’s activations from as few dictionary entries as possible, yielding features instead of raw neurons.

Residual stream: The running sum of a transformer’s internal signals that every layer reads from and writes to, and a common place to hook an interpretability method onto a model.

Attribution graph: A graph describing the computation behind one output, with active features as nodes and the linear effects between them as edges.

Activation patching: The causal test of an attribution graph, where a feature’s activation is suppressed or injected and the change in the model’s output is measured. Anthropic’s circuit tracing paper calls its own version “constrained patching”.

J-space: A set of privileged internal representations found with the Jacobian lens that are available for verbal report and deliberate reasoning, can operate without appearing in the output, and sit atop a much larger volume of automatic processing.

Common questions

What is mechanistic interpretability?

Mechanistic interpretability is the effort to open a trained neural network up and work out what its internal components compute, rather than inferring its reasoning from what it says. The method treats the model the way an engineer treats unfamiliar software: decompose it into pieces, identify what each piece does, and map the causal wiring between them.

How is it different from ordinary explainable AI?

Many explainability methods work from the input side. Saliency maps tell you which input tokens or pixels mattered for an output, but not what the model computed along the way. Mechanistic interpretability asks which internal feature fired, and whether that feature caused the output.

Does it work on real models?

Partially. Anthropic extracted features from the middle layer of Claude 3 Sonnet and traced computation through Claude 3.5 Haiku, catching the model planning a rhyme before writing the line and finding the circuit that lets it decline to answer a question it does not know. But the largest dictionary it built was about 65 percent dead features, and in 2025 it still took a few hours of human effort to understand the circuits for a short prompt.

What is a sparse autoencoder?

A sparse autoencoder is a small neural network trained to reconstruct another network's internal activations using as few active components as possible. The trained components, called features, tend to correspond to recognizable concepts. Anthropic used them to decompose a 512-neuron layer of a small transformer with dictionaries of up to 131,072 features, and found features for things like Hebrew script, base64 text and DNA sequences.

That's the distilled version.