Circuit Tracing: attribution graphs of transcoder features
Circuit Tracing in Ozera shows how a language model arrives at one next word as an attribution graph built from transcoder features, then tests the graph by scaling or ablating its feature nodes in the real model against control features.
Graphs are built with the open-source circuit-tracer library on Gemma 3 270M and Gemma 3 1B, using Gemma Scope 2’s public transcoders, and kept in your account to reopen.
What is an attribution graph?
An attribution graph maps the direct effects between a prompt’s tokens, the features active on the prompt, and the logit of one target token. It is built on a replacement model in which each layer’s MLP is stood in for by a transcoder, which reads the MLP’s input and writes its output as a sum of sparse features.
A graph has four kinds of node: a token node for each position; a feature node for each transcoder feature active at a layer and position; an error node for each layer and position, holding what that layer’s transcoder failed to reconstruct; and the target. An edge is a direct effect: how much its source adds to its target’s input, with attention patterns and normalization scales frozen.
A node’s influence is the share of the target’s attribution that flows through it over every path, without sign; its support keeps the signs along its paths, so it is positive for a node that on balance pushes the target up. The replacement score is the share of the attribution that starts at tokens rather than error nodes, and completeness is the share of the nodes’ inputs that does not come from error nodes.
Up to 7,500 features are traced, the most influential first. The graph is then pruned to the nodes holding 80% of the influence and the edges holding 98%, capped at 600 nodes and 12,000 edges.
Views
Graph
The graph laid out by layer and position, with its replacement and completeness scores. Selecting a node shows the tokens its decoder promotes and where it fires; feature nodes are also ranked by influence, with their support.
Intervene
Pin feature nodes and multiply their activations by a factor from −4 to 8 (0 ablates them) in the real model, with nothing frozen, then read the target’s logit and probability again. The same change is applied to control sets of as many other active features: features matched in activation, and features at the same layers and positions. A graph is a hypothesis; its nodes matter once changing them moves the target more than the controls do.
Models and inputs
Circuit Tracing runs on Gemma 3 270M and Gemma 3 1B, base and instruct, through Gemma Scope 2’s transcoders (16,384 features per layer) in two sets: a sparser low-L0 set, the default, and a denser high-L0 set that leaves less to the error nodes. The other models in Ozera cannot be traced.
A prompt is at most 600 characters and 64 tokens (an instruct model’s prompt goes through its chat template). The target is the next word you give, by its first token, or the model’s top prediction.
Cost
A graph is built as a GPU job and charged its estimate when it starts; a graph that fails is refunded all but the GPU time it used. As of November 2026 a graph costs about $0.14 to $0.18 and an intervention about $0.14 to $0.15, shown before they run. Reopening a stored graph is free.
Frequently asked questions
What is a transcoder?
A transcoder is a sparse model trained to imitate one layer’s MLP: it reads the MLP’s input and reconstructs the MLP’s output from a small number of active features. Replacing the MLPs with transcoders is what lets an attribution graph follow a computation through interpretable features.
Which models can I trace circuits on?
Gemma 3 270M and Gemma 3 1B, both base and instruct, with Gemma Scope 2 transcoders. They are the only models in Ozera for which it offers transcoders.
How is Circuit Tracing different from Attribution?
Attribution measures attention heads and whole layers over many prompt pairs by patching. Circuit Tracing works on one prompt and one target token and follows individual transcoder features through the layers.
Do I need to install circuit-tracer or have a GPU?
No. Graphs are built on cloud GPUs and drawn in the browser; the model, the prompt, the target and the transcoder set are the only inputs.
Does an attribution graph prove a circuit?
No. A graph is a hypothesis about which features carry the answer. The Intervene view tests it: ablating or scaling its nodes should move the target more than control sets of other active features.