potentialpaper

Interpretable Transformers with Sparse Attention Post-training

Florent Draye, Anson Lei, Hsiao-Ru Pan, Ingmar Posner, Bernhard Schölkopf

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Sparse attention post-training induces interpretable transformers while preserving model performance.

Abstract. We introduce a simple post-training method that makes transformer attention sparse without sacrificing performance. Applying a flexible sparsity regularisation under a constrained-loss objective, we show on models up to 7B parameters that it is possible to retain the original pretraining loss while reducing attention connectivity to ≈0.4\approx 0.4% of its edges. Unlike sparse-attention methods designed for computational efficiency, our approach leverages sparsity as a structural prior: it preserves capability while exposing a more organized and interpretable connectivity pattern. We find that this local sparsity cascades into global circuit simplification: task-specific circuits involve far fewer components (attention heads and MLPs) with up to 100× fewer edges connecting them. Additionally, using cross-layer transcoders, we show that sparse attention substantially simplifies attention attribution, enabling a unified view of feature-based and circuit-based perspectives. These results demonstrate that transformer attention can be made orders of magnitude sparser, suggesting that much of its computation is redundant and that sparsity may serve as a guiding principle for more structured and interpretable models.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper has good presentation, but there are several common weaknesses that the reviewers pointed out:

  1. The novelty of the paper is limited or unclear. The proposed method mostly builds on a previous work.

  2. The baselines are limited. The result are not fully convincing

It may be hard for the authors to address all of them in the rebuttal, and the authors need to try their best.

Final justification

The authors have done a very good job in rebuttal. All reviewers raised their ratings.

Area Chair 1vvH · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper has good presentation, but there are several common weaknesses that the reviewers pointed out:

  1. The novelty of the paper is limited or unclear. The proposed method mostly builds on a previous work.

  2. The baselines are limited. The result are not fully convincing

It may be hard for the authors to address all of them in the rebuttal, and the authors need to try their best.

Final justification

The authors have done a very good job in rebuttal. All reviewers raised their ratings.

2 comments
Authors · CommentOpenReview ↗

Response to the Area Chair’s Summary

We thank the AC for summarising and categorising the comments made by the reviewers. During the rebuttal period, we have clarified our novelty claims and have provided extra evaluations, as requested by the reviewers, to better support our main results. We summarise the discussion on novelty and the results below.

Novelty. Conceptually, the key insight of this work is that interpretability methods are bottlenecked by the complexity of the underlying model. Therefore, we argue that in parallel to developing stronger analysis tools, the underlying model itself should be explicitly trained to be easily interpretable. We consider the sparse attention mechanism, which is developed in an adjacent field, as a practical instantiation of our idea rather than a standalone technical novelty. We show that the same mechanism can be used as an interpretability intervention for pretrained LLMs, achieving levels of sparsity that, to the best of our knowledge, no current methods can achieve. Relative to dense models, our sparsified models require fewer heads, attention edges, and feature-level key–query interactions to explain the same task-relevant behavior. The novelty of our work therefore lies not in the sparse attention operator itself, but in its formulation and validation as an interpretability intervention for pretrained LLMs, together with the empirical demonstration that capability-preserving structural reorganization can make their internal computations substantially more tractable to analyze. Beyond this, there are several technical contributions that are required to scale up the original SPARTAN framework, notably the distillation post-training framework, that LoRA suffices to induce this reorganisation at 7B, and a fused kernel-level implementation of the sparse attention layer (to be released with the source code).

New Results. The reviewers’ comments on the baselines and empirical results converge on three main points: (1) whether the proposed method outperforms simpler top-kk approaches; (2) the lack of qualitative interpretability results; and (3) the variety of architectures and tasks. During the rebuttal period, we provided additional evaluation results to strengthen our claims. We summarise each below.

1. Comparison with other sparsifying schemes: All reviewers asked if simpler sparse attention schemes can lead to the same sparse patterns as our method. To investigate this, we run two top-kk attention ablations: i) post-hoc attention pruning based on attention weights, ii) training with top-kk attention. Details are provided in individual review rebuttals. Both baselines saw significant performance degradation when less than 25% (pruning) and 12.5% (training) of attention edges are remaining, compared to the 0.22% achieved by our method. Moreover, downstream circuit discovery on the trained top-kk model confirms the sparsity improvement on the circuit level. These results corroborate our case that our proposed sparsity regularisation can achieve circuit simplification beyond naive sparse attention approaches.

2. Qualitative results and mechanism preservation: Reviewers 8PzQ and d59m suggested that qualitative interpretability results would strengthen our evaluation beyond sparsity measures alone. We have therefore included analyses of well-established mechanisms: induction heads, the IOI circuit, and the Greater-Than circuit. These studies show that the sparse attention patterns produced by our method yield mechanisms that are more semantically aligned with their attributed roles and more causally concentrated in the corresponding heads. We also examined whether mechanisms in the base model are preserved during sparsification and found that most canonical task-relevant heads retain their roles. These results suggest that the main mechanisms are largely preserved, while the surrounding computation is reorganised into simpler circuits. However, we note that this comparison is supplementary to our main results, as the goal of our work is to reorganise internal computations rather than to reveal unchanged circuits in the base model.

