Manuscript Offprint
arXiv:2609.03687A Circuit for Plural Reference: How LLMs Represent and Retrieve Singular and Plural Entities
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Coreference resolution is an important task in contextual reasoning. In this paper, we investigate the mechanism for representing and retrieving singular and plural entities for plural reference. We use a combination of mechanistic interpretability and attention pattern analysis to study the process in which LLMs predict a pronoun to refer back to previously mentioned entities. Using a range of causal intervention techniques, we find a set of attention heads that are responsible for (1) representing coreference information in the input, (2) identifying entities that form a plural reference, (3) transferring the information to the component that is responsible for selecting the antecedents and predicting the pronoun. We also find that LLMs align with humans in preference for plural pronoun. Specifically, entities in a plural construction are more likely to be referred to as a plural entity if they are ontologically similar and are linked by the conjunction and. ¹
1 Introduction
Discovering the underlying mechanism behind Large Language Models (LLMs) has been a topic of much research in the past few years due to high interest in improving their safety and their alignment with human behaviors (Bereska and Gavves, 2024; Ferrando et al., 2024). While LLMs are becoming larger and more capable, much of their inner working remains under the hood. Understanding their working is extremely important in making these systems more controllable and thus increasing their safety and explainability.
In this paper, we focus on studying how LLMs represent plural reference and how they resolve anaphoric reference involving plurals, as in John and Mary came to the shop. They bought some

