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

旧习惯难改:对话历史如何几何学地困住大语言模型

Old Habits Die Hard: How Conversational History Geometrically Traps LLMs

Technion - Israel Institute of Technology(技术ion-以色列理工学院);University of Oxford(牛津大学);University of Zagreb, FER(Zagreb大学,FER);Kempner Institute, Harvard University(Kempner研究所,哈佛大学);University of Edinburgh(爱丁堡大学)

Adi Simhi, Fazl Barez, Martin Tutek, Yonatan Belinkov, Shay B. Cohen

AI总结:

研究探讨对话历史如何通过几何陷阱影响大语言模型的后续表现,提出History-Echoes框架从概率和几何两个角度分析对话历史偏差,并揭示行为持续性在潜在空间中的几何陷阱。

摘要:

大语言模型(LLMs)的对话历史如何影响其未来表现?近期研究表明,LLMs受对话历史影响的方式出人意料。例如,先前交互中的幻觉可能影响后续模型响应。在本工作中,我们引入History-Echoes框架,研究对话历史如何偏移后续生成。该框架从两个角度探索这种偏差:概率上,我们将对话建模为马尔可夫链以量化状态一致性;几何上,我们测量连续隐藏表示的一致性。在三个模型家族和六个涵盖多样化现象的数据集上,我们的分析揭示了两种视角之间的强相关性。通过连接这些视角,我们证明行为持续性表现为几何陷阱,即潜在空间中的间隙会限制模型轨迹。代码可在https://github.com/technion-cs-nlp/OldHabitsDieHard获取。

英文摘要:

How does the conversational past of large language models (LLMs) influence their future performance? Recent work suggests that LLMs are affected by their conversational history in unexpected ways. For instance, hallucinations in prior interactions may influence subsequent model responses. In this work, we introduce History-Echoes, a framework that investigates how conversational history biases subsequent generations. The framework explores this bias from two perspectives: probabilistically, we model conversations as Markov chains to quantify state consistency; geometrically, we measure the consistency of consecutive hidden representations. Across three model families and six datasets spanning diverse phenomena, our analysis reveals a strong correlation between the two perspectives. By bridging these perspectives, we demonstrate that behavioral persistence manifests as a geometric trap, where gaps in the latent space confine the model's trajectory. Code available at https://github.com/technion-cs-nlp/OldHabitsDieHard.

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

↑