3. Extra architecture and tasks: Reviewer xWng commented on the scope of our evaluation in terms of both architectures and tasks. We now provide results on a different architecture, Llama 3.2 1B, where our method preserves predictive performance while inducing highly sparse attention. Circuit-discovery experiments show consistent reductions in both the number of components and edges required to explain model behaviour. We also provide results on a more realistic factual-recall task and benchmark evaluations for the sparse GPT-2 model. These results, detailed in our response to reviewer xWng, further support the generality of the claims made in the main text.

Authors · CommentOpenReview ↗

As the author rebuttal period draws to a close, we take the opportunity to thank the reviewers and the AC again for their comments and suggestions. The concrete and actionable suggestions on additional evaluations and clarifications were particularly appreciated. We are glad that all reviewers found our rebuttal helpful and updated their scores accordingly. We will incorporate the revisions discussed during the rebuttals to a camera-ready version of the paper.

Reviewer 8PzQOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies whether pretrained Transformer language models can be post-trained to use substantially sparser attention patterns while preserving predictive performance, with the goal of making the resulting models more amenable to mechanistic interpretation. The authors replace standard softmax attention with a hard sparse attention mechanism based on learned binary gates over query-key pairs, and optimize the model under a constrained objective that penalizes expected active attention edges while keeping the cross-entropy close to that of the original pretrained model. Experiments on GPT-2 and OLMo-7B suggest that the method can reduce active attention connectivity to below 0.5% of edges while maintaining similar pretraining loss. The paper then evaluates whether the sparse models yield smaller circuits under activation patching and simpler mediation structure in attribution-graph analyses.

Strengths and weaknesses

The paper addresses an important question: whether models can be made easier to interpret by changing the model itself, rather than only by improving post-hoc analysis tools. The empirical result that attention connectivity can be reduced to approximately 0.22% in GPT-2 and 0.44% in OLMo-7B while maintaining similar cross-entropy is striking, and the constrained optimization setup is a sensible way to trade off sparsity against predictive loss.

The paper also makes a useful effort to connect sparsified attention to mechanistic interpretability workflows, including circuit discovery and attribution graphs. The reported reductions in the number of heads and key-query pairs needed to explain behavior could be practically valuable for researchers tracing model computations.

However, I have a significant concern about the central framing. The title and main narrative claim "intrinsic interpretability", but the method itself is essentially a learned hard sparse attention / expected-L0 regularization procedure applied post-training. Sparse attention can reduce the number of possible paths and make analysis cheaper, but sparsity alone does not establish that the resulting computations are intrinsically interpretable, semantically transparent, stable across contexts, or faithful as explanations of behavior. Much of the evidence supports the weaker claim that sparse attention simplifies certain interpretability workflows, not the stronger claim that the model has become intrinsically interpretable.

This concern also affects the interpretation of the circuit results. Smaller circuits are partly expected once the architecture contains far fewer active attention edges. The paper would be stronger if it separated "the circuit is smaller because the graph is sparse" from "the circuit is more interpretable in a faithful and semantically meaningful sense."

The novelty is also somewhat mixed. The individual ingredients, including hard attention, learned gates, expected-L0-style sparsity, and sparse attention, are familiar. The paper's main novelty is the combination of these tools as a post-training intervention for mechanistic interpretability, together with the circuit-level analysis.

The performance preservation evidence is promising but not fully convincing. Matching pretraining cross-entropy is an important sanity check, yet it does not imply that all relevant model capabilities or mechanisms are preserved. The OLMo benchmark evaluation helps, and the appendix long-context experiment is useful, but the main interpretability analyses appear to be concentrated on GPT-2 and controlled tasks. Given the extreme sparsity level, I would like to see stronger evidence that the sparse model preserves behavior across a broader range of downstream settings, especially where attention-mediated long-range dependencies matter.

Finally, some implementation details of the constrained optimization are underspecified, including the exact update of the Lagrange multiplier. Overall, I find the direction promising and the empirical sparsity results interesting, but the paper currently overclaims the interpretability conclusion relative to the evidence.

Questions
  1. Can the authors provide a more direct evaluation of interpretability beyond circuit size? For example, are retained sparse edges more semantically coherent, more stable across related prompts, or more causally faithful under interventions than dense-model attribution edges? Such evidence would help support the title-level claim of intrinsic interpretability.

  2. How much of the reduction in circuit size is a mechanical consequence of the sparse attention architecture? A useful ablation would compare against simpler sparse-attention baselines, such as Top-k attention, fixed sparse patterns, L1-regularized attention, or pruning low-magnitude attention entries under a matched sparsity/performance budget.

  3. Please clarify the exact Lagrange multiplier / GECO update. Is the multiplier updated additively with projection, in log-space, with an exponential update, or with a moving average of the constraint violation? Since the target cross-entropy constraint is central to the method, this should be reproducible from the paper.

  4. To what extent does the sparse post-training preserve the original model's mechanisms rather than reorganizing computation into new sparse mechanisms? The appendix reports partial overlap with dense circuits, but this point seems important enough to discuss in the main text, since interpretability claims may differ depending on whether the method reveals existing circuits or induces new ones.

  5. I would raise my evaluation if the authors either moderate the claim from "intrinsically interpretable" to "more amenable to mechanistic interpretation", or add stronger evidence that the sparse circuits are faithful, stable, and semantically interpretable. Conversely, my evaluation would decrease if the rebuttal treats sparsity or reduced circuit size as sufficient evidence of interpretability without additional justification.

