Preprint
Article

This version is not peer-reviewed.

Look Back, Look Ahead: Coreference Signals in Pretrained Language Model Attention

Submitted:

27 October 2026

Posted:

28 October 2026

You are already at the latest version

Abstract
We investigate whether pairwise attention features improve coreference readout beyond pooled span representations in frozen language models with up to 7B parameters. We train mention-ranking probes on hidden states, attention features, or both. Across 15 decoders from 7 families and 3 encoders, combining the two gives the highest OntoNotes scores with gold mentions; decoder gains over hidden states range from +1.5 to +2.5 CoNLL F1, and most of the gain is lost when attention features are shuffled across pairs. Without target-domain threshold calibration, attention-only probes transfer best to the pronoun benchmarks GAP and WinoBias, although calibration changes their ranking against combined probes. In three models, mean-ablating the heads that the attention probe ranks highest lowers the hidden-state readout even after the probe is retrained, with much smaller effects for heads sampled outside the top 64. A frozen 0.5B model comes within 1.1 F1 of our LoRA baseline. For end-to-end resolution, attention that a span receives from later tokens helps detect mentions belonging to non-singleton coreference chains, raising detection precision at a 90% recall target from 48.1 to 63.5 for Qwen2.5-0.5B. An extension to relation extraction with given entities also benefits from combining the two representations.
Keywords: 
;  ;  ;  ;  

1. Introduction

Coreference resolution decides which mentions refer to the same entity, a prerequisite for merging mentions into a single node when building knowledge graphs. Strong systems fine-tune encoders (Martinelli et al., 2024) or large decoders (Gan et al., 2025). Small decoder-only language models, by contrast, are often deployed as frozen general-purpose backbones whose internals are directly accessible. This raises the question of which representations make coreference most accessible to a lightweight probe on a frozen model: pooled span states, pairwise attention features, or their combination?
Prior work uses attention heads and contextual representations for pronoun resolution and referential probing (Clark et al., 2019; Klein & Nabi, 2019; Sorodoc et al., 2020; Tenney et al., 2019; Tikhonov & Ryabinin, 2021; Vig & Belinkov, 2019; Yordanov et al., 2020). We evaluate this question on document-level benchmarks across model families, using capacity and layer-access controls.
We train mention-ranking probes on hidden states, attention features, or both, and evaluate them with gold and predicted mentions. Our findings are:
  • Combining attention with hidden states gives the best OntoNotes scores in every model we test, and the gain depends on the pair-specific alignment of attention (Section 5).
  • In three models, mean-ablating the 16 heads ranked highest by the attention probe lowers the hidden-state readout even after the probe is retrained, with much smaller effects for 16 heads sampled outside the top 64 (Section 6).
  • Without target-domain calibration, attention-only probes transfer best to pronoun benchmarks; threshold calibration on GAP reduces their advantage over combined probes.
  • Attention that a span receives from later tokens helps detect mentions of non-singleton coreference chains, making end-to-end resolution from frozen features possible (up to 72.5 CoNLL F1 with Llama-3.2-3B).
Combining the two representations also helps relation extraction with given entities (Section 7).

3. Method

Input.

A document is rendered as plain text (detokenized; speaker turns in OntoNotes are prefixed with the speaker name) and tokenized; a sink token (BOS, or EOS if the tokenizer has no BOS) is prepended. Mentions are word spans mapped to token spans. For each mention j we consider the K = 100 preceding mentions as candidate antecedents, which covers 99.75% of nearest gold antecedents on OntoNotes dev. Documents longer than the context window are processed in half-overlapping windows; each mention and its pairs are read in the earliest window that contains the mention, and pairs whose antecedent lies partly outside that window receive a flag feature. For given mentions, all features of a window come from one forward pass with per-layer hooks that pool attention maps immediately, so no full attention tensor is stored.

Hidden-state features (H).

From the residual stream after eight evenly spaced layers we take, for every mention, the mean over its tokens and its last token. Features are standardized per layer and combined by a learned scalar mix.

Attention features (A).

Let α s , t ℓ , h be the attention of query token s to key token t in layer ℓ, head h (softmax in fp32, eager implementation). For a pair (antecedent i, anaphor j) with token sets T i , T j we compute, for every layer and head,
a ℓ h max = max s ∈ T j max t ∈ T i α s , t ℓ , h , a ℓ h mean = 1 | T j | | T i | ∑ s ∈ T j ∑ t ∈ T i α s , t ℓ , h , v ℓ h max = max s ∈ T j max t ∈ T i α s , t ℓ , h ∥ W O h v t h ∥ ,
where W O h v t h is the contribution of token t through head h to the residual stream (Kobayashi et al., 2020); for grouped-query attention, v h is the value of the key-value group of query head h. For spans longer than 64 tokens, T contains the first and last 32 tokens. This gives 3 L H features per pair (e.g., 1,008 for Qwen2.5-0.5B), which are log-transformed and standardized. Because the anaphor follows its antecedent, these features are available in causal models without modification.

Probes.

We use mention ranking: for anaphor j, a score s ( i , j ) is computed for each candidate i and for a dummy antecedent with score 0; training maximizes the marginal likelihood of gold antecedents. All probes include distance features (mention, token, and sentence distance buckets; nesting flags) through a linear term.
  • H: an MLP over [ u i , u j , u i ⊙ u j ] and the distance features, with u = P g a 256-dimensional projection of the mixed span representation g.
  • A: the attention features are projected to 256 dimensions through a nonlinear layer before the scoring MLP.
  • HA: one MLP over the hidden-state and projected attention features.
Linear variants (A_lin: a linear score on attention features; H_bil: a low-rank bilinear score; HA_lin: their sum) appear in the analyses. Clusters are decoded greedily by linking every mention to its best-scoring antecedent if that score exceeds the dummy.

Capacity controls.

We train (i) HA and A probes whose attention features are permuted across pairs within each minibatch, while hidden-state and distance features stay aligned, (ii) an H probe with rank 512 and hidden size 1024 instead of 256 and 512, and (iii) a layer-matched variant in which H and A read the same eight layers or all layers.

End-to-end: mention detection with received attention.

OntoNotes annotates only mentions that belong to non-singleton coreference chains. Whether a span belongs to such a chain can depend on text that follows it, which hidden states computed at the span itself cannot reflect in a causal model; the attention that later tokens pay to the span can. Received-attention features have previously been used for hallucinated-span detection (Ogasa & Arase, 2025). For every token s we pool, per layer and head, the attention it receives from tokens at least 16 positions later (maximum and mean) and from the 15 following tokens (maximum):
r ℓ h far , max ( s ) = max t ≥ s + 16 α t , s ℓ , h , r ℓ h far , mean ( s ) = mean t ≥ s + 16 α t , s ℓ , h , r ℓ h near , max ( s ) = max s < t < s + 16 α t , s ℓ , h .
A candidate span (up to 30 words within a sentence) is represented by these features of its first and last token and their mean over the span (log-transformed and standardized), by the same three statistics of hidden states from layers L / 2 , 3 L / 4 and L, and by a width embedding; an MLP scorer is trained with binary cross-entropy on gold mentions. We compare detectors using hidden states only (H), received attention only (A), or both (HA), and choose the decision threshold on dev for a target recall. Because spurious mentions lower the precision of the whole resolver (Zhu et al., 2024), the coreference probe is trained and evaluated on predicted mentions: the detector logits of both mentions enter the pair features, and spurious mentions are trained to select the dummy antecedent. Detection and pair extraction are separate forward passes.

