Paper commentary
Weight-sparse transformers have interpretable circuits
Weight-sparse transformers yield readable circuits
- Problem Circuits in dense transformers are hard to read because neurons fire in patterns that match no human concept. Researchers have had no reliable way to find small, understandable circuits inside them.
- Method The authors train transformers in which most weights are zero, so each neuron connects to only a few others. Then they prune each task down to the smallest circuit that still reaches a target loss.
- Results Circuits in the weight-sparse models were roughly 16-fold smaller than circuits in dense models with comparable pretraining loss.

Figure 1 . An illustration of our overall setup. We first train weight- sparse models. Then, for each of a curated suite of simple behav- iors, we prune the model down to the subset of nodes required to perform the task. We ablate nodes by pruning to their mean activation value over the pretraining distribution.
Original paper · CC BY 4.0 · Leo Gao, Achyuta Rajaram, Jacob Coxon, Soham V. Govande, Bowen Baker, Dan Mossing · Weight-sparse transformers have interpretable circuits · Original paper figure · Extracted the figure area from page 1 of the original PDF.Why dense circuits are hard to read
Mechanistic interpretability tries to reverse engineer what a network computes and fully understand the algorithms it runs inside. Dense transformers are hard to read because their activations and weights don't map directly onto human terms. Neurons in a dense model often activate in unpredictable patterns that match no human-understandable concept.
One hypothesized cause is superposition, which the authors frame as dense models approximating a much larger, untangled sparse network.
It then studies the model's computations inside that basis, as in Marks et al. (2024) and Ameisen et al. (2025). These methods reach human-understandable circuits by abstracting away computations that are only partly understood.
They train transformers in which the vast majority of weights are zeros, so the L0 norm of the weights stays small. The authors argue that this constraint drastically simplifies model computations.
The rest of the paper tests whether this training yields circuits that stay readable without an abstraction layer.
Training models with mostly zero weights
Sparse training keeps most weights at zero, so each neuron ends up connected to only a few others. The authors measure this with the L0 norm, the count of nonzero weights, and keep it small on purpose. Since each neuron reads from or writes to only a few residual channels, the model has less room to spread one concept across channels. Figure 2 shows the payoff: sparse model circuits are roughly 16-fold smaller than dense model circuits at any given loss.
Sparsity covers all weights and biases, including token embeddings. Because the count of nonzero parameters stays fixed, the authors can widen the model without adding nonzero parameters. The sparsest models have approximately 1 in 1000 nonzero weights. Activations get milder sparsity too, with 1 in 4 nonzero at every node location. That activation limit doesn't directly sparsify the residual stream, only the residual reads and writes.
Training minimizes cross-entropy loss with the AdamW optimizer. After each training step, the method keeps only the largest-magnitude entries of each matrix, so every matrix has the same fraction nonzero. The L0 target starts fully dense and anneals down to its target value over training. Gradients and Adam moments stay dense, as in the standard implementation.
All models are pretrained on a dataset of Python code.
Pruning each task down to its circuit
The authors hand-curate 20 simple Python next-token tasks, each asking the model to pick one of two completions. A circuit is a set of nodes joined by edges, where a node is a neuron, an attention channel, or a residual channel read or write. An edge is a nonzero entry in a weight matrix that connects two nodes. The main interpretability number is the geometric mean of the edge count across the hand-curated tasks.
Because nodes match rows and columns of weight matrices, the definition stays maximally granular.
For each task, pruning searches for the smallest circuit that reaches a target loss of 0.15 unless stated otherwise. The method learns a mask for each node, and the gate multiplies the node's activation by a Heaviside step of the mask. The Heaviside step gets a sigmoid-derivative surrogate gradient, similar to the Straight-Through Estimator.
The mask objective combines task loss with circuit size, so the search trades accuracy against edges. Deleted nodes are mean-ablated, so each takes its mean activation over the pretraining distribution. Pruning deletes a subset of nodes across all token positions, following the approach of Cao et al. (2021).
The pruning algorithm leaves some nodes with negligible effect on task loss. The authors removed those nodes by hand, which is an extra step the pruning itself doesn't perform. Manual removal can hide superposition, so the authors use it with care. Gradients and Adam moments stay dense, which matches the standard implementation.
Circuit size against a dense baseline
Sparse weights limit each neuron to reading or writing a few residual channels, which discourages a concept from being spread across channels. Figure 2 compares a sparse model with a dense model that reach the same pretraining loss. For each task, the authors sweep a target loss and find the smallest circuit in each model that reaches it.
The 16-fold gap holds when pruned sparse models are set against dense models of comparable pretraining loss.

