Manuscript Offprint
arXiv:2611.07283Encoding and Propagation of Grammatical Number in Large Language Models
Jacob Solinsky and Serguei Pakhomov
University of Minnesota, USA
Corresponding author: solin020@umn.edu
Sparse autoencoders (SAEs) have become an increasingly popular means of translating Large Language Model (LLM) hidden state vectors into a human-comprehensible list of features or symbols. As such, SAEs may provide insight into an LLM's knowledge representation and internal "mental" grammar - topics of pragmatic interest for mechanistic interpretation of AI behavior and of theoretical interest for the study of in silico representations of human language. Language models with fewer than 100M parameters, trained on comparatively small corpora, nonetheless exhibit strong grammatical competence and discourse coherence, despite producing content of limited reliability. We use SAEs that we trained on one such model (Pythia-70M) to conduct an in-depth, comprehensive examination of how a single grammatical phenomenon, English number agreement, is represented and processed in an LLM. We demonstrate the mechanism and the methodology by which SAEs can be used to find and propagate "plural noun", "plural matrix subject", and "generate a plural verb" features which cause the LLM to produce plural verb forms such as "are", "do", or "have" instead of "is", "does", and "has" in response to prompts such as "the men in the park". We show that intervening to remove these features from the hidden states of plural subject noun tokens causes the model to produce singular verbs instead, and vice versa. We also show that corresponding "singular noun" and "generate a singular verb" features are not as effective for this task. This asymmetry suggests that Pythia-70m makes use of a privative, rather than binary, representation of grammatical number in English. These findings replicated with larger LLMs Gemma-2-2b and Llama-3.1-8b yielded similar results. Our main contribution is a novel approach to the use of SAEs to understanding how LLMs encode human language that addresses a number of technical and methodological challenges.
1. Introduction
Large Language Models (LLMs) are a variety of Artificial Neural Network (ANN) which encode their "thoughts" in the language of high-dimensional vectors typically referred to in machine learning literature as the hidden states that the network produces in response to a prompt. The field of mechanistic interpretability, also termed explainable Artificial Intelligence (xAI), aims to translate these indecipherable-by-humans hidden state-encoded thought processes into something a human researcher can understand.
The bulk of the continuing challenges facing LLM deployment, be it the generation of hallucinations, or offensive and biased language, or the production of insecure code, disgorging sensitive information from a system prompt to users, or difficulty in staying on task, have their roots in the fact that LLM hidden state is not transparent
© 2005 Association for Computational Linguistics to humans, unlike the debugging stack traces of conventional symbolic computer programs written in a programming language. This lack of transparency prevents LLM developers and users from effectively debugging the LLMs. Instead of conventional debugging consisting of identifying and eliminating the root cause of an error directly and deterministically, debugging LLMs consists of indirect and probabilistic approaches such as additional rounds of Reinforcement Learning with Human Feedback (RLHF) and/or prompt engineering. These strategies tend to address and fix specific instances of the LLM challenges rather than the underlying causes of these challenges, much like a medication such as acetaminophen may treat symptoms of influenza rather than act on the influenza virus itself.
Despite these unresolved and ongoing challenges that resulted in limiting the use of LLMs in critical and sensitive areas including clinical and legal decision making, and scientific research and education, the one area in which LLMs unreservedly excel is language. Even smaller LLMs trained on limited amounts of text in a given language appear to be able to "learn" a complete syntactic theory of the language, as they rarely, if ever, generate ungrammatical sentences in that language even if the generated sentences may convey nonsensical or false information. For linguists, particularly those who have been working for decades in the generative syntax tradition, LLMs provide an unprecedented opportunity to test syntactic theories. More importantly, however, LLMs can also provide a means of discovering the system and the structure that underlies human language directly as opposed to making inferences based on behavioral observations. No linguist has yet created a complete theory of English grammar, or that of any other natural language, that could be used by a symbolic automaton to generate close to the full diversity of English sentences and larger narrative structures that are found throughout all of literature and the internet.
Although it is almost certain that LLMs process language in a completely different way than the human brain, given their dramatically different architecture and disembodiment, extracting a theory of natural language syntax from them that at least works to generate a high-quality imitation of human language is certain to reinvigorate the study of theoretical syntax. (Piantadosi 2024). Given that LLMs are not transparent to humans, to fully realize this potential for linguistic discovery, there is a need to develop validated and reliable methods for interrogating and manipulating LLMs in a systematic and reproducible fashion.
The present paper contributes a step towards the objective of developing methods for extracting information pertaining to the structure that LLMs learn during pretraining. We demonstrate the utility of these methods by presenting an in-depth analysis of how an open weights transformer-based LLM (Pythia-70B) encodes the knowledge of subject-verb agreement in English, and confirm the generalizability of these findings on two larger LLMs (Gemma-2-2b and Llama-3.1-8b).
"positions in the hidden state vectors mean something" was imported into early mechanistic LLM interpretability research. The biomimetic metaphors used in computational neuroscience reinforced this interpretability assumption by introducing the Artificial Neural Network (ANN) consisting of a collection of interconnected artificial neurons as a model for natural neural networks (Rumelhart et al. 1986; Churchland and Sejnowski 2016). Each row of weights inside the feed-forward ANN matrices were thought to correspond to a set of "artificial dendrites" magnifying or diminishing the effect of a certain input on the neuron, the value resulting from the product of this row with the input vector being an "activation potential" signal being sent down that row's "artificial axon". Since biological neurons are real objects that can be directly measured, studied and manipulated, by analogy, this property of objecthood was erroneously bestowed on the concept of "artificial neuron". It has since been demonstrated that this analogy between ANNs and biological neural networks is not valid. The action potential traveling down a biological axon when the neuron "fires" cannot be modeled as a simple scalar. Instead, the action potential is more like a complex message encoded in a variety of schemes depending on the neuron type (Spruston 2008; Mellem et al. 2008). Neuronal learning, even more poorly understood, is also a far more varied process than its artificial backpropagation counterpart used in ANNs (Wright et al. 2025). As such, it can take 1,000 artificial neurons to simulate a single biological one (Beniaguev et al. 2021) which likely accounts for our persistent inability to simulate the 302-neuron C. elegans nervous system (Evans 2025) despite the development of computational hardware which can handle current frontier LLMs, rumored employ trillions of parameters (Palyekar 2026).
2.1 Polysemanticity
Despite the apparent lack of biological validity, this "positions mean something" assumption has been widely utilized in investigations of ANN behavior. The findings of such neuron interpretation attempts have generally been confusing. The results of (Dreyer et al. 2024), provide a typical example. In their studies of the neurons of the penultimate layer of the image classifier model ResNet50 (whose architecture is quite similar to that of an LLM), they found neurons such as this: Neuron #1929 was highly activated on images of lipstick and wild boars. Neuron #1506, on the other hand, was firing when presented images of clock faces, tall ground-walking birds, and combination locks. #696 responded to hedge-mazes and toy-sized terrier dogs. This observation reflects the phenomenon termed polysemanticity, a single neuron responding (or meaning) multiple things, which is a consequence of a basic aspect of linear algebra - the triviality of the change-of-basis transform. ANNs that consist of a series of matrices with each matrix representing a linear transformation with an orthonormal basis can actually encode meaning in specific positions within the space spanned by their basis; however, these matrices can be easily converted into a system lacking this property, so long as there are not nonlinearities, such as activation functions, present in the system. For example, suppose we have an ANN system operating in a 3-dimensional vector space that encodes in its hidden state vectors the concept "noun" as ⟨1, 0, 0⟩, "singular" as ⟨0, 1, 0⟩, and "animal" as ⟨0, 0, 1⟩. This system can be transformed into one which encodes these same three concepts as ⟨0.5, -3, 2⟩, ⟨1.5, 7, 4⟩, and ⟨6, -2.5, 1⟩ without changing any of its externally visible behavior (Elhage et al. 2022). In other words, the destination point does not change with the change of basis - but now there are two ways to reach that destination using different systems of coordinates (i.e., polysemanticity). The incorporation of nonlinear activation functions into an ANN, like the GeLU used in an LLMs MultiLayer-Perceptron layer, do somewhat encourage ANNs to use an orthonormal basis, thus somewhat concentrating meaning into individual "artificial neurons", but this caveat still does not eliminate all polysemantic neurons (Elhage et al. 2022).
2.2 Sparse Auto-Encoders
Sparse autoencoders (SAE) are designed to help untangle polysemanticity. Their inventors held fast to the assumption that ANNs do encode meaning in their hidden states using a human-interpretable system of basis vectors. The only assumption they relaxed was that this basis is orthonormal. The next step in deciphering this system is to devise a means of uncovering the basis. A variety of approaches exist to do this, as it is not well defined mathematically whether the basis the SAE has learned really captures the "semantic atoms" of the internal language the LLM uses. Whether the SAE has accomplished this well is unfortunately a matter of subjective human judgment.
SAEs transform an input hidden-state vector of dimension into a feature vector in a much larger space, whose elements are restricted to being >=0. The SAEs discussed in this paper use a feature space of size . Because the feature space is so much larger than the original hidden state space, a naively designed non-sparse autoencoder would learn an uninteresting, mathematically degenerate encoding, by devoting the first positions in feature space to each dimension of the orthonormal basis of the hidden space, and then zeroing out everything else. The property of "sparseness", i.e., the feature vectors being restricted to having a small number (typically a few dozen) nonzero elements, is added to the autoencoder to prevent this degenerate failure mode.
Unlike hidden state vectors, SAE feature vectors drawn from LLM hidden states do generally have that desirable "each position in the vector means something" property, termed monosemanticity. For example, a team at Anthropic trained a 34-million-dimensional SAE on the hidden state vectors of Claude 3 Sonnet LLM to discover that nonzero values at position #31164353 were often found in passages discussing the Golden Gate bridge or that position #9493533 was associated with passages pertaining to brain sciences, among many other such associations (Templeton et al. 2026). Following this work by Anthropic, we propose that an SAE can be viewed as translating an ANN's hidden state vectors into short lists of symbols. While such a symbolic representation is much more comfortable and familiar to scientists than working with LLM parameters, the SAE symbols still present a challenge because they belong to an unknown and "alien" language. A typical SAE generates hundreds of thousands to millions of features/symbols in the course of its training on an LLM. Authoring a database, or dictionary, of what each symbol means is a task more monumental than that faced by the 19th-century Assyriologists who first deciphered the meanings of the hundreds of cuneiform symbols of Akkadian and Sumerian (Daniels 2020).
2.2.1 Framework for examining "meaning" of SAE features. In the above account of Anthropic's work, we must be careful to be rigorous about what is meant by an SAE feature "meaning" something, taking heed of the fact that LLMs do not have senses or a notion of time and, although they are made of language, they do not use language as we do. Hence we chose a behaviorist framework to explore "meaning" captured by SAE features. In this framework, the cause or stimulus of all LLM behavior is the prompt propagated through the LLM weights, and the effect or observable behavior consists of the tokens produced in response to the prompt. The hidden state vectors, and the SAE features which comprise them, are but intermediaries in these causal chains, and derive their meaning from the causal chains in which they participate. We can then speak, however loosely, of "meaning" in a more human sense by how the patterns of these relationships between prompt, features, and generated output mean something when read by an English speaking person, even though it is perfectly possible to create an LLM which maps from gibberish prompt to gibberish output according to logic inscrutable to an outside observer.
We use Pearl's causality framework (Pearl 2000) to organize our methods for quantifying the "meanings" of SAE features. We map the prompt given to the LLM as forming the exogenous variables U. As prompts are generally written in English or other natural language, we can use the denotative semantics of natural languages to anchor the variables in U to more conventional semantic frameworks. V, the endogenous variables, consist of both the SAE features embedded in the model's hidden state vectors and the tokens it ultimately generates. We subdivide V into F, the SAE features appearing on the model's hidden states, and the output token probability distributions which are actually used for token generation, for which we designed a function B that approximates the notion of "the likelihood that the model will produce a singular or plural verb". E constitutes the causal edges between the variables in U and V, forming what are here termed "circuits" between prompt tokens in U, the features of F and changes in the output token generation probability distributions quantified by B. Our framework prioritizes model behavior. As will be discussed later, we found that Pythia-70m incidentally marks more features on plural nouns than actually have an effect on verb conjugation when they are altered.
2.3 Attention Mechanism
The introduction of the attention mechanism to the Transformer ANN architecture in language modeling in 2017 resulted in a qualitative leap forward towards what we now know as LLMs that have become synonymous with Artificial Intelligence. The details of the self-attention mechanism are numerous and available in the original paper that introduced it (Vaswani et al. 2023). Briefly, self-attention consists of a mechanism that allows the ANN to "notice" and "remember" which tokens in the context of the target token that the ANN is trying to predict at any given point in time are associated with the correct choice. This mechanism is composed of three matrices (Key), (Query) and (Value). Each token in the input (represented as its embedding vector) is multiplied with the , , and matrices to create a set of q, k, and v vectors. The q and k vectors are multiplied to create a table of attention scores, which helps the model figure out which tokens have a lot to do with each other and which have little relationship. For example, in the sentence "We were sitting on the river bank", the "river" and "bank" tokens would have a high attention score between them, helping the model use the context of "river" to disambiguate the geographical and financial meanings of "bank". The attention scores are multiplied with the value vectors to give the attention mechanism's output. In the preceding example, the token "bank" will have an output containing a high proportion of the value vector of "river" because of the high attention score between them, while having its output not much influenced by the token "were" to which less attention was paid. An LLM based on the Transformer architecture with self-attention has multiple self-attention mechanisms stacked into "layers", each one able to independently learn different attention patterns appropriate to the stage of language processing it is responsible for depending on how deeply it is positioned within the model.
2.4 SAE Inference and Training Algorithms
A sparse autoencoder of expansion factor maps from LLM hidden states having hidden dimensions to a feature space having dimensions and back again. It consists of an encoder matrix with associated encoder bias , and a symmetrical decoder weight and bias, and . These two sets of parameters are occasionally tied, such that and ; however, these symmetrical sets of parameters are more often allowed to be learned independently. Two common methods are used to enforce sparseness in SAEs, the one we used, the TopK function which zeroes out all but the highest elements of the feature vector it outputs, a method preferred by OpenAI's researchers (Gao et al. 2024) and the penalty SAE, which adds a taxicab metric loss to the loss calculations to encourage the SAE to zero out the majority of the elements in its feature vectors during training, a tactic preferred by Anthropic's transformer-circuits.pub team.
The feature vector is generated from input with the equation
If a TopK SAE is being trained, sparsity will be enforced with the TopK function, which zeroes out all but the k-highest elements of :
And the reconstructed vector is calculated in this way:
During training, loss is calculated as the mean squared error between and :
Because the TopK function prevents backpropagation from reaching any of the low-strength features that were excluded by it, during training, auxiliary loss is periodically added to the regular loss by calculating an auxiliary reconstruction vector using exclusively “dead” features which have not been selected by TopK for a while, an operation denoted with the function DeadMask
We will subsequently refer to an SAE “decomposing” an input hidden state vector into either “features” (the term used in SAE literature) or “symbols” (emphasizing the notion of these vector decompositions being denotative symbols in the semantic sense). We then say that “symbol is inside hidden state vector ”. Because all hidden state vectors belong to a specific token in the LLM’s prompt, we can then make metonymic statements such as “The LLM places symbol (which perhaps denotes the grammatical singular) on the token ‘deer’ given the prompt ‘one deer’ as a result of (some calculation)”. This abbreviated language will assist in not overburdening the reader with contextually irrelevant details such as “Our SAE for MLP sublayer 3 found feature at a strength of 1.34, which we considered to be significant, within hidden state vector inside the prompt ‘One deer’, of which the token ‘deer’ is the second token.”
Tables A.4, A.3, and A.4 in the appendix contain a comprehensive overview of all mathematical symbols we use in this paper.
2.4.1 Pythagonic SAE Feature notation. We interchangeably use two forms of notation for SAE features. In Pythagonic notation, the value of the 430th feature of the attention subcomponent of the 5th layer of Pythia-70m as it appears on the 3rd token ("on") in the prompt "The man on the bench" is 4:attn:429@2 in . This is equivalent to, in our mathematical notation: model(s)., the dot product of the appropriate vector with the 430th decoder feature vector in the matching SAE. Python is a 0-indexed language, unlike standard mathematical notation, which is why we found this notation easier to work with in our code. Our notation for model subcomponents outputs in python was
- : Embedding matrix's th feature =we:
- : Unembedding matrix's th feature = wu:
- : th Attention sublayer's th feature =:attn:
- : th MLP sublayer's th feature = :mlp:
- : th value sublayer's th head's th feature = :vn-1:
- : th key sublayer's th head's th feature = :kn-1:
- : th query sublayer's th head's th feature = :qn-1:
2.5 Pythia-70m language model architecture
The Pythia family of models were created as an open-source resource for LLM researchers outside of proprietary corporate environments(Biderman et al. 2023). All Pythia LLMs use the same decoder-only Transformer architecture as other frontier commercial and non-commercial LLMs but differ in the number of parameters. Certain aspects of its architecture were designed with aiding interpretability research in mind. In this section we provide a far more in-depth description of the operation of Pythia models than is typical in the literature. We believe this level of depth is necessary in this particular paper (even for readers familiar with Transformers and Pythia) to facilitate a precise understanding of the subsequent explanation of how we use SAEs to interpret Pythia's internal operations on hidden state vectors as symbolic calculations.
The decoder-stack model architecture used by Pythia is illustrated in detail in circuit diagram-style figures we have included in the appendix (Figures A.18 A.19), which are numbered corresponding to the equations in the text walkthrough. We include in the flow of the text figures that focus on the most important portions of them (Figures 1, 2, 3, 4). The diagrams use the following conventions. Brightly colored lines represent hidden state vectors. The notation label for each vector is placed in a box of a matching color that the vector's line passes through at some point along its trajectory. Symbols and indicate the dot product and vector addition, respectively. The bullet symbol denotes a vector "branching" when it is used in more than one place in the model, to help disambiguate from visual line-crossings which do not signify any mathematical operation.
When we interpret a vector as carrying SAE symbols, we write said symbols parallel to the vector's colored line, as if they were messages being passed down a wire.
1 with the caveat that this may not be true of the current state-of-the-art frontier commercial LLMs whose architecture is not publicly available.
When two vectors are added together, the child vector inherits all of the SAE symbols upstream of it. When the dot product is taken of two vectors, the output is proportional to how many symbols overlap between the two vectors and the strength at which those symbols are present. Transformations (for the most part matrix multiplications and bias additions) are indicated with large uncolored boxes. Normalization steps (both the RMS norm applied each time a vector is added to the residual stream and the softmax norm applied to attention scores to make them add up to one) are ignored, as neither has a strong effect on the symbolic content of the vectors passed through them. The corresponding notation for the vector in all cases resembles the form or , where is the jth token in the input to which the vector belongs (i.e., the word "man" in this example). Note that all vectors in decoder-stack LLMs belong to a specific token in the prompt, none float freely. In certain cases is disambiguated to the token itself (e.g., "man"). The type of hidden state vector is denoted by a lowercase letter with a unique characteristic color to enable easier interpretation of the diagrams as follows:
-
magenta for residual stream vectors - foundational memory structures in Pythia that allow information to flow between different layers. They are continually written to via addition and are the only vectors which cross model component boundaries.
-
violet for for attention sublayer output vectors.
-
orange for for attention sublayer normed input vectors
-
brown for for MLP sublayer output vectors.
-
peach for for MLP sublayer normed input vectors
-
gray for for MLP sublayer intermediate vectors.
-
green for for query vectors
-
blue for for key vectors.
-
red for for value vectors.
-
teal for for attention head outputs.
We have made our notation more thorough than was strictly necessary for describing our work here, as we anticipate that this notation will be useful both in our future works and possibly to other explainable AI (xAI) researchers.
2.6 Residual streams
In this section, we present a step by step walkthrough of Pythia's residual streams which carry information through the LLM layers.
2.6.1 Tokenization. Each Pythia model has a token vocabulary . For Pythia-70m, the vocabulary has 50304 tokens. The embedding matrix, , translates tokens into embedding vectors of size , called the "hidden size". These embedding vectors comprise the foundation of the model's hidden state vectors, which accumulate information as they are processed by the model's various encoder layers. A symmetrical unembedding matrix exists at the end of the model to translate hidden state vectors back into tokens.
Presented with input, the model begins by dividing it into tokens, which will be whole words in the case of high-frequency items and word parts in other cases. Pythia, like most frontier LLMs today, makes no attempt to divide low-frequency or conjugated words into linguistically defined morphemes, meaning that subword elements like noun or verb suffixes are not processed as discrete entities by the tokenizer, a detail which will become very important for our purposes later. It also follows the tradition of most modern LLMs in incorporating leading spaces into its tokens. These tokens are then converted into token numbers, which are then looked up to find the corresponding embeddings vectors in . For example, the token 'The' is number 510 in Pythia's vocabulary, and the 510th vector of becomes . These vectors each form the source of what are called residual streams (RS). Each subsequent attention sublayer and MLP sublayer create contribution vectors: and respectively, which are added to, or "flow into", the input residual stream after each layer, like tributaries. These and vectors, the "tributaries", are what the SAE interprets, not the residual stream vectors, which contain a harder-to-interpret mixture of information summed together from every part of the model upstream of them. When we want to refer to these tributary vectors collectively, we term them . A potentially confusing point is that the "hidden states" returned by many LLM APIs like that of Hugging Face's transformers are the vectors, not the vectors. The Gemma Scope SAE project (Lieberum et al. 2024) trained SAEs for both the and vectors.
"The man I saw yesterday"
('The', 'man', 'I', 'saw', 'yesterday')
(510, 637, 309, 3047, 11066)
There is one residual stream per token in the input that can be thought of metaphorically, in this case, as representing 6 parallel river tributary systems. Information "flows" down the tributary vectors into these streams and is merged together by addition with little loss as long as the tributary vectors are mostly orthogonal to each other (an unintuitively much easier property to achieve in the high-dimensional spaces used by LLMs than a visualization using 3D vectors would suggest). Picture each stream as "carrying" a set of symbols (an SAE decomposes its input vectors into multiple symbols, not just once), and that the number of symbols increases as more of these streams merge together.
We now go into the details of how the tributary vectors, and , are calculated. These two vectors come from the self-attention and MultiLayer Perceptron sublayers, respectively, a pair of which comprise a decoder layer. There are 6 decoder layers in Pythia-70m. The MLP and self-attention sublayers of a layer are calculated in parallel in Pythia-70m, which is untrue of other model architectures like Gemma, in which MLP comes after self attention. We will go over the more complex and interesting of these sublayers, the self attention mechanism, first.
2.6.2 Attention Sublayer. The attention sublayers are the only point in an LLM where information can cross over from one residual stream to another. An attention sublayer consists of several attention heads, , which we index with the variable . Each of these heads consists of a triplet of weights matrices and bias vectors
Each input residual stream to head of layer , is used to generate a triplet of dimensional vectors, the query, key, and value.
After the RoPE function “rotates” pairs of elements in the and , each head then calculates individual raw attention scores (combining into a sequence ) for each residual stream by taking the dot product of the residual stream’s query vector with each with ranging from 1 to . Each residual stream only receives attention scores for any tokens to its left, including itself, any scores to the right are zeroed out.
The raw attention scores are then normalized into probabilities summing up to , , using the softmax function
The output of the attention head for each residual stream then consists of a sum of all of the vectors to the left of the vector, attenuated by the attention scores.
All of the individual vectors are then concatenated into one for the layer
The final output of the sublayer is then calculated using the final output feed-forward matrix and bias and ,
2.6.3 Multi-Layer Perceptron (MLP) Sublayer. The MLP sublayer consists simply of two feed-forward matrices and biases, one which expands the input into a vector of size , and another which contracts it back down.
As a final step, the MLP layer output , is then incorporated, alongside the earlier attention output into the residual stream via addition.
2.6.4 Dimensions. There are numerous different dimensions to keep track of when discussing the inner workings of an LLM. The most important of these is the hidden size, , which is the dimension of the majority of the hidden state vectors used by the LLM. There are two other related dimensions, the attention head hidden size, , used for hidden states only within an LLM's attention head sublayer, and the MLP intermediate hidden size, , which is used only for hidden states inside of the MLP sublayer. In addition, an LLM contains several layers of number , several attention heads per layer of number , and a vocabulary of size (see Table A.4 for details).
2.6.5 Self-attention mechanism as symbolic feature copying. In this section, we provide a view of self-attention in terms of a mechanism that propagates distributed features that can be thought of abstract symbols representing various semantic and grammatical aspects of tokens along the input token sequence all the way to the last token in the input. At that point the symbols accumulated in the vector representation of the last token in the sequence influence the selection of the newly generated token. Figure A.18 shows a circuit diagram overview of the entire Pythia-70m model with the prompt "The man I saw yesterday". There are two important mathematical-denotative aspects we must emphasize to make sure that crucial details in the following hypothesis narrative are not lost or muddled. First is that, as mentioned before, each token in the prompt creates a "column" of vectors, — i.e, the residual stream, and that these streams do not cross outside of the self-attention heads. Symbols, as decoded by the SAE flow down each of the "streams" (vectors). Furthermore, symbols also do not pass intact through transformations, represented by the large grey boxes in Figure A.18. The LLM may certainly, over the course of training, learn weights for its transformer matrices such that the matrix's eigenvectors align with the SAE vectors, allowing them to pass through the transformation intact, but this is not what happens by default. This is most relevant in the self-attention layers because the vectors output by the core of the self-attention mechanism must pass through the transform before making it into the vectors which are added into the residual stream. Any information present in the and the vectors which comprise them is interpreted/scrambled/computed on by the transform. Nevertheless, we expect that substantial quantities of information passes through the transform "intact" in a denotative rather than mathematical sense, for example, that there might be one symbol vector that the model uses to denote grammatical singularity in and , another symbol that the model places inside vectors meaning the same thing, and a learned that straightforwardly places in the output if is in the input, semantically similar but not mathematically similar in that the elements are quite dissimilar to those of .
With a concrete example of English subject-verb-number agreement, we formulate our hypothesis of how Pythia might be executing a fairly simple set of symbolic computations. Our approach in this work has been to start out with the assumption that Pythia-70m has feature vectors denoting concepts relating to grammatical number in its hidden states, induce which mathematical properties said vectors would have, and then search the model for symbol vectors with the hypothesized properties, and then further examine the discovered vectors for additional properties which were outside of the scope of our initial investigation.