4. Experimental Setup

Data.

OntoNotes 5.0 / CoNLL-2012 English (Pradhan et al., 2012) (2,802/343/348 documents) is the main benchmark. For transfer we evaluate OntoNotes-trained probes on LitBank (Bamman et al., 2020) (split 0), PreCo (H. Chen et al., 2018) (official dev as test), English GUM from CorefUD 1.4 (Nedoluzhko et al., 2022; Novák et al., 2026), GAP (Webster et al., 2018) and WinoBias (Zhao et al., 2018). Probes are additionally trained in domain on LitBank, GUM and Polish PCC (CorefUD); since the public CorefUD release has no test sets, we use the official dev sets as test and hold out 10% of train for development.

Evaluation.

We report the CoNLL F1 (average of MUC, B3 and CEAFe) computed with coval; we verified that gold clusters score 100, that our pipeline reproduces the official scorer on the original OntoNotes files, and that it reproduces Maverick’s published OntoNotes result. Singletons are excluded for OntoNotes and CorefUD and included for LitBank, PreCo, GAP and WinoBias. GAP is evaluated with its F1 over pronoun–name decisions and the female/male F1 ratio; WinoBias with the accuracy of linking the pronoun to the correct occupation on the pro- and anti-stereotypical test sets. Unless stated otherwise, results use gold mentions and are the mean over three probe seeds; learning rate and epoch are selected on dev (Appendix A); control, layer-control and component probes reuse the learning rate selected for the corresponding main probe. For OntoNotes we report paired bootstrap confidence intervals over documents (1,000 resamples).

Models.

The main gold-mention comparison covers 15 decoder models from the SmolLM2, Qwen2.5, Qwen3, Llama, Gemma-3, OLMo-2 and Pythia families (160M–7B parameters) and 3 encoders with the same probes; decoders read documents in windows of 4,096 tokens (2,048 for Pythia, its context length) and encoders in windows of 512 tokens; the models used for mention detection, end-to-end resolution and relation extraction are listed in the corresponding tables. Encoders and Pythia run in float32 and the other decoders in bfloat16; for Pythia-160M, bfloat16 with eager attention raises the mean negative log-likelihood of 3 OntoNotes dev documents from 3.59 to 4.46 nats per token. Each mention detector is trained once (seed 0); end-to-end linkers use three seeds.

Baselines.

(i) Maverick (Martinelli et al., 2024) with the official OntoNotes checkpoint, evaluated by us with gold and predicted mentions, and (ii) LoRA fine-tuning (Hu et al., 2022) ( r = 16 on the attention projections) of the same model with a jointly trained mention-ranking head of the H type; unlike the frozen probes, it reads the final layer only and truncates documents to 4,096 tokens instead of using windows.

Implementation.

All experiments run on NVIDIA RTX 3090 GPUs (24GB); coreference feature extraction and probes use PyTorch 2.6.0 and Transformers 5.19.0 with eager attention, as recorded for every probe run, and the Maverick baseline runs in its own environment. We validated the feature extractor against attention maps and value projections computed without hooks (maximum relative error 4.8 · 10 − 4 for the attention features).

5. Results

Combining attention with hidden states is best in every model.

Table 1 reports OntoNotes test results with gold mentions. HA is the best configuration for all 15 decoders and all 3 encoders; for decoders it improves over H by +1.5 to +2.5 CoNLL F1, and the paired bootstrap confidence intervals of HA−H are positive for all 18 models (lowest lower bound 0.8). A alone is weaker than H in domain. On Qwen2.5-0.5B and 1.5B, frozen HA probes score 87.8 and 88.8 F1, compared with 88.9 and 90.7 for our LoRA baselines, respectively. These are gold-mention scores; Maverick reaches 94.2 in the same setting.

Pair-specific attention accounts for most of the gain.

Most of the improvement is lost when attention features are shuffled across pairs (Table 2): shuffled HA retains a median of 3% of the HA−H gain, with the largest share for OLMo-2-1B (36%). Shuffled A falls to 28.3–36.4 F1, below a probe using distance features only (44.1 for Qwen2.5-0.5B), and increasing the dimensions of the hidden-state probe does not match HA.

The gain holds with matched layer access.

The main H probe reads eight layers, while A uses all layers. We therefore re-extract OntoNotes with hidden states from all layers and give H and A access to either the same eight layers or all layers (Table 3). Reading all layers changes H by -0.1 to 0.7 F1, while HA−H remains 0.2 to 2.2 with eight layers and 0.8 to 2.6 with all layers across 18 models.

Attention-only probes transfer well without target-domain calibration.

Table 4 summarizes the transfer of OntoNotes-trained probes (full results in Appendix B). With the threshold of standard decoding, the A probe outperforms H on GAP for 18/18 models and on WinoBias for 17/18, and it also outperforms HA on GAP (18/18) and WinoBias (16/18). When the GAP decision threshold is calibrated on GAP dev, A remains better than H (16/16 models with calibration) but better than HA only for 7/16. The uncalibrated scores thus suggest greater sensitivity to domain shift when hidden-state features are included, part of which is a shift of the score scale. On the full-document transfer benchmarks LitBank, PreCo and GUM, HA has the highest mean score across models; OLMo-2-1B is the only model for which A is worse than H on WinoBias.

Larger gains on literary and multi-genre data.

Trained in domain on the smaller LitBank, GUM and Polish PCC datasets (Table 5), HA−H ranges from 1.9 to 4.1 F1 on LitBank, 2.2 to 7.1 on GUM and -0.2 to 4.1 on PCC; the gains on LitBank and GUM exceed those on OntoNotes in all available model–dataset comparisons.

End-to-end resolution with received attention.

At the threshold selected on dev for a 90% recall target, the Qwen2.5-0.5B detector reaches a test precision of 48.1 with hidden states and 63.5 with hidden states and received attention, at test recalls of 90.4 and 90.8 (Table 6); received attention alone (57.5) is also more precise than hidden states, with the same pattern for the other models. These results show that received-attention features help identify membership in non-singleton coreference chains. With mentions from the HA detector, end-to-end CoNLL F1 ranges from 69.9 for Qwen2.5-0.5B to 72.5 for Llama-3.2-3B (Table 7), and combining attention with hidden states again gives the best linker for all 4 models; fine-tuned Maverick reaches 83.6. Under identical settings for Qwen2.5-0.5B (recall target 93%, 100 candidate antecedents), we separate the two uses of attention: with the hidden-state detector, the H and HA linkers reach 64.4 and 65.3; with the received-attention detector, 68.7 and 69.9. Most of the end-to-end gain thus comes from mention detection, and the linker adds a smaller, consistent improvement.

6. Reading Coreference from Heads and Layers

A few heads recover most of the attention signal.

