Do Non-Binary Pronouns Fall Off the Edge of the Context Window?

Language models increasingly read and write long documents: biographies, stories, case notes, translated articles. Some of the people in those documents use singular they or neopronouns such as xe or ze. For these readers, the information a model needs is often stated once, early: "Sam uses xe/xem pronouns." The model must then carry that fact across hundreds or thousands of tokens. By contrast, a referent who uses he or she can usually be resolved from local cues and from the model's strong prior that people are binary. We propose to measure, under controlled conditions, how pronoun tracking decays as the gap between a person's introduction and later mentions grows, separately for each pronoun set. We will then test whether the efficient long-context methods used to scale sequence length, such as windowed attention and chunked inference, hurt non-binary referents much more than binary ones.

The central hypothesis is that non-binary reference resolution has a much shorter "decay length" than binary resolution. This happens for two separable reasons. The first is reach: the antecedent has scrolled out of what the model can see. The second is override: the antecedent is visible, but the binary prior wins. These two causes call for different fixes, and the field currently cannot tell them apart. The output is a distance-controlled benchmark, a decomposition of failures into reach and override, and one targeted test of whether keeping identity statements permanently visible closes the reach gap.

Why this gap exists

Three findings motivate the work. Toward Gender-Inclusive Coreference Resolution built GICoref, 95 full documents containing singular they, neopronouns and transgender mentions. On it, the best coreference system fell to 34.3% F1 from roughly 60% on standard data. Recall was about 95% for binary pronouns but only 13% for neopronouns. That paper never varied the distance between antecedent and mention, and it tested no long-context architecture.

Improving Long Context Document-Level Machine Translation made translation tractable up to 2,208 tokens by restricting attention to a local window. It reported that context beyond two sentences gave no further gain on the ContraPro pronoun test. That conclusion was drawn only from binary and grammatical pronouns, where local gender marking is usually enough. Our hypothesis predicts the opposite for neopronouns, so the two-sentence result is something we directly test rather than assume.

Bias in Language Models: Beyond Trick Tests and Toward RUTEd Evaluation found that short bias tests barely predict bias in generations up to 1,000 tokens, with an average Spearman correlation of 0.12. Its authors note the study was strictly binary.

Two further results constrain the design. Harms of Gender Exclusivity and Challenges in Non-Binary Representation in Language Technologies shows that BERT predicts singular they correctly only 52.1% of the time, against roughly 80–86% for he and she. It also shows that neopronouns are badly fragmented by subword tokenizers. Override failures are therefore expected even at zero distance, and the benchmark must report the zero-distance accuracy for each pronoun set rather than only the decay. Sustainable Modular Debiasing of Language Models explains why word-pair swapping cannot produce grammatical non-binary text. Building the benchmark by naive pronoun substitution would therefore create artifacts. We instead rewrite with agreement-aware edits and human verification.

Core Claim

We claim three things. First, pronoun-tracking accuracy as a function of antecedent distance falls off much faster for neopronouns and singular they than for he and she. Second, windowed or chunked attention turns this soft decay into a hard cliff at the window boundary for non-binary referents only. Binary referents survive the cliff because the model's prior guesses them correctly. Third, the remaining failures of full-attention models with the antecedent in view are override failures, which no amount of added context will fix.

To make "faster decay" measurable, we summarize each curve by a fitted form. For pronoun set $p$ at antecedent distance $d$ (in tokens), we model accuracy as

$$\mathrm{acc}_p(d) = c_p + (a_p - c_p)\, e^{-d/\lambda_p},$$

The symbols are defined as follows. $a_p$ is accuracy with the antecedent adjacent. $c_p$ is the floor accuracy the model reaches from its prior alone, with no antecedent. $\lambda_p$ is the decay length. The exponential is a convenient descriptive fit, not a theoretical commitment. We also report the raw binned curves.

The reach-versus-override split falls out of the fit. Under full attention, a low $a_p$ signals override. For a windowed model, a collapse to $c_p$ just past the window width signals reach.

Research Program

The distance-controlled benchmark. We start from GICoref documents and from English Wikipedia biographies of the kind GeBioToolkit mines (GeBioToolkit). We extend the mining with a pronoun-declaration detector, replacing GeBioToolkit's binary he/she counter.

For each document we fix one target person and an introduction span: the first naming of the person, plus any explicit pronoun statement. We then insert topic-coherent filler paragraphs drawn from the same document or related articles, chosen so they contain no mention of the target. This places later mentions at controlled distances from 32 to 8,192 tokens.

Each document is realized under five pronoun sets: he, she, singular they, xe/xem, and ze/hir. Agreement-aware rewriting handles verb number for they and possessive and reflexive forms for neopronouns, and annotators check every realization. Because the same document appears under every pronoun set and every distance, differences in accuracy are attributable to pronoun set and distance rather than to content.

Filler paragraphs also carry distractor persons using binary pronouns. Without them, a model could succeed simply by guessing "the only person around."

