WorksComputer Science
Sparse Transformer: a Controlled Testbed for Mechanistic Interpretability
Abstract
Mechanistic interpretability aims to decompose neural network computations into human-understandable features, yet progress is limited by the absence of ground-truth units to evaluate against. We address this with a Sparse Transformer (ST): a 5-layer language model trained on TinyStories whose wide, TopK-sparse MLP forces neuron specialization. We show that ST neurons are highly interpretable: they outperform a loss-matched dense transformer by 43% on AutoInterp, and circuits of a median of 12 neurons suffice to reproduce individual model predictions. This testbed allows us to directly compare feature learning methods: Transcoder, which approximates the MLP input-output mapping, recovers ST's neuron vectors with 52.6% higher cosine similarity than Sparse Autoencoder, which only reconstructs outputs. Furthermore, the ST enables a controlled study of polysemanticity: distilling its sparse MLP into a dense counterpart reveals how compression leads to feature superposition. These results show how a known reference basis sharpens evaluation and understanding, a role we hope the ST can serve for the field.
Introduction
Language model neurons are polysemantic: each responds to many unrelated inputs, making them resistant to human interpretation ([16, 38]). Mechanistic interpretability aims to address this, yet the field faces a persistent methodological bottleneck: the absence of a reliable ground-truth ([45, 8]). When Sparse Autoencoder (SAE) ([4]) decomposes a model’s residual stream into a sparse sum of monosemantic features, we cannot know whether those features correspond to genuine computational units or are artifacts of the decomposition method1
([28, 30]). Similarly, when a circuit is identified as responsible for a behavior, faithfulness metrics remain proxies, as the true circuit is never known ([49]). Existing attempts to obtain ground truth rely on toy models with hand-crafted tasks ([16, 36, 23, 44]), which do not process natural language, leaving it unclear how findings transfer to real models. A more principled approach is to train a model whose internal structure is interpretable by design, so that its known units can serve as a reference for interpretability methods on natural language.
We propose the Sparse Transformer (ST) as such a model. ST is a decoder-only transformer whose MLP layers apply a TopK gate after the ReLU nonlinearity: at each forward pass, only out of neurons activate ( is the width multiplier). When is large and is small, each neuron must specialise, with sparsity acting as an inductive bias towards monosemanticity. Thus, ST provides an operational ground truth in two complementary senses. The first is structural: because exactly neurons fire per pass, the MLP output is a sum of known value vectors from a known active set, matching the sparse decomposition that SAEs and Transcoders are designed to recover. The second is semantic: we verify empirically that these neurons are monosemantic and human-interpretable. Together, these properties make the ST a controlled testbed for evaluating feature-recovery methods on natural language.
We make the following contributions:
We show that our primary ST model is highly interpretable: it scores 0.866 on AutoInterp (vs. 0.605 for a loss-matched dense transformer) and admits compact circuits that reproduce individual model predictions.
In Case Study #1, we use the ST’s known neuron basis to compare SAEs and Transcoders,
finding that Transcoders reconstruct MLP outputs more accurately (NMSE) and recover true neurons with 52.6% higher cos-sim.
In Case Study #2, we distil the ST’s MLP into a dense counterpart and study polysemanticity in a controlled setting, finding each dense neuron superposes sparse neurons with its weight vectors reflecting this mixture.
Additionally, we report an empirical width–sparsity trade-off suggesting that strong sparsity can be offset by moderate width expansion, showing a path toward larger interpretable LLMs.
Together, these contributions establish the ST as a testbed that bridges the gap between toy models and production LLMs: trained on natural language, yet with known computational units at every layer. We publicly release all 35 models trained across the width–sparsity grid, along with checkpoints at every 10% of training, to support systematic study of feature formation, circuit emergence, and interpretability methods evaluation.
Related Work
Mechanistic Interpretability. Mechanistic interpretability aims to reverse-engineer the computations inside neural networks into human-understandable algorithms [38, 17]. Its core primitives are features, interpretable properties of the input that a model represents (e.g., “past tense”, “character names”, “sentiment”), and circuits, groups of features that interact to produce a specific behavior [52, 50, 32, 34]. The most natural feature unit would be a single neuron, but language-model neurons are typically polysemantic, responding to many unrelated concepts, which motivates the search for more disentangled representations [39, 4, 27].
SAEs and Transcoders
The polysemanticity has motivated methods that decompose dense activations into sparse, interpretable features. These methods rest on the superposition hypothesis [16, 38]: any dense activation vector can be uniquely represented as a sparse linear combination of feature vectors. Both Sparse Autoencoders (SAEs) [4, 42, 31, 19] and Transcoders [13, 2, 41] operationalize this by learning a dictionary whose size is much larger than the model’s hidden dimension (), while enforcing that only a small number of features are active on any input. This sparsity pressure forces each latent to specialize to a coherent, human-understandable concept [12].
An SAE reconstructs a target dense activation vector (e.g., from the residual stream or an MLP output) via , where and . The TopK gate retains only the largest latent coefficients and zeros the rest, so the reconstruction is a sparse sum of selected columns from .
A Transcoder usually adopts the same TopK-sparse, overcomplete architecture but targets the functional behavior of a component (e.g. MLP) rather than its output representation. Given a module’s input , it approximates the module’s output as . Because the Transcoder must reproduce the full input-output mapping rather than merely reconstruct activations, it is conjectured to learn more mechanistically faithful latents [41]. However, both methods only claim to recover the true sparse decomposition, and without ground truth one cannot verify whether discovered latents are genuine features or geometric artifacts of reconstruction [28, 30]. In § 5, we use the Sparse Transformer’s known neuron basis to directly test which method more faithfully recovers the ground-truth MLP vectors.
Evaluating Interpretability Methods. Rigorous evaluation of feature extraction and circuit discovery requires known ground-truth units. Two categories of proxies exist: synthetic activation settings where sparse features are explicitly defined [44, 7, 28, 8], and toy models with hand-crafted tasks such as modular arithmetic [36], board-state prediction [23], or simple superposition [16]. Both categories share a key limitation: they do not process natural language, making it unclear how findings transfer to real models. ST bridges this gap with a known reference basis in a language model.
Sparse Architectures and Interpretability. Elhage et al. [15] introduce SoLU to reduce average neuron activity, but soft sparsity provides no monosemanticity guarantee: as the authors note, reduced activations can mask polysemantic neurons rather than eliminate them. Gao et al. [20] enforce weight sparsity to yield compact, inspectable circuits, a different inductive bias than activation sparsity. Mixture-of-Experts models [46, 18] and sparse attention [10, 54] reduce FLOPs by activating subsets of parameters or positions, but do not target interpretability and their activated units remain polysemantic [21]. ST differs from all of these: a TopK gate enforces exact activation sparsity within the MLP, keeping precisely neurons active per forward pass to force specialisation for interpretability.
Sparse Transformer
Architecture
Our ST is a decoder-only transformer [51] with 5 layers, hidden size , and 8 attention heads. We use RoPE positional embeddings [48], untied input/output embeddings, and RMSNorm [53]. The MLP at each layer has neurons ( is the width multiplier) and computes
where retains the largest activations and zeros the rest, following the same mechanism and motivation as TopK SAEs [19]. The output is thus exactly a sparse sum of value vectors .
Training Setup
We train on the TinyStories dataset [14], a corpus of short children’s stories generated by GPT-4 [1] that is rich enough for meaningful language modelling while being tractable for a small model.
We train the full Cartesian product of:
yielding 35 models. removes the TopK constraint entirely, providing a dense baseline.
All models are trained for 300,000 steps (4.9B tokens) with AdamW [33], batch size 64, and a cosine schedule decaying learning rate from to . Context length is 256 tokens. To prevent dead neurons, we apply neuron resampling every 1,000 steps following standard SAE practice [4, 19]: any neuron with activation frequency below is randomly reinitialised. All 35 models share the same random seed and data order. We release all checkpoints, including snapshots at every 10% of training.
Width–Sparsity Trade-off
We first characterize how MLP width multiplier () and activation sparsity () jointly determine language modeling performance. We find that the 35-entry validation loss matrix across the grid is nearly rank-1 (first singular values: , ), indicating that and contribute as approximately separable, multiplicative factors. This motivates a power-law fit for the final validation loss:
following the functional form commonly used in LLMs scaling [25, 22]. The model achieves (Figure 2, middle), substantially outperforming linear and logarithmic alternatives, indicating strong predictive power. Fitted coefficients are shown in Table 1.