Figure 1 The token "man" bearing the Sg features

Figure 2 acquires a high value

Figure 3 Sg is copied to the output vector

Figure 4 Sg symbol read by the matrix to output singular verbs
First, we are going to assume a fairly uncontroversial syntactic mechanism by which the LLM might successfully complete prompts like "The man I saw yesterday" with the token for a singular verb "is" instead of a plural verb "are".
Step 1. The model will have a series of symbols denoting grammatical singularity, which we collectively call Sg symbols. This begins with a context-free "singular noun" symbol, which we will call Sg-noun- (the last portion indicating which matrix of weights the symbol ultimately originated from) at some point in the residual stream of "man" in either the output of an attention head, , or of the MLP sublayer, . It is very likely that the singular symbol exists directly in the embedding layer itself, popping out right in the first vector , as "man" will resolve to a singular noun in most English sentences without context. Another symbol might be used in situations where this is not possible, like on the noun 'deer' in the prompt "One deer'. Figure 1 shows this in circuit representation along with some other plausible grammatical features that might be found on the other tokens.
Step 2. In a later attention sublayer of the model, a certain will bear yet another semantically synonymous symbol meaning Singular, calculated from the symbol present in the input (these two Singular symbols will be distinct vectors despite meaning the same thing for reasons discussed earlier).
Step 3 The information hops from the "man" residual stream to the final "yesterday" residual stream in this step. We expect that in the same attention head as step 2, there will be a pair of key and query vectors, and , each bearing the same symbol which is responsible for copying features from the subject of a verb to the verb itself. This shared symbol raises the dot product of this pair, thus creating a high score, opening the "sluice gate" between the 'man" and "yesterday" residual streams, so to speak, which will cause the symbol riding in to be copied into . This is shown below in 2
Step 4 The feed forward matrix and bias, after being given the symbol, in response adds a to the output vector, which flows into the vector, which then flows all the way down to and thereafter to the unembedding matrix . This symbol would be the "say a verb" symbol, to use Anthropic's terminology.
Step 5 We then expect that the unembedding vectors for singular verb tokens like "is", "says", "does", etc... will also contain the symbol. This symbol being shared between the relevant singular verb token unembedding vectors and raises the dot product between them, thus raising the logits, thus elevating the probability at which these tokens are chosen and effectuating the correct verbal inflection choice. This is shown below in 2
Further Complexities The model may subdivide grammatical singularity or grammatical plurality into several symbols. There may be multiple different attention head hopping mechanisms and associated symbols, perhaps dependent on syntactic parsing details. MLP sublayers may aggregate grammatical number representations which are more fragmented in earlier layers into more unified ones to prepare for "say a verb" symbol generation. We must have a symbol identification methodology sufficiently broad and thorough to identify symbols involved in these more complex situations.
3. Methods
Because some of the methodology we developed and present in this paper, with the exception of how we trained the SAEs, so heavily diverges from the prior efforts of Anthropic's team (Ameisen et al.) and Marks et al. (Marks et al. 2025) on which this work is based, we have chosen to include detailed justifications for developing these new methods in addition to their description. While we used Pythia-70m LLM for the development and the initial validation of our approach, we tested the generalizability of the approach on the larger models Gemma-2-2b (Team et al. 2024) and Llama-3.1-8b (Grattafori et al. 2024), chosen on account of their publicly available SAEs, through Gemma Scope (Lieberum et al. 2024) and Llama Scope (He et al. 2024) respectively.
3.1 SAE Training
For Pythia-70m LLM, We trained 12 TopK and Matryoshka SAEs as follows. SAEs were trained on the outputs of each attention and MLP sublayer the and vectors over the fully trained Pythia-70m (checkpoint step 143000), following the methods outlined in (Bussmann et al. 2025). Each of the regular TopK SAEs had a feature space size of 32768 (32 times the hidden state size of 512), whereas the Matryoshka SAEs had a feature space size of 8192. Encoder and decoder biases and , respectively, were tied, however, encoder and decoder embeddings and were untied. In addition, we trained a pair of Matryoshka SAEs of feature space size 1024 on the outputs of each individual attention head. One of the pair was trained on the value outputs (), and the other simultaneously on the key and query vectors ( and ). We trained the SAEs over the OpenWebText corpus (Gokaslan et al. 2019), with the sentences truncated to a maximum input sequence length of 192 tokens. Matryoshka SAEs were also trained on the embedding layers of the LLMs Gemma-2-2B (16384 features), and Llama-3.1-8B (32768 features), using the same methodology we used for Pythia.
3.2 Datasets used to examine LLMs linguistic behavior
To study a syntactically diverse sample of prompts, we used a subset of artificial sentences derived from (Marks et al. 2025). We used three of their verb conjugation with distractor clause sentence pair collections: a) the prepositional phrase collection (nounpp); b) the matrix clause subject collection (rc), and c) the embedded clause subject collection (within_rc). We generated ourselves using ChatGPT and manual editing 200 sentence pairs for a new collection of 11-token long long_rc sentences, which were also all externally-headed relative clauses like rc, but lengthened with more adverbs, adjectives, and other material.
3.3 Establishing the existence of causal relationships between SAE features and model behavior
Over the course of our investigations we discovered that there were no computational or analytic shortcuts when it came to investigating the meaning of and relationships between the features in the SAEs we had trained. We instead discovered each of the assumptions listed below to be false, requiring iterative refinement of our previous methods and invention of new ones. By following the narrative below we wish the reader to understand the extent to which our methods differ from those of the prior works which we have cited.
3.3.1 One verb pair generalizability assumption. We cannot use a procedure that merely investigates how the model chooses to output one pair of verbs, such as "is"/"are" or "has"/"have". This will lead to extensive confounding in our analyses of features the model uses for selecting non-numeric semantic features, including the generation of the present progressive or perfect tenses in the case of the preceding pairs, and the numeric agreement features we are actually interested in. Thus, must take many verb pairs into account.
3.3.2 One sentence pair generalizability assumption. For similar reasons, detailed investigation of the model's number agreement behavior on a single sentence pair, like "The child plays"/"The children play" may confound abstract number agreement phenomena with semantic and syntactic phenomena specific to the sentence in question. As discussed later, we indeed found this to be the case, feature we:108 seemed to be indexing specifically human plural nouns, e.g., "children", rather than plural nouns in general, and feature 4:attn:429 is only used by the model to generate plural verb tokens when there are tokens intervening between the subject and the verb.
3.3.3 Gradients of verb conjugation as substitute for activation patching (AP) assumption. Calculating the gradients of a model training step designed to invert verb conjugation is far cheaper computationally than the effects of full-sized AP's. Due to the nonlinear nature of LLMs, it is not true that the effect of an infinitesimal introduction of a small AP at strength b introducing a feature f on a prompt P has a predictable relationship with what would happen if b were set to a realistically large value , i.e., . It is indeed the case that, if the gradient of an AP with the effect "promotes singular verb conjugation" is positive, then the full-sized effect of such an AP is somewhat likely to promote singular verb conjugation. If this were not the case, gradient descent training of LLMs would accomplish little; however, we still found that this relationship was weaker than one might expect.
The weakness of this relationship was most prominently visible in our experiments aimed at identifying singular and plural noun-number features. We experimented with applying AP's on the nounpp and rc datasets searching for AP's which would flip the number of generated verb tokens based on searching for the top 60 candidate AP's with the strongest gradient effect sizes. For example, the sentence "The AP(man) in the park (is/are)", readily yielded context-free 0:mlp features which, when set on singular nouns, caused plural verb conjugation, these being 0:mlp:47, 0:mlp:134, 0:mlp:829 (See the results on the marking of grammatical number on noun tokens for further discussion). However, the same experiment, when performed on the within_rc dataset, i.e., "The man that the the AP(dog) (is/are)", yielded only 0:mlp:134. Despite this, through another round of analysis, we found that the other 2 aforementioned plural noun features did in fact have a strong full-sized AP pluralizing verb conjugation effect when applied to embedded noun subject tokens in the within_rc dataset anyway. From this we learned that the first gradient search technique may miss important AP's and also yield irrelevant ones.
3.3.4 Feature effect relevance assumption. We discovered a feature, 4:mlp:961, which passed all three preceding assumption hurdles, strongly and consistently promoting plural verb conjugation as measured by our earlier-outlined metric when set on the final token of each of the prompts of the rc dataset.
We then investigated the ordinary distribution of the strength of this feature on the un-AP'ed final tokens of each sentence in the aforementioned dataset and the two others, within_rc and nounpp, as affected by the grammatical number of the matrix and embedded noun subjects in said sentence.

