How Do Linear Probes Emerge? A Circuit-Tracing Framework with Concept-Targeted Attribution
Organizations: Jinesis Lab, University of Toronto & Vector Institute · EuroSafeAI · Max Planck Institute for Intelligent Systems, Tübingen, Germany · Hector Foundation ·
Abstract
Transcoder attribution graphs are usually trained to explain why a model assigns high probability to a particular next token. We introduce Concept-Targeted Attribution (CTA), which instead trains attribution graphs with respect to a linear probe direction. CTA therefore yields probe-specific circuits that explain why an internal concept representation arises in a prompt, independently of whether it is expressed in the generated token. Using Cross-Layer Transcoders, we show that these probe-targeted graphs contain predictive structure: graph-level features predict probe accuracy across four widely studied concept categories (, ), while local features identify the sparse components driving per-prompt classification. This connects probe performance to interpretable circuit structure, allowing us to ask not only whether a probe works, but which internal computations make it work. Causal ablations further show that probe-targeted and logit-targeted graphs capture functionally distinct mechanisms. Removing probe-relevant features reduces internal concept scores while largely preserving generated tokens, whereas removing logit-relevant features changes the generated token in 92% to 100% of cases with near-zero effect on probe scores. CTA provides a framework for moving from behavioral probe accuracy to mechanistic explanations of probe performance, enabling more detailed audits of internal concept representations, including safety-critical ones. Our code is available at https://github.com/vedantpalit/concept-targeted-attribution
Figures & tables
| Gemma-2-2B | Llama-3.2-1B | |||||||||||
| Toxicity (L22) | Truthfulness (L14) | Toxicity (L14) | Truthfulness (L1) | |||||||||
| Subspace | Post- | Flip | Post- | Flip | Post- | Flip | Post- | Flip | ||||
| Clean | 102.52 | — | 0.0% | 41.87 | — | 0.0% | 0.43 | — | 0.0% | 0.11 | — | 0.0% |
| 41.28 | 61.24 | 0.0% | 29.84 | 12.03 | 25.0% | 0.10 | 0.53 | 0.0% | 0.11 | 0 | 0.0% | |
| 101.82 | 0.70 | 100.0% | 41.84 | 0.03 | 100.0% | 0.43 | 0 | 100.0% | 0.09 | 0.02 | 100.0% | |
| 36.50 | 66.02 | 38.0% | 2.93 | 38.94 | 67.0% | 0.67 | 0.24 | 78.0% | 0.08 | 0.03 | 17.0% | |
| Model | Spearman | |
| Layer baseline | ||
| Ridge | ||
| GB |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Gemma-2-2B | Llama-3.2-1B | |||
| Concept | Val acc. | Val acc. | ||
| Toxicity | 22 | 90.0% | 14 | 90.9% |
| Sentiment | 21 | 80.1% | 15 | 63.0% |
| Reasoning | 15 | 87.6% | 9 | 76.5% |
| Truthfulness | 14 | 88.2% | 1 | 55.2% |
| Toxicity (L22) | Sentiment (L21) | Reasoning (L15) | Truthfulness (L14) | |||||||||||||
| Subspace | N | Flip | N | Flip | N | Flip | N | Flip | ||||||||
| Control | — | 102.52 | — | 0% | — | 28.31 | — | 0% | — | 21.44 | — | 0% | — | 41.87 | — | 0% |
| 190 | 41.28 | 61.24 | 0% | 203 | 12.11 | 40.42 | 0% | 130 | 16.39 | 5.05 | 0% | 168 | 29.84 | 12.03 | 25% | |
| 347 | 101.82 | 0.70 | 100% | 394 | 28.70 | 0.39 | 100% | 539 | 20.91 | 0.53 | 92% | 297 | 41.84 | 0.03 | 100% | |
| 166 | 36.50 | 66.02 | 38% | 174 | 0.57 | 27.74 | 30% | 195 | 11.24 | 10.20 | 17% | 190 | 2.93 | 38.94 | 67% | |
| Model | Raw | De-meaned | ||
| Layer baseline | ||||
| Ridge | ||||
| GB | ||||
| Raw | De-meaned | |
| Observed | ||
| 95% CI on | ||
| Null mean | ||
| Toxicity (L14) | Sentiment (L15) | Reasoning (L9) | Truthfulness (L1) | |||||||||||||
| Subspace | N | Flip | N | Flip | N | Flip | N | Flip | ||||||||
| Control | — | — | 0% | — | — | 0% | — | — | 0% | — | — | 0% | ||||
| 244 | 0% | 168 | 0% | 115 | 0% | 11 | 0% | |||||||||
| 203 | 100% | 289 | 100% | 372 | 100% | 359 | 100% | |||||||||
| 169 | 78% | 112 | 25% | 206 | 58% | 12 | 17% | |||||||||
| Model | ||
| Layer baseline | ||
| Ridge | ||
| GB |
| Raw | |
| Observed | |
| 95% CI on | |
| Null mean | |
Mechanistic Interpretability
Mechanistic interpretability studies how neural networks implement behaviors through internal features, circuits, and causal information flow.
See all 391 papers