Limitations

The paper includes a limitations section and acknowledges that the work focuses on post-training attention sparsity, leaving open whether sparsity during pretraining or sparsity in other Transformer components would yield different results. However, I do not think the limitations fully address the gap between sparsity and interpretability. The authors should explicitly acknowledge that sparse attention reduces the size and cost of downstream analyses, but does not by itself guarantee faithful or human-interpretable explanations. They should also discuss the possibility that sparse post-training reorganizes mechanisms rather than simply revealing a pruned version of the original dense model.

Final justification

I have updated my overall score from 3 to 4 after considering the rebuttal and discussion.

Most of my empirical concerns have been substantially addressed. The authors provided additional qualitative and causal circuit analyses, downstream/task evaluations, architectural experiments, and comparisons against alternative sparsification schemes. Importantly, the trained Top-k comparison was extended to a matched 16B-token budget, with the circuit-size gap persisting, which alleviates my concern that the earlier result could be explained by an under-trained baseline. The authors also appropriately moderated the “intrinsic interpretability” framing, and the new analyses provide evidence beyond circuit size alone.

My main remaining concern is originality relative to prior work, particularly SPARTAN. The central sparse-attention mechanism and constrained optimization framework are largely inherited, so I view the contribution primarily as adapting and scaling this intervention to pretrained LMs and demonstrating its consequences for mechanistic interpretability, rather than as a substantially new sparsification method. This concern remains essentially unchanged. Overall, I still view this as a genuinely borderline submission: the rebuttal has substantially strengthened the empirical case, but the originality concern remains substantive.

Formatting concerns

I did not notice major paper formatting or anonymity concerns in the submission itself. One minor issue is that some important implementation details for the dual optimization procedure are not sufficiently explicit for reproducibility, but this is a technical clarity issue rather than a formatting violation.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank reviewer 8PzQ for their thorough review and thoughtful comments. We particularly appreciate the reviewer’s concrete and actionable suggestions, which we believe will meaningfully improve our manuscript. Below, we address each of the raised questions in turn, and present new analyses where appropriate.

Central framing: Intrinsic interpretability claim. We thank the reviewer for raising this important framing question as we believe this is central to our main thesis. The original rationale behind calling our work ‘intrinsic interpretability’ is to preempt any misunderstanding that we are trying to uncover circuits in the base model (see Q2 by reviewer xWng for example). We wanted to highlight that we seek to actually ‘rewire’ the circuits during post-training so that downstream interpretability pipelines become easier, aligning with recent works towards intrinsic interpretability, see for example, [1]. However, we appreciate that calling this ‘intrinsic interpretability’ could cause confusion in the other direction, as the current method does not guarantee complete transparency directly. We find the reviewer’s framing of ‘more amenable to interpretation’ very fitting and we will update the text to make sure this is reflected. We will update the title wording to avoid this confusion.

[1] Towards Intrinsic Interpretability of Large Language Models: A Survey of Design Principles and Architectures, ACL, 2026

Task evaluations on GPT-2. We thank the reviewer for this suggestion. To evaluate whether performance preservation extends beyond pretraining cross-entropy and controlled interpretability tasks, we will add the following downstream benchmark results for GPT-2. The sparse model closely matches the dense model across all four benchmarks while retaining only 0.2% of attention edges, consistent with our OLMo results.

Benchmark Dense (GPT-2) Sparse (GPT-2)
TruthfulQA(mc1) 27.05% 26.93%
PIQA 62.13% 62.38%
OpenBookQA 23.80% 23.00%
ARC-Easy 37.02% 36.07%

Q1: Direct interpretability evaluation. To directly evaluate interpretability beyond circuit size, we will include two qualitative case studies based on well-known circuits: induction heads (Olsson et al, 2022) and Greater-Than (hanna et al, 2023). We evaluate against two criteria: observational adequacy, whether each head's attention matches its attributed role, and causal necessity, whether ablating the head degrades the behavior it supports. We briefly summarize the results below, and will add more detailed illustrations in the appendix of the updated manuscript.

Ranking heads by their individual mean-ablation effect recovers the circuit documented in the literature for GPT-2 (the previous-token head and induction heads for induction, and the year heads for Greater-Than) and applying the same ranking to the sparse model identifies these same heads (see also Q4 below, which shows documented heads are preserved after sparsification more generally). The models differ in how closely these heads' attention patterns match their attributed roles. In GPT-2, the prefix-matching scores of the induction heads range from 0.450.45 to 0.860.86, while the year heads place between 0.880.88 and 0.960.96 of their attention on the start-year token, averaged across evaluation prompts. The remaining attention is distributed across other positions. In the sparse model, the corresponding scores range from 0.840.84 to 0.930.93 for the induction heads and exceed 0.9990.999 for the year heads. These higher scores suggest that sparse attention is better able to pick out the important tokens for the tasks.

These differences are also confirmed under causal intervention, where ablating the previous-token head reduces induction accuracy by 64% of its baseline value in the sparse model, compared with only 2% in GPT-2. Similarly, ablating the leading year head reduces the Greater-Than probability-difference metric by 59% in the sparse model, compared with 25% in GPT-2. Together, these experiments suggest that the induced sparse attention yields mechanisms that are both more semantically aligned with their attributed roles and more causally concentrated in the corresponding heads.