Figure 5 4:mlp:961 tracks embedded clause noun number. M = Matrix noun, E = Embedded noun
This revealed, to our surprise, that 4:mlp:961 is not used at all by Pythia-70m for the long-distance number agreement in object-headed relative clauses. We used the datasets rc and nounpp to investigate this type of agreement and preliminary experiments revealed that 4:mlp:429 seems to be used by the model for conjugating over subject-headed relative clauses. However, we did not do a full investigation. We learned from this preliminary experiment that we needed to check that a candidate feature with a hypothesized property, such as "causes the generation of a plural verb token", exhibits a bimodal distribution in ordinary model operation, being set to one narrow range of values in appropriate contexts for the hypothesized property and another non-overlapping range of values in inappropriate contexts.
3.4 Quantifying the existence of a causal relationship from one feature or a token substitution to either another feature or a model's behavior
To avoid getting lost in this forest of caveats and considerations, we had to be very purposeful and precise in formalizing statements such as "Feature 4:attn:429 means X.", or "Feature 0:mlp:134 means Y." Using the Pearl's causal framework discussed in the background section, we devised several metrics and a procedure by which a set of SAE features involved in a given LLM behavior could both be identified and their relationships to each other quantified. The application of these metrics and procedures thus allows us to make precise formal statements such as "SAE feature 0:mlp:47 is distinctively marked on animate plural noun tokens and is partially responsible for causing plural verb agreement in subsequent agreeing verbs". This statement refers to a specific behavior in which Pythia-70m exhibits a tendency to output singular verb tokens when 0:mlp:47 is present on a sentence's noun subject token, which is reduced when this feature is removed, and is promoted when this feature is added onto noun subject tokens it is not normally on.
First, since we suspected a priori that there would be significant variety in model behavior depending on the syntactic structure of the prompt, we divided our prompts for investigation into separate datasets, as discussed previously. We refer to a nonspecific member of these datasets (rc,long_rc,within_rc,nounpp) with the set variable in the subsequent equations. Each set consists of a singular subject corpus and a plural subject corpus . The sentences in these corpora were paired into pairs such as
"The man that the dog bites..." and "The men that the dog bites...", differing only in the number of the subject in order to prevent our process from being distracted from non-numerical semantic differences in the underlying nouns and verbs. We generated the sentences in these corpora such that all had the same number of tokens, which enabled us to calculate much more quickly in parallel using batching, at the cost of preventing us from investigating mechanisms held in common across a variety of sentence lengths.
We can also formalize a hypothesis about a feature , such that "Feature F being present at a high value on the final token promotes the generation of plural verb forms and is itself caused by the matrix subject being token plural." and examine the following scenarios:
- Establishing the endogenous variables in
- In theory, every last feature in our sparse autoencoders should be part of our causal model. Investigating them all is computationally infeasible. Therefore, we first created a basic filter for identifying features which were at least likely to be involved in verb conjugation due to having non-overlapping distributions between a group of singular prompts like "The dog that the woman sees" and a group of plural prompts like "The dogs that the woman sees...". Figure 9 shows a visualization of what these filtering calculations look like. We collected large quantities of feature activation strengths for a variety of singular (green) and plural (blue) nouns and looked for features whose activation value distributions did not overlap between the two sets, as measured by their Cliff's delta scores (see a more in-depth discussion of this score in section 3.7). When all plural activations were higher than all singular activations, the feature's Cliff's delta score is 1; -1 if all plural activations were less than the singular ones; and an intermediate score if there was overlap in the activation distributions.
- Quantifying verb conjugation with the behavior function
- Rigorous analysis of LLM behavior requires us to measure its behavior with scalar. Therefore, we needed to devise a function over the token probability distribution output by the LLM which quantifies the model's preference to produce singular instead of plural verbs in response to a given prompt, which we termed , or the "singular conjugation preference metric". Developing this function proved to be one of the most challenging aspects of this study. With , we were able to further identify features for that actually matter for model verb conjugation. is much more expensive to calculate than the Cliff's delta so we used it as a second filtration step. Figure 11 shows what happens to the score in one of our datasets when we performed the operation and vice versa (0:mlp:134 seems to be a plural marking feature on nouns), in an attempt to "trick" Pythia-70m into thinking that nouns with singular subjects had plural subjects and vice versa, the quantity of trickery measured by how much singular verb conjugation was altered. We found, by manipulating this feature into counterfactual values,
that it had a strong effect on verb conjugation in both cases but that it was easier to "singularize" prompts by lowering the values of 0:mlp:134 than it was to "pluralize" prompts by raising its value.
- Finding important edges for the causal model
- Every cause feature appearing in a model's hidden state vectors has some effect on each effect feature occurring in both a subsequent layer and either in the same or subsequent token's residual streams. The vast majority of these relationships are weak and unimportant and so we want a means of identifying the ones that do matter. The work in 10 shows an example of such an edge between :mlp:134 (which appears to be a plural marking feature on subject nouns, such as on the token "dogs" in "the dogs that the women sees...") and :attn:966, a feature which is involved in selecting plural verbs, showing up on the final token "sees' in "the dogs that the woman sees...". The distributions of (an attempt to "force" Pythia-70m to imagine the token "dogs" to have the singular number) and of (an attempt to "force" the model to instead imagine that "dog" has the plural number doing the inverse) are dramatically different. We are interested in identifying only those relationships that are "important" enough to show these dramatic differences.
This hypothesis framework is a purely behaviorist account of what it means for an SAE feature in an LLM to "mean" something, with prompts as stimuli and generated tokens as responses. LLM-generated language cannot "denote" in the linguistic sense of the word. Lacking bodies or sense organs, LLMs cannot refer to people, places, or things that they have encountered in their environment. LLM language is pure anaphora, all discourse entities referring back directly or drawn in by implication to either earlier snippets of language introduced by the user or the LLM itself (an LLM makes no robust architectural distinction between the language which it itself has said and the language typed by the user), or to generic world knowledge, real and fictional, implicitly encoded in the LLM's learned weights. The world knowledge itself only manifests in a behavioral form, as certain statements generated in response to certain prompts, not as a human-legible database carefully maintained as to purge contradictions, hence, LLM's notorious hallucinatory tendency to answer the same question in the positive when it is phrased one way and in the negative should it be rephrased in some other ever-so-slightly different way.
3.5 The meaning of "meaningless" SAE features found in an untrained LLM
With this framework, we can then formalize what it means for the features found by an SAE trained on an untrained LLM such as Pythia-70b step 0 checkpoint to be "meaningless", as this untrained model still responds to prompts, albeit in an unhelpful way. It is true that certain sentences will cause certain features to appear, causing certain tokens to be generated, however, in an untrained LLM, there is no human-discernible rhyme or reason to the relationships between and , or and . By saying that untrained LLM's generated language and its features are "meaningless" we mean to say that the language it generates is devoid of usefulness and patterns.
3.6 Quantifying LLM Verb Conjugation Behavior with B
Developing our singular conjugation preference metric proved to be the most challenging primarily due to the LLM's tokenizer.
From a human linguistic perspective, the rules of English number agreement are relatively simple. To make a verb singular, add a suffix to the verb which is spelled“s” or “es” and pronounced /s/, /z/, or /ɪz/ following a fairly simple set of rules to make the correct choice of suffix variant. It is not so simple with an LLM. Although the token “s” is in Pythia as token #84, this token is rarely produced, especially for common verbs. Instead, a fully conjugated portmanteau token, or a sequence of word parts, is produced, depending on the verb in question. For example, “go” is token#564, whereas “goes” is #4566. “grab” is #10013 and “grabs” is #42562. For hundreds of common verbs in English, the LLM is forced to memorize these arbitrary relationships, similarly to how English speakers memorize irregular verb forms such as “is/are”. For less common verbs, the situation is even more complicated. The tokenizer does not divide uncommon words in ways which respect morphology. For example, “uphold” is the single token#39954, whereas “upholds” is broken up into #598, #15532 (“up”, “holds”). Furthermore, alternations in capitalization and spacing also change the tokenization.
3.6.1 Defining a set of verb form pairs not subject to irregular tokenization. From the outset, we know has to take into account at the very least hundreds of singular and plural verb token probabilities to make a decent approximation of the abstract notion of “singular conjugation preference”. We used the following process to gather the verb form tokens which would make use of. First, we immediately excluded from consideration verbs which get split into multiple tokens in one or the other of their singular or plural inflected forms, as calculating in parallel over a large set of verbs is exceedingly expensive whenever the verbs consist of more than one token.
Second, to avoid the confusion of capitalization and spacing token variants, we only included verb tokens which were all lowercase and had a leading space, by far the most common variety. This is because, while Pythia has the full set of 6 variant tokens for the verb form "is" ("is", "is", "Is", "Is", "IS", and "IS"), almost no other verb forms have the full set. For example, "say" is in the model but "SAY" is fragmented into "SA" "Y".
Third, we excluded from consideration syntactically ambiguous tokens that were likely to be used as nouns instead of verbs, a frequent phenomenon in English. Consider the sentences "The city houses ten thousand people." and "The city houses are smaller than the country houses.". In one, "houses" is a singular verb, in the other, a plural noun. Since we can't tell from a single token generation step whether Pythia "meant" to generate a noun or a verb, we chose to exclude the most highly ambiguous in isolation (without the right-hand context available) noun-verbs from consideration. We determined which tokens were usually nouns, or usually verbs, by having Spacy's en_core_web_sm parser (Explosion n.d.) lemmatize and tag the first 100,000 sentences of the corpus we used to train the SAEs, collecting those lemmas which were parsed as being used as verbs in context in more than 75% of instances (or conversely as nouns more than 75% of the time), to filter out syntactically ambiguous tokens. We found 367 suitable monotokenal verb pairs for V and 1700 noun pairs for N.
With these criteria in mind we gathered a large sample of verb form pairs V (and also noun form pairs N for later usage) for to take into consideration. Each sample consists of a set of pairs or such as "is", "are" or "child", "children". We identified 367 verbs for , and 1700 nouns for such that both the singular and plural forms existed as single lowercase leading space tokens in the LLM's vocabulary.
Fourth, having identified the V tokens that we wanted B to consider, we then had to design a function to map a list of token probabilities to a single number. The token probabilities output by Pythia exponentially decay by rank, as shown in figure 6. The decay follows a Zipfian distribution, which is unsurprising, given that the Zipfian distribution as shown in figure 7 was originally discovered by examining English word frequencies. Given these consideration, we chose to analyze these probabilities in log-space. If we did not analyze token probabilities to log-space, B would be dominated by the model's preferences to generate the following 3 auxiliary verb form pairs: "is/are", "has/have", and "do/does", ignoring almost all other tokens. Since auxiliary verbs have unique grammar and semantics in addition to number marking, we did not want B to be severely affected by these considerations. Consequently, we chose , , , ... (which is equal to ) as our measure of how much the model "wanted" to say a singular verb form as opposed to its plural counterpart. Figure 7, which shows this metric over V measured on a singular subject/ plural subject pair of sentences, shows that this value for each verb form pair (one dot per pair) is stable (i.e., does not explode to infinity or collapse to 0).

