Targeted Recovery of Weight-Space Mechanisms From Neural Networks

arXiv cs.LG Papers

Summary

This paper introduces Targeted Parameter Decomposition (tPD), a method that selectively recovers interpretable weight-space mechanisms from neural networks for specific inputs, reducing compute requirements compared to full decomposition. It validates tPD on toy models and transformer language models, demonstrating faithful circuit recovery and surgical ablation with minimal side effects.

arXiv:2607.13047v1 Announce Type: new Abstract: Parameter decomposition (PD) decomposes neural networks into interpretable computational components that faithfully reflect the original network's operations. However, scaling PD to large models requires vast compute, making it a costly and risky endeavor. Here we propose targeted PD (tPD), which identifies only the components that process specific inputs of interest -- from isolated prompts to large subtasks -- by introducing a high-rank catch-all component that handles all non-target data. We validate tPD on toy models and on transformer language models trained on The Pile, where it recovers reproducible, mechanistically faithful circuits. We extract a CSS-only submodel of a 4-block transformer using 7% of the FLOPs of its published decomposition, and in a 12-block transformer we surgically ablate and rewire memorized sequences, with negligible side effects on other inputs.
Original Article
View Cached Full Text

Cached at: 07/16/26, 04:20 AM

# Targeted Recovery of Weight-Space Mechanisms From Neural Networks
Source: [https://arxiv.org/html/2607.13047](https://arxiv.org/html/2607.13047)
###### Abstract

Parameter decomposition \(PD\) decomposes neural networks into interpretable computational components that faithfully reflect the original network’s operations\. However, scaling PD to large models requires vast compute, making it a costly and risky endeavor\. Here we propose targeted PD \(tPD\), which identifies only the components that process specific inputs of interest – from isolated prompts to large subtasks – by introducing a high\-rank catch\-all component that handles all non\-target data\. We validate tPD on toy models and on transformer language models trained on The Pile, where it recovers reproducible, mechanistically faithful circuits\. We extract a CSS\-only submodel of a 4\-block transformer using≈\\approx7% of the FLOPs of its published decomposition, and in a 12\-block transformer we surgically ablate and rewire memorized sequences, with negligible side effects on other inputs\.

Mechanistic Interpretability, Parameter Decomposition, Circuits, Language Models

## 1Introduction

Parameter decomposition \(PD\) aims to reverse\-engineer neural networks by recovering the algorithms they implement, rather than annotating their internal representations\(Braun et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib2); Bushnaq et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib4),[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)\. Each weight matrix is decomposed into mechanisms made of rank\-1 subcomponentsUc​Vc⊤U\_\{c\}V\_\{c\}^\{\\top\}, each implementing a single functional role\. The decomposition must satisfy four requirements: \(i\) the subcomponents sum to the original weights, \(ii\) inactive subcomponents can be ablated in any combination without changing the model’s outputs, \(iii\) each subcomponent is as computationally simple as possible, and \(iv\) each input activates a minimal number of components\(Bushnaq et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib4),[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)\. A jointly\-trained auxiliary network learns which subcomponents are active \(i\.e\., causally\-important\) on which inputs\. After initial work on toy models, this intricate optimization problem was recently scaled up to a 4\-block transformer with 28M non\-embedding parameters\(Bushnaq et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)\. Reaching frontier LLMs would require several orders of magnitude more scale, with no ground truth to guide the engineering\.

Here we show that the PD framework does not require full\-model decomposition to be useful\. We introduceTargeted Parameter Decomposition \(tPD\), which selectively identifies the mechanisms that process a chosen subset of data \(thetarget data\), substantially reducing the compute requirements\.

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/figure_benchmarks_top.png)

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/figure_benchmarks_bottom.png)

Figure 1:A:Causal importance patterns for the TMCC toy model’s first matrix: full\-data and targeted on 3 features\.B:Mean\-square error \(MSE\) of the reconstruction, as a proxy for decomposition success, for targeted decomposition of the TMCC toy model when a variable number of subcomponent slots are provided\.C:MSE over training for the full\-data and targeted decompositions of the TMCC\.D:Cosine similarities of theUUandVVvectors between matched components across two random seeds for the joint numpy/pandas task\. The horizontal bars represent the mean\. The gray line and shaded area represent the mean ± standard deviation of a null distribution obtained by comparing the first decomposition to a untrained, randomly\-initialized version of the second one\. For comparison, full data decompositions of the same model with different seeds\(Bushnaq et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)yielded Mean Max Cosine Similarities of 0\.48 and 0\.51 forUUandVVvectors respectively\.E:Pair\-wise matches between the subcomponents obtained from decomposition on nested target sets:import numpy as\(\{np\}\),import pandas as\(\{pd\}\), or both at the same time \(\{np, pd\}\)\.
## 2Method