Q2: Alternative sparsity schemes. In order to discern whether the proposed sparsity regularisation is necessary beyond simpler approaches, we compare against fixed Top-kk attention, both as post-hoc pruning and as a trained baseline.

First, we test whether the dense model already contains a sparse attention pattern that can be exposed without retraining. Post-hoc Top-kk pruning of dense GPT-2 requires approximately k=16k=16 (25%) to match ΔCE=0.02\Delta\mathrm{CE}=0.02, compared to the 0.22% active attention achieved by our method. Training with fixed Top-kk improves over post-hoc pruning, but still requires k=8k=8 to reach ΔCE=0.02\Delta\mathrm{CE}=0.02. Detailed ablation results are provided in our response to reviewer xWng, Q3.

We further compare the circuits of the trained Top-kk models using the same discovery procedure as in our main experiments. The k=1k=1 model failed to solve either IOI or Greater-Than. At k=2k=2, it requires 34 components on IOI and 49 on Greater-Than to explain 90% of the task effect, compared with 20 and 18 for our method, while the CE-matched (k=8) requires 36 and 48. This shows that Top-kk does not produce the same degree of circuit simplification for downstream interpretability pipelines.

Q3: GECO update. We note that our work is fully reproducible as the source code for training is attached with the submission, and will be made public upon acceptance. The GECO update is done additively in log-space. We use a moving average to estimate the current CE and add the difference between the target and the moving average to the log of regularisation strength. We understand that this exact procedure can be unclear in the text and will clarify this in the appendix where the method is described.

Q4: Mechanism preservation. We thank the reviewer for the suggestion to more explicitly highlight the relationship between the base model and the sparse model. We will move a short version of the overlap results to the main text. In order to gain a more fine-grained understanding, we additionally provide new qualitative circuit analysis results here, and will include these in the final version of the paper.

We traced the heads named in the original circuit-discovery papers (Wang et al., 2022 IOI circuit; Olsson et al., 2022 induction heads; Hanna et al., 2023 Greater-Than circuit) through the sparsified model. A head "keeps its role" if it still concentrates attention on a task-relevant position, either the position originally documented, or, for heads that shift function, a different position relevant to the same task. Two of the 21 named heads (10,0) and (7,3) were already weak in dense GPT-2 itself (attention below 0.5) and are excluded, leaving 19 heads that were clearly performing their role in the base model.

Of these 19, 16 (84%) keep their role after sparsification: 6/6 induction heads, 5/6 Greater-Than heads, 5/7 IOI heads. The passing heads score 0.83–1.00 and the failing heads score 0.00–0.18 (one exception at 0.37), so the result holds for any threshold between roughly 0.2 and 0.8. One IOI head illustrates the shift-in-function case directly: the negative name mover (10,7) stops attending to the indirect object but shifts to attending the subject at 0.98. Three heads lose their role outright with no replacement: two IOI heads, (11,10) and (7,9), both S-inhibition-related dropping to near-zero attention, and one Greater-Than year head, (8,11), which weakens from 0.59 to 0.37.

To check that 84% is meaningful and not just how often any head happens to concentrate attention on a task-relevant position, we computed the same criterion across all 144 heads with no selection at all: only 6.5% do so on average (9.0% induction, 4.9% IOI, 5.6% Greater-Than). Named heads are therefore about 13 times more likely to retain a task-relevant role after sparsification than an arbitrary head.

Reviewer 8PzQ · CommentOpenReview ↗

Thank you for the substantial additional experiments. The post-hoc and trained Top-k comparisons are particularly helpful for assessing whether the observed circuit simplification is specific to the proposed sparsification scheme rather than a generic consequence of sparse-attention training.

I have one remaining clarification regarding the trained Top-k baseline. The rebuttal states that this baseline was trained on 7B tokens from OpenWebText. Could the authors clarify how its training setup was matched to the sparse GPT-2 post-training experiment, in particular the effective training-token / optimization budget and the training recipe (e.g., optimizer/schedule and whether the same auxiliary distillation objective was used)?

If there are differences in these settings, it would be helpful to clarify their extent and whether the authors expect them to affect the reported performance and circuit-size comparison. Since the trained Top-k experiment is important evidence that the gains go beyond generic sparse-attention training, understanding the comparability of the two training setups would help assess this result.

Authors · CommentOpenReview ↗

Clarification on the Trained Top-k Baselines

We thank the reviewer for the prompt response and are pleased that they found our additional experiments substantial and helpful.

The trained Top-kk baselines used the same GPT-2 initialization, optimizer, learning-rate schedule, and cross-entropy objective as the sparse GPT-2 post-training experiment. Auxiliary distillation was not used in this comparison; it was introduced only in our larger-scale experiments to accelerate training.

The primary difference between the trained Top-kk baselines and the sparse GPT-2 model was the effective training-token budget. The post-training experiment reported in the main text used 16B effective tokens, whereas the originally reported Top-kk baselines used 7B effective tokens. To eliminate this potential confounder, we continued training the Top-kk baselines until they matched the 16B-token budget. Applying the same circuit-discovery procedure, we obtain results consistent with our originally reported values:

Trained attention ΔCE IOI components Greater-Than components
Top-11 0.71 Not solved Not solved
Top-22 0.09 36 51
Top-44 0.03 35 46

