解决大模型对话中重复自我模仿的问题,提升多轮交互的探索能力。
Mitigating Conversational Inertia in Multi-Turn Agents
- 通过注意力分析发现模型存在对话惯性,会过度依赖自身旧回复。
- 提出上下文偏好学习,让模型更倾向低惯性响应,提升决策多样性。
- 适合需要长期互动与探索能力的智能体应用,如复杂任务规划。
大型语言模型在提供适当示范时表现出色,但在多轮交互中却错误地将自身先前回复当作示范进行模仿,导致行为僵化。通过注意力分析,我们识别出‘对话惯性’现象:模型对自身历史回复产生强烈的对角线注意力,引发模仿偏差,抑制探索。这揭示了将少样本模型转化为智能体时的矛盾:更长上下文虽能增强环境反馈以利于利用,却也加剧惯性,削弱探索。关键发现是,在相同状态下,使用长上下文生成的动作比短上下文更具惯性,因此可在无环境奖励的情况下构建偏好对。基于此,我们提出上下文偏好学习,校准模型偏好,使其更倾向于低惯性响应。同时,在推理阶段引入上下文管理策略,平衡探索与利用。在八个代理环境及一个深度研究场景中的实验验证表明,该框架有效降低对话惯性,并实现性能提升。
原文摘要 · Abstract (English)
Large language models excel as few-shot learners when provided with appropriate demonstrations, yet this strength becomes problematic in multiturn agent scenarios, where LLMs erroneously mimic their own previous responses as few-shot examples. Through attention analysis, we identify conversational inertia, a phenomenon where models exhibit strong diagonal attention to previous responses, which is associated with imitation bias that constrains exploration. This reveals a tension when transforming few-shot LLMs into agents: longer context enriches environmental feedback for exploitation, yet also amplifies conversational inertia that undermines exploration. Our key insight is that for identical states, actions generated with longer contexts exhibit stronger inertia than those with shorter contexts, enabling construction of preference pairs without environment rewards. Based on this, we propose Context Preference Learning to calibrate model preferences to favor low-inertia responses over highinertia ones. We further provide context management strategies at inference time to balance exploration and exploitation. Experimental results across eight agentic environments and one deep research scenario validate that our framework reduces conversational inertia and achieves performance improvements.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。