arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.01805cs.CLcs.AI
收藏

累积上下文改变了语言模型的信念

Accumulating Context Changes the Beliefs of Language Models

Carnegie Mellon University(卡内基梅隆大学);Princeton University(普林斯顿大学);Stanford University(斯坦福大学)

Jiayi Geng, Howard Chen, Ryan Liu, Manoel Horta Ribeiro, Robb Willer, Graham Neubig, Thomas L. Griffiths

AI总结:

本文研究了语言模型在累积上下文(交互与阅读)时信念悄然偏移的风险,发现GPT-5和Grok 4等模型在道德与政治问题上均出现显著信念偏移,且这种偏移会体现在智能体系统的实际工具使用行为中。

摘要:

语言模型(LM)助手正越来越多地应用于头脑风暴和研究等场景。记忆和上下文长度的改进使得这些模型变得更加自主,这也导致在未经用户明确干预的情况下,其上下文窗口中会累积更多文本。这带来了一个潜在风险:模型的信念概况——即在其响应或行动中表现出的对世界的理解——可能会随着上下文的累积而悄然改变。这可能导致用户体验出现微妙的不一致,或者出现偏离模型最初对齐状态的行为偏移。在本文中,我们探讨了通过参与交互和处理文本(即“交谈”和“阅读”)来累积上下文,如何改变语言模型的信念,这种改变体现在其响应和行为中。我们的结果显示,模型的信念概况具有高度可塑性:GPT-5 在经过 10 轮关于道德困境和安全查询的讨论后,其陈述的信念表现出 54.7% 的偏移;而 Grok 4 在阅读了来自对立立场的文本后,在政治问题上表现出 27.2% 的偏移。我们还通过设计需要使用工具的任务来考察模型的行为变化,其中每次工具选择都对应一种隐含信念。我们发现,这些变化与陈述的信念偏移相一致,表明在智能体系统中,信念偏移将反映在实际行为中。我们的分析揭示了模型在经历长时间的交谈或阅读时存在信念偏移的隐含风险,使其观点和行动变得不可靠。

英文摘要:

Language model (LM) assistants are increasingly used in applications such as brainstorming and research. Improvements in memory and context size have allowed these models to become more autonomous, which has also resulted in more text accumulation in their context windows without explicit user intervention. This comes with a latent risk: the belief profiles of models -- their understanding of the world as manifested in their responses or actions -- may silently change as context accumulates. This can lead to subtly inconsistent user experiences, or shifts in behavior that deviate from the original alignment of the models. In this paper, we explore how accumulating context by engaging in interactions and processing text -- talking and reading -- can change the beliefs of language models, as manifested in their responses and behaviors. Our results reveal that models' belief profiles are highly malleable: GPT-5 exhibits a 54.7% shift in its stated beliefs after 10 rounds of discussion about moral dilemmas and queries about safety, while Grok 4 shows a 27.2% shift on political issues after reading texts from the opposing position. We also examine models' behavioral changes by designing tasks that require tool use, where each tool selection corresponds to an implicit belief. We find that these changes align with stated belief shifts, suggesting that belief shifts will be reflected in actual behavior in agentic systems. Our analysis exposes the hidden risk of belief shift as models undergo extended sessions of talking or reading, rendering their opinions and actions unreliable.

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

↑