Figure 2. Width–sparsity trade-off. (left) Validation loss vs. proportion of activated neurons for each MLP width multiplier ; loss decreases monotonically with both width and activation rate. (middle) Power-law predictions vs. true validation loss across all 35 models (). (right) Fraction of dead neurons across the grid; negligible for but rising at large width and small .
| Parameter | Estimate | 95% CI |
| 1.696 | [1.667, 1.725] | |
Table 1. Power-law fit coefficients for .
Interpretation. The exponents and show that validation loss is more sensitive to MLP width than to sparsity: the ratio means width must grow as to hold loss constant. Concretely, within our grid, tightening sparsity from to requires only a increase in (since ). This sub-linear trade-off appears achievable in practice: Mixture-of-Experts architectures (Mu and
Lin, 2025) routinely expand effective MLP width by – without proportionally increasing compute, suggesting that highly sparse, and thus interpretable, transformers may not need to sacrifice language modelling performance.
Dead neurons and model selection. Following standard SAE practice [4], a neuron is counted as dead if its activation frequency falls below over the validation set. Dead neurons are negligible for but rise to at and at (Figure 2, right). We select , for all subsequent experiments: the sparsest configuration with an acceptably low dead-neuron rate (), achieving validation loss 1.466, in the same range as the 5-layer models of Eldan and Li [14].
Interpretability of Sparse Transformer
Having established the scaling properties of the ST, we now verify that our primary ST model (, ) achieves its core objective: being highly interpretable at the neuron and circuit level.
Monosemanticity
We quantify interpretability with the AutoInterp score, which has been shown to align closely with human assessments of neuron interpretability [40, 26]. For each of 100 randomly sampled neurons, GPT-4o-mini [24] first describes the neuron’s top-activating contexts, then uses only that description to classify 20 held-out examples (10 active, sampled proportionally to activation strength, and 10 silent). The score is the mean classification accuracy over the 100 neurons.
As presented in Table 2 our ST (M=32, K=8) reaches an AutoInterp score of 0.866, providing quantitative evidence that its neurons are substantially more interpretable. By contrast, a dense model that achieves the same validation loss (, ) scores only 0.605, while a minimal dense baseline (, ) scores 0.565, barely above the 0.5 chance level. Even at matched width (, ), the dense model scores only 0.667, so the gain is attributable to sparsity rather than width. A 43% relative improvement over the loss-matched dense baseline suggests that TopK sparsity yields substantially more interpretable neurons in this setting.
| Model | AutoInterp | 95% CI |
| Random guessing | 0.500 | — |
| Dense () | 0.565 | [0.51, 0.61] |
| Dense (, loss-matched) | 0.605 | [0.55, 0.65] |
| Dense (, width-matched) | 0.667 | [0.61, 0.72] |
| ST (, ) | 0.866 | [0.82, 0.91] |
Table 2. AutoInterp scores. TopK sparsity yields substantially more interpretable neurons: ST (, ) scores 0.866 vs. 0.605 for the loss-matched and 0.667 for the width-matched dense baseline.
To complement the AutoInterp score, we manually constructed activation dashboards for 20 randomly sampled neurons. Each dashboard shows top-activating contexts at multiple intensity tiers. Each of the 20 sampled neurons activates on a specific, human-interpretable concept: for example, L0-N7792 responds to planning verbs (plan, brainstorm, discuss), L2-N3125 fires at the moral lesson at the end of a story, and L4-N4150 activates on loud sounds (loud noise, loud bang). A full set of 20 dashboards is provided in App. § 10, with the complete neuron set available in the released repository.
Circuit Analysis
We ask whether ST computations form complete, human-readable circuits, not just monosemantic neurons in isolation. We focus on an illustrative example from the original TinyStories work (Eldan and Li, [14]), the prompt “Jack was hungry so he went looking for something to”, where the model assigns probability 0.98 to the next token [eat].
Circuit extraction. We follow the standard ablation-based protocol (Conmy et al., 2023; Arora et al., [3]): neurons are ranked by their causal effect on and added via beam search to the circuit until two complementary metrics are satisfied. Faithfulness () measures how well the circuit alone reproduces the full model’s behaviour; Completeness () measures how much performance collapses when the circuit is ablated2:
where is the intact model probability, is the probability when all neurons outside the circuit are zeroed, and is the probability when the circuit neurons themselves are zeroed. A perfect circuit thus has and .3
Circuit description. The resulting circuit is shown in Figure 1 and achieves , with only 11 neurons. It decomposes into three functional groups: token-level neurons at L0 firing on [for], [something], [to]; concept neurons at L0–L1 encoding a character’s hunger-related internal state and named-entity identity; and output neurons at L2–L4 propagating verb tokens and directly promoting [eat]. The circuit reads as a human-interpretable program: a named character in a hunger-related state went looking for something to do predict a food-consumption verb. This functional logic is confirmed by targeted ablations within the circuit; for instance, clamping the hunger-concept neuron’s activation to sharply reduced probabilities for [eat], [eating], and [ate] while raising those of unrelated verbs like [spin], [point], and [wonder].

