arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.03664cs.AIcs.LG
收藏

缓解多轮代理中的对话惯性

Mitigating Conversational Inertia in Multi-Turn Agents

College of Computer Science and Technology, Zhejiang University, Hangzhou, China(浙江大学计算机科学与技术学院);University of Rochester, Rochester, NY, USA(罗切斯特大学)

Yang Wan, Zheng Cao, Zhenhao Zhang, Zhengwen Zeng, Shuheng Shen, Changhua Meng, Linchao Zhu

AI总结:

本文研究了多轮代理中对话惯性问题,提出通过上下文偏好学习来校准模型偏好,以减少惯性并提升性能。

摘要:

大型语言模型在获得适当演示时表现出色,但在多轮代理场景中,LLM错误地模仿自身之前的响应作为少样本示例。通过注意力分析,我们识别出对话惯性现象,即模型对先前响应表现出强烈的对角注意力,这与模仿偏差有关,限制了探索。这揭示了将少样本LLM转化为代理时的张力:更长的上下文丰富了环境反馈以供利用,但也加剧了对话惯性,从而损害探索。我们的关键见解是,对于相同状态,生成时使用更长上下文的动作表现出更强的惯性,这使得可以在没有环境奖励的情况下构建偏好对。基于此,我们提出上下文偏好学习,以校准模型偏好,使模型更倾向于选择低惯性响应而非高惯性响应。我们进一步提供了推理时的上下文管理策略,以平衡探索与利用。在八个代理环境和一个深度研究场景中的实验结果验证了我们的框架能够减少对话惯性并实现性能提升。

英文摘要:

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.

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

↑