Figure 1: Summary of our Plural Reference Circuit. We identify Pronoun Interpretation Head, where entities attend to previous mentions (he → John; her → Mary). Plurality Formation Head finds the plural construction that forms a plural entity and attends to them. In contexts where a plural entity is not preferred (Mary and her bike), attention to the plural construction is incomplete. Such representation is then sent to the Pronoun Selection Head, where the LLMs decide which pronoun to predict and attend to the corresponding antecedents.
milk, where they is understood to corefer with John and Mary. In order to resolve plural reference, the LLMs have to identify the set of entities that create a plural entity. In psycholinguistic research, processing plural reference has been shown to be more complicated than singular reference because it requires tracking multiple entities simultaneously and grouping the entities that should be co-referred to by a plural pronoun (Patson, 2014). It has been found that entities which are similar in ontological properties (Koh and Clifton Jr, 2002) or play a similar role (Moxey et al., 2012) are more likely to be referred to with plurals than those which are not.
¹Our code and data will be made available at https://github.com/dangthithaoanh/plural-reference-circuit
On the other hand, entities of the same kind and linked by a conjunction are sometimes referred to using a singular pronoun when they create another object, as in Hook up the engine and the boxcar, and send it to Avon (Cokal et al., 2023).
To study plural pronoun resolution, we use a combination of interpretability techniques, including activation patching, path patching (Vig et al., 2020; Geva et al., 2023; Wang et al., 2022), and attention pattern analysis (Wang et al., 2022; Tigges et al., 2023). We present the flow of information about plural reference across different model components (i.e., embeddings, attention heads) and throughout layers. We first use mechanistic interpretability techniques to find the attention heads that contribute to the LLMs' choice of singular and plural pronouns. We then examine the attention pattern of these components to see what information is used to make the decision. We found a relatively small and dense circuit, consisting of three groups of heads that are responsible for (i) detecting and encoding plurality signal, (ii) routing this information to the last token position, (iii) identifying the antecedents and producing a plural pronoun to refer to them. A summary of the responsible heads and their functions is provided below.
-
Pronoun Selection Heads function at the last token position. They attend to all of the discourse entities to be referenced by the plural/singular pronoun and directly affect the model's decision.
-
Plurality Formation Heads identify the entities that form a plural entity and send information to the Pronoun Selection heads.
-
Pronoun Interpretation Heads act as a representation for coreference information where tokens referring to the same entity attend to each other.
We also derive the following observations about how LLMs encode referential information and use it to refer back to previous entities: (1) LLMs' attention concentrates on the entities that they refer to; (2) In accordance with previous psycholinguistic experiments, there are constraints on whether a set of entities is a good candidate for plural reference for LLMs. Firstly, LLMs prefer entities with similar ontological properties. For example, the conjoined noun phrase John and Mary is more likely to be represented as a plural entity than John and his bike. Secondly, preference for plurality is also affected by the linking conjunction. A plural entity is available if the conjunction is and (John and Mary) and less preferred when with is used (John with Mary).
2.1 Coreference Resolution
Identifying previously mentioned entities and referring to them is crucial in language interpretation (Poesio et al., 2023). There is an extensive body of research on building coreference resolution algorithms (Lee et al., 2017; Yu et al., 2020; Bohnet et al., 2023; Martinelli et al., 2024), benchmarking coreference systems (Pradhan et al., 2011; Luo and Pradhan, 2016; Recasens and Pradhan, 2016), and evaluating the capabilities of LLMs in resolving coreference (Le and Ritter, 2023; Upadhye et al., 2020; Schuster and Linzen, 2022; Lam et al., 2023; Gan et al., 2024). However, most work on evaluating coreference resolution systems is behavioral and mainly focuses on singular reference (Chen and Choi, 2016; Pradhan et al., 2011). Much less is known about how modern language models track plural entities throughout the discourse and retrieve them (Yu et al., 2020; Paun et al., 2023).
In this paper, we track LLMs' decision making process when they have to decide whether to predict a singular or plural pronoun using datasets built on previous psycholinguistic findings on plural reference processing. In the next section, we introduce the structure of plural entities and survey studies on how humans formulate and process plural reference.
2.2 Plural Reference
Plural reference is when a plural noun phrase refers to one or more entities. In the example mentioned above (i.e., John and Mary came to the shop. They bought some milk.), the pronoun they is used because the antecedents John and Mary are in a plural construction, created by linking the two mentions using the conjunction and. This is one way in which a plural entity can be established in discourse. However, the presence of the conjunction and does not always make a plural entity salient, and its absence does not always prevent the plural entity from being created. For example, it is possible to rephrase the above sentence as John came to the store with Mary. They bought some milk while still allowing plural reference (Clifton and Ferreira, 2016). (Cases where antecedents of a plural pronoun are not mentioned together within a conjunction are called split-antecedent plural reference.)
On the other hand, there are also several preferences as to whether the entities within a plural construction can be considered a plural entity. One of those is ontological similarity (Koh and Clifton Jr, 2002). If the entities in the plural construction belong to the same ontological category, they are more likely to be referred to as a plural entity, as found in psycholinguistic experiments. For example, consider the sentence Mary and her dog came to the shop. While the conjunction and is present and the two mentions are perfectly within a plural construction, it is cognitively easier to continue the sentence with She rather than They. The formation of a plural entity is more difficult when the two mentions are not ontologically similar. In this paper, we focus only on plural constructions that are conjoined noun phrases (e.g., John and Mary), where the two antecedents are connected by a conjunction and are in the same noun phrase.
In NLP, not much research has been done on how LLMs process plural reference. With respect to coreference ambiguity, Anh et al. (2025) use behavioral methods to study whether LLMs can recognize that a pronoun is ambiguous, meaning that there are multiple candidate referents. They found that LLMs' responses are very sensitive to prompting approaches when they have to specify a referent for a pronoun or decide whether the pronoun is ambiguous, which suggests potential inconsistency in their internal knowledge and the ability to verbalize it. Liu et al. (2023) also find that LLMs are incapable of capturing the ambiguity of the pronoun. Given the gap in our understanding about whether LLMs actually recognize ambiguity and represent it, a natural next question would be: How do LLMs represent entities that they want to refer to, especially when a plural construction is introduced? We thus study the inner states of LLMs when they have to predict a pronoun to refer to entities in the plural construction using mechanis-
tic interpretability methods, introduced in the next section.
2.3 Mechanistic Interpretability
Mechanistic interpretability (MI) is a very active line of work aiming to rigorously explain the inner workings of LLMs (Olah et al., 2020; Elhage et al., 2021). In high-level terms, it seeks to reverse engineer the computations of language models into human interpretable processes by attributing the prediction of the model to a sparse set of components at different levels of granularity (e.g., layers, attention heads, neurons). Activation patching or causal mediation analysis (Vig et al., 2020; Wang et al., 2022; Geva et al., 2023; Goldowsky-Dill et al., 2023; Meng et al., 2022; Geiger et al., 2021; Mueller et al., 2024) is one of the foundational techniques in MI. It is a method that allows for estimating the effect of a specific component on models' prediction. Given an input sequence, by exchanging the activation of certain tokens that are critical for prediction with a corrupted activation and measuring how much the prediction has changed, activation patching can locate the components that directly or indirectly affect the output. This technique has been used to investigate a range of processes, from low-level behaviors such as factual knowledge retrieval (Meng et al., 2022; Geva et al., 2023), indirect object identification (Wang et al., 2022), entity tracking (Dai et al., 2024, 2026; Prakash et al., 2024), truthfulness representations (Marks and Tegmark, 2023), and the greater-than computation (Hanna et al., 2023) to more complex reasoning processes such as question-answering (Basu et al., 2025; Wiegreffe et al., 2025). MI techniques allow intervention on a wide range of model components. In this paper, we study the activity of attention heads, the component that is found to be responsible for capturing entity relations in previous studies. We briefly explain the attention mechanism in the next section.
2.4 Self-Attention Mechanism
We provide background on the architectural detail of the self-attention mechanism, the component that we exclusively focus on in this paper. We investigate auto-regressive Transformer-based LLMs (Vaswani et al., 2017). Given a sequence of input consisting of tokens , the model builds the representations of each token at each layer : . At layer , the representation is processed by a Multi-head self-attention module (MHSA) and an MLP module. The output resulting from both operations is written in the residual stream (Elhage et al., 2021), which serves as the channel of information flow across the model components.
The MHSA modules weigh the importance of each token to each other. Each head assigns a set of attention weights for each pair of tokens. The output of a head is computed using the Key , Query and Value vectors (Elhage et al., 2021). For a pair of tokens , the attention weight from the current token to a previous token is computed using the QK matrix. The OV matrix at token decides what information of is written to the residual stream. The QK and OV circuits operate independently from each other.
Recent LLMs such as the Qwen3 (Yang et al., 2025) and Llama3.2 (Grattafiori et al., 2024) model families are trained using grouped-query attention (Ainslie et al., 2023). In the original MHSA architecture, every query head has distinct key and value matrices. GQA reduces the computation cost by having multiple query heads share the same key-value head. Since we focus on these model families in our paper, we use GQA in our explanation of the MHSA module.
Let denote the attention head and denote the key-value head. Under GQA, each query head is assigned to a KV head. The projection matrices are defined as follows: and are unique to each query head , while and are shared across all query heads assigned to KV head . The Key , Query , and Value vectors are calculated as follows.
The model calculates the attention weight from the current token to a previous token , denoted by , by passing the dot product of the query at and key vector at through a softmax.
The intermediate output of the query head at , denoted by , is the linear combination of value vectors and the attention pattern across all attended positions:
Through the OV circuit, is projected and written to the residual stream.
The output of the attention module is the sum of across all attention heads.
3 Dataset and Evaluation
3.1 Task Description
We design a pronoun prediction task to trigger LLMs' mechanism for plural reference resolution. Given the sentence prefix When John saw Mary and her sister, he waved at __. The model may produce her to refer to Mary or Mary's sister. Or the pronoun them can be used to refer to the group of Mary and her sister.
3.2 Dataset
We generate two synthetic datasets of sentence prefixes for our experiment. The first dataset includes sentence prefixes that introduce plural entities and expect the LLMs to predict a plural pronoun [1]. The second dataset also introduces a plural construction, but a plural pronoun is dispreferred [2]:
[1] When John saw Mary and her sister, he waved at __.
[2] When John saw Mary and her bike, he waved at __.
For each sentence prefix , there are several discourse entities, namely the subject John (s), Mary ( ), and her sister ( ). The plural construction consists of three elements, which are Mary ( ) and her sister ( ) and is formed by the conjunction and (c). The plural construction can be formalized as a tuple of . Since and form a plural entity, the plural pronoun them ( ) is more likely to be used. However, it should be noted that in this context, a singular pronoun (e.g., her) is also a plausible continuation.
In , we expect LLMs to predict a singular pronoun while retaining the original structure. We replace the second element of the plural construction with an inanimate entity (her bike) while keeping the rest of the sentence prefix unchanged. We carefully select a set of verbs that are not compatible with inanimate entities (e.g., laughed at, nodded at) so that it is semantically infelicitous to produce a plural pronoun. As such, the model is expected to generate a singular reference (), referring only to Mary ().
We generated 300 prefixes for each dataset. All entities are single-token and all prefixes are equal in length. The gender of the entities is always randomized. For example, the subject can be either male or female and and may have the same or different gender. See Table 4 for information on our templates.
3.3 Evaluation
Before finding the mechanism for plural reference resolution, we test how LLMs perform the pronoun prediction task. We are particularly interested in their preference in choosing the pronoun when a plural construction is present, especially with different gender, ontological similarity (Clifton and Ferreira, 2016), and also linking conjunctions (Moxey et al., 2012). We use to indicate the probability difference between the plural and singular pronoun, and introduce three variables:
-
Gender: and can have the same or different gender: (Mary, and, Emma), (Mary, and, John)
-
Ontological Similarity: and antecedents have the same or different ontological properties. We consider here three levels of similarity, based on noun type (proper or common) and animacy (animate or inanimate): (Mary, and, Emma) > (Mary, and, her sister) > (Mary, and, her bike)
-
Conjunction: The conjunction linking and can be and (Mary, and, Emma) or with (Mary, with, Emma). Previous psycholinguistic studies show that the conjunction with decreases the preference for choosing a plural pronoun over a singular one (Moxey et al., 2004, 2012; Albrecht and Clifton, 1998; Sanford and Lockhart, 1990).
Fitting Linear Mixed-Effect Regression models to estimate the effect of these three variables on the probability difference between and (), we replicate the effects of ontological similarity and conjunction that are expected from