Figure 2 . Our weight-sparse models learn simpler task-specific circuits than dense models. We examine a sparse model and a dense model with the same pretraining loss. We sweep target loss, and find the size of the minimal circuit in each model that can achieve that loss, averaged across tasks. Sparse model circuits are roughly 16-fold smaller at any given loss.
Original paper · CC BY 4.0The authors can also build arbitrarily accurate circuits, but accuracy costs more edges. They read the gap as evidence that circuits for simple behaviors are more disentangled and localizable in sparse models. Faithfulness is then checked in both directions, starting with the nodes outside each circuit.
Mean-ablating every node outside the circuit preserves task loss. Deleting the few nodes inside the circuit severely harms task loss instead. Ablating the tiny fraction of circuit nodes, with the rest of the network left intact, severely impairs performance, as Figure 32 shows. Mean ablation is still an imperfect faithfulness measure, so the authors don't treat it as final.
They argue that some variant of causal scrubbing is needed for full confidence in the circuits.
How scale and L0 shape the capability-interpretability trade-off
Figure 3 plots pretraining loss against pruned circuit size, with the authors treating the lower-left corner as better. Holding total parameter count fixed and lowering L0 makes the models sparser. That change costs capability, since pretraining loss rises, but it improves interpretability by shrinking the pruned circuits. Growing the hidden dimension while keeping the number of layers constant improves the frontier in the authors' experiments.
When L0 stays fixed and the model gets larger, both pretraining loss and pruned circuit size improve. The number of bits needed to specify the nonzero parameters scales roughly as L0 times log N, where N is the total parameter count.
The authors observe empirically that feature quality seems closely related to activation sparsity. Increasing weight sparsity also increases the sparsity of residual stream activations, shown in Figure 10. The residual stream is rarely exactly zero, so the authors measure its sparsity with kurtosis. The residual stream result is a separate measurement from the frontier results, which use pruned circuit size.
Three circuits read as algorithms
The authors checked whether pruned circuits read as algorithms by interpreting them for three tasks across two models, picked for their apparent simplicity. Each circuit took roughly a researcher-day, including manual removal of extraneous nodes and manual activation patching to check node descriptions. They hoped such circuits could be read without task-specific data, since that would only require relating nodes to natural concepts and inspecting edges.
For closing strings, the earliest MLP layer, 0.mlp, builds a quote detector neuron and a quote type classifier neuron from the token embeddings. A layer 10 attention head then uses the detector as its key and the classifier as its value, so the last token closes the string. The four components have 41 total edges, and only 9 of them belong to this circuit.
That ratio made the authors optimistic that this circuit could be understood without task-specific data. Some nodes aren't exactly monosemantic, even over the pretraining distribution.
An additional 11 layer 3 attention channels and 48 layer 7 MLP neurons add another 1217 edges. The authors thought tracing this circuit without task-specific data would likely be difficult. Head 125 averages an open-bracket detector over the context and writes the result to residual channel 1249, which encodes list depth. Head 80 in layer 4 uses a strong attention sink as a threshold, so it writes a nested list close signal only for nested lists.
As the average covers more tokens, the activation shrinks, so the unpruned model predicts the wrong closing bracket on long nested lists. An adversarial code comment with unmatched open brackets tricks the model into a double bracket on a flat list. The same attack also works on similarly capable dense models.
For set or string, a layer 4 head (head 73) copies the variable name into the set() or empty-string token through value channel 8. A layer 6 head (head 26) then uses the variable name as a query and key, copying the value to the final position. This two-head circuit uses 4 QK channels and 3 V channels, with 100 total edges.
Steering a dense model through bridges
Bridges let the authors reuse a sparse model's interpretability on an existing dense model, so the sparse model can stand in for it. Each bridge sits once per sublayer, before each attention and each MLP, and contains an encoder that maps dense activations to sparse ones and a decoder that maps back. The encoder is a linear map followed by an AbsTopK activation, and the decoder is linear, so each bridge works like a sparse autoencoder over the sparse model's residual activations.
The authors train the sparse model jointly with these bridges, alongside the normal pretraining loss. A normalized MSE term teaches the encoder to predict sparse activations from dense ones, and the decoder to predict dense from sparse. Hybrid forward passes, which convert one kind of activation to the other at single locations, are trained to have low KL to the original dense model.
The procedure starts by training a weight-sparse model whose computations match the dense model at the same layer. The authors prune the sparse model to its minimal circuit for a specific task, then pick a node that matters for the task and encodes a feature of interest. They perturb that node in the sparse model and map the perturbation through the bridges to the dense model.
In the single double quote task, the test uses a 4-layer dense model and a bridged 4-layer sparse model. The sparse model's residual channel at the input to its final attention layer acts as a quote type classifier, and the authors steer it toward a single-quoted activation on a double-quoted prompt. After the bridge maps this perturbation, the dense model's probability of outputting a single quote rises steeply.
The steering is applied to a prompt ending in return True. After the bridge maps the change, the dense model's probability of a colon rather than a newline increases, though not as steeply as in the quote task. The authors read this as partial editing of the dense model's representation of whether a line should end in a colon.
Figure 9 shows both steering curves, with a random-steering baseline and a no-steering baseline for each task. The authors use this as preliminary evidence that the bridged sparse model is faithful enough to edit a dense model. Bridges give a route to study dense models, while the paper's Discussion notes that unstructured weight-sparse networks are unlikely to match dense efficiency.
Limitations and open questions
The authors name compute cost as the first limitation of training weight-sparse models. Many neurons die during optimization, which the authors say reduces training efficiency. The authors are excited about better reinitialization techniques to fix the dead neurons. Sparse kernels could help systems efficiency, but they're hard to use because gradients and Adam moments would also need sparsifying.
Concepts can still spread across nodes that also perform other tasks, though far less than in dense models. The authors suggest scaling the width of their sparse models toward typical SAEs, whose hidden dimensions reach millions. Some features carry information in their magnitude, so they can't always be turned into simple on-or-off nodes.
Explaining such a feature means explaining its magnitude as well as its activity pattern. Even some nodes are not exactly monosemantic on the pretraining distribution, as Figure 39 illustrates for one example.
Mean ablation is not a perfect measure of faithfulness, so the authors want a variant of causal scrubbing. The pruning method works on nodes rather than edges, and the authors would ideally prune edges directly. Pruning often leaves prunable nodes behind, so manual pruning is needed to obtain clean circuits. Their interpretability metric captures compact task-specific circuits, which doesn't fully capture intuitive interpretability.
The experiments cover 20 manually constructed Python next-token binary prediction tasks. The bridge experiments use a 4-layer dense model and a bridged 4-layer sparse model. Scaling beyond small models and simple tasks is uncertain, and more capable models may produce very large circuits. Pessimistically, more capable models may perform complex tasks in ways that defy simple description.
Paper info
- Authors
- Leo Gao, Achyuta Rajaram, Jacob Coxon, Soham V. Govande, Bowen Baker, Dan Mossing
- Venue
- arXiv · Preprint
- First published
- 2025-11-17
- Added
- 2026-10-30
- Updated
- 2025-11-17
- Version
- v1
- arXiv
- 2511.13653
- Category
- cs.LG · cs.AI
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Finding human-understandable circuits in language models is a central goal of the field of mechanistic interpretability. We train models to have more understandable circuits by constraining most of their weights to be zeros, so that each neuron only has a few connections. To recover fine-grained circuits underlying each of several hand-crafted tasks, we prune the models to isolate the part responsible for the task. These circuits often contain neurons and residual channels that correspond to natural concepts, with a small number of straightforwardly interpretable connections between them. We study how these models scale and find that making weights sparser trades off capability for interpretability, and scaling model size improves the capability-interpretability frontier. However, scaling sparse models beyond tens of millions of nonzero parameters while preserving interpretability remains a challenge. In addition to training weight-sparse models de novo, we show preliminary results suggesting our method can also be adapted to explain existing dense models. Our work produces circuits that achieve an unprecedented level of human understandability and validates them with considerable rigor.
Quote from the paper
Leo Gao, Achyuta Rajaram, Jacob Coxon, Soham V. Govande, Bowen Baker, Dan Mossing (2025). Weight-sparse transformers have interpretable circuits. arXiv:2511.13653v1. https://arxiv.org/abs/2511.13653v1
BibTeX
@misc{gao2025weight,
title = {{Weight-sparse transformers have interpretable circuits}},
author = {Leo Gao and Achyuta Rajaram and Jacob Coxon and Soham V. Govande and Bowen Baker and Dan Mossing},
year = {2025},
eprint = {2511.13653},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2511.13653v1}
}