针对多轮人机对话中上下文污染导致的LLMs性能下降问题,提出无训练方法AC3,通过独立分析器整合用户任务规范、审核助手输出并编辑上下文,在Lost in Conversation等数据集上优于AO方法。
摘要:
大型语言模型(LLMs)在多轮对话中性能下降的部分原因是上下文污染:模型自身的早期输出会保留在上下文中并锚定后续轮次,因此当用户纠正早期对其意图的误读后,该误读仍会持续存在。助手省略(AO)方法会丢弃所有助手消息,以此消除这种污染,但在涉及引用的交互中会失效:后续轮次会引用仅存在于助手轮次中的草稿、决策和工具调用结果。我们提出了无训练方法「智能体对话上下文策划(AC3)」,该方法通过一个独立分析器完成三个步骤:(1)仅从用户消息中整合任务规范;(2)对照该规范审核助手的先前输出;(3)编辑上下文,要么附加分析结果,要么丢弃助手侧内容并根据规范重建上下文。第二个发现是污染具有传染性:在提取规范时若让分析器查看助手的推理过程,其表现会比不干预更差,而指示分析器忽略助手推理也无法缩小差距,因此我们从结构上排除了助手轮次。在「对话迷失(Lost in Conversation)」数据集(该数据集通过重放难度选定实例构建,AO本质上是一种 oracle 方法)上,AC3 在四项任务中的三项上缩小了完整上下文与 AO 之间 55%-84% 的差距,且在第四项任务上超过了 AO;即使使用更多计算资源,忠实总结历史的 LLM 也无法重现该增益。在真实的 WildChat 对话中,GPT-5-mini 评判器在主表的所有配置中都更偏好 AC3 生成的下一轮响应,而非完整上下文和 AO 的响应(尽管这种偏好取决于评判器);在 CollabLLM 上结果不一。在有状态工具使用场景(tau2-bench)中,AO 在所有模型上的性能都降至 0%;AC3 未出现性能崩溃,尽管其表现略逊于完整上下文。检测器研究表明,Reset 方法可消除注入的污染,但无法实现跨度选择性;该增益来自于任务规范的重建。
英文摘要:
LLMs degrade in multi-turn conversation partly because of context pollution: the model's own earlier outputs stay in context and anchor later turns, so an early misreading of the user's intent can persist after the user corrects it. Assistant omission (AO), dropping every assistant message, removes this pollution but fails when interaction is referential: later turns refer back to drafts, decisions, and tool-call results that exist only in assistant turns. We propose Agentic Conversation Context Curation (AC3), a training-free method in which a separate analyzer (1) consolidates the task specification from the user's messages alone, (2) audits the assistant's prior outputs against it, and (3) edits the context, either appending the analysis or discarding the assistant side and rebuilding the context from the specification. A second finding: pollution is contagious. An analyzer that sees the assistant's reasoning while extracting the specification can do worse than no intervention, and instructing it to ignore them did not close the gap, so we exclude assistant turns structurally. On Lost in Conversation (replaying difficulty-selected instances), where AO is an oracle by construction, AC3 closes 55-84% of the gap between full context and AO on three of four tasks and exceeds AO on the fourth, and an LLM that faithfully summarizes the history does not reproduce the gain even with more compute. On real WildChat conversations, a GPT-5-mini judge prefers AC3's next turn over both full context and AO in every configuration of our main table, though this preference depends on the judge; on CollabLLM results are mixed. In stateful tool use (tau2-bench), AO collapses to 0% on every model; AC3 does not collapse, though it falls slightly behind full context. Detector studies show that Reset removes injected pollution but is not span-selective: the gain comes from rebuilding the specification.
Loose Lips: Understanding Privacy Leakage in Agentic Dialogue
Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);McGill University(麦吉尔大学);Simon Fraser University(西蒙菲莎大学);ÉTS(ÉTS(魁北克大学工程与技术学院));ServiceNow AI Research(ServiceNow人工智能研究部);Université de Montréal(蒙特利尔大学)
TimeSage-MT: A Multi-Turn Benchmark for Evaluating Agentic Time Series Reasoning
University of Oxford(牛津大学);VulpiVox Intelligence;Eindhoven University of Technology(埃因霍温理工大学);Griffith University(格里菲斯大学);Squirrel Ai Learning;East China Normal University(华东师范大学)
Formal Foundations of Agentic Business Process Management
University of Oxford, UK(牛津大学,英国);SAP, Germany(德国SAP公司);Umeå University, Sweden(乌梅拉大学,瑞典);University of Mannheim, Germany(曼海姆大学,德国);Free University of Bozen-Bolzano, Italy(博兹纳自由大学,意大利)
AINTMA: Agentic AI Architecture for Autonomous Test Management with Generative Intelligence, Secure Cloud Communication and Adaptive Quality Analytics
International Business Machines (IBM)(国际商业机器公司(IBM));Global Atlantic Financial(全球大西洋金融公司);Docusign(DocuSign公司);Salesforce Inc(Salesforce公司);The Home Depot(家得宝公司)