We rank heads by the group norm of their weights in the linear attention probe (trained on train, selected on dev) and retrain probes on the top-k heads only (Figure 1). A handful of heads recovers most of the performance of all heads, and performance grows roughly log-linearly in k, in line with earlier findings that a small set of heads carries pronoun-resolution signal (Tikhonov & Ryabinin, 2021). The ranking locates signal accessible to the probe; the ablation below tests its contribution to hidden-state readout and pronoun prediction.

Ablating the top-ranked heads.

We mean-ablate heads (Wang et al., 2023): the input of the output projection for a head is replaced by its mean over 50 OntoNotes training documents. We compare the 16 heads ranked highest by the linear attention probe with 16 random heads sampled outside the top 64 for 3 models (Table 8). Probes trained on the intact model lose 2.5 to 13.7 F1 with hidden states when the top heads are ablated, and at most 0.4 with random heads. A frozen probe may fail only because its input distribution shifts, so we also retrain the H and HA probes on the ablated models. After mean-ablating the selected heads, retrained H probes remain 1.8 to 6.4 F1 below their intact-model baselines, while the sampled control heads change them by at most 0.3 F1. This shows that the intervention reduces coreference accessibility under the tested readout. The ablation also raises the model’s loss on anaphoric pronouns, but its specificity differs across models: for Qwen2.5-1.5B the increase is concentrated on pronouns (+0.94 nats, against +0.11 on other tokens), for SmolLM2-360M it is partly specific (+0.45 against +0.31), and for Qwen3-1.7B the same heads matter for language modeling in general (+2.00 against +2.30). The attention-only probe falls further partly by construction, because the features of the ablated heads are set to their mean. The retraining control uses one random draw per model, and three models do not show how the effect varies with family and size.

Intermediate layers.

Probes restricted to a single layer (Figure 2) give the strongest readouts in intermediate layers for both attention and hidden states in the tested configurations; the final layers yield weaker coreference readouts under these probes.

Feature components.

The effect of value-weighted attention is model dependent: adding it to the max- and mean-pooled weights lowers the mean score of the A probe for 13 of 18 models and improves it for Qwen2.5-0.5B, Qwen2.5-3B, Llama-3.2-3B, Gemma-3-1B and RoBERTa-large. We keep the predefined three-statistic feature set for all models rather than selecting it after evaluation; the component probes reuse the learning rate selected for the full A probe.

7. Extension: Relation Extraction with Given Entities

For an entity pair ( h , t ) with given mentions, we max-pool the attention features of all their mention pairs separately for the two directions (a mention of h after vs. before a mention of t), add presence flags, and represent each entity by the mean hidden state of its mentions. Probes are trained with adaptive thresholding (Zhou et al., 2021), which includes a no-relation decision, and evaluated with micro F1 on CoNLL04 (Roth & Yih, 2004) and Re-DocRED (Tan et al., 2022). As in earlier attention readouts with a query placed after the context (S. Chen et al., 2025), we also append the query “Relation between [h] and [t]:” after the document, reusing its key-value cache, and read at the last query token the per-head attention mass on the tokens of h and t, its value-weighted variant and the hidden state (S features; HAS combines them with HA).
Combining the representations again gives the best scores (Table 9): HA improves over H by +3.5 to +6.1 F1 on CoNLL04 and by +1.2 to +2.9 on Re-DocRED. On Re-DocRED, hidden states are the stronger single source, while combining them with attention yields the highest scores; the suffix query improves over HA in all 7 available comparisons.

8. Conclusions

In frozen language models with up to 7B parameters, pairwise attention features consistently improve a pooled-span coreference readout, and the improvement depends on the pair-specific alignment of attention. In the three tested models, heads selected by the attention probe contribute to representations useful for coreference readout, with much smaller effects for the sampled control heads. Attention-only probes transfer well without target-domain calibration, and attention received from later tokens gives a mention detector access to right-context evidence about membership in coreference chains.

9. Limitations

Our probes measure coreference accessibility under the tested readouts. The ablations establish effects on these readouts in three models, using one random control set per model for retraining. They do not identify a complete coreference mechanism or characterize all information in the residual stream. The gold-mention comparison covers decoders from 160M to 7B parameters; we do not test larger models. End-to-end results use one detector per model and remain well below fine-tuned systems; the detector results do not establish which later tokens supply the relevant signal. Polish results exclude zero mentions (dropped subjects) and use exact span matching, so they are not comparable to CRAC shared-task scores; CorefUD test sets are not public, so we report results on the official dev sets. All models see the same prompt-free rendering of the input, and speaker formatting may affect conversational genres. OntoNotes is distributed by the LDC under a license; we use the CoNLL-2012 release for research only.

Acknowledgments

This manuscript acknowledges the use of Claude Opus 5.5 (Anthropic, 2026), developed by Anthropic, and of GPT-6.1 Sol (OpenAI, 2026), developed by OpenAI, to improve language clarity, refine sentence structure, and enhance overall writing precision. The study design, experiments, analysis, results, and conclusions remain the sole responsibility of the authors.

Appendix A. Implementation Details

Table A1. Training hyperparameters.
Table A1. Training hyperparameters.
Coreference probes AdamW, lr ∈ { 10 − 3 , 3 · 10 − 4 } (dev), weight decay 10 − 4
up to 15 epochs, early stopping (patience 3), 8 documents per batch
projection rank 256, MLP hidden size 512, dropout 0.2; seeds 0, 1, 2
K = 100 candidates; H: 8 evenly spaced layers, scalar mix
Mention detector 3 layers ( L / 2 , 3 L / 4 , L), spans up to 30 words, MLP hidden 512
AdamW lr 10 − 3 , 8 epochs, BCE with positive weight 3, seed 0
LoRA baseline r = 16 on q , k , v , o , lr 2 · 10 − 4 (head 10 − 3 ), 4 epochs,
gradient accumulation over 4 documents, documents truncated to 4,096 tokens
Relation probes ATLOP loss, lr ∈ { 10 − 3 , 3 · 10 − 4 } ; CoNLL04: 30 epochs, batch 16;
Re-DocRED: 20 epochs, batch 4; early stopping (patience 5); seeds 0, 1, 2

Checkpoints.

The main comparison uses the Hugging Face checkpoints HuggingFaceTB/SmolLM2-360M, Qwen/Qwen2.5-0.5B, Qwen/Qwen2.5-1.5B, Qwen/Qwen2.5-3B, Qwen/Qwen2.5-7B, Qwen/Qwen3-0.6B-Base, Qwen/Qwen3-1.7B-Base, meta-llama/Llama-3.2-1B, meta-llama/Llama-3.2-3B, google/gemma-3-1b-pt, allenai/OLMo-2-0425-1B, EleutherAI/pythia-160m, EleutherAI/pythia-410m, EleutherAI/pythia-1b, EleutherAI/pythia-2.8b, FacebookAI/roberta-large, microsoft/deberta-v3-large, answerdotai/ModernBERT-large (main branch, downloaded in October 2026; revisions were not pinned).
Hidden states are standardized per layer and dimension with statistics from a training sample before the scalar mix; the mixed vector is not normalized again.

Appendix B. Full Transfer Results

