Explainer
Attribution graphs: how circuit tracing maps an AI model's answer
Attribution graphs are maps of the internal steps a language model used to produce one output on one prompt.[1] Anthropic introduced the method, called circuit tracing, in March 2025 and reported examples such as two-step reasoning and planning ahead in poems,[2][3] then open-sourced tools for open-weights models.[4] By its own account the method gave satisfying insight for about a quarter of the prompts it tried.[5]
Reading order: read Superposition and sparse-autoencoders first; this page builds on the idea of features. The findings below are the developer’s own published research, not independent replications.
From features to circuits
Sparse autoencoders can tell researchers which concepts are active inside a model. They do not show how one concept leads to the next. Circuit tracing tries to fill that gap: for a single prompt, it draws a map of the steps the model took to reach its answer. The map is called an attribution graph.[1]
The method trains a cross-layer transcoder (CLT) that stands in for the model’s MLP layers, giving a replacement model whose units are interpretable features.[1] With attention patterns and normalisation frozen for a given prompt, direct feature-to-feature effects become linear, so attribution between features is well-defined.[6]
What the 2025 studies reported
Anthropic applied the method to Claude 3.5 Haiku.[7] Asked for the capital of the state containing Dallas, the model appeared to represent “Texas” internally on the way to answering “Austin”, and researchers could change that step.[2] When writing rhyming poems, it seemed to choose candidate rhyming words before starting each line.[3]
The companion paper, On the Biology of a Large Language Model, applies the method to a production model.[7] Its reported findings include a manipulable intermediate “Texas” representation in two-hop factual recall,[2] rhyme planning ahead of line generation,[3] and a mix of language-specific and language-independent circuits, with the shared ones more prominent in Claude 3.5 Haiku than in a smaller model.[8] All of these come from the developer’s own team and are reported here as its findings.
Limits the authors state
The replacement model is an approximation. On a small research model, Anthropic’s largest one gave the same next word as the real model only about half the time.[9] The company also wrote that its graphs gave satisfying insight for roughly a quarter of the prompts it tried, and that the examples it published were the success cases.[5]
Three limits matter for anyone using these graphs as evidence. Fidelity: the largest CLT for a small 18-layer research model matched next-token completions on 50% of a diverse prompt set.[9] Coverage: attention is frozen, so the graphs explain behaviour given attention patterns but not why the model attends where it does.[6] Selection: satisfying graphs for about a quarter of prompts tried.[5] A graph is a hypothesis about a mechanism, to be checked by intervention, rather than a complete readout.
Open tools
In May 2025 Anthropic open-sourced a library for building attribution graphs on popular open-weights models, with an interactive explorer hosted by Neuronpedia.[4] The circuit-tracer repository computes the graph, prunes and visualises it for annotation, and supports interventions; its demos use Gemma 2 (2B), which it says can run with limited GPU memory such as a Colab GPU.[10] Anthropic says the Gemma graphs use transcoders trained as part of Google DeepMind’s Gemma Scope project.[11][12]
Where it fits
Read next: steering vectors, which act on whole directions in activation space instead of tracing circuits, and chain-of-thought monitoring, which reads a model’s written reasoning rather than its internals. Whether circuit-level methods can scale to audit frontier models is taken up in How mechanistic interpretability works.
Read next
Next in the crash course
Steering vectors and representation engineering explained
How researchers steer an AI model by editing its internal activations: steering vectors, activation addition, representation engineering and persona vectors.
Questions readers ask
What is an attribution graph?
A diagram of the steps a model used to produce an output for a target token on a particular prompt, built from an interpretable replacement model rather than the raw network.[1]
What did circuit tracing find inside Claude 3.5 Haiku?
Anthropic reported an internal "Texas" step when the model answered a question about the capital of the state containing Dallas, rhyme planning before each line of a poem, and a mix of language-specific and shared multilingual circuits.[2][3][8]
How reliable is circuit tracing?
Anthropic reported that its largest replacement model for a small research model matched the original's next-token completion on 50% of test prompts, that the graphs gave satisfying insight on about a quarter of prompts tried, and that the method freezes attention patterns rather than explaining them.[9][5][6]
Sources
· 12 claims from 4 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
Anthropic's March 2025 Circuit Tracing paper builds a replacement model that swaps the model's MLP layers for a more interpretable cross-layer transcoder, and uses it to draw attribution graphs describing the steps a model used to produce an output for a target token on a particular prompt. reportedas of 2025-03-27
- Circuit Tracing: Revealing Computational Graphs in Language Models · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Abstract (retrieved 2026-10-10)
- Circuit Tracing: Revealing Computational Graphs in Language Models · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Introduction (retrieved 2026-10-10)
- [2]
Anthropic reported that, for the prompt about the capital of the state containing Dallas, it could see and manipulate an internal step in which the model represents Texas before answering Austin. reportedas of 2025-03-27
- On the Biology of a Large Language Model · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Introduction (retrieved 2026-11-22)
- [3]
Anthropic reported that Claude 3.5 Haiku plans ahead when writing rhyming poetry, picking candidate rhyming words before it writes each line. reportedas of 2025-03-27
- On the Biology of a Large Language Model · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Introduction (retrieved 2026-11-22)
- [4]
In May 2025 Anthropic open-sourced a library for generating attribution graphs on popular open-weights models, with an interactive front end hosted by Neuronpedia, built by participants in its Fellows programme with Decode Research. reportedas of 2025-05-29
- Open-sourcing circuit tracing tools · Anthropic · Primary source · 2025-05-29 · Body (retrieved 2026-11-22)
- [5]
Anthropic wrote that its attribution graphs gave satisfying insight for about a quarter of the prompts it tried, and that the examples it highlighted were success cases. reportedas of 2025-03-27
- On the Biology of a Large Language Model · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · The approach and its limitations (retrieved 2026-11-22)
- [6]
The circuit-tracing method freezes attention patterns and normalisation denominators so that direct interactions between features are linear, which splits understanding into behaviour given attention patterns and why the model attends where it does. reportedas of 2025-03-27
- Circuit Tracing: Revealing Computational Graphs in Language Models · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Attribution Graphs (retrieved 2026-10-10)
- Circuit Tracing: Revealing Computational Graphs in Language Models · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Attribution Graphs (retrieved 2026-10-10)
- [7]
Anthropic's companion paper, On the Biology of a Large Language Model, applied attribution graphs to Claude 3.5 Haiku, the company's lightweight production model at the time. reportedas of 2025-03-27
- On the Biology of a Large Language Model · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Abstract (retrieved 2026-11-22)
- [8]
Anthropic reported that the model uses a mix of language-specific and abstract, language-independent circuits, and that the language-independent ones are more prominent in Claude 3.5 Haiku than in a smaller model. reportedas of 2025-03-27
- On the Biology of a Large Language Model · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · Introduction (retrieved 2026-11-22)
- [9]
Anthropic reported that its largest cross-layer transcoder for a small 18-layer research model matched the underlying model's next-token completion on 50% of a diverse set of pretraining-style prompts. reportedas of 2025-03-27
- Circuit Tracing: Revealing Computational Graphs in Language Models · Anthropic (Transformer Circuits Thread) · Primary source · 2025-03-27 · From Cross-Layer Transcoder to Replacement Model (retrieved 2026-10-10)
- [10]
The circuit-tracer code repository says the library finds the attribution graph for a model with pre-trained transcoders, visualises it for annotation and supports interventions, with demos on Gemma 2 (2B) that can run on Colab GPUs. reportedas of 2026-11-22
- circuit-tracer (code repository) · GitHub (safety-research) · Primary source · README (retrieved 2026-11-22)
- circuit-tracer (code repository) · GitHub (safety-research) · Primary source · README (retrieved 2026-11-22)
- [11]
Anthropic says the Gemma attribution graphs in its open-source release are based on transcoders trained as part of the Gemma Scope project. reportedas of 2025-05-29
- Open-sourcing circuit tracing tools · Anthropic · Primary source · 2025-05-29 · Credits (retrieved 2026-11-22)
- [12]
In 2024 Google DeepMind researchers released Gemma Scope, an open suite of sparse autoencoders trained on all layers and sub-layers of the Gemma 2 2B and 9B models, saying the high cost of training such suites had limited research outside industry. reportedas of 2024-08-09
- Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2 · arXiv · Secondary source · 2024-08-09 · Abstract (retrieved 2026-10-10)
- Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2 · arXiv · Secondary source · 2024-08-09 · Abstract (retrieved 2026-10-10)
Revision history (1)
- Page created.
Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: May 10, 2027.
Cite this page
"Attribution graphs: how circuit tracing maps an AI model's answer." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/attribution-graphs-explained
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.