Figure 1. An interpretable 11-neuron circuit. Given the prompt “Jack was hungry so he went looking for something to”, nodes are MLP neurons grouped by layer (L0–L4); edges indicate causal influence. (top right) Neuron dashboards show top activating contexts for 3 circuit nodes. (bottom right) Faithfulness and completeness as neurons are added by beam search; 11 neurons suffice to reach faithfulness .
This qualitative example illustrates that the sparse neuron basis of our ST can support human-readable, mechanistically grounded circuit analysis in a genuine natural-language model. To confirm this finding is not specific to a single prompt, we extract circuits for 15 additional examples using the same ablation protocol; 14 of them reach within 50 neurons, with a median of 12 (App. § 9, Table 4 and Table 5). We view this testbed as an invitation to the field to apply systematic circuit discovery methods to natural-language models with a known reference basis.
| # | Target | (%) | ||||||
| 1 | [eat] | 98.3 | 11 | 0.956 | 0.198 | 11 | 1.010 | 0.142 |
| 2 | [hug] | 89.1 | 12 | 0.961 | 0.114 | 9 | 1.082 | 0.063 |
| 3 | [chase] | 81.5 | 13 | 0.968 | 0.467 | 39 | 1.112 | 0.338 |
| 4 | [prince] | 96.9 | 14 | 0.951 | 0.139 | 11 | 0.982 | 0.085 |
| 5 | [voice] | 94.8 | 5 | 0.986 | 0.331 | 6 | 1.054 | 0.057 |
| 6 | [day] | 99.1 | 12 | 0.954 | 0.149 | 10 | 0.996 | 0.089 |
| 7 | [treasure] | 91.7 | 12 | 0.954 | 0.606 | 37 | 1.027 | 0.379 |
| 8 | [table] | 98.8 | 19 | 0.961 | 0.008 | 4 | 0.968 | 0.008 |
| 9 | [door] | 99.9 | 49 | 0.952 | 0.016 | 27 | 0.906 | 0.711 |
| 10 | [read] | 88.8 | 10 | 0.961 | 0.596 | – | 0.976 | 0.378 |
| 11 | [paper] | 97.7 | – | – | – | 18 | 0.939 | 0.166 |
| 12 | [better] | 99.7 | 10 | 0.973 | 0.044 | 9 | 1.000 | 0.003 |
| 13 | [mirror] | 99.9 | 3 | 0.961 | 0.905 | – | 1.000 | 0.625 |
| 14 | [oven] | 99.6 | 14 | 0.961 | 0.055 | 10 | 1.002 | 0.018 |
| 15 | [cry] | 83.8 | 15 | 0.989 | 0.009 | 3 | 1.041 | 0.006 |
| 16 | [tall] | 87.2 | 8 | 0.953 | 0.534 | 20 | 1.075 | 0.150 |
| Median [min, max] | 97.3 | 12 [3, 49] | – | – | 10.5 [3, 39] | 1.00 | 0.12 |
Table 4. Per-prompt circuit metrics. is the full-model probability of the target token. is the smallest circuit size with (reached by 15 of 16 prompts), and , are the metrics at that size; is the smallest size with (reached by 14 of 16 prompts); , are the metrics at a fixed budget of 20 neurons. Entries marked – are not reached within the 50-neuron budget; medians of and are over prompts that reach the threshold. Row 1 is the circuit in Figure 1.
| Neurons | 1 | 2 | 3 | 5 | 8 | 10 | 15 | 20 | 25 | 30 | 40 | 50 |
| mean | 0.11 | 0.21 | 0.30 | 0.49 | 0.74 | 0.85 | 0.98 | 1.01 | 1.02 | 1.03 | 1.03 | 1.03 |
| std | 0.16 | 0.25 | 0.29 | 0.29 | 0.22 | 0.16 | 0.06 | 0.05 | 0.05 | 0.06 | 0.06 | 0.06 |
| median | 0.04 | 0.09 | 0.16 | 0.47 | 0.82 | 0.90 | 0.99 | 1.00 | 1.00 | 1.00 | 1.01 | 1.01 |
| mean | 0.92 | 0.84 | 0.76 | 0.62 | 0.45 | 0.35 | 0.26 | 0.20 | 0.17 | 0.12 | 0.09 | 0.07 |
| std | 0.14 | 0.18 | 0.23 | 0.24 | 0.26 | 0.28 | 0.25 | 0.22 | 0.17 | 0.12 | 0.09 | 0.07 |
| median | 0.96 | 0.89 | 0.86 | 0.66 | 0.41 | 0.26 | 0.19 | 0.12 | 0.11 | 0.08 | 0.06 | 0.06 |
Table 5. Faithfulness (, higher is better) and completeness (, lower is better) as a function of circuit size , aggregated over the 16 prompts (population std). Per-prompt values for every are in the released repository.
Case Study #1: SAE vs. Transcoder
Motivation
A key advantage of the ST is that the true MLP computation is known by construction: the MLP output is a sparse sum of value vectors , one per active neuron. Recovering exactly these vectors is the stated goal of both SAEs and Transcoders – an SAE by decomposing the MLP’s output activation, a Transcoder by approximating the full input-output mapping. We can therefore measure directly, by cosine similarity to the true , whether each method achieves what it claims.
Setup
We focus on layer 2 of the primary ST (, ), which captures richer semantic features than early layers (tied to surface statistics) or late layers (tied to next-token prediction) [43, 47]. Both methods target the output of this MLP layer: the SAE reconstructs it from the output itself, while the Transcoder predicts it from the MLP’s own input. They are trained with identical hyperparameters: dictionary size and sparsity , matching the true MLP’s width () and sparsity ().
For each ST neuron , the ground-truth vectors are its key (the input pattern that causes it to activate) and its value (the vector it adds to the residual stream when active). To measure how well a method recovers these vectors, we use mean-max cosine similarity (MMCS) [7, 44]: for each true vector, we find the closest learned latent, then average over all true vectors. Formally, let be the set of ground-truth neuron vectors and the set of learned latents; then:
We apply MMCS to match (1) true value vectors against SAE encoder and decoder vectors, and (2) true key and value vectors , against Transcoder input and output weight vectors respectively.
Results
The Transcoder converges to a Normalized Mean Squared Error (NMSE) of 0.01 compared to 0.038 for the SAE, a 3.8× improvement (Figure 3, middle), and its features align better with ground truth across all comparisons (Figure 3, right). For value recovery, Transcoder value vectors achieve an average cosine similarity of 0.709 with true value vectors, compared to 0.465 for the SAE decoder (+52.6%) and 0.410 for the SAE encoder (+72.9%). These gaps are consistent and large: the ranking holds for and for BatchTopK [5] and Matryoshka [6] variants, each with 3 seeds (App. § 8, Table 3).