Figure 2: Layer-wise direct effect of MHSA modules on
the psycholinguistic literature. The less ontologically similar the two antecedents are, the less likely they are to be referred to as a plural entity. In addition, a plural pronoun is less preferred when the antecedents are linked by with, compared to and. (See Appendix B for detailed results for all investigated models.)
This analysis guided our patching experiment, as we chose the type of plural construction that does not always trigger the formation of plural reference. The motivation behind our choice is the similarity in structure and token length between and . As such, to ensure the validity of the patching results, we extract the prediction for and only retain the prompts where the model predicts the plural pronoun.
4 Experimental Setup
Experiment We use a combination of activation patching and path patching in our experiment. Activation patching intervenes on a component while allowing all downstream components to be affected. It measures the indirect effect of on the output. Path patching involves another step, restoring the activations of all downstream components to their original values (Wang et al., 2022; Goldowsky-Dill et al., 2023; Meng et al., 2022). The goal is to isolate the direct effect of that component. If path patching causes a decrease in , the direct effect can be attributed to that component (Pearl, 2022).
To perform path patching on the component , which can be high-level units such as the residual stream of a specific layer () or lower-level ones such as the value vector of a specific token at a head (), we perform the following steps.
- Original Run Pass to the model and record the original probability of the plural
By definition, with is a preposition, not a conjunction. We chose to use the conjunction-like function of with for the purpose of constructing the counterfactual pairs for the patching experiments