Table A2. Out-of-domain transfer of probes trained on OntoNotes (gold mentions; mean over 3 seeds). LitBank, PreCo, GUM: CoNLL F1; GAP: F1 over pronoun–name decisions; WinoBias: mean accuracy over pro- and anti-stereotypical test sets.
Table A2. Out-of-domain transfer of probes trained on OntoNotes (gold mentions; mean over 3 seeds). LitBank, PreCo, GUM: CoNLL F1; GAP: F1 over pronoun–name decisions; WinoBias: mean accuracy over pro- and anti-stereotypical test sets.
Model LitBank PreCo GUM GAP (F1) WinoBias (acc.)
H A HA H A HA H A HA H A HA H A HA
SmolLM2-360M 77.0 78.5 79.7 76.1 79.1 78.5 60.5 62.1 63.1 67.4 74.0 72.6 62.2 68.7 66.3
Qwen2.5-0.5B 75.2 78.1 78.5 74.5 76.4 78.5 58.8 59.7 62.3 68.5 74.2 69.9 55.7 71.5 61.6
Qwen2.5-1.5B 77.8 77.6 80.3 76.3 76.6 78.7 60.1 60.4 63.6 69.6 78.9 72.1 64.0 69.8 65.4
Qwen2.5-3B 78.8 79.0 80.8 75.7 78.4 79.3 61.1 62.9 63.8 68.7 73.5 69.0 63.7 74.3 71.2
Qwen2.5-7B 78.5 78.7 81.6 76.5 77.1 79.0 60.2 62.1 63.9 71.7 79.0 75.2 66.4 73.3 69.9
Qwen3-0.6B 76.3 79.7 78.6 76.7 78.3 78.9 60.3 63.0 62.7 69.4 74.2 71.7 58.5 70.5 67.2
Qwen3-1.7B 78.0 78.7 80.9 75.8 79.5 80.8 59.7 63.0 64.0 70.1 76.3 72.3 66.5 71.6 70.2
Llama-3.2-1B 78.3 78.7 79.4 76.4 76.7 78.6 61.8 61.7 63.2 71.0 74.7 72.2 63.1 70.1 63.5
Llama-3.2-3B 78.2 81.2 81.9 75.4 77.4 79.5 60.8 63.2 64.8 73.6 79.9 74.8 60.8 70.6 67.4
Gemma-3-1B 74.3 76.3 76.8 73.7 74.2 77.9 58.2 58.0 61.5 70.1 75.5 72.2 60.1 70.5 65.9
OLMo-2-1B 77.8 78.4 79.1 74.3 76.7 75.4 60.8 62.2 63.0 69.3 74.5 70.6 68.2 56.8 62.1
Pythia-160M 72.0 73.4 74.6 73.8 72.9 76.0 57.1 55.9 59.7 64.6 65.8 65.8 49.7 54.9 57.4
Pythia-410M 74.7 76.3 77.9 73.7 77.2 78.3 57.9 60.6 62.5 68.6 74.2 69.4 60.5 68.6 64.2
Pythia-1B 76.6 76.8 77.7 75.2 76.3 78.0 59.1 60.5 62.8 68.1 74.0 68.5 54.9 65.0 55.6
Pythia-2.8B 78.8 79.7 81.9 75.3 77.5 79.7 60.5 62.4 64.4 74.0 77.8 73.1 64.1 71.3 69.1
RoBERTa-large 79.0 79.5 79.8 75.4 79.0 77.0 61.7 64.2 64.3 75.7 84.2 77.1 83.9 85.4 84.5
DeBERTa-v3-large 78.8 80.6 80.3 74.7 77.8 77.3 61.3 64.7 64.3 74.0 79.5 75.3 85.6 89.9 89.6
ModernBERT-large 73.0 72.7 74.5 74.3 73.5 76.5 58.9 59.1 62.4 67.3 73.0 69.1 63.1 75.3 71.2
Table A3. Gender parity of OntoNotes-trained probes: GAP F1 ratio female/male (1 indicates equal F1 for the two groups) and WinoBias accuracy on pro- and anti-stereotypical sets with their absolute difference (smaller gaps indicate greater parity under this evaluation).
Table A3. Gender parity of OntoNotes-trained probes: GAP F1 ratio female/male (1 indicates equal F1 for the two groups) and WinoBias accuracy on pro- and anti-stereotypical sets with their absolute difference (smaller gaps indicate greater parity under this evaluation).
Model GAP F/M WinoBias: pro / anti / pro−anti
H A HA H A HA
SmolLM2-360M 0.93 0.93 0.94 81.0 43.5 37.5 86.2 51.2 35.0 84.0 48.7 35.3
Qwen2.5-0.5B 0.93 0.96 0.95 73.7 37.8 35.9 84.3 58.7 25.5 76.0 47.2 28.8
Qwen2.5-1.5B 0.92 0.96 0.94 87.2 40.8 46.5 89.0 50.5 38.4 87.3 43.4 43.9
Qwen2.5-3B 0.94 0.92 0.94 79.6 47.9 31.7 77.2 71.5 5.7 80.2 62.2 18.0
Qwen2.5-7B 0.94 0.96 0.96 85.0 47.9 37.2 88.5 58.1 30.4 86.2 53.7 32.5
Qwen3-0.6B 0.92 0.95 0.93 79.4 37.7 41.7 85.9 55.1 30.9 85.2 49.2 35.9
Qwen3-1.7B 0.92 0.95 0.94 83.0 50.0 33.0 85.2 58.0 27.3 83.7 56.8 26.9
Llama-3.2-1B 0.94 0.93 0.95 87.1 39.1 48.0 89.7 50.4 39.3 80.3 46.7 33.5
Llama-3.2-3B 0.92 0.96 0.92 86.0 35.5 50.5 90.3 50.8 39.5 86.3 48.5 37.8
Gemma-3-1B 0.94 0.96 0.95 89.6 30.6 59.0 89.9 51.1 38.8 90.0 41.8 48.2
OLMo-2-1B 0.94 0.96 0.94 87.7 48.8 38.9 75.5 38.1 37.4 77.8 46.4 31.4
Pythia-160M 0.95 0.97 0.95 63.5 35.9 27.6 69.8 40.1 29.8 70.8 44.0 26.8
Pythia-410M 0.93 0.94 0.94 81.6 39.4 42.2 85.1 52.0 33.1 84.4 44.0 40.4
Pythia-1B 0.95 0.95 0.95 78.4 31.5 46.9 87.4 42.6 44.8 79.2 32.1 47.1
Pythia-2.8B 0.95 0.97 0.96 85.4 42.8 42.6 90.0 52.6 37.4 88.6 49.7 38.9
RoBERTa-large 0.96 0.95 0.96 92.6 75.1 17.5 92.4 78.4 14.0 91.6 77.5 14.1
DeBERTa-v3-large 0.93 0.93 0.91 95.0 76.3 18.8 96.2 83.6 12.6 95.3 83.8 11.5
ModernBERT-large 0.94 0.95 0.94 76.1 50.0 26.1 83.4 67.3 16.2 82.5 60.0 22.5