Two task forms. The reading form is a cloze-and-choice task. At a later mention slot, the model either picks the correct pronoun form or resolves the pronoun to the right antecedent. The generation form extends the RUTEd setup. The model is given the introduction and asked to continue a story or biography for up to 2,000 tokens. We measure the misgendering rate, defined as pronoun uses inconsistent with the declared set divided by all pronoun uses for the target. We report it as a function of the token position at which each pronoun is generated.

Attention regimes. Each model is evaluated under full attention, sliding-window attention at several widths, and chunked inference where earlier chunks are dropped. For translation we also probe the window-attention model of Improving Long Context Document-Level Machine Translation on English→German. The translation measure is not correctness of the German neopronoun, since German has no settled target. It is whether the output stays consistent with the earliest rendering of the target person.

The targeted fix. If reach failures dominate under windowed attention, the cheapest repair is to keep identity-introduction spans permanently visible. Concretely, we pin those tokens in the attention cache so every window can attend to them, adding a constant cost per referent and keeping overall attention cost linear in length. This is a diagnostic intervention, not a new architecture. Its value is that it should close the reach gap and leave override failures untouched. That gives a clean experimental separation of the two causes.

Baselines

The naive reference point is an off-the-shelf model read with full attention and no special handling. For coreference this means the systems evaluated on GICoref. For generation it means the instruction-tuned models used in the RUTEd study. This establishes $a_p$, $c_p$ and $\lambda_p$ with no intervention.

The strongest existing reported result on inclusive document coreference is the best GICoref system in Toward Gender-Inclusive Coreference Resolution, at 34.3% F1 overall and 13% neopronoun recall. We rerun that class of system on our original GICoref documents to confirm we reproduce roughly these numbers before using it on distance-controlled variants. On our new distance-controlled splits there is no reported result found on Lacuna. For ContraPro beyond two sentences, the only reported finding is that additional context gave no gain, and no number is given in the file.

Window attention from the document translation paper is the strongest efficient-attention competitor. We run it at its published configuration and at matched window widths on our splits.

Prompt-level reminders are a real competitor. A reminder restates "Sam uses xe/xem" every $k$ tokens, or before each generation segment. It receives the same token budget as pinning: the number of reminder tokens across the whole document equals the number of pinned tokens.

Fine-tuning on agreement-correct non-binary text is the data-side competitor. We use a parameter-efficient adapter in the style of ADELE (Sustainable Modular Debiasing of Language Models) with the same parameter budget.

The key ablation pins randomly chosen spans of the same length instead of identity statements. A second ablation pins the identity statement with the explicit pronoun declaration removed. These isolate whether the benefit comes from the declaration itself.

All conditions use identical documents, identical decoding settings, and an equal hyperparameter search budget. The fix counts as beating window attention if it restores non-binary accuracy past the window boundary to within the 95% confidence interval of full attention at the same distance. It counts as beating reminders if it matches them on accuracy while leaving the visible text unchanged, or exceeds them on the reading task, where reminders cannot be inserted without altering the document.

Why not just…?

Why not just use full attention with a big enough GPU? For models that can afford it, this removes reach failures by construction. It is exactly the condition in our design that measures override. The window-attention paper reports that naive concatenation used more memory, 10.9 GB versus 8.5 GB at 2,208 tokens, and degraded quality, and deployed long-context systems increasingly rely on windows and chunking. So the question of what those approximations do to minority referents stands regardless. If full-attention models show no distance decay for neopronouns, that is itself a decisive negative result for the reach hypothesis, and we would report it.

Why not just remind the model of the pronouns in the prompt? For generation this may work about as well as pinning, and we treat it as a serious threat. If reminders match pinning there, our generation-side contribution reduces to measurement, which we accept. Reminders do not apply to the reading task, where the document is given and cannot be edited. They also do not help translation of existing documents. That is where pinning is tested against window attention alone.

Why not just fine-tune on more non-binary text? Data scarcity is real; the Harms paper reports xe at about 4,500 occurrences against 15 million for he in Wikipedia. Fine-tuning should raise both $a_p$ and the floor $c_p$, which addresses override. It cannot make an out-of-window antecedent visible. The adapter baseline tests this directly. Our prediction is that it shifts the non-binary curve upward but leaves the cliff at the window boundary. If instead it removes the cliff, the model is guessing rather than tracking, and the distractor persons in the filler will expose this as wrong attributions.

Decisive Checks

The first check is the windowed-attention curves. The hypothesis is supported if he/she accuracy degrades little past the window boundary while xe and ze accuracy drops to the no-antecedent floor. It is refuted if all pronoun sets degrade alike, which would mean distance hurts everyone equally and non-binary failure is purely override.

The second check is pinning against the random-span ablation. Pinning identity statements must recover non-binary accuracy past the window, while random spans of equal length must not.

The third check targets generation. The misgendering rate for non-binary targets should rise with generated position under full attention even when the declaration is in view. If it does, long-form drift is an override phenomenon that RUTEd's binary framing could not observe, and reminders or fine-tuning, not memory, are the right lever.

Every result is reported with bootstrap confidence intervals over documents, separately per pronoun set. The rewritten benchmark and its human verification labels will be released.