This outcome is consistent with the expected behavior of Top-kk attention. Additional training may improve the cross-entropy of a Top-kk model, but it cannot increase its architectural sparsity, which is fixed by kk. Since the Top-kk models, with the exception of k=1k=1, already achieve near-perfect performance on the tasks considered here, additional optimization is unlikely to materially change the sparsity of the discovered circuits. As an illustration, we provide the circuit sizes across checkpoints for k=4k=4:

Task 2B 4B 6B 8B 10B 12B 14B 16B
IOI 35 34 34 34 32 35 34 35
Greater-Than 46 44 47 44 45 46 44 46

The k=1k=1 setting is the only Top-kk configuration that could, in principle, provide a more stringent sparsity comparison. However, it incurs substantial performance degradation: even after training on the full 16B-token budget, it retains a cross-entropy gap above 0.7 and it fails to solve either task.

Beyond these empirical results, Top-kk attention has a more fundamental limitation that distinguishes it from our method: it requires a fixed, predetermined value of kk across all heads, layers, and inputs. In contrast, our method adaptively selects the number of tokens attended to according to the context and task. Some attention heads can be switched off entirely, while others can attend to multiple tokens when necessary. This flexibility enables our method to achieve greater overall sparsity than even k=1k=1, while avoiding the substantial performance degradation caused by imposing k=1k=1 as a uniform architectural constraint.

Reviewer xWngOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper takes a pretrained transformer and fine-tunes it so that its attention becomes sparse, meaning that within each attention map most token-to-token connections are set exactly to zero rather than left as small weights. This is done with a learned binary gate on each attention edge, which applies an L0 penalty on the number of active edges. The mechanism is taken from prior work (SPARTAN, Lei et al., 2025).

To control how much sparsity is applied, the strength of the penalty is not set by hand. Instead, training is framed as minimising the number of active attention edges subject to the constraint that the cross-entropy loss stays within a fixed tolerance of the base model, which a Lagrangian method adjusts automatically. The stated motivation is that dense attention spreads each computation across many heads and edges, so reducing attention to a small set of active connections is expected to make the resulting circuits smaller and easier to analyse with existing interpretability methods.

The approach is tested on two models, GPT-2 Base (124 M) and OLMo-7B. The trained models are analyzed from two aspects, performance retention and the degree of sparsity. On the resulting models, activation-patching circuit discovery needs 1.4 to 4.5 times fewer heads and 5.4 to 97 times fewer edges to explain 90% of behaviour, and attribution graphs become 3.4 to 16.1 times cheaper to compute.

Strengths and weaknesses

Strengths

  • Well written and easy to follow, the method and its motivation are presented clearly.

  • The method achieves high attention sparsity with little loss in performance (mean cross-entropy), including at 7B scale (OLMo).

  • Setting the sparsity level automatically through a constraint on the cross-entropy, rather than manually, is a sensible design choice.

  • Transferring the SPARTAN sparse-attention approach from object-centric world models to pretrained language models, and connecting it to mechanistic interpretability, is a useful contribution, even though the underlying method is not new.

Weaknesses

  • The method has little novelty over SPARTAN (Lei et al., 2025), the gated hard attention, the Bernoulli sampling with the Gumbel-softmax trick, and the Lagrangian constrained optimisation are all the same, and even the central idea that sparse attention leads to better interpretability is already SPARTAN's. The contribution is essentially applying this existing method to pretrained language models and analyzing it with circuit discovery tools, so the significance is limited.

  • The sparse model reaches the same behaviour as the original through a substantially different internal mechanism (Appendix E.6 reports only 40 to 50% head overlap with the dense model), so the simpler circuits describe the sparsified model rather than the original pretrained model, which weakens the claim of explaining existing models.

  • The identified circuits are compared only against the dense base model, not against any alternative sparsification or interpretability baselines.

  • The evaluation is narrow, only two models (GPT-2 and OLMo-7B), with no intermediate sizes or architectural variety.

Missing Related Works

  • Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small, Wang et al.

  • How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model, Hanna et al.

  • AtP*: An efficient and scalable method for localizing LLM behaviour to components, Kramár et al.

  • RelP: Faithful and Efficient Circuit Discovery in Language Models via Relevance Patching, Rezaei Jafari et al.

Questions
  • In Figure 9, you only report benchmark evaluations on OLMo-7B. Could you report downstream task accuracy for GPT-2, and not only cross-entropy, given that it is the model used for most of the interpretability analysis?

  • Since the sparse model reaches the same outputs through a different mechanism (Appendix E.6), what does interpreting it actually tell us about the original pretrained model?

  • Does sparse post-training actually beat simpler alternatives such as Top-k attention, head or edge pruning, or sparse autoencoders on the dense model, on the same circuit-size and attribution metrics, and is the retraining even necessary, or can aggressive pruning of the dense circuit reach the same component budget without it?

Limitations

Some of the limitations are addressed in Section 5. However, several concrete limitations are simply not flagged, the absence of any baseline comparison and the narrow evaluation on only two models. The interpretability claims also rest entirely on synthetic, templated tasks, which are built to have small and clean circuits.

Final justification

The authors’ additional evaluations addressed most of my concerns, so I raised my score from 3 to 4.

Formatting concerns

In the NeurIPS Paper Checklist section, the authors have not removed the instructional preamble that the template tells them to delete. Otherwise, there are no other major issues.

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer xWng — Part 1 of 2