References

  1. Anthropic. 2026. System Card: Claude Opus 5.5. Available online: https://www.anthropic.com/claude-opus-5-5-system-card.
  2. Bamman, D., O. Lewke, and A. Mansoor. 2020. An Annotated Dataset of Coreference in English Literature. Proceedings of the 12th language resources and evaluation conference. [Google Scholar]
  3. Chen, H., Z. Fan, H. Lu, A. Yuille, and S. Rong. 2018. PreCo: A Large-scale Dataset in Preschool Vocabulary for Coreference Resolution. Proceedings of the 2018 conference on empirical methods in natural language processing. [Google Scholar]
  4. Chen, S., B. Jiménez Gutiérrez, and Y. Su. 2025. Attention in Large Language Models Yields Efficient Zero-Shot Re-Rankers. The thirteenth international conference on learning representations; Available online: https://arxiv.org/abs/2410.02642.
  5. Chizhikova, A., S. Murzakhmetov, O. Serikov, T. Shavrina, and M. Burtsev. 2022. Attention Understands Semantic Relations. In Proceedings of the thirteenth language resources and evaluation conference. Edited by N. Calzolari. European Language Resources Association, June, pp. 4040–4050. Available online: https://aclanthology.org/2022.lrec-1.430/.
  6. Chuang, Y.-S., L. Qiu, C.-Y. Hsieh, R. Krishna, Y. Kim, and J. R. Glass. 2024. Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps. In Proceedings of the 2024 conference on empirical methods in natural language processing. Edited by Y. Al-Onaizan, M. Bansal and Y.-N. Chen. Association for Computational Linguistics, November, pp. 1419–1436. Available online: https://aclanthology.org/2024.emnlp-main.84/. [CrossRef]
  7. Clark, K., U. Khandelwal, O. Levy, and C. 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. Edited by T. Linzen, G. Chrupała, Y. Belinkov and D. Hupkes. Association for Computational Linguistics, August, pp. 276–286. Available online: https://aclanthology.org/W19-4828/. [CrossRef]
  8. Dang, A., R. Nouwen, and M. Poesio. 2026. A circuit for plural reference: How LLMs represent and retrieve singular and plural entities. Available online: https://arxiv.org/abs/2609.03687v1.
  9. Eichin, F., Y. J. Liu, B. Plank, and M. A. Hedderich. 2025. Probing LLMs for Multilingual Discourse Generalization Through a Unified Label Set. In Proceedings of the 63rd annual meeting of the Association for Computational Linguistics. Edited by W. Che, J. Nabende, E. Shutova and M. T. Pilehvar. Association for Computational Linguistics, July, volume 1, pp. 18665–18684. Available online: https://aclanthology.org/2025.acl-long.915/. [CrossRef]
  10. Gan, Y., Y. Liang, J. Xie, Y. Lin, J. Yu, and M. Poesio. 2025. Low-Hallucination and Efficient Coreference Resolution with LLMs. In Findings of the Association for Computational Linguistics: EMNLP 2025. Edited by C. Christodoulopoulos, T. Chakraborty, C. Rose and V. Peng. Association for Computational Linguistics, November, pp. 17243–17256. Available online: https://aclanthology.org/2025.findings-emnlp.934/. [CrossRef]
  11. Hu, E. J., Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen. 2022. LoRA: Low-Rank Adaptation of Large Language Models. International conference on learning representations. [Google Scholar]
  12. Kantor, B., and A. Globerson. 2019. Coreference Resolution with Entity Equalization. In Proceedings of the 57th annual meeting of the Association for Computational Linguistics. Edited by A. Korhonen, D. Traum and L. Màrquez. Association for Computational Linguistics, July, pp. 673–677. Available online: https://aclanthology.org/P19-1066/. [CrossRef]
  13. Klein, T., and M. Nabi. 2019. Attention Is (not) All You Need for Commonsense Reasoning. In Proceedings of the 57th annual meeting of the Association for Computational Linguistics. Edited by A. Korhonen, D. Traum and L. Màrquez. Association for Computational Linguistics, July, pp. 4831–4836. Available online: https://aclanthology.org/P19-1477/. [CrossRef]
  14. Kobayashi, G., T. Kuribayashi, S. Yokoi, and K. Inui. 2020. Attention is Not Only a Weight: Analyzing Transformers with Vector Norms. Proceedings of the 2020 conference on empirical methods in natural language processing. [Google Scholar]
  15. Kumar, V., and J. Callan. 2019. A Step towards Context Identification for Conversational Search. Proceedings of the twenty-eighth text retrieval conference, TREC 2019; National Institute of Standards and Technology (NIST), Vol. 1250. Available online: https://trec.nist.gov/pubs/trec28/papers/CMU.C.pdf. [CrossRef]
  16. Lee, K., L. He, M. Lewis, and L. Zettlemoyer. 2017. End-to-end Neural Coreference Resolution. Proceedings of the 2017 conference on empirical methods in natural language processing. [Google Scholar]
  17. Li, M., and N. Subramani. 2025. Echoes of BERT: Do modern language models rediscover the classical NLP pipeline? Available online: https://arxiv.org/abs/2506.02132v4 (accessed on 15 October 2025).
  18. Liu, Y., Y. Tang, and A. K. H. Tung. 2026. Locating answer-correctness signals in frozen large language models. Available online: https://arxiv.org/abs/2609.37700v1.
  19. Martinelli, G., E. Barba, and R. Navigli. 2024. Maverick: Efficient and Accurate Coreference Resolution Defying Recent Trends. Proceedings of the 62nd annual meeting of the association for computational linguistics. [Google Scholar]
  20. Morand, V., N. Tomeh, J. Mothe, and B. Piwowarski. 2026. ToMMeR - Efficient Entity Mention Detection from Large Language Models. In Proceedings of the 64th annual meeting of the Association for Computational Linguistics. Edited by M. Liakata, V. P. Moreira, J. Zhang and D. Jurgens. Association for Computational Linguistics, July, volume 1, pp. 27489–27509. Available online: https://aclanthology.org/2026.acl-long.1268/. [CrossRef]
  21. Nedoluzhko, A., M. Novák, M. Popel, Z. Žabokrtský, A. Zeldes, and D. Zeman. 2022. CorefUD 1.0: Coreference Meets Universal Dependencies. In Proceedings of the thirteenth language resources and evaluation conference. Edited by N. Calzolari. European Language Resources Association, June, pp. 4859–4872. Available online: https://aclanthology.org/2022.lrec-1.520/.
  22. Novák, M., M. Popel, D. Zeman, Z. Žabokrtský, A. Nedoluzhko, K. Acar, D. Bamman, A. Bourgois, P. Bourgonje, S. Cinková, E. Delfino, H. Eckhoff, G. Cebiroğlu Eryiğit, J. Hajič, S. Han, C. Hardmeier, D. Haug, T. Jørgensen, A. Kåsen, and V. Žitkus. 2026. Coreference in Universal Dependencies 1.4 (CorefUD 1.4). LINDAT/CLARIAH-CZ digital library. Charles University, Faculty of Mathematics and Physics, Institute of Formal and Applied Linguistics (ÚFAL): Available online: http://hdl.handle.net/11234/1-6108.
  23. Ogasa, Y., and Y. Arase. 2025. Hallucinated Span Detection with Multi-View Attention Features. In Proceedings of the 14th joint conference on lexical and computational semantics (*SEM 2025). Edited by L. Frermann and M. Stevenson. Association for Computational Linguistics, November, pp. 381–394. Available online: https://aclanthology.org/2025.starsem-1.31/. [CrossRef]
  24. OpenAI. 2026. Addendum to GPT-6 Astra System Card: GPT-6.1 Sol. Available online: https://deploymentsafety.openai.com/gpt-6-1-sol.
  25. Popovic, N., and M. Färber. 2024. Embedded Named Entity Recognition using Probing Classifiers. In Proceedings of the 2024 conference on empirical methods in natural language processing. Edited by Y. Al-Onaizan, M. Bansal and Y.-N. Chen. Association for Computational Linguistics, November, pp. 17830–17850. Available online: https://aclanthology.org/2024.emnlp-main.988/. [CrossRef]
  26. Popovič, N., and M. Färber. 2026. Tracing Relational Knowledge Recall in Large Language Models. In Findings of the Association for Computational Linguistics: ACL 2026. Edited by M. Liakata, V. P. Moreira, J. Zhang and D. Jurgens. Association for Computational Linguistics, July, pp. 43490–43509. Available online: https://aclanthology.org/2026.findings-acl.2160/. [CrossRef]
  27. Pradhan, S., A. Moschitti, N. Xue, O. Uryupina, and Y. Zhang. 2012. CoNLL-2012 Shared Task: Modeling Multilingual Unrestricted Coreference in OntoNotes. Joint conference on emnlp and conll - shared task. [Google Scholar]
  28. Roth, D., and W.-t. Yih. 2004. A Linear Programming Formulation for Global Inference in Natural Language Tasks. Proceedings of the eighth conference on computational natural language learning. [Google Scholar]
  29. Shore, A., R. Scheinberg, M. Nagasundaram, and A. Agrawal. 2026. PortNLP at CRAC 2026: QLoRA Fine-Tuning with Bounded Entity Registry for Multilingual Coreference Resolution. In Proceedings of the 2nd joint workshop on computational approaches to discourse, context and document-level inferences and computational models of reference, anaphora and coreference (codi-crac 2026). Association for Computational Linguistics, July, pp. 193–198. Available online: https://aclanthology.org/2026.codi-1.25/. [CrossRef]
  30. Sorodoc, I.-T., K. Gulordava, and G. Boleda. 2020. Probing for Referential Information in Language Models. In Proceedings of the 58th annual meeting of the Association for Computational Linguistics. Edited by D. Jurafsky, J. Chai, N. Schluter and J. Tetreault. Association for Computational Linguistics, July, pp. 4177–4189. Available online: https://aclanthology.org/2020.acl-main.384/. [CrossRef]
  31. Tan, Q., L. Xu, L. Bing, H. T. Ng, and S. M. Aljunied. 2022. Revisiting DocRED – Addressing the False Negative Problem in Relation Extraction. Proceedings of the 2022 conference on empirical methods in natural language processing. [Google Scholar]
  32. Tenney, I., P. Xia, B. Chen, A. Wang, A. Poliak, R. T. McCoy, N. Kim, B. Van Durme, S. R. Bowman, D. Das, and E. Pavlick. 2019. What do you learn from context? Probing for sentence structure in contextualized word representations. International conference on learning representations. [Google Scholar]
  33. Tikhonov, A., and M. Ryabinin. 2021. It’s All in the Heads: Using Attention Heads as a Baseline for Cross-Lingual Transfer in Commonsense Reasoning. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021. Edited by C. Zong, F. Xia, W. Li and R. Navigli. Association for Computational Linguistics, August, pp. 3534–3546. Available online: https://aclanthology.org/2021.findings-acl.310/. [CrossRef]
  34. Vig, J., and Y. Belinkov. 2019. Analyzing the Structure of Attention in a Transformer Language Model. Proceedings of the 2019 acl workshop blackboxnlp. [Google Scholar]
  35. Volodichev, A., M. Savichev, N. Sviridov, A. Yuliy, D. Simakov, and A. Zaytsev. 2026. FlashAttention with statistics: Low-overhead attention features for compact hallucination detectors. Available online: https://arxiv.org/abs/2610.21483v1.
  36. Wang, K. R., A. Variengien, A. Conmy, B. Shlegeris, and J. Steinhardt. 2023. Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 Small. The eleventh international conference on learning representations. [Google Scholar]
  37. Webster, K., M. Recasens, V. Axelrod, and J. Baldridge. 2018. Mind the GAP: A Balanced Corpus of Gendered Ambiguous Pronouns. Transactions of the Association for Computational Linguistics, 6. [Google Scholar]
  38. Yordanov, Y., O.-M. Camburu, V. Kocijan, and T. Lukasiewicz. 2020. Does the Objective Matter? Comparing Training Objectives for Pronoun Resolution. In Proceedings of the 2020 conference on empirical methods in natural language processing (EMNLP). Edited by B. Webber, T. Cohn, Y. He and Y. Liu. Association for Computational Linguistics, November, pp. 4963–4969. Available online: https://aclanthology.org/2020.emnlp-main.402/. [CrossRef]
  39. Zhao, J., T. Wang, M. Yatskar, V. Ordonez, and K.-W. Chang. 2018. Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods. Proceedings of the 2018 conference of the north american chapter of the association for computational linguistics. [Google Scholar]
  40. Zhou, W., K. Huang, T. Ma, and J. Huang. 2021. Document-Level Relation Extraction with Adaptive Thresholding and Localized Context Pooling. Proceedings of the aaai conference on artificial intelligence. [Google Scholar]
  41. Zhu, Y., S. Peng, S. Pradhan, and A. Zeldes. 2024. SPLICE: A Singleton-Enhanced PipeLIne for Coreference REsolution. In Proceedings of the 2024 joint international conference on computational linguistics, language resources and evaluation (LREC-COLING 2024). Edited by N. Calzolari, M.-Y. Kan, V. Hoste, A. Lenci, S. Sakti and N. Xue. ELRA and ICCL, May, pp. 15191–15201. Available online: https://aclanthology.org/2024.lrec-main.1321/.
