Interpretability: Looking Inside a Trained Model to See What It's Actually Doing
Every prior article treated a trained network as a black box you evaluate by its outputs. This article covers the tools researchers actually use to open that box — from early saliency maps to modern mechanistic interpretability, circuits, superposition, and sparse autoencoders — building directly on this site's Interpretability Gap article and Anthropic's superposition research already referenced in "After Transformers."
Why "It Works" Isn't the Same as "I Understand Why It Works"
Every article in this series has, up to now, evaluated models by what they output — accuracy, loss curves, human preference scores (Article 6). Interpretability asks a different question entirely: what is actually happening inside the network to produce that output? This site's Interpretability Gap article already covers why this matters at a strategic level — this article goes into the actual technical toolkit, from the earliest, cruder methods through the field's current mechanistic frontier.
A framing worth holding onto throughout: interpretability methods split roughly into two generations. Earlier methods (Part 1) mostly ask "which input pixels/words mattered for this output?" — useful, but shallow. Mechanistic interpretability (Parts 2–4) asks a much harder question: "what specific internal computation is the network performing, and can I identify and even edit the exact piece responsible?"
Saliency Maps, Feature Visualization, and Probing
All four of these methods share a limitation Part 2 addresses directly: they're observational, not causal. Knowing a neuron "seems to represent dogs" doesn't tell you whether the network's actual dog-classification computation runs through that neuron, or whether intervening on it would change the output in the way you'd expect.
Finding the Actual Circuit, Not Just a Correlated Neuron
Olah et al.'s "Zoom In" (2020, Distill) proposed a more ambitious research program: treat a trained network the way a reverse-engineer treats an unfamiliar circuit board — find the actual, specific pathways of neurons and connections ("circuits") that implement a particular computation, verified rigorously rather than just visualized suggestively.
For Transformers specifically, Anthropic's "A Mathematical Framework for Transformer Circuits" (2021) did for attention-based models what "Zoom In" did for CNNs — and its most famous discovery is the induction head: a specific, identifiable circuit (spanning two attention layers) that lets a model complete a repeated pattern (if "A B" appeared earlier in a sequence and "A" appears again, predict "B" next) — a genuine, mechanistically verified building block of in-context learning, not just a suggestive visualization.
Why One Neuron Can Mean Many Different Things
Anthropic's "Toy Models of Superposition" (2022, previously cited in "After Transformers") explains a discovery that complicates Part 2's circuit-hunting program: networks often represent far more distinct concepts than they have individual neurons, by packing multiple, mostly-unrelated features into overlapping combinations of neurons — a phenomenon called superposition. A single neuron might fire for "this text mentions a dog" and "this text is in French," for reasons that have nothing to do with dogs and French being related — an efficient use of limited neurons, but a serious obstacle to Network Dissection-style "one neuron, one concept" interpretation (Part 1).
The current leading tool for undoing this entanglement is the sparse autoencoder (SAE): a separate, small network trained to re-express a layer's activations in a much larger space where, ideally, each dimension corresponds to one genuinely distinct, human-interpretable feature — trading the efficiency of superposition for interpretability, at the cost of extra compute. Anthropic's "Towards Monosemanticity" (2023) demonstrated this approach successfully extracting thousands of cleanly interpretable features from a real language model, a significant practical step past the toy examples in the 2022 superposition paper.
Activation Patching and Editing What a Model "Knows"
Meng et al.'s ROME paper ("Locating and Editing Factual Associations in GPT," 2022) demonstrates the causal, interventionist endpoint of this whole progression: not just observing that a specific internal component correlates with a factual claim (e.g., "the Eiffel Tower is in Paris"), but locating the specific layer and location responsible via "causal tracing" (systematically corrupting and restoring activations to see which ones causally matter), then directly editing that location to change the model's stated belief (e.g., making it say the Eiffel Tower is in Rome) — a level of surgical precision far beyond Part 1's correlational methods.
Key Papers to Read First
| Paper | Why It's Foundational | Link |
|---|---|---|
| Olah et al. — "Zoom In: An Introduction to Circuits" (2020) | Establishes the circuits research program this article's Part 2 is built around | Distill |
| Anthropic — "A Mathematical Framework for Transformer Circuits" (2021) | Extends circuits research to Transformers; introduces induction heads | transformer-circuits.pub |
| Anthropic — "Toy Models of Superposition" (2022, previously cited in "After Transformers") | Explains why individual neurons resist clean, one-concept interpretation | transformer-circuits.pub |
| Anthropic — "Towards Monosemanticity" (2023) | Demonstrates sparse autoencoders extracting real, interpretable features at scale | transformer-circuits.pub |
| Meng et al. — "Locating and Editing Factual Associations in GPT" — ROME (2022) | The clearest demonstration of causal tracing and direct model editing | arXiv:2202.05262 |
Courses to Complete
Real Scenario Walkthroughs
Self-Assessment Checklist
⚠️ What's Missing or Uncertain in This Article
Where This Series Goes Next
Article 8 moves from interpretability to alignment — the broader problem of ensuring a model's goals and behavior match human intent, building on Article 6's RLHF theory and this article's tools for verifying, rather than just hoping, that alignment techniques are working as intended. From there, the series continues through world models, systems, and research methodology, before a capstone article ties every foundational concept back into one unified map.
- Olah et al. — "Zoom In: An Introduction to Circuits"
- Anthropic — "A Mathematical Framework for Transformer Circuits"
- Anthropic — "Toy Models of Superposition"
- Anthropic — "Towards Monosemanticity"
- Meng et al. — ROME (arXiv:2202.05262)
- Bau et al. — "Network Dissection" (arXiv:1704.05796)
- Neel Nanda — Getting Started in Mechanistic Interpretability
- This site — The Interpretability Gap
- This site — AGI Researcher Foundations: RL Foundations (Article 6)