We thank reviewer xWng for their thorough review and the suggestions. After considering the reviewer’s concern, we have carried out several analyses to further corroborate our main claims. Below, we will first directly respond to the three questions raised by the reviewer, and then we will also address the other concerns raised in the weaknesses sections.

Q1: Task evaluations on GPT-2. We thank the reviewer for suggesting this. We will include the following benchmark results on GPT-2 in the text. The model is trained with 1024 context size while achieving a sparsity of 0.2%. These are consistent with the OLMo results, e.g. sparse model closely matches base model in terms of performance.

Benchmark Dense (GPT-2) Sparse (GPT-2)
TruthfulQA(mc1) 27.05% 26.93%
PIQA 62.13% 62.38%
OpenBookQA 23.80% 23.00%
ARC-Easy 37.02% 36.07%

Q2: Alignment to base model. We believe this is an important point of clarification: our goal is not to understand or preserve the original dense model’s internal mechanisms, but to ‘rewire’ a new sparse model with comparable performance and internal computations that are easier to interpret. The resulting re-organization of computation is therefore intentional, and actually corroborates our claim. We do agree, however, that a more detailed analysis on exactly how sparsifying the attention changes the internal computation can strengthen our work. In order to gain a more fine-grained understanding (as suggested by reviewer d59m), we will add to the appendix a qualitative investigation comparing the sparsified model with some well-established canonical attention head behaviours. See reviewer d59m, Q3, for details.

Q3: Alternative post-processing methods. In order to investigate whether our sparsifying scheme is effective beyond naive approaches, we present two sets of analyses on how performance changes with Top-kk schemes. We first apply direct thresholding on the base model, retaining only the Top-kk attention values for each query and attention head and measure the increase in cross-entropy. These results show that dense GPT-2 requires approximately 25% of the attention edges k=16k=16 to reach a cross-entropy gap of 0.02, whereas our sparse GPT-2 model achieves it while activating only 0.22% of the attention edges.

GPT-2 (base) k=1k=1 k=2k=2 k=4k=4 k=8k=8 k=16k=16 k=32k=32
ΔCE\Delta CE 2.78 1.45 0.57 0.08 0.02 0.00

We next compare against trained Top-kk attention, which is the main alternative to our proposed method. We train on 7B tokens from OpenWebText. Note that Top-kk retains exactly kk attention connections for every query, imposing the same predefined budget across all heads and layers. In contrast, our approach allows connectivity to vary across heads, layers, and inputs. Training with fixed Top-kk improves over post-hoc pruning. Nevertheless, it still requires k=8k=8 (12.5% retained context) to recover predictive performance compared.

GPT-2 (Top-kk trained) k=1k=1 k=2k=2 k=4k=4 k=8k=8
ΔCE\Delta CE 0.74 0.10 0.04 0.02

These results demonstrate that our approach is able to find sparse solutions beyond naive Top-kk approaches. To more directly see the impact of Top-kk approaches on downstream interpretability pipelines, we also evaluate the trained Top-kk model using the same activation-patching circuit-size metric as in our main experiments. The Top-kk model with k=1k=1 does not solve either task. At the 90% explained-effect threshold, the Top-kk model with k=2k=2 requires 34 components on IOI and 49 on Greater-Than, compared with 20 and 18 components for our approach, while the CE-matched k=8k=8 requires 36 and 48. We will report the full comparison across all kk values for both the post-hoc pruned and trained Top-kk baselines in the appendix of the revised manuscript.

We also notice that the reviewer suggested SAE as an alternative baseline. Our CLT experiment in the main text is highly similar to the SAE approach and the results support that sparsified models lead to simpler downstream circuits.

Authors · CommentOpenReview ↗

Response to Reviewer xWng — Part 2 of 2

W1: Novelty. We do not claim the sparse attention mechanism as novel as it is adopted from Lei et al. [2025] and cited as such throughout. Conceptually, the key insight of this work is that interpretability methods are bottlenecked by the complexity of the underlying model. Therefore, we argue that in parallel to developing stronger analysis tools, the underlying model itself should be explicitly trained to be easily interpretable. To instantiate this idea, our work uses an established method in an adjacent field (causal discovery for object-centric world models) to devise a practical post-training method. We show that the same mechanism can be used as an interpretability intervention for pretrained LLMs, achieving levels of sparsity that, to the best of our knowledge, no current methods can achieve, and achieves improved downstream interpretability tasks. Relative to dense models, our models require fewer heads, attention edges, and feature-level key–query interactions to explain the same task-relevant behavior. The novelty of our work therefore lies not in the sparse attention operator itself, but in its formulation and validation as an interpretability intervention for pretrained LLMs, together with the empirical demonstration that capability-preserving structural reorganization can make their internal computations substantially more tractable to analyze. Beyond this, there are several technical contributions that are required to scale up the original SPARTAN framework, notably the distillation post-training framework, that LoRA suffices to induce this reorganisation at 7B, and a fused kernel-level implementation of the sparse attention layer (to be released with the source code).

W2 & W3: Please see Q2 and Q3 respectively.

