arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.23485cs.CLcs.AIcs.CY
收藏

大型语言模型中语境不变性的失效

Failure of contextual invariance in large language models

Network Science Institute, Northeastern University(网络科学研究所,东北大学);Center for Health Informatics Program, Boston Children’s Hospital(健康信息学计划中心,波士顿儿童医院);Dept. of Mathematics, City St George’s, University of London(伦敦大学城市圣乔治学院数学系);IT University of Copenhagen(哥本哈根IT大学)

Sagar Kumar, Ariel Flint, Luca Maria Aiello, Andrea Baronchelli

AI总结:

通过代词选择任务发现,在语境等价但无信息量的干扰下,大语言模型输出发生系统性偏移,表明其违反语境不变性,影响偏见评估与高风险应用。

摘要:

标准评估实践假设,当提示嵌入语境等价的语篇中时,大型语言模型(LLM)的输出是稳定的。这里,我们在性别推断的背景下测试这一假设。使用受控的代词选择任务,我们引入最小的、理论上无信息的语篇语境,发现这会导致模型输出出现大规模、系统性的偏移。与去语境化设置中存在的文化性别刻板印象的相关性在引入语境后减弱或消失,而理论上无关的特征(如无关指代对象的代词性别)成为模型行为最具信息量的预测因子。通过默认语境性分析发现,在模型间的19%至52%的案例中,这种依赖性在考虑语境对单个输出的所有边际效应后仍然存在,并且不能归因于简单的代词重复。这些发现表明,即使在几乎相同的句法表述下,LLM的输出也违反了语境不变性,这对偏见基准测试和高风险环境中的部署具有重要影响。

英文摘要:

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 Contextuality-by-Default analysis reveals that, in 19--52\% of cases across models, this dependence persists after accounting for all marginal effects of context on individual outputs and cannot be attributed to simple pronoun repetition. These findings show that LLM outputs violate contextual invariance even under near-identical syntactic formulations, with implications for bias benchmarking and deployment in high-stakes settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