Sign inGet started
Paper · arXiv

Failure of contextual invariance in large language models

Standard evaluation practices assume that large language model (LLM) outputs are stable when prompts are embedded in contextually equivalent discourses. Here, we test this assumption in the setting of gender inference. Using a controlled pronoun selection task, we introduce minimal, theoretically uninformative discourse context and find that this induces large, systematic shifts in model outputs. Correlations with cultural gender stereotypes, present in decontextualized settings, weaken or disappear once context is introduced, while theoretically irrelevant features, such as the gender of a pronoun for an unrelated referent, become the most informative predictors of model behavior. A Cont...

AuthorsSagar Kumar, Ariel Flint, Luca Maria Aiello et al.
Primary categorycs.CL
Published24 March 2026
Last updated at source1 June 2026
cs.CLcs.AIcs.CY
Embed this entry
<iframe src="https://silytics.si/embed/item/af6192ee-0e7b-4c62-925a-a95028237541" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.