Figure 3: Overview of intervention results and attention pattern visualizations of major heads. (a) Indirect effect of individual head intervention across layers. Brown values denote negative change in . (b) and (c) Attention pattern of Pronoun Selection heads for (brown). (d) and (e) Attention pattern of Pronoun Selection heads (L23H12 and L23H13) for (blue).
pronoun .
• Corrupted Run Run a forward pass through then cache the activations of all token positions at each layer .
• Intervened Run Replace the activation of C at position i with that at the corresponding position of , restore the activations of all upstream components to their clean values to block any indirect propagation of the corrupted signal through the network, run the forward pass through again, and recompute .
By patching, we intentionally replace the attention output of the patched token with that of the corrupted prompt , where the second mention is an entity that is less likely to be referred to together with the first. If there is a set of heads that is responsible for searching for the antecedent to be referenced, intervening on its attention output would lead to a change in prediction. As such, if intervening on a specific head causes to decrease after intervention, it can be causally inferred that it is one of the heads responsible for pronoun resolution.
Constructing Corrupted Prompts Our regression models show that ontological similarity and
conjunction significantly affect the preference to choose a plural pronoun. We treat them as crucial factors that either enhance or corrupt the plurality signal. As such, we use two corrupted prompts, manipulating either or : and .
Intervening Location For each component, we run the intervention at multiple positions, spanning from the last token up to the position of the corrupted token. We find that only the intervention on the last token and corrupted token ( and c) show a considerable effect. As such, all the findings presented in the following sections arise from intervening on these two positions.
Metrics We measure the effect of the intervention by calculating how much changes after the intervention. We define the evaluation metric M as the percentage of probability difference between and . Negative values of M mean that the intervention suppresses the plurality signal and thus decreases .
Models We patch on different sizes of the Qwen3 family (Qwen3-0.6B, Qwen3-1.7B) and GPT2
(GPT2-medium). We present in the main text the circuit of Qwen3-1.7B. Comparable results of other models can be found in Appendix E.
5 The Plural Reference Circuit
In this section, we present our findings of the coreference circuit, including the core components and their functionalities. We first performed path patching on the MHSA module at the layer level to find the layers that directly affect (Figure 2). We then proceed to patch the components comprising them, namely the individual attention heads. We run activation patching on each attention head to estimate their indirect effects on the MHSA module at Layer 23. As we patch at each position, we select the set of heads that cause the largest decrease in probability of the plural pronoun (Figure 3a).
Pronoun Selection Heads identify candidate antecedents Figure 2 shows that the MHSA module at Layer 23 is the only one that directly affects the output. With activation patching, we find that heads 12 and 13 of layer 23 (hereafter L23H12 and L23H13) have the strongest effect on and are both responsible for the prediction process of the pronoun. As the first step toward understanding the function of these heads, we investigate their attention weights. Figure 3b (top, middle) shows the mean attention weight of L23H12 across all prefixes in . It can be seen that the last token () attends the most to the first () and second entity () in the plural condition, which implies that they are considered to be the antecedents of . Notably, we observe that receives more attention than . In (Figure 3d), we observe that the attention weight is given to , which is the antecedent of the singular pronoun.
On the other hand, at L23H13 (Figure 3c), while the attention to both antecedents is still present, we also see a very high attention weight between the conjunction and . These attention patterns at these heads suggest a strong focus on the elements that are crucial for plural reference resolution, namely antecedents and conjunctions.
These attention patterns suggest that L23H12 and L23H13 might be called the Pronoun Selection heads: they identify the antecedents to be referred to by the pronoun. In a correlation experiment (Appendix C), we found that the amount of attention difference between and positively correlates with the probability difference between and , such that the larger the attention on com-
pared to , the larger the difference between and . This type of head is similar to the Name Mover Head found in Wang et al. (2022) and other MI studies (Prakash et al., 2024; Kim et al., 2025; Lieberum et al., 2023), which identifies and encodes the decisive information for prediction.
Plurality Formation Heads send information about the plural entity to Pronoun Selection Heads We just saw how the Pronoun Selection Heads affect the prediction by attending to the discourse entities that are the candidate antecedents of the predicted pronoun. We now ask what makes the model attend more to in . To answer this question, we decompose the effect of the , , and vectors of the Pronoun Selection head. Since the attention weight is computed using the dot product of the vectors and , we first identify which is more crucial for prediction. We run separate interventions on these vectors and measure . For the vector, we patch at the last token position, because here it decides which token it needs to attend to. For the and vectors, we patch at , where information is offered to the query vector. We found that the vector does not affect the prediction, while patching the and vectors causes a strong drop in .
Next, we ask which head affects the Value vector of the Pronoun Selection head. We intervene on the path between the vector of the Pronoun Selection head and other heads. The value vector at () is replaced with from . The output of head after the intervention is updated as follows.
Figure 5 shows that some heads at layers 15, 17, 19, and 21 directly affect the Value vector of at the Pronoun Selection head, which suggests that it reads information from these components. Figure 3 shows that these heads also indirectly affect . We inspect the attention pattern of the attention heads that are associated with these heads to find what information they offer to the vector of . Among these heads, L17H9 has the strongest effect on the Pronoun Selection head. Figure 4 shows the attention pattern of L17H9 for , and . For the sake of comparison, we incorporate the type of conjunction into the datasets, stands for and stands for with.

Figure 4: Attention Pattern of Plurality Formation Head for , , and (a), (b) and (c): Attention pattern of the Plurality Formation head for , , and . (d) Numerical values of attention weights on each token in the plural construction, where and are the two entities, is the conjunction and is the possessive pronoun of

Figure 5: Direct effect of K/V heads on Pronoun Selection head, measured by change in
In the case of , the last token attends to the whole plural construction, with slightly more attention on and (Figure 4a). This behavior is quite different from the attention pattern of the Pronoun Selection head, where the attention weights are only dominant at and the second token of . For (Figure 4b), it only assigns attention weights up to the possessive pronoun of (her). Interestingly, when the conjunction with is present, the attention is only on and . The attention weight amount on is almost negligible (Figure 4c). This result is compatible with our earlier statistical analysis of the conjunction effect, which shows that the LLMs are much more likely to establish a plural entity from a plural construction when the conjunction is and rather than with. Taken together, these patterns suggest that this head is trying to find the set of entities to be referenced by selectively attending to the tokens that