Figure 1. OntoNotes test CoNLL F1 of attention probes restricted to the top-k heads ranked on train/dev.
Figure 1. OntoNotes test CoNLL F1 of attention probes restricted to the top-k heads ranked on train/dev.
Preprints 240791 g001
Figure 2. Single-layer probes: attention features of all heads of one layer (left) and hidden states of one layer (right).
Figure 2. Single-layer probes: attention features of all heads of one layer (left) and hidden states of one layer (right).
Preprints 240791 g002
Table 1. OntoNotes test CoNLL F1 with gold mentions (mean±std over 3 probe seeds). H: hidden states, A: attention features, HA: both (MLP probes); Δ = HA − H. Encoders below the line.
Table 1. OntoNotes test CoNLL F1 with gold mentions (mean±std over 3 probe seeds). H: hidden states, A: attention features, HA: both (MLP probes); Δ = HA − H. Encoders below the line.
Model H A HA Δ
SmolLM2-360M 86.5±0.0 85.1±0.2 88.4±0.1 +2.0
Qwen2.5-0.5B 86.1±0.3 83.9±0.5 87.8±0.2 +1.7
Qwen2.5-1.5B 87.0±0.3 84.3±0.1 88.8±0.3 +1.8
Qwen2.5-3B 86.8±0.0 85.7±0.1 88.7±0.1 +1.8
Qwen2.5-7B 86.9±0.1 86.1±0.3 89.4±0.3 +2.4
Qwen3-0.6B 86.8±0.1 85.1±0.2 88.3±0.2 +1.5
Qwen3-1.7B 86.9±0.3 85.9±0.4 89.1±0.1 +2.2
Llama-3.2-1B 87.0±0.1 85.3±0.2 88.8±0.1 +1.8
Llama-3.2-3B 87.3±0.1 86.6±0.3 89.8±0.0 +2.5
Gemma-3-1B 86.4±0.2 82.4±0.1 88.4±0.1 +2.0
OLMo-2-1B 87.0±0.1 84.6±0.5 88.8±0.3 +1.8
Pythia-160M 83.3±0.2 78.9±0.5 84.9±0.2 +1.5
Pythia-410M 85.5±0.1 83.5±0.3 87.2±0.2 +1.7
Pythia-1B 85.6±0.1 82.8±0.5 87.5±0.3 +1.9
Pythia-2.8B 86.9±0.3 86.3±0.2 89.2±0.2 +2.3
RoBERTa-large 89.2±0.1 86.7±0.1 90.6±0.2 +1.4
DeBERTa-v3-large 90.4±0.0 88.4±0.0 92.1±0.1 +1.7
ModernBERT-large 85.0±0.2 80.9±0.1 86.2±0.2 +1.2
Table 2. Capacity controls (OntoNotes test, CoNLL F1). H2×: hidden-state probe with doubled capacity; shuf: attention features permuted across pairs within each minibatch (same distribution, no pair-specific information; hidden-state and distance features stay aligned). H2× uses rank 512 and hidden size 1024 instead of 256 and 512.
Table 2. Capacity controls (OntoNotes test, CoNLL F1). H2×: hidden-state probe with doubled capacity; shuf: attention features permuted across pairs within each minibatch (same distribution, no pair-specific information; hidden-state and distance features stay aligned). H2× uses rank 512 and hidden size 1024 instead of 256 and 512.
Model H H2× HA HAshuf A Ashuf
SmolLM2-360M 86.5 86.3 88.4 86.6 85.1 28.3
Qwen2.5-0.5B 86.1 86.0 87.8 86.1 83.9 33.5
Qwen2.5-1.5B 87.0 87.1 88.8 87.0 84.3 33.5
Qwen2.5-3B 86.8 86.7 88.7 86.7 85.7 35.0
Qwen2.5-7B 86.9 86.9 89.4 87.0 86.1 36.3
Qwen3-0.6B 86.8 86.9 88.3 86.9 85.1 33.4
Qwen3-1.7B 86.9 86.8 89.1 87.0 85.9 28.9
Llama-3.2-1B 87.0 86.7 88.8 86.2 85.3 32.4
Llama-3.2-3B 87.3 87.1 89.8 87.2 86.6 36.4
Gemma-3-1B 86.4 86.7 88.4 86.8 82.4 30.1
OLMo-2-1B 87.0 87.3 88.8 87.6 84.6 33.4
Pythia-160M 83.3 83.3 84.9 83.5 78.9 29.6
Pythia-410M 85.5 85.5 87.2 85.6 83.5 33.3
Pythia-1B 85.6 85.4 87.5 86.0 82.8 30.3
Pythia-2.8B 86.9 86.8 89.2 86.9 86.3 34.2
RoBERTa-large 89.2 89.1 90.6 89.3 86.7 30.0
DeBERTa-v3-large 90.4 90.2 92.1 90.4 88.4 30.4
ModernBERT-large 85.0 84.9 86.2 84.8 80.9 30.7
Table 3. Layer-matched control (OntoNotes test, CoNLL F1, mean over 3 seeds). Subscript 8: hidden states and attention features from the same eight layers; all: from all layers. Δ = HA − H with the same layer access.
Table 3. Layer-matched control (OntoNotes test, CoNLL F1, mean over 3 seeds). Subscript 8: hidden states and attention features from the same eight layers; all: from all layers. Δ = HA − H with the same layer access.
Model H8 Hall A8 Aall HA8 HAall Δ 8 Δ a l l
SmolLM2-360M 86.6 86.7 82.6 85.3 88.1 88.2 +1.5 +1.5
Qwen2.5-0.5B 86.1 86.3 81.2 83.4 87.2 87.9 +1.0 +1.6
Qwen2.5-1.5B 87.1 87.4 82.5 84.3 88.3 89.1 +1.2 +1.7
Qwen2.5-3B 86.6 86.9 82.6 84.9 88.5 89.0 +2.0 +2.1
Qwen2.5-7B 86.9 86.8 84.0 86.3 88.9 89.4 +2.0 +2.6
Qwen3-0.6B 86.6 87.0 82.4 85.5 87.9 88.2 +1.4 +1.2
Qwen3-1.7B 87.0 87.0 83.6 86.2 88.9 89.1 +1.9 +2.1
Llama-3.2-1B 87.1 87.1 84.8 85.6 88.8 88.8 +1.7 +1.7
Llama-3.2-3B 87.2 87.5 85.1 86.3 89.4 90.1 +2.2 +2.6
Gemma-3-1B 86.4 87.1 75.1 81.7 87.8 88.6 +1.4 +1.5
OLMo-2-1B 87.1 87.2 82.6 84.4 88.8 88.9 +1.7 +1.7
Pythia-160M 83.6 83.6 77.8 78.6 84.7 85.0 +1.1 +1.4
Pythia-410M 85.4 85.7 80.3 84.0 86.6 87.0 +1.3 +1.3
Pythia-1B 85.7 85.7 81.4 82.8 87.1 87.7 +1.5 +1.9
Pythia-2.8B 87.1 87.1 83.5 86.3 88.6 89.1 +1.5 +2.0
RoBERTa-large 89.2 89.3 84.1 86.7 90.2 90.6 +1.0 +1.4
DeBERTa-v3-large 90.6 90.5 85.3 88.7 91.3 91.9 +0.7 +1.4
ModernBERT-large 85.1 85.0 77.6 80.9 85.3 85.8 +0.2 +0.8
Table 4. Transfer of OntoNotes-trained probes, summarized over models: mean difference to the hidden-state probe and number of models where the attention-only probe is better (full results in Table A2).
Table 4. Transfer of OntoNotes-trained probes, summarized over models: mean difference to the hidden-state probe and number of models where the attention-only probe is better (full results in Table A2).
Test set A−H #A>H HA−H #A>HA
LitBank +1.2 16/18 +2.3 2/18
PreCo +1.7 16/18 +3.0 4/18
GUM +1.5 15/18 +3.2 2/18
GAP (F1) +5.7 18/18 +1.6 18/18
WinoBias (acc.) +7.0 17/18 +4.0 16/18
Table 5. In-domain training on smaller datasets (CoNLL F1, gold mentions, mean over 3 seeds).
Table 5. In-domain training on smaller datasets (CoNLL F1, gold mentions, mean over 3 seeds).
Model LitBank PCC (Polish) GUM
H HA Δ H HA Δ H HA Δ
SmolLM2-360M 79.0 82.5 +3.5 58.2 60.0 +1.9 65.8 69.8 +4.0
Qwen2.5-0.5B 78.3 82.2 +3.9 62.3 64.4 +2.0 66.5 69.6 +3.1
Qwen2.5-1.5B 79.5 83.6 +4.1 65.1 67.4 +2.3 65.9 70.5 +4.6
Qwen2.5-3B 80.4 84.2 +3.8 61.5 64.3 +2.8 65.3 71.1 +5.8
Qwen2.5-7B 80.7 84.0 +3.3 66.0 69.8 +3.8 63.4 70.6 +7.1
Qwen3-0.6B 80.0 82.7 +2.8 64.3 67.2 +2.9 67.2 71.0 +3.8
Qwen3-1.7B 80.5 83.9 +3.4 65.5 68.9 +3.4 65.7 72.0 +6.3
Llama-3.2-1B 80.5 83.4 +3.0 65.5 68.1 +2.7 66.8 71.5 +4.7
Llama-3.2-3B 80.7 84.6 +4.0 66.3 70.4 +4.1 64.9 70.9 +6.1
Gemma-3-1B 79.1 83.2 +4.1 66.3 68.7 +2.4 66.4 70.4 +4.0
OLMo-2-1B 80.4 83.2 +2.8 58.8 61.0 +2.2 66.2 70.4 +4.2
Pythia-160M 76.5 79.6 +3.1 56.9 58.4 +1.5 64.6 68.4 +3.7
Pythia-410M 78.8 81.9 +3.1 59.6 61.0 +1.4 67.7 70.8 +3.0
Pythia-1B 79.0 81.5 +2.6 59.7 62.1 +2.4 64.9 69.8 +4.9
Pythia-2.8B 80.8 84.0 +3.2 62.3 65.2 +2.9 65.5 70.4 +4.8
RoBERTa-large 80.9 83.5 +2.6 58.7 59.9 +1.1 70.6 72.7 +2.2
DeBERTa-v3-large 82.8 86.4 +3.7 70.8 72.7 +2.0 70.3 74.3 +3.9
ModernBERT-large 75.3 77.2 +1.9 55.0 54.8 -0.2 66.4 69.8 +3.3
Table 6. Mention detection on OntoNotes test: precision / recall (%) of detectors using hidden states (H), attention received from later tokens (A), or both (HA), at the threshold selected on dev for a 90% recall target. One detector training run (seed 0) per model.
Table 6. Mention detection on OntoNotes test: precision / recall (%) of detectors using hidden states (H), attention received from later tokens (A), or both (HA), at the threshold selected on dev for a 90% recall target. One detector training run (seed 0) per model.
Model H A HA
SmolLM2-360M 48.2 / 90.7 56.7 / 90.3 65.2 / 91.0
Qwen2.5-0.5B 48.1 / 90.4 57.5 / 90.6 63.5 / 90.8
Qwen2.5-1.5B 50.7 / 90.5 57.0 / 90.4 64.7 / 90.8
Qwen2.5-3B 48.3 / 90.4 59.4 / 90.9 64.5 / 90.8
Qwen2.5-7B 48.5 / 90.8 60.0 / 90.6 65.2 / 90.7
Llama-3.2-3B 51.6 / 90.5 62.0 / 90.6 68.7 / 90.1
Table 7. End-to-end CoNLL F1 on OntoNotes test with linkers (H, A, HA) trained and evaluated on mentions predicted by the HA detector (dev recall target 93%, 100 candidate antecedents). Mean±std over 3 linker seeds for a single detector; the standard deviation does not cover detector variance.
Table 7. End-to-end CoNLL F1 on OntoNotes test with linkers (H, A, HA) trained and evaluated on mentions predicted by the HA detector (dev recall target 93%, 100 candidate antecedents). Mean±std over 3 linker seeds for a single detector; the standard deviation does not cover detector variance.
Model H A HA
Qwen2.5-0.5B 68.7±0.1 67.0±0.4 69.9±0.3
Qwen2.5-1.5B 69.7±0.2 67.6±0.8 70.9±0.2
Qwen2.5-3B 69.8±0.1 69.0±0.2 70.9±0.2
Llama-3.2-3B 71.0±0.1 69.6±0.2 72.5±0.2
Table 8. Mean-ablation of attention heads (OntoNotes test, gold mentions, CoNLL F1). H, A, HA: probes trained on the intact model and applied to features of the ablated model (attention features of ablated heads set to their mean). NLL: the model’s negative log-likelihood on the first token of anaphoric pronouns and on all other tokens. Hre, HAre: probes retrained on the ablated model (3 seeds). Top-16: heads ranked highest by the linear attention probe (train/dev); random-16: 16 heads outside the top 64 (mean of 3 draws; retraining: one draw).
Table 8. Mean-ablation of attention heads (OntoNotes test, gold mentions, CoNLL F1). H, A, HA: probes trained on the intact model and applied to features of the ablated model (attention features of ablated heads set to their mean). NLL: the model’s negative log-likelihood on the first token of anaphoric pronouns and on all other tokens. Hre, HAre: probes retrained on the ablated model (3 seeds). Top-16: heads ranked highest by the linear attention probe (train/dev); random-16: 16 heads outside the top 64 (mean of 3 draws; retraining: one draw).
Model Heads H A HA NLLpron NLLother Hre HAre
SmolLM2-360M none 86.5 85.1 88.4 2.03 2.80 – –
top-16 82.5 25.9 57.3 2.48 3.11 84.6 86.9
random-16 86.4 84.5 88.1 2.07 2.85 86.5 88.4
Qwen2.5-1.5B none 87.0 84.3 88.8 1.93 2.65 – –
top-16 84.6 13.9 70.4 2.87 2.77 85.3 87.7
random-16 86.6 82.5 88.4 2.02 2.75 87.1 88.6
Qwen3-1.7B none 86.9 85.9 89.1 1.92 2.69 – –
top-16 73.2 39.7 63.4 3.93 4.99 80.5 83.0
random-16 86.6 85.2 88.7 1.97 2.75 86.6 88.9
Table 9. Relation extraction with given entities (test, mean over 3 seeds). HAS adds suffix-query features read at the end of an appended relation query.
Table 9. Relation extraction with given entities (test, mean over 3 seeds). HAS adds suffix-query features read at the end of an appended relation query.
Model CoNLL04 (F1) Re-DocRED (F1)
H A HA HAS H A HA HAS
SmolLM2-360M 67.7 69.7 73.1 75.2 68.7 60.5 71.1 –
Qwen2.5-0.5B 68.0 69.9 73.5 74.3 68.5 57.6 70.7 –
Qwen2.5-1.5B 71.2 72.7 75.5 76.3 70.1 57.9 71.9 72.7
Qwen2.5-7B 71.1 71.0 76.9 – – – – –
Qwen3-1.7B 67.8 71.9 74.0 77.0 69.5 60.1 72.4 –
Qwen3-4B 70.4 69.4 74.5 76.0 69.6 61.5 72.4 73.4
RoBERTa-large 71.1 71.1 74.6 – 71.5 60.8 72.6 –
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.