W4: Architectural variety. One challenge here is that, since our method uses the same pre-training corpus as the base models for comparison fairness, our investigation is constrained to models with open-source training data. This is the main reason why we have designed our experiments around GPT-2 and Olmo. However, we understand that architectural variety can demonstrate the robustness of our method. We will include in the appendix the following results on LLaMA-3.2-1B, which was trained on OpenWebText, showing that our method can also induce a similar level of sparsity (~0.3%) while maintaining the base model’s performance. Repeating our main circuit discovery experiment on these models reveals consistent results: Sparse LLaMA results in a substantially smaller circuit than the base model (summarized below). Values report component reduction / edge reduction relative to LLaMA at 90% explained-effect threshold.

Task Single Global
Greater-Than 4.7× / 1280× 3.0× / 278×
IOI 4.3× / 233× 2.1× / 52×

Missing related works: We thank the reviewer for suggesting the related works. We agree that these are relevant to our work and will include a discussion on these approaches in the related works section.

Synthetic, templated task limitation: To test whether the interpretability gains extend beyond small, templated tasks, we add a more realistic factual-recall setting (Meng et al., 2022; Geva et al., 2023), in which the relevant fact and query are separated by unrelated distractor text, rather than a clean synthetic template. We observe the same circuit-simplification trend as the other tasks: the sparse model requires roughly 2×2\times fewer heads and over 60×60\times fewer edges to explain 80% of the causal effect, using only 36 edges compared with more than 2,252 for dense GPT-2. Full task-construction details and additional results will be included in the appendix of the revised manuscript.

Reviewer xWng · CommentOpenReview ↗

Official Comment by Reviewer xWng

Thank you for providing the additional experimental results, which strengthen the evaluation and address several of my concerns.

  • I would appreciate further clarification on the intended scope of the work. Is the contribution primarily a proof of principle that sparse post-training produces simpler circuits, or a practical method for creating an interpretable replacement for the dense model? If the latter, what level of capability preservation is being claimed? The current evaluation covers selected benchmarks rather than the original GPT-2 evaluation suite or the full OLMo suite, so it does not appear to establish broader behavioral equivalence.

  • I would also appreciate clarification about the GPT-2 checkpoint used for the new benchmark evaluations. Page 5, Section 4, lines 188–192 states that GPT-2 was post-trained with sequence length 64, whereas the response describes a model trained with context length 1024. Is this the same checkpoint used for the circuit analyses?

Reviewer d59mOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper presents a post-training method to sparsify attention based on a constrained optimization problem. Their approach is built on top of the sparse attention layer: a framework that sparsify attention by using a binary mask that serves as L0 regularization. Then, the constrained optimization problem is used to post-train models such as GPT-2 and OLMo-7B (that have architectures that can be easily extended to use the sparse attention layer) without losing much of the original performance of the base model while activating only a small percentage of attention edges. Finally, the paper presents some results to argue that: (1) fine-tuned models using sparse post-training have smaller circuits (they discover the circuits using activation patching); (2) circuits from attribution graphs are smaller and more easily interpretable.

Strengths and weaknesses

Strengths

  • The paper is well written and motivated. The authors do a good job of presenting the methodology and experimental setup on most parts.
  • The experiments (model performance, circuit discovery, attribution graphs) are very thorough and cover a number of benchmarks (particularly on the activation patching). The authors usually set a good baseline when comparing their results.
  • The fact that the post-training is capable of sparsifying the attention while keeping the performance of the model is an interesting (and important) result, because it let us sparsify models without needing to re-train them from scratch. As shown by the paper, this allow for a more interpretable model.

Weaknesses

  • The proposed method mostly builds on previous work (the SPARTAN framework): both the sparse attention layer and constrained optimization problem are directly (or adapted) from the framework. Given that the methodological part of the work builds on SPARTAN, the main contribution of the paper is not entirely clear in my opinion: Is it the post-training methodology or the application of this methodology to circuit tracing and attribution graphs? – If it’s primarily the latter, the technical contribution might be limited.
  • I found Figure 2 to be a bit confusing, and lacked explanation in the main text. A more thorough explanation either on the caption or main text would increase the readability of it.
  • Most of the circuit analysis (particularly the activation patching section) focused mostly on number of edges kept, but it lacked a more qualitative analysis. At least for GPT-2, it would have been good to understand what changed between the base circuit and the post-trained one. For example, are the heads the same after post-training (e.g. (9,9) is still a name mover); if most heads are the same, which ones were dropped? This kind of analysis may help us understand how the post-training is changing the model computation in toy tasks that we are more familiar with.
Questions
  1. As mentioned in the weaknesses section, it is not entirely clear on how you build on the SPARTAN framework: what are the parts from the post-training that are directly from the framework, and what are novel? Is the main contribution the post-training algorithm or the application of a slightly modified SPARTAN framework and downstream effect on circuit discovery and interpretabily?
  2. In the model performance and sparsity section (Section 4.1), there is a mention that GPT-2 activates on average only on 0.22% of its attention edges. Do you have the percentage of attention edges that activate on the base model in comparison, or is it already normalized by it? I imagine that the base model also does not use all of the attention edges (although some might be very close to 0 but not exactly 0, due to floating point approximations).
  3. Is the sparsified model circuit a subset of the base model (e.g. the head (9,9) is still a name mover in the sparsified GPT-2 model), or do the heads completely change? As I previously mentioned, I think there was a lack of qualitative comparison of the circuit found on the sparsified model versus the base model. A simple metric such as recall of heads that appear in base known circuit and the post-trained model would already be interesting to analyze.
Limitations

Yes.

Final justification