Figure 3. Feature recovery results (Case Study #1). (left) Schematic of the experiment: comparing Transcoder (trained to approximate the MLP’s input–output mapping) and SAE (trained to reconstruct MLP output activations) against the ground-truth ST neuron vectors. (middle) NMSE training curves for Transcoder and SAE. Transcoder achieves 3.8× lower final NMSE than SAE. (right) Average cosine similarity between each true ST latent and its closest SAE/Transcoder latent. Transcoder value vectors achieve +52.6% improvement over SAE decoder vectors.
| Setting | Method | NMSE | MMCS enc./key | MMCS dec./value |
| TopK () | Transcoder | 0.0094 0.0005 | 0.564 0.0002 | 0.709 0.0001 |
| TopK () | SAE | 0.0358 0.0020 | 0.410 0.0001 | 0.464 0.0001 |
| TopK () | Transcoder | 0.0237 0.0012 | 0.493 0.0002 | 0.661 0.0001 |
| TopK () | SAE | 0.0681 0.0037 | 0.340 0.0000 | 0.378 0.0000 |
| TopK () | Transcoder | 0.0068 0.0004 | 0.593 0.0001 | 0.720 0.0001 |
| TopK () | SAE | 0.0247 0.0013 | 0.415 0.0001 | 0.469 0.0002 |
| BatchTopK () | Transcoder | 0.0099 0.0005 | 0.564 0.0002 | 0.701 0.0001 |
| BatchTopK () | SAE | 0.0451 0.0025 | 0.362 0.0001 | 0.411 0.0001 |
| Matryoshka () | Transcoder | 0.0361 0.0017 | 0.422 0.0001 | 0.559 0.0001 |
| Matryoshka () | SAE | 0.0528 0.0029 | 0.314 0.0001 | 0.365 0.0001 |
Table 3. SAE vs. Transcoder under alternative sparsity settings (mean std over 3 seeds). As in § 5, SAE encoder and decoder vectors (“enc.”, “dec.”) are matched against the true value vectors, whereas Transcoder input and output vectors (“key”, “value”) are matched against the true keys and values, respectively.
Discussion
This result may appear counter-intuitive. From an optimisation standpoint, the Transcoder faces the harder task: the SAE receives its target as input, whereas the Transcoder must learn a nonlinear mapping between two spaces, jointly discovering keys and values (see detailed discussion in App. § 8). Yet the Transcoder outperforms the SAE on both reconstruction and feature recovery. We attribute this to the stronger inductive bias of the function-level objective: the SAE can achieve low reconstruction error with features that are geometrically convenient but mechanistically unfaithful [28], whereas the Transcoder, constrained to reproduce the MLP’s behaviour across the input distribution, cannot resort to such solutions. These findings suggest that function-level methods, such as Transcoders or Crosscoders [2], may recover model features more reliably.
Case Study #2: Emergence of Polysemanticity Under Compression
Motivation
The superposition hypothesis [16] proposes that polysemanticity arises because a dense MLP approximates the function of a much wider sparse one: each dense neuron superposes multiple sparse features to compensate for reduced width. Prior tests of this account have used toy models where sparse features and weights are defined by the experimenter [16, 44], a controlled but artificial setting. Our ST provides a more realistic test: sparse features that emerge from training on natural language, with distillation into a dense student serving as a controlled analogue of the compression that produces polysemanticity in production LLMs.
Setup
We work with layer 2 of the primary ST (, ). This layer’s sparse MLP (the teacher) has neurons . We train a dense student MLP to approximate the teacher’s input–output mapping. The student has neurons (8× fewer than the teacher) with no TopK constraint, trained for 50,000 steps on input–output pairs drawn from the teacher. The student is trained solely to minimise MSE on the teacher’s input–output pairs, with no language-modelling objective. It achieves NMSE=0.078, indicating a faithful approximation of the teacher (Figure 3).
Teacher–Student Neuron Mapping
To characterise how teacher neurons are encoded in the student, we associate each teacher neuron with a distribution over student neurons via the conditional expectation
normalised to sum to one over all student neurons. The reverse mapping is defined analogously. The key question is whether these distributions are concentrated on a small number of neurons or spread uniformly. Concentration would imply structured reuse, while uniform spread would suggest no systematic alignment.
Results
Quantifying polysemanticity. Figure 4 (left) shows the cumulative mass functions for both mapping directions, with a random baseline confirming that the observed structure is specific to the trained student. The two directions are sharply asymmetric. In the forward direction , 80% of a teacher neuron’s mass concentrates on roughly 20 student neurons: each sparse feature maps to a localised region of the dense model rather than spreading uniformly. In the reverse direction , each student neuron draws 80% of its mass from roughly 150 teacher neurons, consistent with the 8× compression ratio (20 × 8 ≈ 160). This asymmetry is the expected signature of superposition: compression forces each dense neuron to absorb many sparse features, while each sparse feature retains a concentrated footprint in the dense representation.

Figure 4. Teacher-student mapping and polysemanticity. (left) Cumulative mass functions for both mapping directions. At the 80% level, each teacher neuron maps to student neurons , while each student neuron draws from teacher neurons. (right) Student neuron superposes four semantically unrelated teacher neurons: body-part tokens, verb propagation after [they], [again]/[in] propagation, and time-expression tokens.
Qualitative example. Figure 4 (right) shows student neuron . Its four most influential teacher neurons encode entirely unrelated concepts: activating on [own] and propagating body-part tokens; activating on [they] and propagating verb tokens; activating on [together] and propagating [again]/[in]; and activating on [upon] and propagating time expressions. This is a direct, visually interpretable instance of polysemanticity.
Feature composition and absorption. We ask whether teacher neurons that frequently co-occur (pointwise mutual information ) map to similar regions of student space. Figure 5 (left) shows the distribution of Total Variation Distance (TVD) between the student-space distributions of teacher neuron pairs, stratified by PMI. High-PMI pairs show substantially lower TVD (mean ) than anti-correlated pairs (mean ). Co-occurring features are absorbed into the same dense neurons, mirroring the feature absorption and composition phenomena reported for SAEs [9, 29].

Figure 5. Feature composition and geometric alignment. (left) TVD between student-space distributions of teacher neuron pairs, stratified by PMI. High-PMI pairs show lower TVD, indicating co-occurring features map to overlapping student regions. (middle) Cosine similarity between student value vectors and the teacher-distribution-weighted average of teacher value vectors, far above the shuffled baseline (). (right) Same analysis for key vectors, confirming geometric alignment holds for both input and output projections.
Geometric alignment. We test whether a student neuron’s weight vectors are a weighted average of its constituent teacher neurons’ weight vectors. For each student neuron , we calculate
where is either the key or value of teacher neuron . The cosine similarity between and the true student weight vectors concentrates at 0.60, well above the shuffled baseline of 0.15 (Figure 5, middle and right). Thus, the weight structure of a polysemantic neuron is not arbitrary: it is a linear combination of the sparse features it encodes, providing a concrete mechanistic account of how compression shapes internal representations.
Conclusion
We introduced Sparse Transformer (ST), a language model with TopK-sparse MLPs, and found that this sparsity yields highly monosemantic neurons. Our primary model (, ) reaches an AutoInterp score of 0.866 and supports compact, human-readable circuits. The two case studies exploit the known neuron basis of the ST to compare feature-learning methods and to trace how compression produces polysemanticity. An empirical power-law relationship between width, sparsity, and loss further indicates that extreme sparsity can be offset by moderate width increases, suggesting a route toward scalable interpretable architectures.
Looking ahead, the ST testbed provides a controlled setting for evaluating interpretability methods against a known reference basis in natural-language models. We hope this facilitates systematic comparison of feature-learning techniques and empirical testing of theoretical claims regarding polysemanticity and superposition. We release all models and checkpoints to support such work.
Limitations
Our models are trained on TinyStories and contain only 5 layers with a hidden dimension of 256. This setting is sufficient to establish the ST as a ground-truth testbed and to support interpretable circuits over concrete, narrative-level concepts, but the model’s limited capacity constrains the range and abstraction of recoverable features. Neurons specialise in surface-level syntactic patterns, character states, and simple narrative conventions; features encoding abstract reasoning, world knowledge, or long-range dependencies lie outside what this scale can represent. Our scaling results suggest a path to addressing this directly, and training a larger ST along the identified width–sparsity frontier is a natural direction for future work.
Robustness of Case Study #1
To test whether the SAE–Transcoder ranking depends on the sparsity mechanism or sparsity level, we additionally train both methods with and with BatchTopK (Bussmann et al., [5]) and Matryoshka (Bussmann et al., [6]) sparsity, each over 3 seeds (Table 3). We fix so that the dictionary can represent the true basis exactly and MMCS is comparable across methods. The Transcoder is better on every metric in every configuration.
Interpreting the gap. Let the ST MLP compute . The SAE and the Transcoder minimise, respectively,
From an optimisation standpoint, the Transcoder faces the harder problem. The SAE observes its target directly and only needs to find a sparse code for it, whereas the Transcoder never observes at its input: it must approximate the nonlinear map between two distinct spaces, which requires jointly identifying the keys that determine the active set from and the values that produce . At the same time, the testbed realises the SAE’s generative assumption exactly. By construction,
so every MLP output is a -sparse non-negative combination of a fixed dictionary of vectors, and with the choice lies within the SAE’s hypothesis class. This is the regime in which output reconstruction is best positioned to identify the true features, yet the SAE’s value MMCS remains between 0.365 and 0.469 across all configurations. Finally, the Transcoder’s advantage does not rest on matching the ST MLP architecture. With , BatchTopK, or Matryoshka sparsity, its gating differs from the ST’s per-token TopK with , so it no longer shares the functional form of . Nevertheless, it outperforms the SAE on every metric in each of these configurations, with value MMCS at least higher in all of them (e.g., 0.661 vs. 0.378 at ; 0.701 vs. 0.411 with BatchTopK). The gap therefore persists whether or not the Transcoder can represent exactly, which points to a genuine difference between reconstructing a representation and approximating a computation.
Circuit Metrics and Additional Circuits
To test whether the circuit in § 4.2 is representative, we extract circuits for 15 additional prompts in the style of TinyStories, all with target token probability . For each prompt, we apply the same beam-search ablation protocol with a budget of 50 neurons and record and at every circuit size . Table 4 reports per-prompt metrics, and Table 5 aggregates them by circuit size.
Reading the metrics. is defined such that lower is better: means that ablating the circuit reduces the target probability fivefold. As a reference, ablating 11 random neurons leaves virtually unchanged (). can exceed 1 when the neurons outside the circuit are net-suppressive; the circuit then reproduces the net effect of the full model rather than its exact probability.
Results. A median of 12 neurons suffices to reach , achieved by 15 of 16 prompts within the budget. At a fixed budget of 20 neurons, averages 1.01 and has a median of 0.12; 14 of 16 circuits reach and 11 of 16 reach at this sparsity. Faithfulness saturates faster than completeness: for some prompts (e.g., [mirror], [read]), a small circuit reproduces the prediction while its ablation leaves much of the target probability intact, indicating redundant pathways that support the same token. Overall, compact circuits are a stable property of the model across prediction probabilities (81.5%–99.9%) and semantic contexts. Figure 6–Figure 20 show the and curves for each prompt.

Figure 6. Circuit for “She felt very sad so her friend gave her a big warm” → [hug] ().

Figure 20. Circuit for “He stacked the blocks until the tower was very” [tall] ().
Neuron Dashboards
This appendix presents dashboards for 20 randomly sampled neurons (4 per layer). For each neuron, we display its top activating contexts at multiple intensity tiers. To aid interpretation, we also project the input weight vector onto the embedding space and the output weight vector onto the unembedding space-a Logit Lens (nostalgebraist, 2020) applied to individual MLP neurons. The resulting top positive and negative logits reveal what patterns the neuron detects and which tokens it promotes or suppresses. Together, these examples illustrate that ST neurons encode clear, specific concepts.

Figure 7. Circuit for “The cat saw a mouse and started to” → [chase] ().

Figure 8. Circuit for “The princess kissed the frog and it turned into a handsome” → [prince] ().

Figure 9. Circuit for “The robot beeped and said in a friendly” → [voice] ().

Figure 10. Circuit for “She planted a seed and watered it every” → [day] ().

Figure 11. Circuit for “The pirate looked at the map to find the hidden” → [treasure] ().

Figure 12. Circuit for “He washed his hands before sitting at the dinner” → [table] (=98.8%).

Figure 15. Circuit for “He wrapped the gift in colorful shiny” → [paper] (=97.7%).

Figure 13. Circuit for “She put on her shoes and ran out the” → [door] (=99.9%).

Figure 16. Circuit for “She drank the hot soup and felt much” → [better] (=99.7%).

Figure 14. Circuit for “She opened the book and started to” → [read] (=88.8%).

Figure 17. Circuit for “She brushed her hair and looked in the” → [mirror] (=99.9%).

Figure 18. Circuit for “She baked a cake and put it in the” [oven] ().

Figure 19. Circuit for “The baby dropped her toy and started to” [cry] ().

Figure 21. L0-N2286 activates on positive adjectives (good, great) and friendly interpersonal contexts.

Figure 22. L0-N2993 detects the relative pronoun who (and its variants whom) in narrative contexts, particularly after a character introduction.

Figure 23. L0-N7792 responds to planning and discussion verbs (discussed, brainstorm, plan).

Figure 24. L1-N222 activates on the preposition in in contexts where a character notices or discovers something in their surroundings (e.g. “a bright light in the sky”, “something in the distance”). Its output weight vector promotes calm, positive continuations (relax, comfortable, enjoy, trust).

Figure 25. L1-N3150 activates on the comma following a character’s speech or completed action, marking a narrative continuation point. Its output weight vector promotes continuation tokens (and, he, it, change), suggesting it signals that another clause or reaction is about to follow.

Figure 26. L1-N3675 activates on the verb listen in negated contexts (“did not listen”, “does not listen”), typically in scenes involving disobedience or conflict between characters. Negative logits include tape, hides, reward.

Figure 27. L1-N5005 detects geological objects: stone, mineral, crystal. Its top examples consistently mention finding or holding a stone.

Figure 28. L2-N467 marks the word Today at the beginning of a narrative sentence, often followed by a comma, signalling a temporal shift in the story.

Figure 29. L2-N1091 encodes a character’s enjoyment of an activity: top phrases are “loved to play”, “loved to crawl”, “loved to draw”.

Figure 30. L2-N1441 activates on sentence-initial pronouns (She, He, They) that introduce a new action or dialogue, e.g. “She held her pocket tight”.

Figure 31. - detects a moral or lesson learned: top activations contain “learned a lesson”, “learned a hard lesson”, often at the end of a story.

Figure 32. L3-N1169 represents the action of throwing: top examples are “threw stones”, “threw the model”, “threw a newspaper”.

Figure 33. L3-N1609 activates on the gerund being at moments of emotional or behavioural shift in a character - particularly when a character is described as being naughty, being stubborn, or stopped being a certain way. Its output weight vector promotes anger- and emotion-related tokens (angry, upset, jealous, naughty, mad).

Figure 34. L3-N3412 activates on the preposition from in the construction “tired from [activity]” (e.g. “tired from playing”, “tired from working”, “tired from all the walking”), signalling physical exhaustion caused by a preceding effort.

Figure 35. L3-N3501 activates on the punctuation mark (colon or dash) that follows a phrase like “something they had never seen before”, “something beautiful”, or “something strange” - the moment just before the surprising object is revealed or described.

Figure 36. L4-N2893 represents dizziness or spinning: top examples contain “dizzy” (often split as “dizz y”) from spinning too much.

Figure 37. L4-N3860 marks a temporal turning point: “From then on”, “From now on”, signalling that a character changes behaviour after an event.

Figure 38. L4-N4150 detects loud sounds: top activations are “loud noise”, “loud bang”, “loud noises”, often from fireworks or broken objects.

Figure 39. L4-N5981 encodes a commitment or resolution: “From that day on, [character] made sure to always” followed by a cautious behaviour.

Figure 40. L4-N6211 activates on verbs describing a downward or de-escalating motion (calmed, bent, fell, broke) in the construction “[verb] down”, particularly when a character or situation settles or physically descends. Negative logits include up, down (as standalone tokens) and loves.
References
- [1]Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, and 1 others. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774.arxiv.org/abs/2303.08774
- [2]Emmanuel Ameisen, Jack Lindsey, Adam Pearce, Wes Gurnee, Nicholas L. Turner, Brian Chen, Craig Citro, David Abrahams, Shan Carter, Basil Hosmer, Jonathan Marcus, Michael Sklar, Adly Templeton, Trenton Bricken, Callum McDougall, Hoagy Cunningham, Thomas Henighan, Adam Jermyn, Andy Jones, and 8 others. 2025. Circuit tracing: Revealing computational graphs in language models. Transformer Circuits Thread.
- [3]Aryaman Arora, Zhengxuan Wu, Jacob Steinhardt, and Sarah Schwettmann. 2026. Language model circuits are sparse in the neuron basis. arXiv preprint arXiv:2601.22594.
- [4]Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, and 6 others. 2023. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread. Https://transformer-circuits.pub/2023/monosemantic-features/index.html.
- [5]Bart Bussmann, Patrick Leask, and Neel Nanda. 2024. Batchtopk sparse autoencoders. arXiv preprint arXiv:2412.06410.arxiv.org/abs/2412.06410
- [6]Bart Bussmann, Noa Nabeshima, Adam Karvonen, and Neel Nanda. 2025. Learning multi-level features with matryoshka sparse autoencoders. arXiv preprint arXiv:2503.17547.
- [7]David Chanin and Adrià Garriga-Alonso. 2025. Sparse but wrong: Incorrect l0 leads to incorrect features in sparse autoencoders. arXiv preprint arXiv:2508.16560.arxiv.org/abs/2508.16560
- [8]David Chanin and Adrià Garriga-Alonso. 2026. Synth-saebench: Evaluating sparse autoencoders on scalable realistic synthetic data. arXiv preprint arXiv:2602.14687.
- [9]David Chanin, James Wilken-Smith, Tomás Dulka, Hardik Bhatnagar, Satvik Golecha, and Joseph Bloom. 2026. A is for absorption: Studying feature splitting and absorption in sparse autoencoders. Advances in Neural Information Processing Systems, 38:82318–82355.
- [10]Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. 2019. Generating long sequences with sparse transformers. arXiv preprint arXiv:1904.10509.arxiv.org/abs/1904.10509
- [12]Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. 2023. Sparse autoencoders find highly interpretable features in language models. arXiv preprint arXiv:2309.08600.
- [13]Jacob Dunefsky, Philippe Chlenski, and Neel Nanda. 2024. Transcoders find interpretable llm feature circuits. Advances in Neural Information Processing Systems, 37:24375–24410.arxiv.org/abs/2406.11944
- [14]Ronen Eldan and Yuanzhi Li. 2023. Tinystories: How small can language models be and still speak coherent english? arXiv preprint arXiv:2305.07759.
- [15]Nelson Elhage, Tristan Hume, Catherine Olsson, Neel Nanda, Tom Henighan, Scott Johnston, Sheer ElShowk, Nicholas Joseph, Nova DasSarma, Ben Mann, Danny Hernandez, Amanda Askell, Kamal Ndousse, Andy Jones, Dawn Drain, Anna Chen, Yuntao Bai, Deep Ganguli, Liane Lovitt, and 14 others. 2022a. Softmax linear units. Transformer Circuits Thread. Https://transformer-circuits.pub/2022/solu/index.html.
- [16]Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, and 1 others. 2022b. Toy models of superposition. arXiv preprint arXiv:2209.10652.arxiv.org/abs/2209.10652
- [17]Nelson Elhage, Neel Nanda, Catherine Olsson, Tom Henighan, Nicholas Joseph, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, Nova DasSarma, Dawn Drain, Deep Ganguli, Zac Hatfield-Dodds, Danny Hernandez, Andy Jones, Jackson Kernion, Liane Lovitt, Kamal Ndousse, and 6 others. 2021. A mathematical framework for transformer circuits. Trans- former Circuits Thread. https://transformer- circuits.pub/2021/framework/index.html.
- [18]William Fedus, Barret Zoph, and Noam Shazeer. 2022. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120):1–39.arxiv.org/abs/2101.03961
- [19]Leo Gao, Tom Dupre la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. 2025a. Scaling and evaluating sparse autoencoders. In International Conference on Learning Representations, volume 2025, pages 26721–26754.arxiv.org/abs/2406.04093
- [20]Leo Gao, Achyuta Rajaram, Jacob Coxon, Soham V Govande, Bowen Baker, and Dan Mossing. 2025b. Weight-sparse transformers have interpretable circuits. arXiv preprint arXiv:2511.13653.arxiv.org/abs/2511.13653
- [21]Hongcan Guo, Haolang Lu, Guoshun Nan, Bolun Chu, Jialin Zhuang, Yuan Yang, Wenhao Che, Xinye Cao, Sicong Leng, Qimei Cui, and 1 others. 2026. Advancing expert specialization for better moe. Advances in Neural Information Processing Systems, 38:48767–48809.arxiv.org/abs/2505.22323
- [22]Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, DDL Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, and 1 others. 2022. Training compute-optimal large language models. arXiv preprint arXiv:2203.15556, 10.arxiv.org/abs/2203.15556
- [23]Robert Huben. 2024. Research report: Sparse autoencoders find only 9/180 board state features in othellogpt. URL https://www.less- wrong.com/posts/BuDCMgmJnCti7iKc/research- report-sparse-autoencoders-find-only-9-180-board.
- [24]Aaron Hurst, Adam Lerer, Adam P Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Radford, and 1 others. 2024. Gpt-4o system card. arXiv preprint arXiv:2410.21276.arxiv.org/abs/2410.21276
- [25]Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361.arxiv.org/abs/2001.08361
- [26]Adam Karvonen, Can Rager, Johnny Lin, Curt Tigges, Joseph Bloom, David Chanin, Yue-Tong Lau, Eoin Farrell, Callum McDougall, Kola Ayonrinde, and 1 others. 2025. Saebench: A comprehensive benchmark for sparse autoencoders in language model interpretability. arXiv preprint arXiv:2503.09532.arxiv.org/abs/2503.09532
- [27]Laura Kopf, Nils Feldhus, Kirill Bykov, Philine L Bommer, Anna Hedström, Marina Höhne, and Oliver Eberle. 2026. Capturing polysemanticity with prism: A multi-concept feature description framework. Advances in Neural Information Processing Systems, 38:82938–82974.arxiv.org/abs/2506.15538
- [28]Anton Korznikov, Andrey Galichin, Alexey Dontsov, Oleg Rogov, Ivan Oseledets, and Elena Tutubalina. 2026. Sanity checks for sparse autoencoders: Do saes beat random baselines? arXiv preprint arXiv:2602.14111.arxiv.org/abs/2602.14111
- [29]Anton Korznikov, Andrey Galichin, Alexey Dontsov, Oleg Rogov, Elena Tutubalina, and Ivan Oseledets. 2025. Ortsae: Orthogonal sparse autoencoders uncover atomic features. arXiv preprint arXiv:2509.22033.arxiv.org/abs/2509.22033
- [30]Patrick Leask, Bart Bussmann, Michael Pearce, Joseph Bloom, Curt Tigges, Noura Al Moubayed, Lee Sharkey, and Neel Nanda. 2025. Sparse autoencoders do not find canonical units of analysis. In International Conference on Learning Representations, volume 2025, pages 53617–53642.
- [31]Tom Lieberum, Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Nicolas Sonnerat, Vikrant Varma, János Kramár, Anca Dragan, Rohin Shah, and Neel Nanda. 2024. Gemma scope: Open sparse autoencoders everywhere all at once on gemma 2. In Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP, pages 278–300.
- [32]Jack Lindsey, Wes Gurnee, Emmanuel Ameisen, Brian Chen, Adam Pearce, Nicholas L. Turner, Craig Citro, David Abrahams, Shan Carter, Basil Hosmer, Jonathan Marcus, Michael Sklar, Adly Templeton, Trenton Bricken, Callum McDougall, Hoagy Cunningham, Thomas Henighan, Adam Jermyn, Andy Jones, and 8 others. 2025. On the biology of a large language model. Transformer Circuits Thread.
- [33]Ilya Loshchilov and Frank Hutter. 2017. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101.arxiv.org/abs/1711.05101
- [34]Samuel Marks, Can Rager, Eric Michaud, Yonatan Belinkov, David Bau, and Aaron Mueller. 2025. Sparse feature circuits: Discovering and editing interpretable causal graphs in language models. In International Conference on Learning Representations, volume 2025, pages 23888–23923.arxiv.org/abs/2403.19647
- [36]Neel Nanda, Lawrence Chan, Tom Lieberum, Jess Smith, and Jacob Steinhardt. 2023. Progress measures for grokking via mechanistic interpretability. arXiv preprint arXiv:2301.05217.arxiv.org/abs/2301.05217
- [38]Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. 2020. Zoom in: An introduction to circuits. Distill, 5(3):e00024–001.DOI
- [39]Chris Olah, Alexander Mordvintsev, and Ludwig Schubert. 2017. Feature visualization. Distill, 2(11):e7.DOI
- [40]Gonçalo Paulo, Alex Mallen, Caden Juang, and Nora Belrose. 2024. Automatically interpreting millions of features in large language models. arXiv preprint arXiv:2410.13928.arxiv.org/abs/2410.13928
- [41]Gonçalo Paulo, Stepan Shabalin, and Nora Belrose. 2025. Transcoders beat sparse autoencoders for interpretability. arXiv preprint arXiv:2501.18823.arxiv.org/abs/2501.18823
- [42]Senthooran Rajamanoharan, Tom Lieberum, Nicolas Sonnerat, Arthur Conmy, Vikrant Varma, János Kramár, and Neel Nanda. 2024. Jumping ahead: Improving reconstruction fidelity with jumprelu sparse autoencoders. arXiv preprint arXiv:2407.14435.arxiv.org/abs/2407.14435
- [43]Anna Rogers, Olga Kovaleva, and Anna Rumshisky. 2020. A primer in bertology: What we know about how bert works. Transactions of the association for computational linguistics, 8:842–866.arxiv.org/abs/2002.12327
- [44]Lee Sharkey, Dan Braun, and Beren Millidge. 2022. Taking features out of superposition with sparse autoencoders. In AI Alignment Forum, volume 6, pages 12–13.
- [45]Lee Sharkey, Bilal Chughtai, Joshua Batson, Jack Lindsey, Jeff Wu, Lucius Bushnaq, Nicholas Goldowsky-Dill, Stefan Heimersheim, Alejandro Ortega, Joseph Bloom, and 1 others. 2025. Open problems in mechanistic interpretability. arXiv preprint arXiv:2501.16496.arxiv.org/abs/2501.16496
- [46]Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. 2017. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538.arxiv.org/abs/1701.06538
- [47]Oscar Skean, Md Rifat Arefin, Dan Zhao, Niket Patel, Jalal Naghiyhev, Yann LeCun, and Ravid Schwartz-Ziv. 2025. Layer by layer: Uncovering hidden representations in language models. arXiv preprint arXiv:2502.02013.arxiv.org/abs/2502.02013
- [48]Jianlin Su, Murtadha Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. 2024. Roformer: Enhanced transformer with rotary position embedding. Neurocomputing, 568:127063.arxiv.org/abs/2104.09864
- [49]Denis Sutter, Julian Minder, Thomas Hofmann, and Tiago Pimentel. 2026. The non-linear representation dilemma: Is causal abstraction enough for mechanistic interpretability? Advances in Neural Information Processing Systems, 38:149455–149503.
- [50]Curt Tigges, Michael Hanna, Qinan Yu, and Stella Biderman. 2024. Llm circuit analyses are consistent across training and scale. Advances in Neural Information Processing Systems, 37:40699–40731.arxiv.org/abs/2407.10827
- [51]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. Advances in neural information processing systems, 30.arxiv.org/abs/1706.03762
- [52]Kevin Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, and Jacob Steinhardt. 2022. Interpretability in the wild: a circuit for indirect object identification in gpt-2 small. arXiv preprint arXiv:2211.00593.arxiv.org/abs/2211.00593
- [53]Biao Zhang and Rico Sennrich. 2019. Root mean square layer normalization. Advances in neural information processing systems, 32.arxiv.org/abs/1910.07467
- [54]Guangxiang Zhao, Junyang Lin, Zhiyuan Zhang, Xuancheng Ren, Qi Su, and Xu Sun. 2019. Explicit sparse transformer: Concentrated attention through explicit selection. arXiv preprint arXiv:1912.11637.arxiv.org/abs/1912.11637