Figure 6: Attention Pattern of Pronoun Interpretation head. (a) attention pattern of L13H6 for , (b) attention pattern of head L13H6 for
fit the constraints for a plural entity. It attends to the whole plural construction when it is a qualified plural entity. We hypothesize that it is responsible for constructing, representing, and writing the information about the plural entity to the Pronoun Selection heads.
In addition, in Figures 4a and 4b, where the conjunction and is used, it attends to , similar to what we observe in one of the Pronoun Selection heads. This behavior is not present when with is used (Figure 4c). In Figure 7, we compare the attention pattern of at the Pronoun Selection head (Figure 7a) and the Plurality Formation head (Figure 7b). We found that while with does not attend to at the Plurality Formation head, it still attends to at the Pronoun Selection head. There is evidence that some attention heads encode grammatical dependencies (Voita et al., 2019; Htut et al., 2019; Clark et al., 2019). Therefore, we speculate that the attention from with to is purely syntactic at the Pronoun Selection head and is not directly related to the process of identifying plural entities.
Pronoun Interpretation Heads encode coreference information of previous tokens Finally, we

Figure 7: Comparing attention pattern of the Pronoun Selection head and the Plurality Formation head. (a) attention pattern of L23H13 for , (b) attention pattern of head L17H9 for
find a head that encodes coreference information. This head affects around 25% of the probability difference. When the token is a pronoun, it attends to the antecedent of the pronoun that was mentioned earlier in the input. In Figure 6a, it can be seen that her attends to Mary and he attends to John. To verify how this head behaves when there is a plural pronoun, we add them to the prompt and inspect the attention pattern (Figure 6b). It can be seen that them attends to the whole plural construction (Mary, and, her sister), with much stronger attention on (sister) and the conjunction and. We hypothesize that while this head may not play a direct role in predicting the pronoun, it functions as a coreference map, where every entity attends to its previous mentions. This head was also discovered in earlier studies on the attention pattern of language models (Clark et al., 2019; Tenney et al., 2019).
Generalization to other models We validate our circuit across other sentence templates and observe the same attention pattern across all heads in the circuit for the variant. We also extract the circuit for other models and find that the circuit generalizes within the Qwen3 family and also to GPT2-medium (Appendix E).
6 Discussion
Our patching experiments reveal a mechanism for performing the plural pronoun prediction task. In the middle layers, the model first builds up the representation for an entity or a group of entities that it needs to refer back to. At the Plurality Formation head, the last token before reference production assigns attention weights spanning the phrase that contains the candidate entities. If the entities align with the model's preference for plural entities (being ontologically related and connected by
a preferred conjunction), they will be attended to. After deciding on the entity or a set of entities to be referenced, the Plurality Formation heads write this information into the residual stream. The Pronoun Selection head receives this information, attends to the known entities, and uses it for making decisions. In addition, the models dedicate a head for encoding coreference information of all mentioned entities.
7 Conclusion
In this paper, we investigate how LLMs represent and use coreference information for pronoun prediction, especially in the case of plural reference. We find the constraints that LLMs use to decide whether to use a singular or a plural pronoun when a plural construction is present. We then use mechanistic interpretability methods, complemented by attention pattern analysis, to extract a circuit that is responsible for identifying the entities to be referred to and propagating such information across components to generate the correct pronoun.
Limitations
Our study only focuses on the most basic and common type of plural reference (conjoined noun phrases) and plural constructions that have two elements. In actual language use, plural reference is often more complex and the antecedents may not be linked by a conjunction (e.g., split-antecedent reference). Psycholinguistic studies have shown that it is possible and preferred to use a singular pronoun to refer to a plural entity when the antecedents create a new and unified object (Cokal et al., 2023). It would be interesting to study the model's circuit behavior in these cases.
In addition, since our goal is to understand the high-level mechanism behind the process of pronoun prediction, we focus more on analyzing the function of each component than extracting a complete circuit for coreference. As such, there is still uncertainty about whether the circuit is fully unique to coreference. We also do not thoroughly investigate the function of MLPs. Although we show that intervening on the MLP module at the late layer strongly affects , we know little about its functionality in the circuit.
8 Ethical Considerations
The study only uses synthetic datasets generated by LLMs. It does not include any personal data from human participants.
9 Statement of AI Usage
During the project, AI was used for coding assistance, dataset generation, and spelling check. Project ideas, experimental setup, interpretation, and writing were done by the authors.
10 Acknowledgments
We would like to thank three anonymous reviewers for their insightful comments and suggestions. This project is funded by the Dutch Research Council (NWO) through the AiNed Fellowship Grant (Dealing with Meaning Variation, NGF.1607.22.002) to Massimo Poesio.
References
Joshua Ainslie, James Lee-Thorp, Michiel De Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. 2023. Gqa: Training generalized multi-query transformer models from multi-head checkpoints. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 4895–4901.
Jason E Albrecht and Charles Clifton. 1998. Accessing singular antecedents in conjoined phrases. Memory & cognition, 26(3):599–610.
Dang Thi Thao Anh, Rick Nouwen, and Massimo Poesio. 2025. Can llms detect ambiguous plural reference? an analysis of split-antecedent and mereological reference. In Proceedings of the 8th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP, pages 263–275.
Samyadeep Basu, Vlad Morariu, Zichao Wang, Ryan Rossi, Cherry Zhao, Soheil Feizi, and Varun Manjunatha. 2025. On mechanistic circuits for extractive question-answering. arXiv preprint arXiv:2502.08059.
Leonard Bereska and Efstratios Gavves. 2024. Mechanistic interpretability for ai safety—a review. arXiv preprint arXiv:2404.14082.
Bernd Bohnet, Chris Alberti, and Michael Collins. 2023. Coreference resolution through a seq2seq transition-based system. Transactions of the Association for Computational Linguistics, 11:212–226.
Yu-Hsin Chen and Jinho D Choi. 2016. Character identification on multiparty conversation: Identifying mentions of characters in tv shows. In Proceedings of the 17th annual meeting of the special interest group on discourse and dialogue, pages 90–100.
Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D Manning. 2019. What does bert look at? an analysis of bert's attention. In Proceedings of the 2019 ACL workshop BlackboxNLP: analyzing and interpreting neural networks for NLP, pages 276–286.
Charles Clifton and Fernanda Ferreira. 2016. Discourse structure and anaphora: Some experimental results. In Attention and performance XII, pages 635–654. Routledge.
Derya Cokal, Ruth Filik, Patrick Sturt, and Massimo Poesio. 2023. Anaphoric reference to mereological entities. Discourse Processes, 60(3):202–223.
Qin Dai, Benjamin Heinzerling, and Kentaro Inui. 2024. Representational analysis of binding in language models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 17468–17493.
Qin Dai, Benjamin Heinzerling, and Kentaro Inui. 2026. Cell-based representation of relational binding in language models. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 47464–47524.
Nelson Elhage, Neel Nanda, Catherine Olsson, Tom Henighan, Nicholas Joseph, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, and 1 others. 2021. A mathematical framework for transformer circuits. Transformer Circuits Thread, 1(1):12.
Javier Ferrando, Gabriele Sarti, Arianna Bisazza, and Marta R Costa-Jussà. 2024. A primer on the inner workings of transformer-based language models. arXiv preprint arXiv:2405.00208.
Yujian Gan, Massimo Poesio, and Juntao Yu. 2024. Assessing the capabilities of large language models in coreference: An evaluation. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 1645–1665, Torino, Italia. ELRA and ICCL.
Atticus Geiger, Hanson Lu, Thomas Icard, and Christopher Potts. 2021. Causal abstractions of neural networks. Advances in neural information processing systems, 34:9574–9586.
Mor Geva, Jasminj Bastings, Katja Filippova, and Amir Globerson. 2023. Dissecting recall of factual associations in auto-regressive language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 12216–12235.
Nicholas Goldowsky-Dill, Chris MacLeod, Lucas Sato, and Aryaman Arora. 2023. Localizing model behavior with path patching. arXiv preprint arXiv:2304.05969.
Aaron Grattaflori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten,
Alex Vaughan, and 1 others. 2024. The llama 3 herd of models. arXiv preprint arXiv:2407.21783.
Michael Hanna, Ollie Liu, and Alexandre Variengien. 2023. How does gpt-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model. Advances in Neural Information Processing Systems, 36:76033–76060.
Phu Mon Htut, Jason Phang, Shikha Bordia, and Samuel R Bowman. 2019. Do attention heads in bert track syntactic dependencies? arXiv preprint arXiv:1911.12246.
Geonhee Kim, Marco Valentino, and André Freitas. 2025. Reasoning circuits in language models: A mechanistic interpretation of syllogistic inference. In Findings of the Association for Computational Linguistics: ACL 2025, pages 10074–10095.
Sungryong Koh and Charles Clifton Jr. 2002. Resolution of the antecedent of a plural pronoun: Ontological categories and predicate symmetry. Journal of Memory and Language, 46(4):830–844.
Suet-Ying Lam, Qingcheng Zeng, Kexun Zhang, Chenyu You, and Rob Voigt. 2023. Large language models are partially primed in pronoun interpretation. In Findings of the Association for Computational Linguistics: ACL 2023, pages 9493–9506.
Nghia T Le and Alan Ritter. 2023. Are large language models robust coreference resolvers? arXiv preprint arXiv:2305.14489.
Kenton Lee, Luheng He, Mike Lewis, and Luke S. Zettlemoyer. 2017. End-to-end neural coreference resolution. In Proc. of EMNLP.
Tom Lieberum, Matthew Rahtz, János Kramár, Neel Nanda, Geoffrey Irving, Rohin Shah, and Vladimir Mikulik. 2023. Does circuit analysis interpretability scale? evidence from multiple choice capabilities in chinchilla. arXiv preprint arXiv:2307.09458.
Alisa Liu, Zhaofeng Wu, Julian Michael, Alane Suhr, Peter West, Alexander Koller, Swabha Swayamdipta, Noah A Smith, and Yejin Choi. 2023. We’re afraid language models aren’t modeling ambiguity. In Proceedings of the 2023 conference on empirical methods in natural language processing, pages 790–807.
Xiaoqiang Luo and Sameer Pradhan. 2016. Evaluation metrics. In Massimo Poesio, Roland Stuckardt, and Yannick Versley, editors, Anaphora Resolution: Algorithms, Resources and Applications, pages 147–170. Springer.
Samuel Marks and Max Tegmark. 2023. The geometry of truth: Emergent linear structure in large language model representations of true/false datasets. arXiv preprint arXiv:2310.06824.
Giuliano Martinelli, Edoardo Barba, and Roberto Navigli. 2024. Maverick: Efficient and accurate coreference resolution defying recent trends. In Proceedings
of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 13380–13394.
Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. 2022. Locating and editing factual associations in gpt. Advances in neural information processing systems, 35:17359–17372.
Linda M Moxey, Anthony J Sanford, Patrick Sturt, and Lorna I Morrow. 2004. Constraints on the formation of plural reference objects: The influence of role, conjunction, and type of description. Journal of Memory and Language, 51(3):346–364.
Linda M Moxey, Anthony J Sanford, and Karen Tonks. 2012. Representing characters in a scenario: What makes two individuals a set? Language and cognitive processes, 27(9):1405–1424.
Aaron Mueller, Jannik Brinkmann, Millicent Li, Samuel Marks, Koyena Pal, Nikhil Prakash, Can Rager, Aruna Sankaranarayanan, Arnab Sen Sharma, Jiuding Sun, and 1 others. 2024. The quest for the right mediator: A history, survey, and theoretical grounding of causal interpretability. arXiv e-prints, pages arXiv–2408.
Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. 2020. Zoom in: An introduction to circuits. Distill, 5(3):e00024–001.
Nikole D Patson. 2014. The processing of plural expressions. Language and Linguistics Compass, 8(8):319–329.
Silviu Paun, Juntao Yu, Nafise Sadat Moosavi, and Massimo Poesio. 2023. Scoring coreference chains with split-antecedent anaphors. Dialogue & Discourse, 14:1–48.
Judea Pearl. 2022. Direct and indirect effects. In Probabilistic and causal inference: the works of Judea Pearl, pages 373–392.
Massimo Poesio, Juntao Yu, Silviu Paun, Abdulrahman Aloraini, Pengcheng Lu, Janosch Haber, and Derya Cokal. 2023. Computational models of anaphora. Annual Review of Linguistics, 9:561–587.
Sameer Pradhan, Lance Ramshaw, Mitch Marcus, Martha Palmer, Ralph Weischedel, and Nianwen Xue. 2011. Conll-2011 shared task: Modeling unrestricted coreference in ontonotes. In Proceedings of the fifteenth conference on computational natural language learning: shared task, pages 1–27.
Nikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov, and David Bau. 2024. Fine-tuning enhances existing mechanisms: A case study on entity tracking. arXiv preprint arXiv:2402.14811.
Marta Recasens and Sameer Pradhan. 2016. Evaluation campaigns. In Massimo Poesio, Roland Stuckardt, and Yannick Versley, editors, Anaphora Resolution:
Algorithms, Resources and Applications, chapter 6, pages 165–208. Springer.
Anthony J Sanford and F Lockhart. 1990. Description types and method of conjoining as factors influencing plural anaphora: A continuation study of focus. Journal of Semantics, 7(4):365–378.
Sebastian Schuster and Tal Linzen. 2022. When a sentence does not introduce a discourse entity, transformer-based models still sometimes refer to it. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 969–982.
Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. Bert rediscovers the classical nlp pipeline. In Proceedings of the 57th annual meeting of the association for computational linguistics, pages 4593–4601.
Curt Tigges, Oskar John Hollinsworth, Atticus Geiger, and Neel Nanda. 2023. Linear representations of sentiment in large language models. arXiv preprint arXiv:2310.15154.
Shiva Upadhye, Leon Bergen, and Andrew Kehler. 2020. Predicting reference: What do language models learn about discourse models? In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 977–982.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. Advances in neural information processing systems, 30.
Jesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian, Daniel Nevo, Yaron Singer, and Stuart Shieber. 2020. Investigating gender bias in language models using causal mediation analysis. Advances in neural information processing systems, 33:12388–12401.
Elena Voita, David Talbot, Fedor Moiseev, Rico Sennrich, and Ivan Titov. 2019. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th annual meeting of the association for computational linguistics, pages 5797–5808.
Kevin Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, and Jacob Steinhardt. 2022. Interpretability in the wild: a circuit for indirect object identification in gpt-2 small. arXiv preprint arXiv:2211.00593.
Sarah Wiegreffe, Oyvind Tafjord, Yonatan Belinkov, Hanna Hajishirzi, and Ashish Sabharwal. 2025. Answer, assemble, ace: Understanding how lms answer multiple choice questions. In International Conference on Learning Representations, volume 2025, pages 78293–78318.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, and 1 others. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388.
Juntao Yu, Nafise Sadat Moosavi, Silviu Paun, and Massimo Poesio. 2020. Free the plural: Unrestricted split-antecedent anaphora resolution. In Proceedings of the 28th International Conference on Computational Linguistics, pages 6113–6125.
A Model Configuration
We find the coreference circuit for a range of model families and sizes. We use two recent and widely-used LLM collections, namely Qwen3 and GPT2. These models are the standard choices for most mechanistic interpretability research (Wang et al., 2022; Meng et al., 2022). Table 1 shows the configurations of the models, including model size, number of layers, number of attention heads, number of key-value heads and the size of hidden activations.
B Statistical Analysis
In this section, we report details about our statistical analysis, which studies the effect of gender, ontological similarity, and conjunction preference for choosing plural pronouns. See Table 3 for details about our dataset. We generate a total of 349 prompts and ensure a balanced distribution between the variables.
We fit Linear Mixed-Effects Regression models with Restricted Maximum Likelihood (REML) with the verbs as random effects. The models are run using the lme4 package in R. Our dependent variable is the probability difference between the plural and singular pronoun.
The independent variables include the following.
-
Gender: same, different
-
Ontological (Ont. Sim.): N + N (proper name + proper name), N + R (proper name + relation), N + O (proper name + object)
-
Conjunction: and, with
The results of the analysis can be found in Table 2.
C Preference for Plural Pronoun is Reflected in Attention Pattern of the Pronoun Selection Head
In the previous section, we show that the Pronoun Selection heads attend to the antecedents for the plural pronoun. To test how the activity of this head differs when the model gives a higher probability to the singular or plural pronoun, we investigate the relationship between the attention weight from the last token to and and the probability assigned to and in and . We hereby refer to the last token position as . Let and
be the attention weight between the last token and the first () and between and the second () antecedent of the plural construction. We define as the difference between the values of these attention weights. If is negative, receives more attention than .
We also define as the probability difference between the plural () and singular () pronoun.
We run Pearson's correlation on and . If the attention weight difference between and is a part of the model's decision on the probability of the singular and plural pronoun (Figure 8), we expect that the larger the difference between and , the larger the difference between and .
We found that there is a possible correlation between and for both L23H12 (, ) and L23H13 (, ). This suggests that when the Pronoun Selection heads attend more strongly to relative to , the model assigns a higher probability to the plural pronoun over the singular. This provides further evidence that the attention pattern of the Pronoun Selection head toward the two entities is a direct reflection of the model's pronoun choice.

