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
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.
Measuring Representation Robustness in Large Language Models for Geometry
Department of Computer Science and Information Systems, BITS Pilani(比特学院计算机科学与信息系统系);School of Computer Science, KIIT University(KIIT大学计算机科学学院);Department of Mathematics, BITS Pilani(比特学院数学系)
MTMCS-Bench: Evaluating Contextual Safety of Multimodal Large Language Models in Multi-Turn Dialogues
University of Notre Dame(诺丁汉大学);University of California, Los Angeles(加州大学洛杉矶分校);Georgia Institute of Technology(佐治亚理工学院);University of Montreal(蒙特利尔大学)
From Oracle to Noisy Context: Mitigating Contextual Exposure Bias in Speech-LLMs
School of Computer Science and Technology, Xinjiang University, Urumqi, China(新疆大学计算机科学与技术学院,乌鲁木齐,中国);Joint International Research Laboratory of Silk Road Multilingual Cognitive Computing, Urumqi, China(丝绸之路多语种认知计算联合国际研究实验室,乌鲁木齐,中国);Timekettle
METER: Evaluating Multi-Level Contextual Causal Reasoning in Large Language Models
College of Computer Science, Sichuan University(四川大学计算机学院);Institute of Data Science, National University of Singapore(新加坡国立大学数据科学研究所);Engineering Research Center of Machine Learning and Industry Intelligence, Ministry of Education, China(中国教育部机器学习与产业智能工程研究中心)
State-Dependent Safety Failures in Multi-Turn Language Model Interaction
School of Cyber Science and Technology, University of Science and Technology of China, China(中国科学技术大学信息科学与技术学院);Nanyang Technological University, Singapore(南洋理工大学);Tsinghua University, Beijing, China(清华大学);Beijing Electronic Science and Technology Institute, Beijing, China(北京电子科技研究所)
Capable but Careless: Do Computer-Use Agents Follow Contextual Integrity?
Ubiquitous Knowledge Processing Lab (UKP Lab), Department of Computer Science, TU Darmstadt(达姆施塔特工业大学计算机科学系泛在知识处理实验室(UKP Lab));National Research Center for Applied Cybersecurity ATHENE(国家应用网络安全研究中心ATHENE)