Transformer Circuits Reading Notes
12 posts
- 1. Notes on A Mathematical Framework for Transformer Circuits
- 2. Notes on In-Context Learning and Induction Heads
- 3. Notes on Toy Models of Superposition
- 4. Notes on Towards Monosemanticity and Scaling Monosemanticity
- 5. Notes on Sparse Crosscoders
- 6. Notes on Circuit Tracing and the Biology of a Large Language Model
- 7. Notes on Tracing Attention Computation Through Feature Interactions
- 8. Notes on When Models Manipulate Manifolds
- 9. Notes on Emergent Introspective Awareness
- 10. Notes on Emotion Concepts and their Function
- 11. Notes on Natural Language Autoencoders
- 12. Notes on Verbalizable Representations Form a Global Workspace (J-space)
The Transformer Circuits thread (opens in a new tab) is the running publication venue for Anthropic’s interpretability team. Since 2021 it has developed one influential line of mechanistic interpretability: the residual-stream view of transformers, induction heads, superposition, sparse autoencoders, attribution graphs, and more recent work on what models can represent and report about their own computation.
These are my notes on the thread, one post per paper (or pair of closely related papers). Each post works through the paper’s core mechanism: how the thing actually works, how the experiments bear on it, and where the explanation runs out. Their structure follows the material rather than a fixed review template. The originals are free, interactive, and unusually well produced; these posts are written to be read alongside them, not instead of them.
The notes assume a basic understanding of transformer attention and linear algebra. The first three introduce most of the vocabulary used later; after that, the links between papers matter more than strict reading order.
The notes
Mechanistic decomposition
Notes on the 2021 paper that reframes transformers as operations on a shared residual stream: QK/OV circuits, virtual weights, and path decompositions of attention-only models.
Notes on induction heads, the training phase change in which they form, and the six-part argument connecting them to in-context learning.
Notes on how sparse features fit into superposition, the geometry and interference that result, and a toy-model account of memorization and double descent.
Notes on decomposing MLP activations into interpretable features with sparse autoencoders, from a one-layer transformer to Claude 3 Sonnet.
Notes on sparse crosscoders: one shared feature dictionary across layers or across models, and what that enables for cross-layer analysis and model diffing.
Notes on cross-layer transcoders, local replacement models, and attribution graphs — and the case-study companion paper on Claude 3.5 Haiku.
Notes on QK attributions, attention-head loadings, and what feature interactions reveal about why a transformer attends to one token rather than another.
Notes on the geometry of a counting task: how Claude 3.5 Haiku tracks character position on a curved feature manifold, and what attention heads do to that curve.
Representations, reports, and behavior
Notes on concept injection: how you test whether a language model's claims about its own thoughts are grounded in its actual internal state, and what the results do and do not show.
Notes on emotion vectors in Claude Sonnet 4.5: what they represent, why "just character simulation" is not the dismissal it sounds like, and what steering them does to blackmail and reward hacking rates.
Notes on NLAs as expressive hypothesis generators: why their activation descriptions stay readable, when those descriptions help an investigation, and why the prose still needs independent checks.
Notes on the Jacobian lens, evidence that token-indexed verbalizable directions mediate report and some reasoning, and the limits of treating the J-space as a global workspace.
The first arc is close to a dependency graph. The framework paper defines circuits and the residual stream; induction heads supply the first circuit found in the wild; toy models explain why neurons may be the wrong unit of analysis; the monosemanticity papers build the dictionary-learning response; crosscoders generalize dictionaries across layers and models; attribution graphs assemble features into end-to-end explanations; QK attributions add the attention decisions those graphs had frozen in place; and the manifolds paper applies the stack to one behavior, where the geometry turns out simpler than the feature graph.
The second arc asks a different question: what information becomes available for report, control, or flexible reasoning? Introspection starts with activation steering rather than circuit tracing. The emotion paper studies behavior controlled by concept directions, natural language autoencoders replace a sparse code with prose, and the workspace paper returns to causal interventions while treating verbalizability as a property of a small part of the residual stream.
The two arcs leave a common problem open. Cheap readout and steering methods can expose large behavioral effects, but they often cannot explain the computation that produced them. Circuit methods offer more specific explanations, but only on selected prompts and at much greater cost. Several of the later papers are best read as attempts to use each approach to check the other.
Where the thread came from
The thread is a continuation of two earlier bodies of work on vision models, both published at Distill. The short descriptions below are lightly edited from the papers.
Distill (feature visualization era):
- 2017-11 Feature Visualization (opens in a new tab) — How neural networks build up their understanding of images.
- 2018-06 The Building Blocks of Interpretability (opens in a new tab) — Interpretability techniques are normally studied in isolation. We explore the powerful interfaces that arise when you combine them — and the rich structure of this combinatorial space.
- 2019-03 Activation Atlas (opens in a new tab) — By using feature inversion to visualize millions of activations from an image classification network, we create an explorable activation atlas of features the network has learned and what concepts it typically represents.
The Distill Circuits thread:
- 2020-03 Zoom In: An Introduction to Circuits (opens in a new tab) — By studying the connections between neurons, we can find meaningful algorithms in the weights of neural networks.
- 2020-06 Curve Detectors (opens in a new tab) — Every vision model we’ve explored in detail contains neurons which detect curves.
- 2020-12 Naturally Occurring Equivariance in Neural Networks (opens in a new tab) — Neural networks naturally learn many transformed copies of the same feature, connected by symmetric weights.
- 2021-01 Curve Circuits (opens in a new tab) — We reverse engineer a non-trivial learned algorithm from the weights of a neural network and use its core ideas to craft an artificial neural network from scratch that reimplements it.
- 2021-02 Visualizing Weights (opens in a new tab) — We present techniques for visualizing, contextualizing, and understanding neural network weights.
- 2021-04 Branch Specialization (opens in a new tab) — When a neural network layer is divided into multiple branches, neurons self-organize into coherent groupings.
- 2021-04 Weight Banding (opens in a new tab) — Weights in the final layer of common visual models appear as horizontal bands.
Anthropic’s Transformer Circuits thread (the papers these notes cover):
- 2021-12 A Mathematical Framework for Transformer Circuits (opens in a new tab) — Our early mathematical framework for reverse engineering models, demonstrated by reverse engineering small toy models.
- 2022-03 In-Context Learning and Induction Heads (opens in a new tab) — An exploration of the hypothesis that induction heads are the primary mechanism behind in-context learning. We also report the existence of a previously unknown phase change in transformer language models.
- 2022-09 Toy Models of Superposition (opens in a new tab) — Neural networks often seem to pack many unrelated concepts into a single neuron — a puzzling phenomenon known as ‘polysemanticity’. We build toy models where the origins and dynamics of polysemanticity can be fully understood.
- 2023-01 Superposition, Memorization and Double Descent (opens in a new tab) — We extend our previous work on toy models to shed light on how models generalize beyond their training data.
- 2023-10 Towards Monosemanticity: Decomposing Language Models With Dictionary Learning (opens in a new tab) — Using a sparse autoencoder, we extract a large number of interpretable features from a one-layer transformer.
- 2024-05 Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet (opens in a new tab) — Using a sparse autoencoder, we extract a large number of interpretable features from Claude 3 Sonnet. Some appear to be safety-relevant.
- 2024-10 Sparse Crosscoders for Cross-Layer Features and Model Diffing (opens in a new tab) — A preliminary note on a way to get consistent features across layers, or across models.
- 2025-03 Circuit Tracing: Revealing Computational Graphs in Language Models (opens in a new tab) — We describe an approach to tracing the “step-by-step” computation involved when a model responds to a single prompt.
- 2025-03 On the Biology of a Large Language Model (opens in a new tab) — We investigate the internal mechanisms used by Claude 3.5 Haiku in a variety of contexts.
- 2025-07 Tracing Attention Computation Through Feature Interactions (opens in a new tab) — We describe and apply a method to explain attention patterns in terms of feature interactions, and integrate this information into attribution graphs.
- 2025-10 When Models Manipulate Manifolds: The Geometry of a Counting Task (opens in a new tab) — We find geometric structure underlying the mechanisms of a fundamental language model behavior.
- 2025-10 Emergent Introspective Awareness in Large Language Models (opens in a new tab) — We find evidence that language models can introspect on their internal states.
- 2026-04 Emotion Concepts and their Function in a Large Language Model (opens in a new tab) — We find representations of emotion concepts in Claude Sonnet 4.5 and show that they causally influence its outputs.
- 2026-05 Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations (opens in a new tab) — We train Claude to translate its internal state into natural language.
- 2026-07 Verbalizable Representations Form a Global Workspace in Language Models (opens in a new tab) — We find that Claude maintains a small, privileged set of representations it can report on, control, and reason with, atop a much larger volume of automatic processing.
The thread also publishes shorter monthly “Circuits Updates”; these notes stick to the major papers.