The authors addressed all my comments, which improves a lot the contribution and novelty of the paper. Then, I raised my score.

Formatting concerns

No.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank reviewer d59m for their thoughtful comments, and are delighted that the reviewer finds our main results interesting and important. The reviewer raises three main questions which we address below.

1. Novelty: We do not claim the sparse attention mechanism as novel as it is adopted from Lei et al. [2025] and cited as such throughout. Conceptually, the key insight of this work is that interpretability methods are bottlenecked by the complexity of the underlying model. Therefore, we argue that in parallel to developing stronger analysis tools, the underlying model itself should be explicitly trained to be easily interpretable. To instantiate this idea, our work uses an established method in an adjacent field (causal discovery for object-centric world models) to devise a practical post-training method. We show that the same mechanism can be used as an interpretability intervention for pretrained LLMs, achieving levels of sparsity that, to the best of our knowledge, no current methods can achieve, and achieves improved downstream interpretability tasks. Relative to dense models, our models require fewer heads, attention edges, and feature-level key–query interactions to explain the same task-relevant behavior. The novelty of our work therefore lies not in the sparse attention operator itself, but in its formulation and validation as an interpretability intervention for pretrained LLMs, together with the empirical demonstration that capability-preserving structural reorganization can make their internal computations substantially more tractable to analyze. Beyond this, there are several technical contributions that are required to scale up the original SPARTAN framework, notably the distillation post-training framework, that LoRA suffices to induce this reorganisation at 7B, and a fused kernel-level implementation of the sparse attention layer (to be released with the source code).

2. Sparsity comparison with base model: The reported percentages are the absolute fraction of active attention edges and are not normalized by the dense baseline. To better contextualise our results, we now present a closer analysis of the sparsity levels of the base model, which will be included in the appendix of the updated paper. In dense GPT-2, more than 95% of the causally valid attention edges have non-zero weights, as softmax assigns positive probability to nearly every unmasked position. Therefore, the fraction of non-zero attention weights is not a meaningful measure of effective attention sparsity. Figure~11 (Appendix) provides a qualitative comparison of the sparse and dense attention patterns. To better estimate how many attention edges are effectively used by the dense model, we retain only the top-kk attention values for each query and attention head and measure the resulting increase in cross-entropy relative to the unmodified dense model.

Model k=1k=1 k=2k=2 k=4k=4 k=8k=8 k=16k=16 k=32k=32
ΔCE\Delta CE 2.78 1.45 0.57 0.08 0.02 0.00

These results show that dense GPT-2 requires approximately 25% of the attention edges (k=16) to reach a cross-entropy gap of 0.02, whereas our sparse GPT-2 model achieves it while activating only 0.22% of the attention edges. We will make this result explicit in the main text and report the performance-matched comparison.

3. Qualitative results and circuit comparison: We thank the reviewer for this suggestion. We already report an aggregate version of this analysis in Appendix E6: top-k head overlap of ~40–50% between dense and sparse GPT-2 on IOI and Greater-Than. In order to gain a more fine-grained understanding, we provide new qualitative circuit analysis results here, and will include these in the final version of the paper. We traced the heads named in the original circuit-discovery papers (Wang et al., 2022 IOI circuit; Olsson et al., 2022 induction heads; Hanna et al., 2023 Greater-Than circuit) through the sparsified model. A head "keeps its role" if it still concentrates attention on a task-relevant position, either the position originally documented, or, for heads that shift function, a different position relevant to the same task. Two of the 21 named heads (10,0) and (7,3) were already weak in dense GPT-2 itself (attention below 0.5) and are excluded, leaving 19 heads that were clearly performing their role in the base model.

Of these 19, 16 (84%) keep their role after sparsification: 6/6 induction heads, 5/6 Greater-Than heads, 5/7 IOI heads. The passing heads score 0.83–1.00 and the failing heads score 0.00–0.18 (one exception at 0.37), so the result holds for any threshold between roughly 0.2 and 0.8. One IOI head illustrates the shift-in-function case directly: the negative name mover (10,7) stops attending to the indirect object but shifts to attending the subject at 0.98. Three heads lose their role outright with no replacement: two IOI heads, (11,10) and (7,9), both S-inhibition-related dropping to near-zero attention, and one Greater-Than year head, (8,11), which weakens from 0.59 to 0.37.

To check that 84% is meaningful and not just how often any head happens to concentrate attention on a task-relevant position, we computed the same criterion across all 144 heads with no selection at all: only 6.5% do so on average (9.0% induction, 4.9% IOI, 5.6% Greater-Than). Named heads are therefore about 13 times more likely to retain a task-relevant role after sparsification than an arbitrary head.

Figure 2. The reviewer also pointed out that figure 2 can be further clarified. This figure shows the attention weights between tokens across different heads on an induction task. The caption on the figure will be extended to make this more clear.

Reviewer d59m · CommentOpenReview ↗

I thank the authors for addressing all of my questions and comments. The added qualitative results showing that named heads are more likely to retain task-relevant role is a really interesting addition. Additionally, the top-k CE comparison also makes the gap between the sparsified and base model more clear in my opinion. I think the actual contribution and novelty of the paper is also clearer after the provided answer, and I would encourage the authors to add some version of it in the final manuscript. I have no further comments or follow-up questions, and I think the authors provided new experiments and metrics that further support their method. Since all my concerns have been addressed, I will raise my score.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…