Figure 6 Illustration of the Zipfian nature of the verb token generation probabilities distribution
Fifth, we needed to prevent statistical noise from ultra-low probability tokens from corrupting the output of B. Pythia-70m does not always assign higher probabilities to

Figure 7 Illustration of the structure revealed by using log probabilities
grammatically correct verb tokens instead of grammatically incorrect ones, particularly when the probability of either is very low. For example, in response to the prompt "The dogs that the cat sees...", Pythia-70m "prefers" to continue with the incorrect singular verb "The dogs that the cat sees shoots" (with probability 0.00007) than the correct plural verb "The dogs that the cat sees shoot" (with probability 0.00005). Every point at which Figure 7 has a plural verb form (red dot) above the 0 line, or a singular verb form (blue dot) below the line represents a situation where Pythia prefers the grammatically incorrect form, and thus would assign a higher perplexity to the grammatically correct form than the incorrect. This is common in the low probability verbs but does not occur in the high probability ones, which is why Pythia does not make these sorts of grammatical errors unless its temperature in generation is set quite high. This demonstrates that grammatically correct but semantically unusual sentences confuse Pythia and thus our metric to quantify the model's verb conjugation behavior should downweight them to avoid being overwhelmed by statistical noise.
Through an initial round of unstructured exploratory analysis of the effects of various activation patching (AP'ing) procedures on the model's probabilities of producing verb tokens from the above subset, we empirically determined a satisfying means of mathematically isolating probability distribution changes which corresponded to verb number agreement changes while penalizing extraneous alterations to model behavior.
With these considerations in mind we settled on the following metric for quantifying an AP's effect on causing the model to output the singular form, which we term as either as "the singular conjugation preference between the sentences that the cat sees.' and or more briefly . In our empirical measurements, a typical value for is 2-3, when the singular/plural sentence pair is "easy" for the LLM to conjugate, whereas this number is closer to 0 when phenomena such as number distraction are providing challenges to the model.
The raw effect for a given verb pair simply measures the log of the ratio of how strongly the model prefers to conjugate in the singular instead of the plural for a given pair after patching.
Figure 8 provides a visual intuition and motivation for our singular conjugation preference formula in Eq. 13. The x-axis is the log probability of the model generating any verb form (singular or plural), and the y-axis is the log of the ratio of the model's probability of generating the singular verb form to the probability of generating the plural verb form.

Figure 8 Effect of Layer 4 MLP Matryoshka SAE feature number 961 on Pythia-70m verb conjugation behavior when applied to token "organization" at a strength of 50
3.6.2 Refinements of to account for verb distributional characteristics. We also noticed during preliminary exploration that those verb lemmas which the model generally "wants" to or "prefers" to generate (e.g., "makes" or "says" or "is" to continue the prompt "The organization ...") are also more likely to be conjugated correctly. This behavior is reflected in the upward diagonal distribution of the blue dots, each representing a single verb pair. From this we learned that our conjugation metric should still weight frequent verbs somewhat more heavily than infrequent ones, whose conjugation behavior is more noisy. Finally, the model's preferences of which verb to produce should change only which of the verb's forms is chosen. Based on these observations we introduced three attenuating mechanisms: pair penalty, nonverb penalty and weight penalty.
The pair penalty, formalized in Eq. 14, attenuates the AP patch by either increasing or decreasing in total the probability of outputting either of the verb forms. It is 1 if there is no change and less than 1 otherwise.
\mathrm{p-penalty}(v,\mathrm{patch})=e^{ln\frac{\mathrm{abs}(\frac{ln(P\mathrm{patched}(v_{s})+P\mathrm{patched}(v_{p}))}{ln(P\mathrm{unpatched}(v_{s})+P\mathrm{unpatched}(v_{p}))}}}{ \tag{14}The nonverb penalty in Eq. 15 performs the same calculation as in Eq. 14 but summed over all nonverb tokens a, penalizing patches which increase or decrease the probability of outputting any of the tested one token verbs.
\mathrm{nv-penalty}(\mathrm{patch})=e^{ln\frac{\mathrm{abs}(\frac{ln(\sum_{a\in nonverbs}P\mathrm{patched}(a))}{ln(\sum_{a\in nonverbs}P\mathrm{unpatched}(a))}}}{ \tag{15}The weight penalty in Eq. 16 downweights verbs which the model is unlikely to ever output for the given prompt.
The total score is then evaluated, per prompt, on each verb pair in our set as follows in Eq. 17
3.7 Identifying candidate important endogenous variables with Cliff's delta
Features which are likely to be important endogenous variables can be quantified by measuring how much overlap there is in the distribution of the values of a feature as it appears. Let , hence notated . Let . We want to know “Does distinguish and ?”? If and do not overlap much, or at all, the preceding statement is more supported. This separation can be measured with the fewest possible assumptions about the shape of the underlying distributions.
of and using Cliff's delta, which simply measures the likelihood that any random will be greater than any random . We generated Figure 9 while looking for features that distinguished singularity and plurality on nouns during our methodological development phase ( was a collection of singular nouns prepended by the token "The" and plural nouns in the same setup). This figure illustrates the intuition of Cliff's delta, whose value for each pair (represented as a blue and green violin pairs) is printed below them. When the violins do not overlap much, this value is approaches to 1 or -1 depending on which is higher, and approaches 0 if the two distributions overlap heavily.

Figure 9
Asymmetry in plurality vs. singularity marking on noun tokens. Cliff's delta scores (-1 to 1 range) are shown beneath each pair of ranges (blue=plural; green=singular) in the strength of the features on the x-axis.
First, from the hypothesis , such as, "Feature 4:attn:429 being present on the final token promotes the generation of plural verb forms and is itself caused by the matrix subject being a plural token.", devise a set of test sentences such that each sentence is of the correct shape to test the hypothesis. For this , the sentences from the rc ("The man that the dog sees...") and nounpp datasets ("The man in the park...") are the correct shape, and thus .
We used Cliff's delta to assess the separation of feature distributions. We considered a feature to be a potential endogenous variable worthy of further investigation if the Cliff's delta of between the and prompts in a dataset was greater than 0.7 or less than -0.7.
3.8 Quantifying Relationships between Endogenous Variables
There are 2 types of edges between the endogenous variables in the causal graphs we use to describe the semantics of SAE features: 1)Cause SAE Feature - Effect SAE Feature and 2) Cause SAE Feature - Verb Conjugation
The Feature-Feature edges are easiest to explain. Consider an pair: “The dog in the park...” “The dogs in the park”. We are testing if cause feature 0:mlp:134 on token 1 (“dog/dogs”) causes changes in the values of effect feature 5:attn:966 on token 4 (the final token). We collect the ordinary singular and plural values of these features, . The latter two effect values we term score and score. We then collect the “singularized plural”, score, and “pluralized singular”, score, values of through activation patching. The “singularization strength” of the relation, strength is . This is the fraction of ’s value in the singular sentence explained by swapping around the value of from its singular to its plural value in the plural sentence. The corresponding “pluralization strength”, strength, is . We extend this definition to the entire testing corpus , strength by averaging the strengths obtained over all pairs. This score is almost always between 0 and 1. Figure 10 shows the distributions of strengths of the effect feature 5:attn:966 appearing in the last token in all of the or sentences of , with scores for each of the strengths printed below. The singularized plural sentences resembled the singular sentences more than the pluralized singular sentences resembled the plural sentences, hence the higher average strength (0:mlp:134@noun subject 5:attn:966@final token, ) score of 0.75. The calculations for merely substitute for and are otherwise identical. The edges are “fuzzy”, they do not distinguish if causes the conjugation behavior directly or if it instead intermediated with other features, or some mixture of the two. The existence of an edge merely demonstrates that is involved some way or another in verb conjugation. We indeed ended up finding some “mystery” features that had an edge but were wholly disconnected from the graph. Because of how expensive these edges are to calculate, we used the existence of sufficiently strong edges as a filter condition to determine which edges were actually worth calculating.
strength , the effect of the causal feature on verb conjugation behavior, can be simply obtained by replacing all values with the singular conjugation preference B values caused by the activation patch. This score is almost always between 0 and 1. The violin plot of B scores obtained over the sentence pairs in rc under varying conditions shown in Figure 11 corresponds to a strong strength edge.
Any features which both show a significant Cliff's delta effect size between the singular and plural prompt nouns and have a strong edge to the output form the direct connection between noun number in the token vocabulary and number marking, as nothing is upstream of . It should also be noted that the 0:mlp features are peculiarly connected to the features. The 0:mlp sublayer operates before any attention mechanism has taken effect; therefore, the outputs of the 0:mlp layer are actually pure functions of the row vectors of . Any features that have a strong edge are directly connected to verb form choice, as nothing is downstream of them.

Figure 10
The strength of the :mlp:134@noun subject :attn:966@final token edge over . The numbers under the pluralized singular and the singularized plural violins are Cliff's delta values.

Figure 11
The strength of the :mlp:134@noun subject edge over . The numbers above the pluralized singular and the singularized plural violins are Cliff's delta values.
3.9 Procedures for automatically generating SAE Feature verb conjugation diagrams
Values for the above scores and strengths can be calculated for all of the features in our SAEs, but to get interpretable circuit diagrams, we need to aggressively prune the features. In addition, because many of these computations are quite expensive, we need to screen for most promising candidate features before proceeding with the full set of calculations as described in the following section.
3.9.1 Screening. Features with a Cliff's delta between and less than 0.7 were excluded from further consideration. In addition, any feature such that the absolute value of was not in the top or bottom 100 for each index in the prompt was excluded. This heuristic was used as a computationally cheap means of determining if the value of feature present/absent in hidden state component was likely to have a strong effect, positive or negative, on model singular verb conjugation behavior.
3.9.2 Filtering. We considered a feature important if or . We considered an edge important if or and both and were important. For each edge that crossed token boundaries we annotated the strongest detected value feature found to mediate between relationship, regardless of its importance.
If there proved to be between 3 or more features , and both a direct edge and a number of indirect sequences , we eliminated the edge if, after setting all of the intermediate values to their normal unpatched values after AP'ing , the relationship weakened beneath the importance threshold.
We considered an edge important if's strength was at least 20% that of the strongest detected edge over .
We considered an edge important if was in the first MLP layer and was itself important.
We considered an edge important based on manual inspection of the top tokens yielded by , seeing if they were predominantly singular or plural verb tokens, instead of irrelevant tokens.
We considered an edge to promote if both and . We considered an edge to inhibit if both and . Under unusual circumstances, this pair of equations would disagree, most such ambiguous edges tended to not be very important to model behavior.
4. Results and Discussion
4.1 SAE quality verification
Using hidden states derived from the first 10,000 sentences in our SAE training dataset, we found that our SAEs were able to explain 80-90% of the variance in the hidden states, depending on which model component in particular was being analyzed with only one exception - the final value component of the final attention head of the final layer (see Figure 12. Matryoshka SAEs were similar but slightly inferior in performance on this metric, as compared to the TopK SAEs we trained on the attention and MLP components. This is line with the findings of Bussman et al. (Bussmann et al. 2025), who introduced the Matryoshka SAE concept. Our embedding and unembedding matrix SAEs had similar variances explained as the comparable mlp and self-attention layer SAEs.

Figure 12
Variance explained by various SAEs on a calibration dataset of 1,000 hidden states. Our unique embedding and unembedding Matryoshka SAEs are for the sake of comparison denoted as “Attention layer -1” and “Attention layer 6” in the upper left subfigure. Our Gemma-2-2b and Llama-3.18b Matryoshka SAEs, not shown, had variance explained levels of 95.84% and 94.31%, respectively
In addition, through analyzing the ability of the SAEs to interpret the untrained (specifically, checkpoint step 0) version of Pythia-70m, we found that statistical regularities in the distribution of tokens in the underlying corpus used to train an SAE are visible as regularities in the distributions of Pythia's corresponding hidden state vectors in both the trained and untrained models, and that training the Pythia model does not actually cause the hidden state vectors to become more predictable than they already were prior to training the model.
The vectors inside untrained Pythia's embeddings table are initialized using independent samples from the same Gaussian distribution. Thus, these vectors can be described in terms of the 512 uncorrelated Gaussian samples. Our TopK SAE, with , creates a compressed description of the vector it attempts to reconstruct with a sequence of 32 , pairs, with being feature magnitudes and being feature indices. If our TopK SAE had 512 features, we could create a maximum-efficiency reconstruction of an input vector by having the feature table consist entirely of 1-hot vectors and then encode the first 32 indices of the input vectors by setting the of each , to the th index of . These representations would be able to represent of the variance of a large sample of vectors drawn from the same distribution as . However, our SAEs instead have 8192 features each, 8 times the dimension of the vectors they are trying to reconstruct. Thus, an ideally constructed SAE would instead have a set of 8192 2-hot vectors covering of all possible 2-hot vectors over a 512 dimensional basis. We could then sort all the samples by size to generate pairs . We could subsequently capture two samples at once with a pair , if there exists an th two-hot feature vector for and . The odds of this happening are 1.5625%. If there is no suitable 2-hot vector, then we instead choose some feature with 2-hots at and , set , and accept a random reconstruction for sample . Thus, each pair can explain about 1.015625 samples, placing an upper bound of 6.35% variance explained by the SAE if the input vectors from our untrained Pythia are distributed in a true Gaussian fashion. The fact that our trained-Pythia-70m TopK SAEs and their untrained-Pythia-70m counterparts were able to explain about the same fraction of variance in the respective models' hidden state vectors suggests that the training process does not make the hidden state vectors more statistically regular but instead merely endows the hidden state vectors with a structure more amenable to language generation.
Finally, the SAEs trained on the Query and especially Key matrices were able to explain an exceptionally high proportion of the variance in the respective hidden state vector sets which they reconstructed. Despite this, this set of K and Q SAEs proved not useful for our purposes. For reasons which will be detailed below, we suspect this is due to these two model components having a much lower information density than the others, making SAEs, with their massive overcomplete feature spaces, an inappropriate tool to analyze them.
4.2 Verb conjugation circuits identified in Pythia-70m
Figure 13 shows the verb conjugation circuits we identified in our rc, nounpp, and within_rc datasets. When we found large groups of features that exhibited almost identical edges in and out, we grouped them in red or blue boxes. The circuit we identified for long_rc was too complex to show in a figure.
With the exception of one of the datasets (long_rc), we in fact did not find any hypothesized singular noun features of the kind we discussed above in the Methods section. We only found plural noun features, which we took to be an optimistic sign that our inductive methodology was not so overpowered as to be unfalsifiable. What we did find instead was that the majority of subject noun number features surfaced by our analyses were plural-high singular-low. Only circuit analysis of the long_rc corpus identified any singular-high noun features. Because the SAE training procedure is designed to avoid learning features which would have negative values on any of the vectors of the training hidden states corpus (though in practice negative feature values occur with appreciable frequency, as is visible in Figure 9), we interpret this as meaning that the grammatical singular may be the "unmarked" noun number for Pythia-70m. This finding replicated in larger LLMs, discussed further in the next subsection.
Plural marking on nouns was unified in all scenarios. Though our different datasets surfaced various noun number features, there was heavy overlap between them, the feature we:1173 consistently had a strong effect size in all 4 datasets. We collected the tokens which most highly activated by this plural noun feature and some other prominent ones which interested us in Figure 14.
The most important verb number choice selection mechanism in all datasets was plural noun number, through one circuit or another suppression of unembedding matrix feature wu:3016, which by default selects singular verbs. There happened to exist plural verb promotion features as well, but plural promotion was not as important as singular suppression. Our analysis was not suited to identifying what it is that causes wu:3016 to be produced by default, as this would require us to compare verb-production-appropriate prompts to nonverb-production-appropriate prompts, giving us insight as to how Pythia-70m parses its prompts but massively increasing the scope of our analyses beyond what could fit in this paper.
The long distance agreement datasets surfaced 2 conjugation subcircuits, the "1-hop" circuit, which went directly from the subject token to the final token, which made use of the common verb production features, and the "2-hop" circuit, which made use of the contrasting +singular 2:attn:1119 and +plural 2:attn:4007 features, which competed to promote or inhibit the unique plural verb selection feature 4:attn:429. We found an interesting "double negative" sequence, present in each of the rc, long_rc, and nounpp datasets, of the form plural noun → 2:attn:1119 → 4:attn:429 → plural verb. This sort of "double negative" phenomenon is often found in biological interaction networks. This circuit appears to suppress plural verb production by default.
The "0-hop" circuit used by within_rc, which does not require the self-attention mechanism to function, activated a mixture of the common verb production features and some verb production features in sublayer 4:mlp unique to this situation.
We found no 3-hop or greater circuits in any of the datasets, nor any 2-hop circuits that hopped onto any token other than the one immediately following the subject noun. Even though long_rc analysis surfaced an enormous number of important features, all of them were found on the noun subject token, the token after it ("that"), or on the final token.
4.3 Privative Marked plural/Default singular noun number representation in Pythia-70m, Gemma-2-2b, and Llama-3.1-8b
After finding that our method yielded only plural-high singular-low SAE features in the embedding layer of Pythia-70m on all datasets except long_rc, we extended our investigation to larger LLMs. We trained Matryoshka SAEs on the embedding matrices of these larger LLMs using identical methodology, training a 32768-feature SAE on Llama-3.1-8B's and a 16384-feature SAE on Gemma-2-2B's . We gathered all features for which or (it turned out that the latter condition never proved decisive, as we found that in most instances.) First, we discovered that our gradient based prefiltering methodology failed to identify important features in the embedding layer of the larger models, particularly in the case of within_rc. So we instead brute-force calculated the values of and for all 16384 Gemma features and 32768 Llama features, which succeeded in identifying additional important number features for each, shown in italics in table 1. We also did these brute-force calculations for Pythia's SAE, but this found no features which we had not found earlier with our more computationally frugal methods. We found that all of these LLMs predominantly used privative plural/default singular marking, with only one singular positive feature found, we:5548 for the Llama x within_rc experiment. In addition, we found that the larger models, despite being searched with larger SAEs, had fewer verb-conjugation relevant number features, each model exhibiting a distinct dominant number feature (we:440 for Llama and we:533 for Gemma) across all 3 datasets with some auxiliary number features that only appeared in one or two of the datasets. This simplification-with-scale finding gave us cause for optimism that this method will scale well to even larger LLMs. In addition, we broadly found that singularizing a prompt by removing a plural marking feature had stronger effects than vice-versa for most Gemma and Pythia SAE features, though this was not true for Llama.
4.4 Semantic fields in noun plural features
We found that the different noun plural features identified in our searches had distinct semantics, as shown in figure 9. we:108 is most prominent animate plural nouns, par-
| S LLM | Dataset | Feature | ||
|---|---|---|---|---|
| Gemma-2-2b | rc | we:533 | 0.56 | 0.26 |
| " | " | we:18 | 0.34 | 0.03 |
| " | " | we:2645 | 0.22 | 0.01 |
| " | nounpp | we:533 | 0.47 | 0.25 |
| " | within_rc | we:533 | 1.10 | 0.37 |
| " | " | we:18 | 0.64 | -0.04 |
| Llama-3.1-8b | rc | we:440 | 0.46 | 0.69 |
| " | " | we:936 | 0.21 | 0.15 |
| " | nounpp | we:440 | 0.33 | 0.67 |
| " | " | we:936 | 0.21 | 0.18 |
| " | within_rc | we:440 | 0.88 | 0.96 |
| " | " | we:1121 | 0.33 | 0.32 |
| " | " | we:5548 | 0.32 | 0.32 |
| Pythia-70m | rc | we:97 | 0.64 | 0.21 |
| " | " | we:365 | 0.55 | 0.11 |
| " | " | we:1173 | 0.53 | 0.13 |
| " | " | we:108 | 0.53 | 0.11 |
| " | " | we:469 | 0.45 | 0.06 |
| " | " | we:129 | 0.40 | 0.06 |
| " | " | we:226 | 0.30 | 0.03 |
| " | " | we:1972 | 0.20 | 0.08 |
| " | nounpp | we:97 | 0.63 | 0.26 |
| " | " | we:108 | 0.55 | 0.15 |
| " | " | we:365 | 0.51 | 0.12 |
| " | " | we:1173 | 0.50 | 0.12 |
| " | " | we:469 | 0.44 | 0.09 |
| " | " | we:129 | 0.37 | 0.08 |
| " | " | we:226 | 0.33 | 0.05 |
| " | " | we:1972 | 0.20 | 0.06 |
| " | within_rc | we:97 | 0.74 | 0.19 |
| " | " | we:1173 | 0.72 | 0.10 |
| " | " | we:365 | 0.62 | 0.07 |
| " | " | we:108 | 0.56 | 0.04 |
| " | " | we:129 | 0.42 | 0.02 |
| " | " | we:469 | 0.38 | 0.05 |
| " | " | we:226 | 0.26 | 0.01 |
Table 1
Encoding layer Matryoshka SAE features of all three LLMs. The feature we:5548 highlighted in red is the only singular positive feature we found.
ticularly those referring to people, like “men”, “women”, “children”, “people”, and “babies”, in addition to many occupations. Many of we:1173’s highly marked nouns were concrete inanimate objects. we:365 has a rather peculiar “religious/artistic” plural noun semantic field that includes nouns related to art, learning, faith and communication. Feature wu:3016 appears to index plural nouns clustered around social and economic roles.

Figure 13
Verb conjugation circuits identified in rc, nounpp, and within_rc. Sentences and verb continuations shown are merely examples, these circuits were derived by aggregating data from all sentence pairs and verb pairs in their respective datasets as described in the methods section. Single-high features are red, plural-high are blue. Black edges activate, red edges inhibit. The horizontal lines represent the layers of the LLM and the vertical blocks represent tokens in the prompt. Features belonging to the same sublayer and token which shared more than 60% of ingoing and outgoing edges were grouped into boxes.
we:1173
balloons lamps kernels ghosts clones -heads trucks masks cameras tables sheets fibers blades brushes nodes electrodes gels flares -boats -ICs balls folds phones beads tags sticks monomers wrists buckets arches hooks -berries poles clusters cards qubits locks bubbles triangles flaps pipes bulbs patches bees batteries diodes gates -istors flies -Blocks pits lines knots capacitors bearings flows grapes screws jets fists bundles cores roses transistors mortgages trains sails chips pods shells switches cords disks cones boxes belts pumps detectors -balls rods roofs tiles mirrors clocks edges floats voltages blocks buses loops beams grids anchors bottles discs LEDs wires pins -bows pulses
we:365
Angels tweets Davies youths jokes photographers museums GPs students emails -stars commentators textbooks conversations Music texts journals feelings Richards ghosts evenings teachers Blues sessions Friends messages lyrics scholars patrons Schools universities listeners thoughts believers concerts Books Africans learners historians criticisms Boys painters memories -friends experiences observers dancers prophets perspectives -urches songs Ravens Sessions lovers classics visions lectures Eagles magazines Stories speakers manuscripts workshops notes stories celebrities Christians novels musicians intellectuals Artists singers Songs friendships glasses performers composers Catholics classmates Beatles journalists saints sculptures monks poems books Fans Girls paintings professors followers writers Saints blogs writings poets friends churches fans artists
we:108
makers traders hunters manufacturers criminals attackers writers advocates regulators fishermen performers distributors hospitals buyers suppliers families soldiers crews researchers legislators councils athletes fighters corporations departments teenagers teams warriors retailers -icians engineers designers dealers physicians universities startups creators girls minorities attendees actors districts patients organisations riders providers volunteers merchants experts -people members cities employers counties producers women villagers teachers patrons participants politicians developers practitioners clients dancers organizers miners investors artists consumers men organizations students employees customers officials inmates agencies entrepreneurs players firms governments residents voters workers farmers owners businesses -ists youths managers people individuals users activists executives citizens communities leaders companies
Figure 14
The most strongly marked tokens for a number of prominent conjugation-involved plural noun features in the embedding matrix of Pythia-70m.
4.5 The 2-hop circuit is responsible for a large portion of number distraction
We found that the 2-hop circuit, which predominantly promotes the plural verb production feature 4:attn:429 when the matrix subject is plural (symmetrical singular verb production features were visible in the analyses of nounpp and long_rc, but their effects were weaker), appears to be the source of much of the number agreement distraction in within_rc, as the two-hop circuit is mildly activated in it, clashing with the 0-hop circuit. The fact that the two-hop circuit is more effective at promoting plurality than vice-versa is likely the reason why number distraction is more severe in plural matrix singular embedded sentences like "The lawyers that the minister ...", than vice versa, "The lawyer that the ministers ...". This finding is in agreement with observations related to neural correlates in the human brain of plural markedness in many languages (Bañón and Rothman 2016; Dunagan et al. 2022). The reason why the 0-hop and 2-hop circuits clash is because, as we show in data collected on long_rc in 15, 4:attn:429 is copied onto all of the tokens of the embedded clause when the matrix subject is plural (the embedded clause is every token from position 2 on, an example sentence in long_rc is "The birds | that he's out in the woods looking for"). Pythia-70m "sprays and prays" the plural number information, so to speak. This interferes with the model when it wants to produce a verb form which agrees with a singular noun inside the embedded clause, as happens in the within_rc sentences. Removing it from plural matrix singular embedded sentences in within_rc, as shown in figure 16, removes much of the distraction effect.

Figure 15
Average values of 4:attn:429 at different token positions in long_rc The bird(s) that I saw eating the worms in the park this morning. blue - subject is plural; orange - subject is singular
4.6 Failure of SAEs to identify features in the Query and Key vectors
We were unable to find features resembling our hypothesized feature. We picked out one of the most important attention head edges from our preceding analysis of the dataset rc, attention head 5 in layer 5 between tokens 1 and 5 (the subject and final tokens), which is responsible for propagating 56% of the value of 5:attn:966 (the most prominent 'say a plural verb' feature) and 0:mlp:134 (the most prominent 'plural noun' feature). We ablated one feature out of a time from , the query vector responsible for this edge (the corresponding key vector is , out of all 1024 features we had in our appropriate KQ Matryoshka SAE for Layer 5, head 5. We discovered that 11.04% of all this SAE's features, when ablated, reduced the strength of the 0:mlp:134 5:attn:966 relationship by more than 50%. We then preformed a

Figure 16
Removing 4:attn:429 from the final token of plural matrix singular embedded form sentences in within_rc (i.e., "The boys that the mother...") increases singular verb conjugation preference
control experiment using 1024 random feature ablation vectors instead (to simulate an untrained SAE). 11.62% of all the control feature vectors also exhibited this effect. From this we immediately gathered that the contents of the KQ SAEs were not useful for examining attention edges, and abandoned further analysis of them.
4.7 Verb form selection features are translinguistic
The two most important verb production features we found across all datasets, resembling our hypothesized Sg-verb- and Pl-verb- features were wu:3016, which was singular-high plural-low, and wu:2871, which was plural-high singular-low. We then assembled lists of the top 100 and top 1000 tokens whose unembedding matrix vectors had the highest dot product with these two feature vectors, and thus the two sets of tokens whose generation probabilities were most increased by their presence in . The top-100 lists are shown in figure 17. For the plural wu:2871, we found a number of foreign language tokens all meaning "they are" or "they have" in various romance languages, sao (Portuguese), sont (French), and hanno (Italian).
4.8 Examining the SAEs
We were generally able to pinpoint large fractions of important edges between attn and mlp features to a single feature inside of one attention heads (These would correspond to our hypothesized Sg-verb- and Pl-verb- features). In the case of the rc dataset, a single feature was responsible for more than half of the AP effect strength in a given for 53.7% of the pluralization edges and 54.9% of the wu: 2871
refer generate stimulate communicate specify exceed possess represent behave evolve disclose dominate describe incorporate contend produce give conclude consume continue find achieve adhere characterize see define reveal think operate realize don coincide propose emphasize hanno believe reside develop ARE lose undergo exist argue feel converge suffer emerge utilize determine derive haven depict accumulate relate originate happen resemble contribute know make -uppose deserve -regulate HAVE satisfy constitute correlate contain provide illustrate suggest -'re -'ve comprise arise -are occur demonstrate include owe belong imply são rely indicate remain differ require vary -were aren involve sont appear were - have seem do are have
wu: 3016
delivers arises learns pertains mediates realizes aims exceeds calculates understands reveals tells evolves extends examines illustrates discloses builds isn depends improves varies gets wants relies argues celebrates compares represents serves helps distinguishes goes maintains manages -sembles combines brings provides spends responds demonstrates adds comes regulates recognizes engages -ifies explains acknowledges defines seeks interacts enhances introduces encodes differs comprises contributes encourages expands reflects utilizes employs predicts contains says has concludes explores Gets -includes enjoys speaks grows evaluates emphasizes participates identifies integrates thinks feels believes develops describes continues considers encompasses relates incorporates agrees promotes involves focuses consists proposes discusses teaches includes is
Figure 17
Tokens selected by the most prominent Singular and plural verb production features in the unembedding matrix
singularization edges. However, the amount of information yielded from these searches was too overwhelming to be well-summarized in this article, and so future work to devise a strategy to tame the rat's nest of information our circuit-finding algorithm yields when allowed to inspect the individual attention heads would be valuable, particularly if we can also find an alternative means of decomposing the corresponding q k vectors into symbolic information.
4.9 Alignment with observations in human language processing
Our findings are consistent with the recently proposed collocation bootstrapping hypothesis in which statistical properties of the linguistic input to which children are exposed during language learning enable the acquisition of syntactic features including subject-verb agreement (Hobbs and McCoy 2026). Similarly to the collocation bootstrapping whereby the child learns that what agrees with the verb is the noun in the subject position vs. the noun in the most recent position (e.g., the dogs in the park bark) by virtue of the words "dogs" and "bark" co-occurring more frequently than "park" and "barks" in the input, ANNs exposed to large volumes of presumed well-formed linguistic input would also encode these statistical properties, albeit in a very different manner than how a human brain encodes this information. The work showing that ANNs are capable of learning specifically subject-verb agreement information induced from training data dates back to well before modern LLMs (Elman 1993). The key to both human and machine learning processes appears to be not so much the learning mechanism but rather the distributional and frequency characteristics of the input from which they learn.
The finding of the asymmetry in activation patching indicating that the grammatical singular may be the "unmarked" noun number in all three LLMs used in the present work indicates that despite some differences in architecture, size, and training data, the models represent and propagate number agreement in a conceptually similar fashion. The notion of markedness of plural number in human languages dates back to Greenberg's universals, specifically Universal 33 "When number agreement between the noun and verb is suspended and the rule is based on order, the case is always one in which the verb precedes and the verb is in the singular" (Greenberg 1963). Multiple subsequent psycholinguistic (Bock and Miller 1991; Eberhard 1997; Pearlmutter 2000) and neurolinguistic (Bañón and Rothman 2016; Dunagan et al. 2022) studies have confirmed this phenomenon. Our findings are consistent with this prior work, particularly with human brain studies showing that plural nouns elicit greater cortical activity than singular nouns across multiple languages (Bañón and Rothman 2016; Dunagan et al. 2022) and greater P600 event-related potential component in response to violation of plural vs. singular subject-verb agreement (Bañón and Rothman 2016; Dunagan et al. 2022). We do not at all suggest that Transformer-based LLMs are a model for human brain (or any brain) beyond superficial similarities. The point of comparing our current work to prior work on number agreement processing in human brains is simply to highlight the fact that both ANNs and human brains learn this information from human language input and that the plural-singular asymmetry is likely to be the property of the input rather than an emergent property of the learning system.
4.10 Limitations
Because the SAE learns an overcomplete basis for the space of hidden state vectors it analyzes, many of these basis vectors are appreciably not-orthogonal with each other. Such features are mathematically confined to co-occurring (if the angle is acute) or not co-occurring (if the angle is obtuse). The nonlinear activation functions in the models' MLP layers are capable of allowing the model to distinguish two acute features, but we do not doubt that many of the features we found were redundant to some extent. To resolve this issue and trim down the number of SAE features under analysis would require devising a mathematical procedure for determining whether the weights in an MLP layer actually allow it to make a distinction between two acute-with-each-other feature vectors or not.
It is clear that certain features are shared between layers. In particular, all of the "say-a-verb" features we found, all features with strong direct connections to a feature , with high scores, were "speaking the language" of the unembedding matrix, and should have been identified as such, rather than identified as "belonging to" components in layer 4 or 5. Anthropic's recent interpretability construct, the J-lens (Gurnee et al. 2026), helps determine which features rightfully belong to , but it does not extend to , nor to the even trickier middle-layer portions that use vector language wholly independent of the vocabulary.
In addition, we found "bundles" of noun number and verb number features that behaved almost identically. There were only insubstantial differences between the interactions that the plural noun features 0:mlp:134 and 0:mlp:829 had with any downstream features in any of the circuit diagrams, and similarly, 5:attn:966 and 5:attn:993, both being plural verb production features, were consistently coactivated in all contexts.
We suspect that our SAEs spuriously split features that should have been reckoned as one, and thus greatly complicated our circuit diagrams. Further methodological developments in SAE training may solve this issue. One method we anticipate may help would be training the SAEs, not on the components of the residual streams themselves, but instead on the proposed updates which occur on the residual streams as the model trains. This may help isolate features on the residual streams which are actually significant to model behavior.
Our gradient based method for identifying number features worth further investigation failed on the larger models Llama-3.1-8B and Gemma-2-2B. The cause of this seemed to be gradient shrinking in the earlier layers. For our methods to scale to larger LLMs, it will be either necessary to massively increase compute (the feature searching process is very parallelizable) or devise an alternate means of cheaply identifying promising SAE features.
Though our methods could be extended with not too much difficulty to investigating changes in model behavior caused by multiple-token changes in the prompt (for example, by investigating sentence pairs like "The dog in the park" vs "The two dogs in the park", we currently do not have clear ideas about how our methodology could be used to investigate behaviors which require multiple tokens to manifest, even the ones as simple as how the model produces multi-token verbs (e.g., "The judges uphold the law" as opposed to "The judges up | hold the law". In our investigations we incidentally found that Pythia-70m appears to use the same features to produce the final token of multi-token singular verbs as it does those of monotokenal singular verbs, but we gleaned no insights as to what is going on when it produces the initial tokens of such verbs.
References
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, Andrew Persic, Zhenyi Qi, T. Ben Thompson, Sam Zimmerman, Kelley Rivoire, Thomas Conerly, Chris Olah, and Joshua Batson AFFILIATIONS Anthropic PUBLISHED March 27. Circuit Tracing: Revealing Computational Graphs in Language Models. URL https://transformer-circuits.pub/2025/attribution-graphs/methods.html.
José Alemán Bañón and Jason Rothman. The role of morphological markedness in the processing of number and gender agreement in spanish: an event-related potential investigation. Language, Cognition and Neuroscience, 31(10):1273–1298, 2016. doi:10.1080/23273798.2016.1218032. URL https://doi.org/10.1080/23273798.2016.1218032.
David Beniaguev, Idan Segev, and Michael London. Single cortical neurons as deep artificial neural networks. Neuron, 109(17):2727–2739.e3, September 2021. ISSN 0896-6273. doi:10.1016/j.neuron.2021.07.002. URL https://www.sciencedirect.com/science/article/pii/S0896627321005018.
Stella Biderman, Hailey Schoelkopf, Quentin Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar van der Wal. Pythia: A suite for analyzing large language models across training and scaling, 2023. URL https://arxiv.org/abs/2304.01373.
Kathryn Bock and Carol A Miller. Broken agreement. Cognitive Psychology, 23(1):45–93, 1991. ISSN 0010-0285. doi: https://doi.org/10.1016/0010-0285(91)90003-7. URL https://www.sciencedirect.com/science/article/pii/0010028591900037.
Bart Bussmann, Noa Nabeshima, Adam Karvonen, and Neel Nanda. Learning Multi-Level Features with Matryoshka Sparse Autoencoders, March 2025. URL https://arxiv.org/abs/2503.17547v1.
Patricia S. Churchland and Terrence J. Sejnowski. The Computational Brain. MIT Press, Cambridge, MA, 25th anniversary edition, 2016. ISBN 9780262339650. doi:10.7551/mitpress/11207.001.0001.
Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. Sparse autoencoders find highly interpretable features in language models, 2023. URL https://arxiv.org/abs/2309.08600.
Peter T. Daniels. The Decipherment of Ancient Near Eastern Languages. In Rebecca Hasselbach-Andee, editor, A Companion to Ancient Near Eastern Languages, pages 1–25. Wiley, 1 edition, February 2020. ISBN 978-1-119-19329-6 978-1-119-19381-4. doi:10.1002/9781119193814.ch1. URL https://onlinelibrary.wiley.com/doi/10.1002/9781119193814.ch1.
Nolan Dey, Eric Taylor, Alexander Wong, Bryan Tripp, and Graham W. Taylor. Neuron-based explanations of neural networks sacrifice completeness and interpretability, 2025. URL https://arxiv.org/abs/2011.03043.
Maximilian Dreyer, Erblina Purelku, Johanna Vielhaben, Wojciech Samek, and Sebastian Lapuschkin. PURE: Turning Polysemantic Neurons Into Pure Features by Identifying Relevant Circuits, April 2024. URL http://arxiv.org/abs/2404.06453. arXiv:2404.06453 [cs].
Donald Dunagan, Shulin Zhang, Jixing Li, Shohini Bhattasali, Christophe Pallier, John Whitman, Yiming Yang, and John Hale. Neural correlates of semantic number: A cross-linguistic investigation. Brain and Language, 229:105110, 2022. ISSN 0093-934X. doi: https://doi.org/10.1016/j.bandl.2022.105110. URL https://www.sciencedirect.com/science/article/pii/S0093934X22000402.
Kathleen M. Eberhard. The marked effect of number on subject-verb agreement. Journal of Memory and Language, 36(2):147–164, 1997. ISSN 0749-596X. doi: https://doi.org/10.1006/jmla.1996.2484. URL https://www.sciencedirect.com/science/article/pii/S0749596X96924845.
Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah. Toy models of superposition, 2022. URL https://arxiv.org/abs/2209.10652.
Jeffrey Elman. Distributed representations, simple recurrent networks, and grammatical structure. Machine Learning, 7, 07 1993. doi: 10.1007/BF00114844.
Claire L. Evans. The Worm That No Computer Scientist Can Crack. Wired, March 2025. ISSN 1059-1028. URL
https://www.wired.com/story/openworm-worm-simulator-biology-code/. Section: tags.
Explosion. spaCy: English trained pipelines. https://spacy.io/models/en, n.d. Documentation for the en_core_web_sm model. Accessed: 2026-10-26.
Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. Scaling and evaluating sparse autoencoders, June 2024. URL http://arxiv.org/abs/2406.04093. arXiv:2406.04093 [cs].
Aaron Gokaslan, Vanya Cohen, Ellie Pavlick, and Stefanie Tellex. Openwebtext corpus. http://Skylion007.github.io/OpenWebTextCorpus, 2019.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, Arun Rao, Aston Zhang, Aurelien Rodriguez, Austen Gregerson, Ava Spataru, Baptiste Roziere, Bethany Biron, Binh Tang, Bobbie Chern, Charlotte Caucheteux, Chaya Nayak, Chloe Bi, Chris Marra, Chris McConnell, Christian Keller, Christophe Touret, Chunyang Wu, Corinne Wong, Cristian Canton Ferrer, Cyrus Nikolaidis, Damien Allonsius, Daniel Song, Danielle Pintz, Danny Livshits, Danny Wyatt, David Esibiou, Dhruv Choudhary, Dhruv Mahajan, Diego Garcia-Olano, Diego Perino, Dieuwke Hupkes, Egor Lakomkin, Ehab Albadawy, Elina Lobanova, Emily Dinan, Eric Michael Smith, Filip Radenovic, Francisco Guzmán, Frank Zhang, Gabriel Synnaeve, Gabrielle Lee, Georgia Lewis Anderson, Govind Thattai, Graeme Nail, Gregoire Mialon, Guan Pang, Guillem Cucurell, Hailey Nguyen, Hannah Korevaar, Hu Xu, Hugo Touvron, Iliyan Zarov, Imanol Arrieta Ibarra, Isabel Kloumann, Ishan Misra, Ivan Evtimov, Jack Zhang, Jade Copet, Jaewon Lee, Jan Geffert, Jaena Vranes, Jason Park, Jay Mahadeokar, Jeet Shah, Jelmer van der Linde, Jennifer Billock, Jenny Hong, Jenya Lee, Jeremy Fu, Jianfeng Chi, Jianyu Huang, Jiawen Liu, Jie Wang, Jiecao Yu, Joanna Bitton, Joe Spisak, Jongsoo Park, Joseph Rocca, Joshua Johnstun, Joshua Saxe, Junteng Jia, Kalyan Vasuden Alwala, Karthik Prasad, Kartikeya Upasani, Kate Plawiak, Ke Li, Kenneth Heafield, Kevin Stone, Khalid El-Arini, Krithika Iyer, Kshitiz Malik, Kuenlei Chiu, Kunal Bhalla, Kushal Lakhotia, Lauren Rantala-Yearly, Laurens van der Maaten, Lawrence Chen, Liang Tan, Liz Jenkins, Louis Martin, Lovish Madaan, Lubo Malo, Lukas Blecher, Lukas Landzaat, Luke de Oliveira, Madeline Muzzi, Mahesh Pasupuleti, Mannat Singh, Manohar Paluri, Marcin Kardas, Maria Tsimpoukelli, Mathew Oldham, Mathieu Rita, Maya Pavlova, Melanie Kambadur, Mike Lewis, Min Si, Mitesh Kumar Singh, Mona Hassan, Naman Goyal, Narjes Torabi, Nikolay Bashlykov, Nikolay Bogoychev, Niladri Chatterji, Ning Zhang, Olivier Duchenne, Onur Çelebi, Patrick Alrassy, Pengchuan Zhang, Pengwei Li, Petar Vasic, Peter Weng, Prajiwal Bhargava, Pratik Dubai, Praveen Krishnan, Punit Singh Koura, Puxin Xu, Qing He, Qingxiao Dong, Ragavan Srinivasan, Raj Ganapathy, Ramon Calderer, Ricardo Silveira Cabral, Robert Stojnic, Roberta Raileanu, Rohan Maheswari, Rohit Girdhar, Rohit Patel, Romain Sauvestre, Ronnie Polidoro, Roshan Sumbaly, Ross Taylor, Ruan Silva, Rui Hou, Rui Wang, Saghar Hosseini, Sahana Chennabasappa, Sanjay Singh, Sean Bell, Seohyun Sonia Kim, Sergey Edunov, Shaoliang Nie, Sharan Narang, Sharath Raparthy, Sheng Shen, Shengye Wan, Shruti Bhosale, Shun Zhang, Simon Vandenhende, Soumya Batra, Spencer Whitman, Sten Sootla, Stephane Collot, Suchin Gururangan, Sydney Borodinsky, Tamar Herman, Tara Fowler, Tarek Sheasha, Thomas Georgiou, Thomas Scialom, Tobias Speckbacher, Todor Mihaylov, Tong Xiao, Ujjwal Karn, Vedanuj Goswami, Vibhor Gupta, Vignesh Ramanathan, Viktor Kerkez, Vincent Gonguet, Virginie Do, Vish Vogeti, Vitor Albiero, Vladan Petrovic, Weiwei Chu, Wenhan Xiong, Wenyin Fu, Whitney Meers, Xavier Martinet, Xiaodong Wang, Xiaofang Wang, Xiaoqing Ellen Tan, Xide Xia, Xinfeng Xie, Xuchao Jia, Xuewei Wang, Yaelle Goldschlag, Yashesh Gaur, Yasmine Babaei, Yi Wen, Yiwen Song, Yuchen Zhang, Yue Li, Yuning Mao, Zacharie Delpierre Coudert, Zheng Yan, Zhengxing Chen, Zoe Papakipos, Aaditya Singh, Aayushi Srivastava, Abha Jain, Adam Kelsey, Adam Shajfeld, Adithya Gangidi, Adolfo Victoria, Ahuva Goldstand, Ajay Menon, Ajay Sharma, Alex Boesenberg, Alexei Baevski, Allie Feinstein, Amanda Kallet, Amit Sangani, Amos Teo, Anam Yunus, Andrei Lupu, Andres Alvarado, Andrew Caples, Andrew Gu, Andrew Ho,
Andrew Poulton, Andrew Ryan, Ankit Ramchandani, Annie Dong, Annie Franco, Anuj Goyal, Aparajita Saraf, Arkabandhu Chowdhury, Ashley Gabriel, Ashwin Bharambe, Assaf Eisenman, Azadeh Yazdan, Beau James, Ben Maurer, Benjamin Leonhardi, Bernie Huang, Beth Loyd, Beto De Paola, Bhargavi Paranjape, Bing Liu, Bo Wu, Boyu Ni, Braden Hancock, Bram Wasti, Brandon Spence, Brani Stojkovic, Brian Gamido, Britt Montalvo, Carl Parker, Carly Burton, Catalina Mejia, Ce Liu, Changhan Wang, Changkyu Kim, Chao Zhou, Chester Hu, Ching-Hsiang Chu, Chris Cai, Chris Tindal, Christoph Feichtenhofer, Cynthia Gao, Damon Civin, Dana Beaty, Daniel Kreymer, Daniel Li, David Adkins, David Xu, Davide Testuggine, Delia David, Devi Parikh, Diana Liskovich, Didem Foss, Dingkang Wang, Duc Le, Dustin Holland, Edward Dowling, Eissa Jamil, Elaine Montgomery, Eleonora Presani, Emily Hahn, Emily Wood, Eric-Tuan Le, Erik Brinkman, Esteban Arcaute, Evan Dunbar, Evan Smothers, Fei Sun, Felix Kreuk, Feng Tian, Filippos Kokkinos, Firat Ozgenel, Francesco Caggioni, Frank Kanayet, Frank Seide, Gabriela Medina Florez, Gabriella Schwarz, Gada Badeer, Georgia Swee, Gil Halpern, Grant Herman, Grigory Sizov, Guangyi, Zhang, Guna Lakshminarayanan, Hakan Inan, Hamid Shojanazeri, Han Zou, Hannah Wang, Hanwen Zha, Haroun Habeeb, Harrison Rudolph, Helen Suk, Henry Aspegren, Hunter Goldman, Hongyuan Zhan, Ibrahim Damlai, Igor Molybog, Igor Tufanov, Ilias Leontiadis, Irina-Elena Veliche, Itai Gat, Jake Weissman, James Geboski, James Kohli, Janice Lam, Japhet Asher, Jean-Baptiste Gaya, Jeff Marcus, Jeff Tang, Jennifer Chan, Jenny Zhen, Jeremy Reizenstein, Jeremy Teboul, Jessica Zhong, Jian Jin, Jingyi Yang, Joe Cummings, Jon Carvill, Jon Shepard, Jonathan McPhie, Jonathan Torres, Josh Ginsburg, Junjie Wang, Kai Wu, Kam Hou U, Karan Saxena, Kartikay Khandelwal, Katayoun Zand, Kathy Matosich, Kaushik Veeraraghavan, Kelly Michelena, Keqian Li, Kiran Jagadeesh, Kun Huang, Kunal Chawla, Kyle Huang, Lailin Chen, Lakshya Garg, Lavender A, Leandro Silva, Lee Bell, Lei Zhang, Liangpeng Guo, Licheng Yu, Liron Moshkovich, Luca Wehrstedt, Madian Khabsa, Manav Avalani, Manish Bhatt, Martynas Mankus, Matan Hasson, Matthew Lennie, Matthias Reso, Maxim Groshev, Maxim Naumov, Maya Lathi, Meghan Keneally, Miao Liu, Michael L. Seltzer, Michal Valko, Michelle Restrepo, Mihir Patel, Mik Vyatskov, Mikayel Samvelyan, Mike Clark, Mike Macey, Mike Wang, Miquel Jubert Hermoso, Mo Metanat, Mohammad Rastegari, Munish Bansal, Nandhini Santhanam, Natascha Parks, Natasha White, Navyata Bawa, Nayan Singhal, Nick Egebo, Nicolas Usunier, Nikhil Mehta, Nikolay Pavlovich Laptev, Ning Dong, Norman Cheng, Oleg Chernoguz, Olivia Hart, Omkar Salpekar, Ozlem Kalinli, Parkin Kent, Parth Parekh, Paul Saab, Pavan Balaji, Pedro Rittner, Philip Bontrager, Pierre Roux, Piotr Dollar, Polina Zvyagina, Prashant Ratanchandani, Prithis Yuvraj, Qian Liang, Rachad Alao, Rachel Rodriguez, Rafi Ayub, Raghotham Murthy, Raghu Nayani, Rahul Mitra, Rangaprabhu Parthasarathy, Raymond Li, Rebekkah Hogan, Robin Battey, Rocky Wang, Russ Howes, Ruty Rinott, Sachin Mehta, Sachin Siby, Sai Jayesh Bondu, Samyak Datta, Sara Chugh, Sara Hunt, Sargun Dhillon, Sasha Sidorov, Satadru Pan, Saurabh Mahajan, Saurabh Verma, Seiji Yamamoto, Sharadh Ramaswamy, Shaun Lindsay, Shaun Lindsay, Sheng Feng, Shenghao Lin, Shengxin Cindy Zha, Shishir Patil, Shiva Shankar, Shuqiang Zhang, Shuqiang Zhang, Sinong Wang, Sneha Agarwal, Soji Sajuyigbe, Soumith Chintala, Stephanie Max, Stephen Chen, Steve Kehoe, Steve Satterfield, Sudarshan Govindaprasad, Sumit Gupta, Summer Deng, Sungmin Cho, Sunny Virk, Suraj Subramanian, Sy Choudhury, Sydney Goldman, Tal Remez, Tamar Glaser, Tamara Best, Thilo Koehler, Thomas Robinson, Tianhe Li, Tianjun Zhang, Tim Matthews, Timothy Chou, Tzook Shaked, Varun Vontimitta, Victoria Ajayi, Victoria Montanez, Vijai Mohan, Vinay Satish Kumar, Vishal Mangla, Vlad Ionescu, Vlad Poenaru, Vlad Tiberiu Mihailescu, Vladimir Ivanov, Wei Li, Wenchen Wang, Wenwen Jiang, Wes Bouaziz, Will Constable, Xiaocheng Tang, Xiaojian Wu, Xiaolan Wang, Xilun Wu, Xinbo Gao, Yaniv Kleinman, Yanjun Chen, Ye Hu, Ye Qi, Yenda Li, Yilin Zhang, Ying Zhang, Yossi Adi, Youngjin Nam, Yu, Wang, Yu Zhao, Yuchen Hao, Yundi Qian, Yunlu Li, Yuzi He, Zach Rait, Zachary DeVito, Zef Rosnbrick, Zhaoduo Wen, Zhenyu Yang, Zhiwei Zhao, and Zhiyu Ma. The Llama 3 Herd of Models, November 2024. URL http://arxiv.org/abs/2407.21783. arXiv:2407.21783 [cs.AI].
Joseph H. Greenberg. Some universals of grammar with particular reference to the order of meaningful elements. In Joseph H. Greenberg, editor, Universals of Language, pages 73–113. MIT Press, Cambridge, MA, 1963.
Wes Gurnee, Nicholas Sofroniew, Adam Pearce, Mateusz Piotrowski, Isaac Kauvar, Runjin Chen, Anna Soligo, Paul Bogdan, Euan Ong, Rowan Wang, Ben Thompson, David Abrahams, Subhash Kantamneni, Emmanuel Ameisen, Joshua Batson, and Jack Lindsey. Verbalizable
Representations Form a Global Workspace in Language Models, July 2026. URL http://arxiv.org/abs/2607.15495. arXiv:2607.15495 [cs.CL] version: 1.
Zhengfu He, Wentao Shu, Xuyang Ge, Lingjie Chen, Junxuan Wang, Yunhua Zhou, Frances Liu, Qipeng Guo, Xuanjing Huang, Zuxuan Wu, Yu-Gang Jiang, and Xipeng Qiu. Llama Scope: Extracting Millions of Features from Llama-3.1-8B with Sparse Autoencoders, October 2024. URL http://arxiv.org/abs/2410.20526. arXiv:2410.20526 [cs.LG].
Claire Hobbs and R. Thomas McCoy. Collocational bootstrapping: A hypothesis about the learning of subject-verb agreement in humans and neural networks. In Claire Bonial and Yevgeni Berzak, editors, Proceedings of the 30th Conference on Computational Natural Language Learning, pages 90–103, San Diego, California, USA, July 2026. Association for Computational Linguistics. ISBN 979-8-89176-410-1. doi: 10.18653/v1/2026.conll-main.7. URL https://aclanthology.org/2026.conll-main.7/.
Tom Lieberum, Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Nicolas Sonnerat, Vikrant Varma, János Kramár, Anca Dragan, Rohin Shah, and Neel Nanda. Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2, August 2024. URL http://arxiv.org/abs/2408.05147. arXiv:2408.05147 [cs.LG].
Samuel Marks, Can Rager, Eric J. Michaud, Yonatan Belinkov, David Bau, and Aaron Mueller. Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models, March 2025. URL http://arxiv.org/abs/2403.19647. arXiv:2403.19647 [cs].
Jerry E. Mellem, Penelope J. Brockie, David M. Madsen, and Andres V. Maricq. Action potentials contribute to neuronal signaling in C. elegans. Nature Neuroscience, 11(8):865–867, August 2008. ISSN 1546-1726. doi: 10.1038/nn.2131. URL https://www.nature.com/articles/nn.2131.
Ananya Palyekar. ByteDance targets mega AI model that could match Mythos scale, FT reports. Reuters, August 2026. URL https://www.reuters.com/technology/bytedance-targets-mega-ai-model-nearing-anthropics-mythos-ft-reports-2026-08-
Judea Pearl. Causality: models, reasoning, and inference. Cambridge University Press, Cambridge, U.K.; New York, 2000. ISBN 978-0-521-89560-6 978-0-521-77362-1.
Neal J. Pearlmutter. Linear versus hierarchical agreement feature processing in comprehension. Journal of Psycholinguistic Research, 29:89–98, 2000. URL https://api.semanticscholar.org/CorpusID:36627294.
Steven T. Plantadosi. Modern language models refute chomsky's approach to language. In Edward Gibson and Moshe Poliak, editors, From fieldwork to linguistic theory: A tribute to Dan Everett (Empirically Oriented Theoretical Morphology and Syntax 15), pages 353–414. Berlin: Language Science Press, 2024. URL https://lingbuzz.net/lingbuzz/007180.
David E. Rumelhart, James L. McClelland, and PDP Research Group. Parallel Distributed Processing: Explorations in the Microstructure of Cognition, volume 1: Foundations. MIT Press, Cambridge, MA, 1986.
Nelson Spruston. Pyramidal neurons: dendritic structure and synaptic integration. Nature Reviews Neuroscience, 9(3):206–221, March 2008. ISSN 1471-0048. doi: 10.1038/nrn2286. URL https://www.nature.com/articles/nrn2286.
Gemma Team, Morgane Riviere, Shreya Pathak, Pier Giuseppe Sessa, Cassidy Hardin, Surya Bhupatiraju, Léonard Hussenot, Thomas Mesnard, Bobak Shahriari, Alexandre Ramé, Johan Ferret, Peter Liu, Pouya Tafti, Abe Friesen, Michelle Casbon, Sabela Ramos, Ravin Kumar, Charline Le Lan, Sammy Jerome, Anton Tsitsulin, Nino Vieillard, Piotr Stanczyk, Sertan Girgin, Nikola Momchev, Matt Hoffman, Shantanu Thakoor, Jean-Bastien Grill, Behnam Neyshabur, Olivier Bachem, Alanna Walton, Aliaksei Severyn, Alicia Parrish, Aliya Ahmad, Allen Hutchison, Alvin Abdagic, Amanda Carl, Amy Shen, Andy Brock, Andy Coenen, Anthony Laforge, Antonia Paterson, Ben Bastian, Bilal Piot, Bo Wu, Brandon Royal, Charlie Chen, Chintu Kumar, Chris Perry, Chris Welty, Christopher A. Choquette-Choo, Danila Sinopalnikov, David Weinberger, Dimple Vijaykumar, Dominika Rogozińska, Dustin Herbison, Elisa Bandy, Emma Wang, Eric Noland, Erica Moreira, Evan Senter, Evgenii Eltyshev, Francesco Visin, Gabriel Rasskin, Gary Wei, Glenn Cameron, Gus Martins, Hadi Hashemi, Hanna Klimczak-Plucinska, Harleen Batra, Harsh Dhand, Ivan Nardini, Jacinda Mein, Jack Zhou, James Svensson, Jeff Stanway, Jetha Chan, Jin Peng Zhou, Joana Carrasqueira, Joana Iljazi, Jocelyn Becker, Joe Fernandez, Joost van Amersfoort, Josh Gordon, Josh Lipschultz, Josh Newlan, Ju-yeong Ji, Kareem Mohamed, Kartikeya Badola, Kat Black, Katie Millican, Keeelin McDonell, Kelvin Nguyen, Kiranbir Sodhia, Kish Greene, Lars Lowe Sjoesund, Lauren Usui, Laurent Sifre, Lena Heuermann, Leticia Lago, Lilly McNealus,
Livio Baldini Soares, Logan Kilpatrick, Lucas Dixon, Luciano Martins, Machel Reid, Manvinder Singh, Mark Iverson, Martin Görner, Mat Velloso, Mateo Wirth, Matt Davidow, Matt Miller, Matthew Rahtz, Matthew Watson, Meg Risdal, Mehran Kazemi, Michael Moynihan, Ming Zhang, Minsuk Kahng, Minwoo Park, Mofi Rahman, Mohit Khatwani, Natalie Dao, Nenshad Bardoliwalla, Nesh Devanathan, Neta Dumai, Nilay Chauhan, Oscar Wahltinez, Pankil Botarda, Parker Barnes, Paul Barham, Paul Michel, Pengchong Jin, Petko Georgiev, Phil Culliton, Pradeep Kuppala, Ramona Comanescu, Ramona Merhej, Reena Jana, Reza Ardeshir Rokni, Rishabh Agarwal, Ryan Mullins, Samaneh Saadat, Sara Mc Carthy, Sarah Cogan, Sarah Perrin, Sébastien M. R. Arnold, Sebastian Krause, Shengyang Dai, Shruti Garg, Shruti Sheth, Sue Ronstrom, Susan Chan, Timothy Jordan, Ting Yu, Tom Eccles, Tom Hennigan, Tomas Kocisky, Tulsee Doshi, Vihan Jain, Vikas Yadav, Vilobh Meshram, Vishal Dharmadhikari, Warren Barkley, Wei Wei, Wenming Ye, Woohyun Han, Woosuk Kwon, Xiang Xu, Zhe Shen, Zhitao Gong, Zichuan Wei, Victor Cotruta, Phoebe Kirk, Anand Rao, Minh Giang, Ludovic Peran, Tris Warkentin, Eli Collins, Joelle Barral, Zoubin Ghahramani, Raia Hadsell, D. Sculley, Jeanine Banks, Anca Dragan, Slav Petrov, Oriol Vinyals, Jeff Dean, Demis Hassabis, Koray Kavukcuoglu, Clement Farabet, Elena Buchatskaya, Sebastian Borgeaud, Noah Fiedel, Armand Joulin, Kathleen Kenealy, Robert Dadashi, and Alek Andreev. Gemma 2: Improving Open Language Models at a Practical Size, October 2024. URL http://arxiv.org/abs/2408.00118. arXiv:2408.00118 [cs.CL].
Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, Brian Chen, Adam Pearce, Craig Citro, Emmanuel Ameisen, Andy Jones, Hoagy Cunningham, Nicholas L. Turner, Callum McDougall, Monte MacDiarmid, Alex Tamkin, Esin Durmus, Tristan Hume, Francesco Mosconi, C. Daniel Freeman, Theodore R. Sumers, Edward Rees, Joshua Batson, Adam Jermyn, Shan Carter, Chris Olah, and Tom Henighan. Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet, May 2026. URL http://arxiv.org/abs/2605.29358. arXiv:2605.29358 [cs.AI].
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need, 2023. URL https://arxiv.org/abs/1706.03762.
William J. Wright, Nathan G. Hedrick, and Takaki Komiyama. Distinct synaptic plasticity rules operate across dendritic compartments in vivo during learning. Science, 388(6744):322–328, April 2025. doi: 10.1126/science.ads4706. URL https://www.science.org/doi/10.1126/science.ads4706.
5. Acknowledgments
The various versions of ChatGPT which were available to users of the $20/month subscription tier 2024-2026 were used to assist in the authoring of code, primarily to assist in creating the figures. LLMs were not used for generating prose.
The code we used for SAE training, analyses, and figure generation is available at https://github.com/solin020/dissertation_sae.
1. Additional Figures
Table A.2 Weights
| Name | Variable | Dimension |
|---|---|---|
| Token vocabulary | V | |
| Embedding matrix | ||
| Unembedding matrix | ||
| Query matrix at attention sublayer in head | ||
| Query bias at “ | ||
| Key matrix at “ | ||
| Key bias at “ | ||
| Value matrix at “ | ||
| Value bias at “ | ||
| LayerNorm scale for attention at “ | ||
| LayerNorm bias for attention at “ | ||
| Attention output matrix at attention sublayer | ||
| Attention output bias at “ | ||
| MLP matrix 1 at sublayer | ||
| MLP bias 1 at “ | ||
| MLP matrix 2 at “ | ||
| MLP bias 2 at “ | ||
| LayerNorm scale for MLP at “ | ||
| LayerNorm bias for MLP at “ | ||
| Corresponding SAE Weights | ||
| SAE Encoder matrix for attention sub-layer output | ||
| SAE Encoder bias for “ | ||
| SAE Decoder matrix for “ | ||
| SAE Decoder bias for “ | ||
| SAE Encoder matrix for MLP sublayer output etc... | ||
| SAE Encoder matrix for query at sub-layer head etc... | ||
| SAE Encoder matrix for key at “ etc... | ||
| SAE Encoder matrix for value at “ etc... | ||
| xth feature vector for SAE for th attention layer etc... | ||
Table A.3 States
| Name | Variable | Dimension |
|---|---|---|
| Prompt Token indices | or | prompt length |
| Initial embeddings for token at index or for token "man" | or | |
| Residual stream for token "man" after layer | or | |
| Normed attention layer input for layer | or | |
| Key for " at attention head of layer | or | |
| Query for " | or | |
| Value for " | or | |
| Output for " | or | |
| Attention sublayer output for token or "man" for layer | or | |
| Attention paid by token to token at head | or | 1 |
| Normed mlp layer input for layer | or | |
| MLP sublayer output for token | or | |
| The final residual stream vector of the last token | or |
Table A.4 Dimensions
| Name | Index Variable | Size variable | Size in Pythia-70m |
|---|---|---|---|
| Vocab size | 50304 | ||
| Hidden size | 512 | ||
| Number of layers | 6 | ||
| Number of attention heads | 8 | ||
| Attention head size | 64 = 512/8 | ||
| MLP Intermediate size | 2048 | ||
| Prompt length | or or "token" | prompt length | |
| Corresponding SAE dimensions | |||
| Feature / hidden size ratio | N/A | 32 | |
| Number of features | 16384 (for sublayer outputs) | ||
| " | 2048 (for attention heads) | ||

Figure A.18 Schematic of Pythia-70m

Figure A.19
The 1st attention sublayer of Pythia-70m