Skip to content

Mechanistic Interpretability Explained: How Researchers Read the Minds of AI Models

Mechanistic interpretability tries to reverse-engineer neural networks to understand how they really work inside. A clear, in-depth guide: core ideas (features, superposition, circuits), the main techniques from probing to sparse autoencoders and attribution graphs, a timeline of breakthroughs, what researchers have found inside language models, the field's limits and criticisms, its role in AI safety and superintelligence, and how to…

6 min read

Mechanistic Interpretability Explained — mechanistic interpretability

Short answer

Mechanistic interpretability is the effort to reverse-engineer neural networks: to identify the internal features, circuits and algorithms that produce a model's behaviour, much as engineers decompile software. The term was coined by Chris Olah, now at Anthropic. Key ideas include features (concepts represented as directions in activation space), superposition (models packing more concepts than they have neurons) and circuits (chains of features that compute something). Breakthrough tools such as sparse autoencoders extracted millions of interpretable features from production models (34 million from Claude 3 Sonnet in 2024), and attribution graphs (2025) traced step-by-step reasoning and planning inside Claude 3.5 Haiku. The field matters for safety because it could let us check whether an advanced AI is deceptive or misaligned, but current methods explain only part of what large models do.

Why interpretability matters

Large language models are trained, not programmed. We know the training process but not the algorithms the resulting billions of parameters implement. That creates problems:

  • Trust: we can't verify why a model gave an answer.
  • Safety: a model could behave well in testing while hiding other tendencies. See AI deception and scheming evidence.
  • Control: without understanding, correcting failures is trial and error.
  • Superintelligence: overseeing systems smarter than us may require looking inside them rather than only judging their outputs. See the superintelligence control problem.

Anthropic CEO Dario Amodei's 2025 essay "The Urgency of Interpretability" argued for the goal that interpretability could reliably detect most model problems by 2027.

Core concepts

ConceptMeaning
FeatureA property the model represents, such as "Python code," "the Golden Gate Bridge" or "deception," usually as a direction in activation space
Linear representation hypothesisMany concepts are represented linearly (supported in many settings, not universally)
SuperpositionModels represent more features than they have neurons by overlapping them, making individual neurons "polysemantic" (responding to unrelated things)
Monosemantic featureA feature that corresponds to one interpretable concept
CircuitA subnetwork of features and weights that implements a specific computation
Residual streamThe main information pathway in a transformer that layers read from and write to
Causal interventionChanging internal activations to test whether a component actually causes a behaviour

Main techniques

TechniqueWhat it doesStrengthLimitation
ProbingTrains a simple classifier to detect a concept in activationsFastShows information is present, not that the model uses it
Logit lens / tuned lensDecodes intermediate layers into predicted tokensShows how predictions form across layersApproximate
Activation patching (causal tracing)Swaps activations between runs to find which components matterCausal evidenceLabour-intensive
Attention pattern analysisStudies which tokens heads attend toIntuitiveAttention isn't the whole story
Sparse autoencoders (SAEs)Learn a large dictionary of sparse features from activationsScales to production models; finds interpretable featuresImperfect reconstruction; many features unclear; costly
Transcoders and attribution graphsReplace MLPs with interpretable approximations and trace feature-to-feature influence for a promptShows multi-step mechanismsExplains only part of computations
Steering vectors / feature steeringAdds or amplifies feature directions to change behaviourDemonstrates causal roleSide effects

Timeline of key discoveries

YearMilestone
2017–2020Feature visualisation and circuits in image models (Olah and colleagues, *Distill*), including curve detectors in InceptionV1
2021Anthropic's "A Mathematical Framework for Transformer Circuits"
2022Induction heads identified as a mechanism behind in-context learning; "Toy Models of Superposition" explains polysemantic neurons
2023"Towards Monosemanticity": sparse autoencoders extract interpretable features from a small transformer
2024"Scaling Monosemanticity": up to 34 million features from Claude 3 Sonnet, including features for deception, bias and security vulnerabilities; "Golden Gate Claude" demonstrates feature steering; OpenAI trains a 16-million-feature SAE on GPT-4; Google DeepMind releases Gemma Scope SAEs
2025Anthropic's circuit-tracing work ("On the Biology of a Large Language Model") uses attribution graphs on Claude 3.5 Haiku
2025–2026Growing focus on applying interpretability to safety audits, model debugging and detecting hidden objectives