A natural starting point would be to run PD using only the target data\. This recovers components that correctly reconstruct the model’s outputs on the target\(Christensen & Riggs,[2025](https://arxiv.org/html/2607.13047#bib.bib5)\), but leaves the solution underdetermined: On a narrow target dataset, activations span only a subspace of what the model sees on general data\. Components are constrained inside that subspace, but are arbitrary in orthogonal directions\. Thus, their ablations would have unpredictable effects on non\-target inputs – hindering model editing and preventing us from inspecting the broader contexts in which they fire\.

To obtain interpretable mechanisms, tPD trains PD on two parallel data streams – a smallertargetdataset of inputs we want to explain, and anon\-targetstream sampled from the model’s original training distribution\. The decomposition model is trained to reconstruct the model’s outputs on both streams:

- •For target data, the reconstruction must be done using only a sparse set of rank\-1 subcomponents, like in standard PD\. However, these subcomponents are not required to sum to the original weights – they only need to capture the mechanisms that fire on the target data\.
- •For non\-target data, each weight matrix is allocated a full\-rank, catch\-all componentΔ\\Delta, defined as the residual between the original weights and the sum of subcomponents\. TheseΔ\\Deltacomponents capture all mechanisms that are never active on the target data, so they are not explicitly decomposed\. The subcomponents that process target data can also be used for non\-target reconstruction, since some mechanisms may be active on both target and non\-target data\.

To achieve this, theΔ\\Deltacomponents are adversarially ablated on target batches \(each between 0 and 100%\) to maximize reconstruction loss, forcing the target outputs to be reconstructed from the subcomponents alone\. On non\-target batches, theΔ\\Deltacomponents are always fully enabled\.

Importantly, both the target and non\-target streams contribute to the importance\-minimality loss\. This has two consequences: \(i\) any mechanism that fires on non\-target but not on target data is moved into theΔ\\Deltacomponents \(which are not counted in the importance\-minimality loss\); \(ii\) the subcomponents thatdoprocess target data are shaped to interfere as little as possible with non\-target data\.

To ensure that the decomposed circuits are mechanistically faithful to the original computation, both the inactive andΔ\\Deltacomponents are adversarially ablated to maximize reconstruction loss, forcing the model’s outputs to remain unchanged for any hybrid of original and ablated matrices\. See Appendix[A](https://arxiv.org/html/2607.13047#A1)for more detail on the implementation, and Appendix[B](https://arxiv.org/html/2607.13047#A2)for a full worked example on the “TMS\-5\-2\-id” toy model\(Bushnaq et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib4)\), illustrating why the non\-target batches and theΔ\\Deltacomponents are needed to capture the correct mechanisms\.

## 3Results

### 3\.1tPD rapidly recovers ground\-truth on toy models

We first validate tPD on toy models\. To demonstrate the compute gains, we use the Toy Model of Compressed Computation \(TMCC\) fromBraun et al\. \([2025](https://arxiv.org/html/2607.13047#bib.bib2)\)\. In this model, parameter decomposition identifies 100 mechanisms for the MLP input matrix: One for each input feature \(Fig[1](https://arxiv.org/html/2607.13047#S1.F1)A, left\)\. We run the targeted version using only the inputs 5, 10 and 15 as the target data\. As expected, we recover exactly the three mechanisms that process these features \(Fig[1](https://arxiv.org/html/2607.13047#S1.F1)A, right\)\. Crucially, the CI network learns the correct activation patterns, so that the subcomponents do not spuriously activate on non\-target inputs\. The computational cost is reduced for two reasons:

- •First, the decomposition model only needs to be large enough to accommodate the target mechanisms, for a much reduced memory footprint\. While the full TMCC requires at least 100 subcomponent slots per matrix, tPD on a subset of 3 features works with much smaller models \(as few as 5 subcomponent slots, Fig\.[1](https://arxiv.org/html/2607.13047#S1.F1)B\)\.
- •Second, we find that tPD converges faster, presumably because it is a much simpler optimization problem\. All else equal, full\-data PD on the 1\-layer TMCC takes∼\\sim2500 optimization steps to converge; tPD on a 3\-input target converges in∼\\sim500 \(Fig\.[1](https://arxiv.org/html/2607.13047#S1.F1)C\)\.

### 3\.2Consistency checks on a transformer

We next validate the approach on transformer language models, whose training data is far more complex than that of toy models\. Although there is no ground truth to compare against, we run two consistency checks: First, if tPD discovers identifiable mechanisms, decompositions initialized from different random seeds should converge to similar circuits\. Second, decompositions of telescoping sets should be coherent: The circuits that processA∪BA\\cup Bshould be the union of the circuits that processAAand those that processBB\(with possible exceptions due to higher\-rank mechanisms, see Appendices[B](https://arxiv.org/html/2607.13047#A2)\-[C](https://arxiv.org/html/2607.13047#A3)\)\.

We perform this validation on the largest model for which a full\-data decomposition exists so far: A 4\-block transformer trained on The Pile\(Bushnaq et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)\. To validate tPD on the extreme opposite case, we decompose it against just two inputs: “import numpy as” and “import pandas as”\. These sequences are omnipresent in Python code and the decomposed model correctly completes them as “np” and “pd”\.

Using these two prompts as target and the general Pile as non\-target, we perform tPD twice, initializing from two different random seeds\. We then match subcomponents based on maximum cosine similarity between their weights and compute the cosine similarities between their respectiveUUandVVvectors \(Fig\.[1](https://arxiv.org/html/2607.13047#S1.F1)D\)\. Overall, there is strong agreement\. TheVVvectors \(input directions\) in particular are highly similar, suggesting that the two decompositions converged to essentially the same implementation\. TheUUvectors in the Q and K matrices of the attention layers are slightly less consistent, indicating that the representations used to form the attention pattern are somewhat less constrained\. Note that there are multiple reasons why the subcomponents may or may not be the same across initializations\. See Appendix[C](https://arxiv.org/html/2607.13047#A3)and Appendix B\.3 fromBushnaq et al\. \([2026](https://arxiv.org/html/2607.13047#bib.bib3)\)for further discussion\.

To check for consistency across nested targets, we run targeted decompositions against each of the two prompts taken separately, and compare the subcomponents we obtain to those from the decomposition against both prompts at the same time\. Of the 77 subcomponents in the joint decomposition \(\{np,pd\}\), 69 have a strong match in either or both of the single\-prompt decompositions: 18 are shared with the “numpy” decomposition \(\{np\}\), 19 with the “pandas” one \(\{pd\}\), and 32 are seemingly used by both prompts \(Fig\.[1](https://arxiv.org/html/2607.13047#S1.F1)E\)\.

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/figure_css_only.png)Figure 2:A:KL\-divergence of a model made only of the subcomponents identified in the CSS\-only decomposition, compared to the original model, on various languages\. Lower values mean the outputs are closer to the original model’s\.B:Comparison of the original sequence, next tokens predicted by the original model, and next tokens predicted by the CSS\-only model, on samples of text from CSS code, Python code, and English language\. The prompt line is shifted left by one position so the real next token is aligned to the predicted next token\. Highlights are the per\-token KL\-divergence between the original and CSS\-only models clamped to\[0,1\]\[0,1\]\.![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/figure_shortlisted.png)Figure 3:Three examples of CSS\-specific subcomponents from the CSS\-only decomposition\.Left:KL\-divergence compared to the original model’s output when the subcomponent is individually subtracted from the model, for CSS code versus other languages\.Right:Activation patterns of these components \(displayed as the per\-token KL\-divergence when ablated, clamped to\[0;1\]\[0;1\]\)\.
### 3\.3Extracting a CSS\-only submodel

Having established that tPD produces consistent decompositions, we turn to a broader case: extracting every mechanism that processes CSS code\. Using the same 4\-block transformer, we take as target a subset of the Pile restricted to CSS code, with comments stripped out to avoid picking up plain\-language mechanisms\.

Using≈\\approx7% of the FLOPs of the published full\-data decomposition \(Appendix[D](https://arxiv.org/html/2607.13047#A4)\), we match and exceed its reconstruction accuracy \(mean adversarial KL\-divergence: 0\.45, causal\-importance L0\-norm: 89\.6\)\. tPD returns 1,638 subcomponents, against 9,972 for the full\-data decomposition\. These 1,638 subcomponents presumably capture the algorithm the model uses to predict CSS code\. To verify this, we run a “CSS\-only” model with only these components on a panel of languages from The Stack\(Kocetkov et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib15)\)and WikiText\(Merity et al\.,[2016](https://arxiv.org/html/2607.13047#bib.bib21)\)\. As seen in Fig\.[2](https://arxiv.org/html/2607.13047#S3.F2)A, the CSS\-only model behaves similarly to the original on CSS data \(KL\-div\.≈\\approx0\.6\)\. By contrast, behavior on every other language collapses \(KL\-div\.≥\\geq2\), and the model tends to fall back to a single dominant token \(“the” for English, “count” for Python\)\.

A purported benefit of performing targeted PD with non\-target batches andΔ\\Deltacomponents is that the identified mechanisms should have no side effects on examples outside the target data, unless they are actively used in processing them\. If this is true, we should be able to selectively destroy CSS\-specific abilities from the model, while retaining the rest\. This is not as straightforward, because many subcomponents that are active on CSS are also active in non\-CSS contexts, so simply ablating all 1,638 is not an option\. We start by shortlisting subcomponents that fire frequently on CSS data but rarely do so on general Pile data\. Manual inspection of this shortlist identifies subcomponents with specific syntactic roles, such as numbers preceding a unit, or whitespace used for indentation \(Figs\.[A4](https://arxiv.org/html/2607.13047#A6.F4),[A5](https://arxiv.org/html/2607.13047#A6.F5),[A6](https://arxiv.org/html/2607.13047#A6.F6)\)\. Strikingly, they are highly specific to the CSS context: For example, subcomponent 98 from block 3’s MLP\-up is active on indentation in CSS code, but not indentation in Python code \(Fig\.[A6](https://arxiv.org/html/2607.13047#A6.F6)\)\. We conjecture that these subcomponents, beyond recognizing surface patterns, also encode some form of CSS\-context awareness, although we leave a more mechanistic understanding of how this works to future research\. Accordingly, ablating these subcomponents degrades the model’s output on CSS data, but leaves other languages unchanged \(Fig\.[3](https://arxiv.org/html/2607.13047#S3.F3), left\)\.

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/figure_numpy_12L.png)Figure 4:A:Effect of ablating individual subcomponents obtained either with the tPD method introduced here \(“targeted”\), or with standard PD on the target data without non\-target batches \(“naive”\)\. The x\- and y\-axes show the maximumKL\(original\|\|ablated\)\\text\{KL\}\(\\text\{original\}\|\|\\text\{ablated\}\)over the two target sequences\. Point color represents the 99th\-percentile KL\-divergence on\>\>100k tokens of general Pile data\. Higher values mean the ablated model’s output deviate farther from the original outputs\.B:Erasing the np/pd completions from a 12\-block model\. The “np” and “pd” points showKL\(original\|\|ablated\)\\text\{KL\}\(\\text\{original\}\|\|\\text\{ablated\}\)on “import numpy as” and “import pandas as” respectively \(higher values mean the ablation disrupts the model’s behavior more on this input\)\. Grey violins show the distribution of per\-token divergences on general Pile data \(lower values mean the ablation had less side effects\)\.C:Effect of swapping the output directions of components from the “np” and “pd” sequences on the predicted next token probabilities\.D:Behavior of the swapped model on sample contexts, and distribution of divergences over general Pile data \(lower means less side effects\)\.
### 3\.4Editing knowledge in a 12\-block transformer

A promising feature of tPD is that it lets us peek at the mechanisms inside larger models earlier, before solving the engineering challenges required by full\-data decomposition\. To demonstrate this, we come back to the “numpy/pandas” task above, and extend it to a 12\-block Pile transformer \(85M non\-embedding parameters\)\. The decomposition finds 248 subcomponents \(or about 5 per matrix\)\. Figure[4](https://arxiv.org/html/2607.13047#S3.F4)A shows the effect of ablating each of them on the two target prompts\. When using our targeted decomposition scheme \(left\), the subcomponents fall into three broad categories: active only on the “numpy” prompt, active only on the “pandas” prompt, or active on both\. The remaining quadrant, active on neither “np” nor “pd”, is empty: In tPD, those are all absorbed into theΔ\\Deltacomponent\. We also quantify whether each subcomponent is used on non\-target data by calculating the “worst\-case” \(99th percentile\) divergence on\>\>100k tokens of generic Pile data, excluding sequences that literally contain the target prompts\. Within the “active on both” category, some are also frequently active on non\-target data \(Fig\.[4](https://arxiv.org/html/2607.13047#S3.F4)A, red\)\. This includes, for example, subcomponents that activate at the beginning of every line\.

The off\-diagonal subcomponents are all highly specific to the numpy/np and pandas/pd completions\. Presumably, these subcomponents represent where these associations are stored in the model\. We can then ablate them to erase that knowledge from the model, completely suppressing the ability to complete either “np” or “pd”, while retaining virtually identical behavior on other sequences \(KL<<10\-2, Fig\.[4](https://arxiv.org/html/2607.13047#S3.F4)B\)\. For comparison, we also run a naive decomposition \(target\-batch only, noΔ\\Deltacomponents\) against these two prompts\. In that case, the subcomponents all have heavy side effects on non\-target data when ablated, despite correctly reconstructing the target data \(Fig\.[4](https://arxiv.org/html/2607.13047#S3.F4)A, right\)\.

Since each subcomponent is rank\-1, it reads from a directionVVin activation space and writes to a different directionUU\. We should therefore be able not only to ablate these connections, but to rewire them – e\.g\., make the model import numpy as “pd” and pandas as “np” by swapping theUUdirections of subcomponents specific to each prompt\. This is a stricter test of mechanistic faithfulness, because it is not something the decomposition explicitly optimizes for\.

We select two pairs of highly prompt\-specific subcomponents that seem like promising candidates for swappinga priori111We only attempted the swap experiment on these two pairs\.:

- •Subcomponents 35 and 52 in the V projection of block 9’s attention \(which copy information from the second\-to\-last to the last token\);
- •Subcomponents 47 and 48 from block 9’s MLP down\-projection\.

We then generate edited models where the output directionsUUare swapped between the two subcomponents and scaled according to the ratio of their inner activationsV⊤​xV^\{\\top\}x, while the input directionsVVare left alone\. As predicted, the swapped models now completeimport numpy aswithpdandimport pandas aswithnp, including when these sequences occur in natural code contexts \(Fig\.[4](https://arxiv.org/html/2607.13047#S3.F4)C\)\. The change in behavior is remarkably specific: The completions are essentially unchanged \(KL<<10\-1\) on most tokens from the Pile data, including on positions where the model initially predicts “ np” or “ pd” in unrelated contexts \(Fig\.[4](https://arxiv.org/html/2607.13047#S3.F4)D\)\.

## 4Discussion

tPD is a targeted variant of PD that decomposes only the mechanisms that are causally important on a chosen set of inputs\. Our experiments suggest that tPD recovers identifiable, mechanistically faithful decompositions that support targeted interventions – component ablation and rewiring of individual rank\-1 connections – at a small fraction of the cost of full\-data PD\. This makes it a practical tool for narrow\-scope interpretability\(Sharkey et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib27)\): Circuit localization, unlearning, and editing at scales where full\-data PD might be challenging\. It should also help scale full\-data PD itself, by speeding up experimental iteration and surfacing facts about the target models that can serve as anchors for tuning the full decomposition\.

However, several caveats apply\. First, the subcomponents from tPD only process the slice of activation space that is spanned by target data – therefore, they are not directly identical to the full\-data subcomponents \(Appendix[C](https://arxiv.org/html/2607.13047#A3)\)\. Depending on the application, it will be important to choose the target data such that it fully captures the behavior of interest\. Second, our editing case study \(numpy/pandas, section[3\.4](https://arxiv.org/html/2607.13047#S3.SS4)\) is a relatively easy target for unlearning \(short, token\-specific memorized sequences\)\. Editing world knowledge out of LLMs will likely require more involved engineering, both in choosing the target data and in designing the edits\. Third, neural networks sometimes implement one task with several redundant mechanisms\(McGrath et al\.,[2023](https://arxiv.org/html/2607.13047#bib.bib18); Wang et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib28); Bushnaq et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)\. This could cause some mechanisms to be lost in the decomposition, as the original model’s behavior could be recreated using only a fraction of the relevant mechanisms\. This concern has not yet been addressed for full\-data PD either, but it may be sharper in tPD where inactive mechanisms are absorbed by theΔ\\Deltacomponents\. We provide a preliminary exploration of this in Appendix[E](https://arxiv.org/html/2607.13047#A5), but the question is far from settled\. Finally, even the largest model used here \(similar in size to GPT\-2\-small\) is still tiny by frontier\-model standards, and scaling tPD further may surface unforeseen challenges\.

## 5Related work

#### Parameter decomposition\.

Parameter decomposition was introduced by APD\(Braun et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib2)\), which framed mechanistic interpretation as recovering an additive set of full\-rank weight subcomponents, each implementing a single functional role\. SPD\(Bushnaq et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib4)\)reformulated the optimization with rank\-1 subcomponents and stochastic ablations, making the framework tractable on harder toy models; VPD\(Bushnaq et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)added adversarial ablations and a simplicity criterion, and was the first variant to scale to full decomposition of a transformer language model\. All three arefull\-datamethods: The recovered subcomponents are required to sum to the original weights, and the decomposition is trained on a dataset meant to be representative of the model’s full input distribution\.

The closest neighbor to tPD isChristensen & Riggs \([2025](https://arxiv.org/html/2607.13047#bib.bib5)\), who run unmodified PD on isolated prompts\. The decomposition then reconstructs outputs on the target, but, as discussed in Section[2](https://arxiv.org/html/2607.13047#S2), the resulting decomposition is underdetermined off\-target\.

#### Targeted interpretability on data subsets\.

Most unsupervised mechanistic\-interpretability methods such as sparse autoencoders \(SAEs,Cunningham et al\. \([2023](https://arxiv.org/html/2607.13047#bib.bib7)\)\), transcoders\(Dunefsky et al\.,[2024](https://arxiv.org/html/2607.13047#bib.bib8)\)and Lorsa\(He et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib12)\)are run on the model’s full input distribution, with the goal of producing a complete explanation of the model\. A handful of recent works trained SAEs on a restricted domain rather than on broad data:Muhamed et al\. \([2024](https://arxiv.org/html/2607.13047#bib.bib23)\)introduce specialized SAEs trained on retrieval\-selected subdomains, to surface rare concepts that broad\-distribution SAEs miss\.O’Neill et al\. \([2025](https://arxiv.org/html/2607.13047#bib.bib24)\)confine SAE training to a single domain \(clinical text\), reallocating dictionary capacity to domain\-specific features\. In both cases, the aim is to improve SAE performance on the target data, rather than reduce the compute requirements\. They inherit the concern that activation\-space methods may not capture all of the causally relevant structure carried by the weights\(bilalchughtai & Bushnaq,[2025](https://arxiv.org/html/2607.13047#bib.bib1)\)\.

#### Circuit discovery\.

A second line of work explains how a model implements a pre\-defined task in a*supervised*manner\. For example, activation patching\(Heimersheim & Nanda,[2024](https://arxiv.org/html/2607.13047#bib.bib13)\)localizes the components responsible for the difference between a clean and a corrupted prompt; ACDC\(Conmy et al\.,[2023](https://arxiv.org/html/2607.13047#bib.bib6)\)automates this into a search over the activation\-space computational graph\.

In contrast, tPD is fundamentallyunsupervised: the user supplies a slice of inputs but no behavioral metric and no assumption about the nature of the task\. The decomposition surfaces the mechanisms that are causally important on those inputs, and it is then up to the researcher to “read the task” off the recovered components rather than specify it in advance\.

#### Knowledge editing and unlearning\.

Diverse methods have been developed to locate and edit factual knowledge in language models\. For example, a major class of methods edits the matrices of MLP modules, treating them as look\-up tables for factual associations\(Meng et al\.,[2023a](https://arxiv.org/html/2607.13047#bib.bib19),[b](https://arxiv.org/html/2607.13047#bib.bib20)\)\. Further developments improved on the locality of edits \(especially under sequential editing\), by projecting the update on the nullspace of preserved knowledge\(Fang et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib10); Lyu et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib17)\)or by localizing edits to individual MLP neurons\(Pan et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib25)\)\. Another approach is to learn a hypernetwork that generates weight updates encouraging desired input/output pairs\(Mitchell et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib22); Li et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib16)\)\. Other methods such as REMEDI\(Hernandez et al\.,[2024](https://arxiv.org/html/2607.13047#bib.bib14)\)and SAKE\(Scialanga et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib26)\)edit the network’s representations rather than the weights\.

These methods nonetheless start from a researcher\-curated definition of the fact to be edited — a target input/output pair\(Mitchell et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib22)\), a subject\-relation\-object triple\(Meng et al\.,[2023a](https://arxiv.org/html/2607.13047#bib.bib19),[b](https://arxiv.org/html/2607.13047#bib.bib20)\), a counterfactual corpus\(Eldan & Russinovich,[2023](https://arxiv.org/html/2607.13047#bib.bib9)\)or a distribution of paraphrases and implications\(Scialanga et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib26)\)\. Moreover, several of them presuppose that the relevant knowledge is stored in a particular form, typically as key\-value associations in specific MLP layers\(Geva et al\.,[2021](https://arxiv.org/html/2607.13047#bib.bib11)\)\. Parameter decomposition makes neither assumption: It surfaces the mechanisms causally responsible for a chosen set of inputs directly from the weights, without assuming what is stored or how\. While we demonstrate only edits on simple memorized sequences, we see this as a first step toward mechanistically\-informed editing, in which edits are designed around a reverse\-engineered mechanism rather than imposed on the output\.

## Acknowledgments

Thanks to Cory Kendrick and Tasos Spiliotopoulos for support and feedback throughout the project\. Thanks to Dan Braun for feedback on this manuscript and for training the 12\-block transformer model used here\. This work was supported by MATS\.

## Code availability

## References

- bilalchughtai & Bushnaq \(2025\)bilalchughtai and Bushnaq, L\.Activation space interpretability may be doomed — LessWrong\.January 2025\.
- Braun et al\. \(2025\)Braun, D\., Bushnaq, L\., Heimersheim, S\., Mendel, J\., and Sharkey, L\.Interpretability in Parameter Space: Minimizing Mechanistic Description Length with Attribution\-based Parameter Decomposition, February 2025\.URL[http://arxiv\.org/abs/2501\.14926](http://arxiv.org/abs/2501.14926)\.arXiv:2501\.14926 \[cs\]\.
- Bushnaq et al\. \(2026\)Bushnaq, L\., Braun, D\., \*, Clive\-Griffin, O\., \*, and Sharkey, L\.Interpreting Language Model Parameters, 2026\.URL[https://www\.goodfire\.ai/research/interpreting\-lm\-parameters](https://www.goodfire.ai/research/interpreting-lm-parameters)\.
- Bushnaq et al\. \(2025\)Bushnaq, L\., Braun, D\., and Sharkey, L\.Stochastic Parameter Decomposition, September 2025\.URL[http://arxiv\.org/abs/2506\.20790](http://arxiv.org/abs/2506.20790)\.arXiv:2506\.20790 \[cs\]\.
- Christensen & Riggs \(2025\)Christensen, C\. L\. and Riggs, L\.Decomposition of Small Transformer Models, December 2025\.URL[http://arxiv\.org/abs/2511\.08854](http://arxiv.org/abs/2511.08854)\.arXiv:2511\.08854 \[cs\]\.
- Conmy et al\. \(2023\)Conmy, A\., Mavor\-Parker, A\. N\., Lynch, A\., Heimersheim, S\., and Garriga\-Alonso, A\.Towards Automated Circuit Discovery for Mechanistic Interpretability, October 2023\.URL[http://arxiv\.org/abs/2304\.14997](http://arxiv.org/abs/2304.14997)\.arXiv:2304\.14997 \[cs\]\.
- Cunningham et al\. \(2023\)Cunningham, H\., Ewart, A\., Riggs, L\., Huben, R\., and Sharkey, L\.Sparse Autoencoders Find Highly Interpretable Features in Language Models, October 2023\.URL[http://arxiv\.org/abs/2309\.08600](http://arxiv.org/abs/2309.08600)\.arXiv:2309\.08600 \[cs\]\.
- Dunefsky et al\. \(2024\)Dunefsky, J\., Chlenski, P\., and Nanda, N\.Transcoders Find Interpretable LLM Feature Circuits, November 2024\.URL[http://arxiv\.org/abs/2406\.11944](http://arxiv.org/abs/2406.11944)\.arXiv:2406\.11944 \[cs\]\.
- Eldan & Russinovich \(2023\)Eldan, R\. and Russinovich, M\.Who’s Harry Potter? Approximate Unlearning in LLMs, October 2023\.URL[http://arxiv\.org/abs/2310\.02238](http://arxiv.org/abs/2310.02238)\.arXiv:2310\.02238 \[cs\]\.
- Fang et al\. \(2025\)Fang, J\., Jiang, H\., Wang, K\., Ma, Y\., Jie, S\., Wang, X\., He, X\., and Chua, T\.\-s\.AlphaEdit: Null\-Space Constrained Knowledge Editing for Language Models, April 2025\.URL[http://arxiv\.org/abs/2410\.02355](http://arxiv.org/abs/2410.02355)\.arXiv:2410\.02355 \[cs\.CL\]\.
- Geva et al\. \(2021\)Geva, M\., Schuster, R\., Berant, J\., and Levy, O\.Transformer Feed\-Forward Layers Are Key\-Value Memories, September 2021\.URL[http://arxiv\.org/abs/2012\.14913](http://arxiv.org/abs/2012.14913)\.arXiv:2012\.14913 \[cs\.CL\]\.
- He et al\. \(2025\)He, Z\., Wang, J\., Lin, R\., Ge, X\., Shu, W\., Tang, Q\., Zhang, J\., and Qiu, X\.Towards Understanding the Nature of Attention with Low\-Rank Sparse Decomposition, April 2025\.URL[http://arxiv\.org/abs/2504\.20938](http://arxiv.org/abs/2504.20938)\.arXiv:2504\.20938 \[cs\]\.
- Heimersheim & Nanda \(2024\)Heimersheim, S\. and Nanda, N\.How to use and interpret activation patching, April 2024\.URL[http://arxiv\.org/abs/2404\.15255](http://arxiv.org/abs/2404.15255)\.arXiv:2404\.15255 \[cs\]\.
- Hernandez et al\. \(2024\)Hernandez, E\., Li, B\. Z\., and Andreas, J\.Inspecting and Editing Knowledge Representations in Language Models, August 2024\.URL[http://arxiv\.org/abs/2304\.00740](http://arxiv.org/abs/2304.00740)\.arXiv:2304\.00740 \[cs\.CL\]\.
- Kocetkov et al\. \(2022\)Kocetkov, D\., Li, R\., Allal, L\. B\., Li, J\., Mou, C\., Ferrandis, C\. M\., Jernite, Y\., Mitchell, M\., Hughes, S\., Wolf, T\., Bahdanau, D\., Werra, L\. v\., and Vries, H\. d\.The Stack: 3 TB of permissively licensed source code, November 2022\.URL[http://arxiv\.org/abs/2211\.15533](http://arxiv.org/abs/2211.15533)\.arXiv:2211\.15533 \[cs\]\.
- Li et al\. \(2025\)Li, Z\., Jiang, H\., Chen, H\., Bi, B\., Zhou, Z\., Sun, F\., Fang, J\., and Wang, X\.Reinforced Lifelong Editing for Language Models, September 2025\.URL[http://arxiv\.org/abs/2502\.05759](http://arxiv.org/abs/2502.05759)\.arXiv:2502\.05759 \[cs\.CL\]\.
- Lyu et al\. \(2026\)Lyu, S\., Gu, Y\., Wang, X\., Huang, J\., Luan, S\., Cui, Y\., Chang, X\.\-W\., and Lu, P\.EvoEdit: Evolving Null\-space Alignment for Robust and Efficient Knowledge Editing, April 2026\.URL[http://arxiv\.org/abs/2510\.13851](http://arxiv.org/abs/2510.13851)\.arXiv:2510\.13851 \[cs\.CL\]\.
- McGrath et al\. \(2023\)McGrath, T\., Rahtz, M\., Kramar, J\., Mikulik, V\., and Legg, S\.The Hydra Effect: Emergent Self\-repair in Language Model Computations, July 2023\.URL[http://arxiv\.org/abs/2307\.15771](http://arxiv.org/abs/2307.15771)\.arXiv:2307\.15771 \[cs\]\.
- Meng et al\. \(2023a\)Meng, K\., Bau, D\., Andonian, A\., and Belinkov, Y\.Locating and Editing Factual Associations in GPT, January 2023a\.URL[http://arxiv\.org/abs/2202\.05262](http://arxiv.org/abs/2202.05262)\.arXiv:2202\.05262 \[cs\]\.
- Meng et al\. \(2023b\)Meng, K\., Sharma, A\. S\., Andonian, A\., Belinkov, Y\., and Bau, D\.Mass\-Editing Memory in a Transformer, August 2023b\.URL[http://arxiv\.org/abs/2210\.07229](http://arxiv.org/abs/2210.07229)\.arXiv:2210\.07229 \[cs\]\.
- Merity et al\. \(2016\)Merity, S\., Xiong, C\., Bradbury, J\., and Socher, R\.Pointer Sentinel Mixture Models, September 2016\.URL[http://arxiv\.org/abs/1609\.07843](http://arxiv.org/abs/1609.07843)\.arXiv:1609\.07843 \[cs\]\.
- Mitchell et al\. \(2022\)Mitchell, E\., Lin, C\., Bosselut, A\., Finn, C\., and Manning, C\. D\.Fast Model Editing at Scale, June 2022\.URL[http://arxiv\.org/abs/2110\.11309](http://arxiv.org/abs/2110.11309)\.arXiv:2110\.11309 \[cs\]\.
- Muhamed et al\. \(2024\)Muhamed, A\., Diab, M\., and Smith, V\.Decoding Dark Matter: Specialized Sparse Autoencoders for Interpreting Rare Concepts in Foundation Models, November 2024\.URL[http://arxiv\.org/abs/2411\.00743](http://arxiv.org/abs/2411.00743)\.arXiv:2411\.00743 \[cs\] version: 1\.
- O’Neill et al\. \(2025\)O’Neill, C\., Jayasekara, M\., and Kirkby, M\.Resurrecting the Salmon: Rethinking Mechanistic Interpretability with Domain\-Specific Sparse Autoencoders, August 2025\.URL[http://arxiv\.org/abs/2508\.09363](http://arxiv.org/abs/2508.09363)\.arXiv:2508\.09363 \[cs\] version: 1\.
- Pan et al\. \(2025\)Pan, H\., Wang, X\., Cao, Y\., Shi, Z\., Yang, X\., Li, J\., and Wang, M\.Precise Localization of Memories: A Fine\-grained Neuron\-level Knowledge Editing Technique for LLMs, March 2025\.URL[http://arxiv\.org/abs/2503\.01090](http://arxiv.org/abs/2503.01090)\.arXiv:2503\.01090 \[cs\.CL\] version: 2\.
- Scialanga et al\. \(2025\)Scialanga, M\., Laugel, T\., Grari, V\., and Detyniecki, M\.SAKE: Steering Activations for Knowledge Editing, July 2025\.URL[http://arxiv\.org/abs/2503\.01751](http://arxiv.org/abs/2503.01751)\.arXiv:2503\.01751 \[cs\.AI\]\.
- Sharkey et al\. \(2025\)Sharkey, L\., Chughtai, B\., Batson, J\., Lindsey, J\., Wu, J\., Bushnaq, L\., Goldowsky\-Dill, N\., Heimersheim, S\., Ortega, A\., Bloom, J\., Biderman, S\., Garriga\-Alonso, A\., Conmy, A\., Nanda, N\., Rumbelow, J\., Wattenberg, M\., Schoots, N\., Miller, J\., Michaud, E\. J\., Casper, S\., Tegmark, M\., Saunders, W\., Bau, D\., Todd, E\., Geiger, A\., Geva, M\., Hoogland, J\., Murfet, D\., and McGrath, T\.Open Problems in Mechanistic Interpretability, January 2025\.URL[http://arxiv\.org/abs/2501\.16496](http://arxiv.org/abs/2501.16496)\.arXiv:2501\.16496 \[cs\]\.
- Wang et al\. \(2022\)Wang, K\., Variengien, A\., Conmy, A\., Shlegeris, B\., and Steinhardt, J\.Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT\-2 small, November 2022\.URL[http://arxiv\.org/abs/2211\.00593](http://arxiv.org/abs/2211.00593)\.arXiv:2211\.00593 \[cs\]\.

## Appendix AMethod details

In tPD, the decomposition model for each matrix can be written as:

W≈W′=∑i=1Cmi​Ui​Vi⊤\+mΔ​\(W−∑i=1CUi​Vi⊤\),W\\approx W^\{\\prime\}=\\sum\_\{i=1\}^\{C\}m\_\{i\}\\,U\_\{i\}V\_\{i\}^\{\\top\}\+m\_\{\\Delta\}\(W\-\\sum\_\{i=1\}^\{C\}U\_\{i\}V\_\{i\}^\{\\top\}\),\(1\)
whereWWis the original weight matrix,ViV\_\{i\}andUiU\_\{i\}are the input and output vectors of the rank\-1 subcomponentii, andCCis the number of allocated subcomponent slots\. The subcomponent masksmi∈\[μi,1\]m\_\{i\}\\in\[\\mu\_\{i\},1\]are bounded below by the causal importanceμi\\mu\_\{i\}, itself determined by the auxiliary causal\-importance network\.

On target data, the masks are chosen adversarially to maximize reconstruction loss:

m1,…,mC,mΔ=argmaxmi∈\[μi,1\]​ℒrecon​\(W′\),m\_\{1\},\\dots,m\_\{C\},m\_\{\\Delta\}=\\text\{argmax\}\_\{m\_\{i\}\\in\[\\mu\_\{i\},1\]\}\\mathcal\{L\}\_\{\\text\{recon\}\}\(W^\{\\prime\}\),\(2\)whereℒrecon​\(W′\)\\mathcal\{L\}\_\{\\text\{recon\}\}\(W^\{\\prime\}\)is the Kullback\-Leibler divergence \(KL\) between the output probability distributions of the original model \(WW\) and of the decomposition model \(W′W^\{\\prime\}\)\. The adversarial ablation levels are set using Projected Gradient Descent with persistent, shared\-across\-batch adversarial sources\(Bushnaq et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)\. In addition, to help with decomposition in the early stages of training, we add a stochastic reconstruction loss where the masks are sampled uniformly betweenμi\\mu\_\{i\}and 1, as inBushnaq et al\. \([2025](https://arxiv.org/html/2607.13047#bib.bib4)\)\.

On non\-target data,mΔm\_\{\\Delta\}is always set to 1, and the subcomponent masks are sampled uniformly betweenmim\_\{i\}andμi\\mu\_\{i\}\. For the CSS\-only decomposition, we found it useful to add anunmaskedreconstruction loss, with allmim\_\{i\}set to 1 andmΔm\_\{\\Delta\}set to 0, to prevent the dead components that never activate from interfering with the reconstruction\. We also use a weight decay of 0\.1 on subcomponent vectors, where the weight decay is scaled by1−maxbatch⁡\(CI\)1\-\\max\_\{\\text\{batch\}\}\(\\text\{CI\}\), such that the weights of dead components \(that never get assigned a high causal importance CI over the batch\) get dragged to zero\.

In practice, we sample one batch of target data and one batch of non\-target data, and run them sequentially\. The gradients are accumulated over both batches before stepping the optimizer\. For all the experiments presented here, we use equal sizes for the target and non\-target batches, though this could be optimized depending on the application\. To account for the fact that fewer subcomponents are active on the non\-target batches, the importance\-minimality coefficient is doubled for non\-target batches\.

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/tms_montage.png)Figure A1:Weight matrices for the TMS 5\-2\-id toy model\(Bushnaq et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib4)\), and the subcomponents obtained after decomposition with full input data \(5 features\), with the original SPD algorithm but using \{2\} as the only input, with tPD using \{2\} as the only input, and with tPD using \{1, 2, 3\} as inputs\. Red indicates positive values and blue negative values\. The input dimension is shown vertically, and the output dimension horizontally\.
## Appendix BIllustrative example: the TMS 5\-2\-id

Fig\.[A1](https://arxiv.org/html/2607.13047#A1.F1)illustrates the differences between naive PD and tPD using the TMS 5\-2\-id toy model fromBushnaq et al\. \([2025](https://arxiv.org/html/2607.13047#bib.bib4)\)\. In this toy model, five sparsely\-activating input dimensions are compressed into a 2D space\. The 2D representation goes through an identity matrix \(inserted in the toy model as a stand\-in for a rank\-2 mechanism\), and decoded back to the original 5 dimensions\. For the encoder and decoder, full\-data PD recovers a single component for each input dimension\. The encoder components map each input feature to its hidden representation, and the decoder’s components map them back to the original inputs, plus some superposition interference\. Meanwhile, the identity matrix is captured as two permanently\-active rank\-1 subcomponents\.

Suppose we aim to recover the mechanisms that process input dimension 2\. If we naively run PD using this dimension as the only input, the components we find are only accurate along the direction of the activations that occur in the target data\. For other directions, they are completely unconstrained\. For example, in the “Naive \{2\}” decomposition \(using input feature 2 as the only active input dimension\), row \#2 of the encoder captures the network’s operation, while the other rows are free to take arbitrary values\. Since these rows never receive any non\-zero activations, their values have no effect\. Furthermore, the naive decomposition generates many dead components with non\-zero weights in all rows except row \#2\.

With the targeted decomposition scheme, we recover only one subcomponent for each matrix\. For the encoder and decoder, that subcomponent is similar to the one from the full\-data decomposition\. For the identity matrix, the recovered subcomponent maps the hidden representation of feature \#2 to itself\. This is because, for higher\-rank mechanisms, tPD only finds the slice that is actually spanned by the target data\.

However, when two or more features are included in the target data \(for example, when TMS\-5\-2\-id is decomposed using \{1, 2, 3\} as the target\), we recover the complete rank\-2 identity matrix\.

## Appendix CWhen do full\-data PD and targeted PD find different subcomponents?

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/figure_sim_across_seeds.png)Figure A2:Cosine similarities between theUUandVVvector of matched subcomponents from two decompositions initialized with different random seeds\. For each alive subcomponent in decompositionaa, we find the closest alive subcomponent in decompositionbbby computing the pairwise cosine similarities between the flattened matricesU​V⊤UV^\{\\top\}and taking the best match\.
Horizontal lines represent the mean\. As a null distribution, the shaded gray areas represent the mean ± standard deviation of the cosine similarities obtained when decompositionbbis replaced by untrained, randomly\-initialized values\.When running targeted PD on a narrow dataset, the resulting subcomponents are not the same as the ones that would be discovered from a full\-data decomposition\. In fact, even running the same decomposition twice with different random initializations is not expected to yield the exact same subcomponents every time \(Fig\.[A2](https://arxiv.org/html/2607.13047#A3.F2)\)\. This can happen for multiple reasons, only some of which are undesirable:

1. 1\.Unfaithful mechanisms:the mechanisms discovered by PD are unrelated to the original model’s computation – instead, they are alternate implementations that simply output the same results\. In PD and tPD, this is prevented by adversarial ablation of the inactive components\.
2. 2\.System drift:the discovered mechanisms may be topologically correct, but deviate slightly from the original model in the exact feature vectors they use\. For example, the features written by the K and Q matrices of an attention block may both rotate compared to the ones used by the original, yet still “recognize” each other and leave behavior unchanged\. Adversarial ablations are meant to prevent this \(the ablated K must still communicate with the original Q, and vice\-versa\), but we consistently observe that the U vectors in the Q/K matrices are less robust than the rest, indicating residual drift\. Similar drift likely affects the U vectors of MLP up\-projections and the V vectors of MLP down\-projections\.
3. 3\.High\-rank components:some mechanisms are intrinsically higher\-rank transformations\. PD still captures them as multiple rank\-1 subcomponents that simply sum to the weights of the complete mechanism\(Bushnaq et al\.,[2025](https://arxiv.org/html/2607.13047#bib.bib4)\)\. The values of the individual subcomponents are then meaningless, as they only need to sum to the weights of the full mechanism, and there is no reason to expect them to match across initializations \(see Fig\.[A1](https://arxiv.org/html/2607.13047#A1.F1)for an example\)\.
4. 4\.Subcomponent merging on narrow target data:Suppose that two subcomponents from two distinct mechanisms reside in the same matrix, responding to different subspaces of activation\-space\. In some cases, targeted decomposition may sum them as a single rank\-1 subcomponent\. For example, this occurs when two subcomponents always co\-activate within the target data, with constant inner activations \(V⊤​xV^\{\\top\}x\)\. This is visible in our “numpy/pandas” case study on the 4\-block transformer, where we find only 77 alive subcomponents, while the same inputs activate no less than 1,708 subcomponents in the full\-data decomposition of the same model\.
5. 5\.Decomposition error:finally, some variation between subcomponents across runs may simply reflect each decomposition not fully converging within the allocated training steps\.

Overall, our results suggest that tPD produces reasonably faithful descriptions of the original model’s computation\. System drift and decomposition error likely occur, but not more than in full\-data PD\(Bushnaq et al\.,[2026](https://arxiv.org/html/2607.13047#bib.bib3)\)\. Component merging is a crucial aspect of targeted decomposition: in practice, the target data must be chosen so that it splits the components of interest at the desired granularity, while activating as few unnecessary components as possible\.

## Appendix DFLOPs estimation for decomposition runs

As a rough estimate of the total FLOPs used for different decompositions, matrix multiplications are counted with the standard2​m​n​k2mnkrule\. Attention is counted as4×sequence length×dmodel4\\times\\text\{sequence length\}\\times d\_\{\\text\{model\}\}FLOPs per token per layer \(query–key and attention–value products\); unembedding as2×dmodel×vocab size2\\times d\_\{\\text\{model\}\}\\times\\text\{vocab size\}FLOPs per token\. Softmax, RMS\-norm and activation functions are neglected\. Each training step on a batch ofBBsequences of lengthLLinvolves:

- •One forward pass through the frozen target model;
- •One forward and one backward pass through the causal importance network;
- •One forward and one backward pass through the decomposed model for each of the reconstruction losses \(stochastic, adversarial, unmasked\), for both the target and non\-target batches\. Each decomposed linear layer has a cost of2​C​\(din\+dout\)2C\(d\_\{\\text\{in\}\}\+d\_\{\\text\{out\}\}\)per token, withCCthe number of components\. The adversarial optimization steps are counted in the same way\.

The cost of a backward pass is approximated as twice the cost of the corresponding forward pass\.

## Appendix EDoes parameter\-decomposition produce incomplete circuits?

In all current parameter\-decomposition methods, the loss functions require the decomposition to accurately reconstruct the model’s output using a minimal number of components\. This could cause problems in cases where the model possesses multiple mechanisms that perform a similar function, such that only a subset of these are enough to replicate the model’s output\(Wang et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib28)\)\. Concretely, in transformers, this could happen when mechanisms write to the same saturated softmax function \(either in attention blocks, or in the final softmax\)\. In such cases, PD’s minimality loss would likely inactivate as many of these redundant mechanisms as possible, leading to an incomplete explanation\. This could compromise applications like unlearning, where we wish to erase all instances of a fact\.

This issue has not yet been addressed even in full\-data PD, but it could be particularly critical in targeted PD, where inactive mechanisms are moved to theΔ\\Deltacomponent and essentially lost\.

To explore the scope of the problem in our case studies, we use a simple test: if a subcomponentXXhas a hidden, redundant equivalent among the inactive orΔ\\Deltacomponents, then the effect of ablatingXXshould be larger in the barebone circuit \(active components only\) than in the full model\.

However, this works reliably only under two conditions:

- •Ablating the component in the full model must cause near\-zero degradation – the compensation by the hidden component has to be near\-total\. Otherwise, the ablation derails the model’s behavior and the divergences are no longer quantitatively comparable\. This is visible in the “numpy” panel of Fig\.[A3](https://arxiv.org/html/2607.13047#A5.F3), where ablations are often*more severe*in the original model than in the decomposed circuit\.
- •Ablating the component in the decomposed circuit must cause measurable degradation, so we can confidently assess that the same ablation has a smaller effect on the full model\.

In other words, we look for components that cause a large increase in KL\(original∥\\\|ablated\) when using only the circuit \(no inactive orΔ\\Deltacomponents\), but a small increase when ablating from the full model \(with inactive andΔ\\Deltacomponents on\)\. This test only applies to a small fraction of the subcomponents, but is informative as a preliminary exploration\.

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/redundancy_test.png)Figure A3:A coarse test for finding subcomponents that have a hidden redundancy among inactive/Δ\\Deltacomponents\. The KL\-divergence increase is defined as<KL\(Woriginalx\|\|Wbackground without subcomponentx\)−KL\(Woriginalx\|\|Wbackgroundx\)\><\\text\{KL\}\(W\_\{\\text\{original\}\}x\|\|W\_\{\\text\{background without subcomponent\}\}x\)\-\\text\{KL\}\(W\_\{\\text\{original\}\}x\|\|W\_\{\\text\{background\}\}x\)\>, wherebackgroundis either the full model, or the “circuit” containing only active components from PD, and the angle brackets denote the average over inputs for which this subcomponent is active\. Subcomponents that cause a KL increase below 0\.1 on the full model and above 0\.2 on the decomposed circuit are highlighted in red\.As a positive control, we also include a simple toy model designed to exhibit redundant mechanisms\. Given input “x=x=” withx∈\{1,…,15\}x\\in\\\{1,\\dots,15\\\}, the model is trained to copyxxto position 1\. After embedding from a vocabulary of size 16 todmodeld\_\{\\text\{model\}\}=64, the model contains two single\-head causal self\-attention layers, no MLP or LayerNorm, followed by a non\-residual linear \(64 to 64\) projection, unembedding and softmax\.

During training \(5000 steps, batch size 1024, AdamW, lr10−310^\{\-3\}cosine decay\), each attention layer’s residual contribution is independently dropped with probability 0\.4 \(keeping at least one\)\. This forces the model to learn the copying task twice \(once per attention block\), with the final softmax acting as an OR gate so that either block alone suffices\. The final projection is always required, as an example of a mechanism with no redundant equivalent\.

Fig\.[A3](https://arxiv.org/html/2607.13047#A5.F3)shows the results on the redundancy toy model, the CSS\-only decomposition and 12\-block numpy/pandas decomposition\. For the redundancy toy model, the decomposition misses many attention subcomponents – visible from the many subcomponents that have a redundant equivalent in theΔ\\Deltacomponents \(red dots\)\. The numpy/pandas decomposition appears to capture all relevant computation, but there is preliminary evidence that the CSS\-only decomposition misses some redundant mechanisms hidden in theΔ\\Deltacomponents\.

## Appendix FHyperparameters and data preparation

#### 4\-blocks numpy/pandas decompositions

The target data consists of short prompts of three tokens:import numpy as,import pandas as, or both\. The non\-target data is sampled from the Pile with sequence length6464\.

The training objective combines three losses: a stochastic\-subset reconstruction loss \(coefficient11\), a persistent PGD reconstruction loss \(coefficient0\.50\.5, activated after80%80\\%of training, with a cosine inner learning\-rate schedule\), and an importance\-minimality penalty whose strength and p\-norm vary throughout training\. The p\-norm is annealed linearly from2\.02\.0down to1\.01\.0over the full run, while the importance\-minimality coefficient is warmed up linearly from0to4⋅10−34\\cdot 10^\{\-3\}during the first20%20\\%of training and then decreased linearly to10−310^\{\-3\}over the remaining80%80\\%\.

The causal\-importance network is a global shared MLP with a single hidden layer of size512512and uses continuous sampling\. We allocateC=96C=96components to each ofc\_fc,down\_proj, ando\_proj, andC=64C=64components to each ofq\_proj,k\_proj, andv\_proj\. Training lasts for30,00030\{,\}000steps with batch size256256at a10−410^\{\-4\}learning rate\.

#### 12\-blocks numpy/pandas decomposition\.

The target and non\-target data are identical to the 4\-block setup\. The losses are also the same, with one difference: the persistent PGD term is activated earlier, after20%20\\%of training\. The causal\-importance network and component counts match the 4L configuration\. Training lasts for30,00030\{,\}000steps with batch size128128and a learning rate of5⋅10−45\\cdot 10^\{\-4\}\.

#### CSS decomposition\.

For target data, we use a custom subset of the Pile with only CSS code and without comments\. CSS documents are identified via the language metadata in`andstor/the\_pile\_github`\(selecting only theCSSparquet shards\), and block comments are stripped with the regex`/\\\*\.\*?\\\*/`\(non\-greedy, dotall\) before tokenization\. The non\-target data is drawn from the Pile\. Both use sequences of length 512\.

Four losses are active during training: a stochastic\-subset reconstruction loss \(coefficient11\), a persistent PGD reconstruction loss \(coefficient11, activated after20%20\\%of training, with a constant inner learning\-rate schedule\), an unmasked reconstruction loss \(coefficient0\.20\.2\), and an importance\-minimality penalty\. The p\-norm of the latter is held at2\.02\.0for the first10%10\\%of training and then annealed linearly to0\.40\.4over the remaining90%90\\%; its coefficient is warmed up linearly from0to3⋅10−33\\cdot 10^\{\-3\}over the first10%10\\%of training and then decreased linearly to3⋅10−43\\cdot 10^\{\-4\}over the remaining90%90\\%\.

The causal\-importance network is a global shared transformer withdmodel=1024d\_\{\\text\{model\}\}=1024,22blocks, an MLP hidden dim of20482048,44attention heads, a maximum length of512512, and a RoPE base of10,00010\{,\}000; sampling is binomial rather than continuous\. We allocateC=400C=400components toc\_fc,512512todown\_proj,126126toq\_proj,9696tok\_proj, and256256to each ofv\_projando\_proj\. Training runs for50,00050\{,\}000steps with batch size6464and a learning rate of10−410^\{\-4\}\.

![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/css_eoa_examples/0_mlp.down_proj_407_multilang.png)Figure A4:Effect of ablatingsubcomponent 407 from layer 0’s MLP down projectionon output reconstruction, for sample input sequences of CSS code, HTML code, Python code and plain English\. This subcomponent appears to be involved in predicting the character ”\-” after a keyword in CSS code\. Incidentally, it activates in HTML and Python examples, but this happens when the examples contain snippets of CSS code\. The shaded area represents the KL\-divergence w\.r\.t\. the original model when this component is ablated, clamped to\[0;1\]\[0;1\]\. The sequences were selected by running the ablated model on 100 random inputs from the Stack\(Kocetkov et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib15)\)and picking the top\-5 sequences where the component activated the most often\.![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/css_eoa_examples/3_mlp.down_proj_363_multilang.png)Figure A5:Effect of ablatingsubcomponent 363 from layer 3’s MLP down projectionon output reconstruction, for sample input sequences of CSS code, HTML code, Python code and plain English\. This subcomponent appears to be involved in predicting units \(”px”, ”em”, ”%”\) after numbers in CSS code The shaded area represents the KL\-divergence w\.r\.t\. the original model when this component is ablated, clamped to\[0;1\]\[0;1\]\. The sequences were selected by running the ablated model on 100 random inputs from the Stack\(Kocetkov et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib15)\)and picking the top\-5 sequences where the component activated the most often\.![Refer to caption](https://arxiv.org/html/2607.13047v1/Figures/css_eoa_examples/3_mlp.c_fc_98_multilang.png)Figure A6:Effect of ablatingsubcomponent 98 from layer 3’s MLP down projectionon output reconstruction, for sample input sequences of CSS code, HTML code, Python code and plain English\. This subcomponent is active on indentation blocks in CSS code\. Notably, it is not active on indentation blocks in other contexts, such as Python code\. The shaded area represents the KL\-divergence w\.r\.t\. the original model when this component is ablated, clamped to\[0;1\]\[0;1\]\. The sequences were selected by running the ablated model on 100 random inputs from the Stack\(Kocetkov et al\.,[2022](https://arxiv.org/html/2607.13047#bib.bib15)\)and picking the top\-5 sequences where the component activated the most often\.

Similar Articles

WARP: Weight-Space Analysis for Recovering Training Data Portfolios

arXiv cs.LG

WARP is a framework that recovers the domain mixture weights of a fine-tuned model from its released weights by generating pseudo-checkpoints via model merging and extracting geometric features. It achieves low mean absolute error on BERT and GPT-2, outperforming membership inference.

Understanding neural networks through sparse circuits

OpenAI Blog

OpenAI researchers present methods for training sparse neural networks that are easier to interpret by forcing most weights to zero, enabling the discovery of small, disentangled circuits that can explain model behavior while maintaining performance. This work aims to advance mechanistic interpretability as a complement to post-hoc analysis of dense networks and support AI safety goals.

Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics

arXiv cs.LG

This paper investigates how weight decay acts as a control parameter for transitioning between memorization and generalization in transformers trained on modular arithmetic, and introduces two cheap online diagnostic metrics from attention activations that track these dynamics.

Task-Restricted Symmetries in Recurrent Weight Space

arXiv cs.LG

This paper studies functional redundancy in recurrent neural networks by using ordered real Schur coordinates to identify structured ablations that preserve task performance, finding that task-restricted symmetries vary across tasks and trained solutions.