当用户改变主意:测量与修复LLM代理中的意图漂移

·

研究论文 · 2026/10/02

LLM智能体常在多轮交互中运行,用户意图可能在执行前发生变化。我们研究了意图漂移:即用户意图中被取代的部分继续影响最终答案或工具动作的失败模式。我们提出了IntentFlux,一个可执行基准,将可验证任务转化为带有受控意图变化的对话,同时保留其原始评分器。在627个案例的校准中,随着对话包含更多被取代和撤回的信息,平均任务得分从0.476降至0.384。在八个模型中,当同一最终任务必须从演变的对话中恢复而非单轮直接给出时,完全正确解的比例显著更低。我们进一步提出了StateForge,它在生成前显式维护活跃需求。在General-Test上,它将平均任务得分从0.367提升至0.467。提供真实的最终状态能进一步提升性能,但仍无法恢复到单轮性能,表明状态估计错误只能解释部分差距。这些结果确立了意图漂移作为一种可测量的多轮失败模式,并将显式状态维护作为一种部分缓解措施。

该研究首次系统性地定义并测量了LLM智能体中的意图漂移问题,提供了可复现的基准和部分缓解方案,对多轮对话系统的可靠性和意图理解研究具有重要价值。

LLM agents often operate over multi-turn interactions in which user intent changes before execution. We study intent drift: the failure mode in which superseded parts of the user's intent continue to influence the final answer or tool action. We introduce IntentFlux, an executable benchmark that converts verifiable tasks into dialogues with controlled intent changes while preserving their original graders. In a 627-case calibration, mean task score falls from 0.476 to 0.384 as dialogues contain more superseded and withdrawn information. Across eight models, the rate of fully correct solutions is significantly lower when the same final task must be recovered from an evolving dialogue rather than given directly in a single turn. We further introduce StateForge, which explicitly maintains the active requirements before generation. On General-Test, it improves mean task score from 0.367 to 0.467. Providing the ground-truth final state improves performance further but still does not recover single-turn performance, indicating that state-estimation errors explain only part of the gap. These results establish intent drift as a measurable multi-turn failure mode and explicit state maintenance as a partial mitigation.

阅读原文

参与讨论