What researchers have found inside models

  • Multi-step reasoning: attribution graphs show models combining intermediate facts (for example, finding the capital of the state containing a city) rather than only memorising answers.
  • Planning ahead: when writing rhyming poetry, Claude 3.5 Haiku appeared to choose a rhyming word before writing the line leading to it.
  • Shared multilingual concepts: many concepts are represented in language-independent features, with language-specific parts at the input and output.
  • Abstract features: SAEs found features for concepts like sycophancy, code bugs, deception and specific people, places and objects, often multimodal and multilingual.
  • Unfaithful explanations: in some cases a model's stated chain of thought didn't match the computation it actually performed, an important finding for reasoning models.
  • Hallucination mechanisms: circuits that normally make a model decline unknown questions can be suppressed by "known entity" features, contributing to confident errors. See AI hallucination.

Anthropic reported that its circuit-tracing method gave satisfying insight for roughly a quarter of the prompts it tried, a useful reminder of how much remains unexplained.

Limits and criticisms

1. Coverage: current methods explain only a fraction of a large model's computation. 2. Scalability: analysing frontier models is expensive, and models keep growing. 3. Reconstruction error: SAEs don't perfectly capture what the model represents; the "dark matter" may hide important mechanisms. 4. Interpretability illusions: explanations can look convincing but be wrong or incomplete. 5. Practical usefulness: in 2025, Google DeepMind researchers reported that SAEs underperformed simple baselines on some downstream safety tasks and shifted focus toward more pragmatic methods. 6. Definitions: "feature" and "explanation" lack rigorous, agreed definitions; philosophers of science debate what counts as a mechanistic explanation. 7. Race against capability: progress must keep up with increasingly capable models.

Interpretability and superintelligence

Approach to oversightRelies onRisk with superintelligence
Behavioural testingWatching outputsA capable system could behave well only when tested
Chain-of-thought monitoringReading model reasoningReasoning may be unfaithful or hidden
Mechanistic interpretabilityReading internal computationsHard to scale, but harder to fool

Interpretability is one of the few approaches that might detect a "treacherous turn," where a model hides misaligned goals until it can act on them. It complements other alignment research such as scalable oversight and control. See What is AI alignment?, how to achieve superintelligence and orthogonality and instrumental convergence.

Who works on it

OrganisationNotable contributions
AnthropicTransformer circuits, superposition, monosemanticity, circuit tracing
Google DeepMindGemma Scope, interpretability research, pragmatic safety applications
OpenAISAEs on GPT-4, neuron explanations
Academic and independent researchersCausal abstraction, TransformerLens, MATS programme, EleutherAI and more

How to get started

1. Learn transformer basics: What is a transformer? and the attention mechanism simulator. 2. Read "A Mathematical Framework for Transformer Circuits" and "Toy Models of Superposition." 3. Try tools: TransformerLens, nnsight, SAELens and Neuronpedia (browse features interactively). 4. Reproduce a classic result such as induction heads on a small model (a free GPU works; see free GPU for AI). 5. Follow the Transformer Circuits Thread and the field's open problems lists.

Frequently asked questions

What is mechanistic interpretability in simple terms?

Reverse-engineering an AI model to understand the specific internal steps it uses to produce an answer, rather than only observing inputs and outputs.

What is superposition in neural networks?

When a network represents more features than it has neurons by overlapping them, so individual neurons respond to several unrelated concepts.

What are sparse autoencoders used for?

They decompose a model's internal activations into many sparse, often human-interpretable features, helping researchers see what concepts a model represents.

Can interpretability make AI safe?

It could help detect deception or hidden goals, but it is not yet mature enough to guarantee safety on its own; most researchers see it as one part of a broader safety toolkit.

What was Golden Gate Claude?

A 2024 Anthropic demonstration in which amplifying a "Golden Gate Bridge" feature made Claude bring up the bridge constantly, showing that identified features causally influence behaviour.

Sources and further reading

Think you understand it now? Prove it.

Solve real Tensor Core math in the TensorCore.si Challenge and earn a certificate with your name.

Take the challenge

Leave a Reply

Your email address will not be published. Required fields are marked *