← All entries
Paper2026#1033

Matryoshka attribution: Learning to attribute language model outputs to representations and weights

Summary

MAttr learns a single nested attribution ordering over model internals by optimizing a differentiable sigmoid top-k soft interchange-intervention mask while sampling k across sparsities; it avoids a separately tuned sparsity penalty and supports nodes, edges, neurons, SAE features, and weight deltas. On the official private/secret MIB Circuit Localization leaderboard, the live entry “MAttr (edge, 5k steps)” averages 5.6 versus 1.95 for the runner-up (~2.9×), with per-cell values captured in the local dump; the paper reports this official score while its figures report public-test results. A GRPO parameter-level application finds that restoring 1% of Llama-3.1-8B-Instruct parameters (2% for 1B) to base removes refusals while retaining capabilities. Primary links: arXiv abs https://arxiv.org/abs/2609.25518; PDF https://arxiv.org/pdf/2609.25518; X post https://x.com/aryaman2020/status/2102800933659000846; code https://github.com/aryamanarora/matryoshka-attribution; parameter code https://github.com/aryamanarora/matryoshka-attribution-parameters; HF circuits https://huggingface.co/aryaman/mattr-mib-circuits; author https://aryaman.io/; MIB leaderboard https://mib-bench-leaderboard.hf.space/; MIB project https://mib-bench.github.io/.

Venue
arXiv / Stanford University
Publisher
arXiv / Stanford University
Source
arxiv
Access
https://arxiv.org/abs/2609.25518 ; https://arxiv.org/pdf/2609.25518 ; https://arxiv.org/html/2609.25518 ; https://github.com/aryamanarora/matryoshka-attribution ; https://huggingface.co/aryaman/mattr-mib-circuits
License
arXiv preprint; code license not stated in captured README
License family
Other
Language
en
Hugging Face
aryaman/mattr-mib-circuits
Purpose
Learn nested, task-optimised attribution orderings over language-model representations and weight changes with differentiable mask learning
Scale
10-page main text / 58-page total preprint; MIB 12 task-model pairs across GPT-2, Qwen2.5-0.5B, Gemma-2-2B, Llama-3.1-8B; MIB+ bases and Llama refusal case
Domain
mechanistic interpretability; attribution; circuit localization; causal interventions; language models; refusal auditing
Used for
Mechanistic interpretability evaluation; circuit discovery; sparse attribution; transfer analysis; alignment/refusal auditing
Time period
arXiv v1 2026-09-22; X announcement 2026-09-23; MIB leaderboard checked 2026-09-24
Author type
academic
Added
Sep 24, 2026
Verified
Sep 29, 2026
Research status
verified
Found via
#random-papers

From the source

Published
Sep 22, 2026
arXiv categories
cs.CL, cs.LG
Author comment
10 pages main text, 58 pages total; preprint
Citations
0
References
0

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Attributing language model outputs to their internal computations is an open problem in interpretability. Existing methods, which use causal interventions, gradients, or learnable masks, either are infeasibly expensive or struggle to identify actual causally-important internal computations. We propose framing attribution as the problem of identifying nested subsets of internal components which minimise a downstream loss. To learn this task, we introduce Matryoshka Attribution (MAttr), a mask learning method that parametrises the mask with a simple differentiable sigmoid top-$k$ operator. We supervise training over all sparsities simultaneously by randomising $k$ over training, resulting in a learned ordering of components by attribution score. MAttr achieves number 1 on the official leaderboard of the Mechanistic Interpretability Benchmark (Mueller et al., 2025); our method identifies sparse and task-transferrable circuits across varying circuit bases. As a practical application, we show that MAttr can be trained with reinforcement learning to identify weight changes responsible for downstream behaviours in LLM finetuning. We train MAttr on refusal judge scores and find that restoring $1\%$ of Llama 3.1 8B Instruct's weights to their base model state is sufficient to remove refusals while maintaining capabilities. We view MAttr as a successful formulation of interpretability into a learnable objective that we can tackle with gradient descent, and encourage future work along these lines.

Tags

matryoshka-attributionmattrmechanistic-interpretabilitycircuit-localizationattributionsigmoid-top-kmask-learningcausal-interventionintegrated-gradientsmibllmrefusalgrpoparameter-attributionstanford

Topics

mechanistic interpretability; attribution; circuit localization; causal interventions; language models; refusal auditing

Research notes

  • Verified from downloaded arXiv abs/PDF/text, arXiv HTML/API, X JSON, official code README, HF circuit card, author page, and live MIB leaderboard. Authors and Stanford University affiliation: Aryaman Arora; Kirill Acharya; Nathan Hu; Yanzhe Zhang; Noah Goodman; Dan Jurafsky; Christopher Potts. Method: learn one scalar score per variable; each step samples k, constructs sigmoid-top-k scores summing to k by bisection, applies soft interchange intervention, and backpropagates downstream loss, giving nested rankings usable across sparsities. MIB coverage: 12 task-model pairs across GPT-2 small, Qwen2.5-0.5B, Gemma-2-2B, and Llama-3.1-8B; MIB+ adds MLP, MLP+attention, and SAE bases. Verified MIB claim: official private/secret leaderboard average 5.6 for edge MAttr (5k steps) versus 1.95 runner-up (~2.87×); paper states 45.9%–343.0% per model-benchmark gains and statistically significant public-test wins over tested baselines. Parameter application: GRPO on StrongREJECT for Llama-3.2-1B-Instruct and Llama-3.1-8B-Instruct; 2% and 1% restored-to-base deltas respectively, with capabilities retained. Links: arXiv abs https://arxiv.org/abs/2609.25518; PDF https://arxiv.org/pdf/2609.25518; HTML https://arxiv.org/html/2609.25518; X https://x.com/aryaman2020/status/2102800933659000846; X JSON https://api.fxtwitter.com/status/2102800933659000846; official code https://github.com/aryamanarora/matryoshka-attribution; parameter repo https://github.com/aryamanarora/matryoshka-attribution-parameters; MIB fork https://github.com/aryamanarora/MIB-circuit-track; learning-to-attribute https://github.com/aryamanarora/learning-to-attribute; HF artifacts https://huggingface.co/aryaman/mattr-mib-circuits; author https://aryaman.io/; MIB leaderboard https://mib-bench-leaderboard.hf.space/; MIB project https://mib-bench.github.io/; MIB HF org https://huggingface.co/mib-bench; MIB leaderboard source https://huggingface.co/spaces/mib-bench/leaderboard; MIB paper https://arxiv.org/abs/2504.13151; StrongREJECT https://huggingface.co/qylu4156/strongreject-15k-v1. Local dump: /workspace/curator/research/mattr-2609.25518/.
  • Discord midlink filled pass-20260929-1627 (alphaxiv 2609.25518).

Similar entries