(a) L23H12
(b) L23H13
Figure 8: Scatter plots illustrating the relationship between attention weight difference between and and difference between and . Blue dots represent data from and brown dots represent data from .
D Generalization to Other Templates
Table 4 shows the original prompt template and its variant. Figure 9 shows the attention patterns for the variant at all heads in the circuit.
| Model | num_layers | num_key_value_heads | num_attention_heads | hidden_size |
|---|---|---|---|---|
| Qwen3-0.6B | 28 | 8 | 16 | 1024 |
| Qwen3-1.7B | 28 | 8 | 16 | 2048 |
| GPT2-medium | 24 | 16 | 16 | 1024 |
Table 1: Configurations for LLMs in the Qwen3 and GPT2 families
| Predictor | SE | df | t | p | ||
|---|---|---|---|---|---|---|
| Fixed Effects | ||||||
| Intercept | 0.328 | 0.055 | 130.74 | 5.984 | < .001 | *** |
| Gender [same] | 0.092 | 0.052 | 323.11 | 1.751 | .081 | . |
| Conjunction [with] | -0.669 | 0.064 | 322.99 | -10.423 | < .001 | *** |
| Ont. Sim. [N + O] | -0.855 | 0.070 | 324.43 | -12.282 | < .001 | *** |
| Ont. Sim. [N + R] | -0.199 | 0.053 | 325.93 | -3.771 | < .001 | *** |
| Gender [same] × Conjunction [with] | -0.154 | 0.074 | 323.57 | -2.083 | .038 | * |
| Conjunction [with] × Ont. sim. [N + O] | 0.570 | 0.099 | 327.55 | 5.739 | < .001 | *** |
| Conjunction [with] × Ont. sim. [N + R] | 0.081 | 0.075 | 326.21 | 1.086 | .278 | |
| Random Effects | ||||||
| VP2 (Intercept) variance | 0.024 | SD = 0.155 | ||||
| Residual variance | 0.092 | SD = 0.304 | ||||
| Model Fit | ||||||
| Observations | 350 | |||||
| Groups (VP2) | 27 | |||||
| REML criterion | 224.4 | |||||
Note: Reference categories: Gender = different; Conjunction = and;
Ontological similarity =
Table 2: Linear Mixed-Effects Model Predicting Probability Difference (prob_diff)
E Generalization to Other Models
Figures 10 and 11 show the attention patterns for the Plural Reference Circuit of Qwen3-0.6B and GPT2-medium.
| Conjunction | Gender | Ontological Similarity | Prompt |
|---|---|---|---|
| and | same | N + N | When John saw Mary and Emma, he waved at __ |
| N + R | When John saw Mary and her sister, he waved at __ | ||
| different | N + N | When John saw Mary and David, he waved at __ | |
| N + R | When John saw Mary and her brother, he waved at __ | ||
| different | N + O | When John saw Mary and her bike, he waved at __ | |
| with | same | N + N | When John saw Mary with Emma, he waved at __ |
| N + R | When John saw Mary with her sister, he waved at __ | ||
| different | N + N | When John saw Mary with David, he waved at __ | |
| N + R | When John saw Mary with her brother, he waved at __ | ||
| different | N + O | When John saw Mary with her bike, he waved at __ |
Table 3: Summary of the dataset used in the statistical analysis. The table shows examples of the three independent variables: Gender (same, different), Ontological Similarity (N+N (name + name), N+R (name + relation), N+O (name + object)), and Conjunction (and, with)
| ID | Template | Example prompt |
|---|---|---|
| Original | When [S] + [V₁] + [A₁] and [A₂], [S] + [V₂] | When John saw Mary and her sister, he waved at __ |
| Var. 1 | Yesterday, [S] + [V₁] + [A₁] and [A₂] and [V₂] | Yesterday, John saw Mary and her sister and waved at __ |
Table 4: Sentence templates used for generating and , with one example per template.






Figure 9: Attention pattern visualizations of major heads for Qwen3-1.7B (Var. 1). (a) and (b) Attention pattern of Pronoun Selection head for (brown). (c) and (d) Attention pattern of Pronoun Selection heads for (blue). (e) Attention pattern of Plurality Formation head for (brown). (f) Attention pattern of Pronoun Interpretation head for (brown).







Figure 10: Overview of intervention results and attention pattern visualizations of major heads for Qwen3-0. 6B. (a) Indirect effect of individual head intervention across layers. Brown values denote negative change in . (b) and (c) Attention pattern of Pronoun Selection heads for (brown). (d) and (e) Attention pattern of Pronoun Selection heads for (blue). (f) Attention pattern of Plurality Formation head for (brown). (g) Attention pattern of Pronoun Interpretation head for (brown).







Figure 11: Overview of intervention results and attention pattern visualizations of major heads for GPT2-medium. (a) Indirect effect of individual head intervention across layers. Brown values denote negative change in . (b) and (c) Attention pattern of Pronoun Selection heads for (brown). (d) and (e) Attention pattern of Pronoun Selection head for (blue). (f) and (g) Attention pattern of Plurality Formation head for (brown) and (blue).