arXiv:2601.21797cs.CL2026-01被引 1

让对话记忆系统学会根据任务需求自动优化,提升长对话表现。

Enhancing Conversational Agents via Task-Oriented Adversarial Memory Adaptation

  • 用对抗机制模拟任务执行,反向指导记忆构建与更新。
  • 在LoCoMo数据集上显著提升长对话任务准确率。
  • 适合需要长期记忆的智能客服、对话机器人场景。

对话代理在处理长对话时受限于上下文窗口。为此,研究者开发了记忆系统以利用关键历史信息。现有记忆系统通常采用离线构建与更新、在线检索的流程,但离线阶段固定且与任务无关:记忆构建遵循预设流程,忽略任务相关性;更新依赖通用指标而非任务监督。这导致离线准备与下游任务脱节,影响性能。为此,本文提出对抗式记忆适配机制(AMA),通过模拟任务执行来对齐记忆构建与更新与任务目标。具体而言,挑战者代理基于原始对话生成问答对,利用构建的记忆进行回答以模拟下游推理;评估者代理分析响应并进行错误诊断;适配器代理则根据错误案例,对构建策略和内容进行双层更新。该过程使记忆系统在离线阶段即获得任务感知的监督信号,增强对下游任务的适应性。AMA可集成至多种现有记忆系统,在长对话基准数据集LoCoMo上的实验验证了其有效性。

原文摘要 · Abstract (English)

Conversational agents struggle to handle long conversations due to context window limitations. Therefore, memory systems are developed to leverage essential historical information. Existing memory systems typically follow a pipeline of offline memory construction and update, and online retrieval. Despite the flexible online phase, the offline phase remains fixed and task-independent. In this phase, memory construction operates under a predefined workflow and fails to emphasize task relevant information. Meanwhile, memory updates are guided by generic metrics rather than task specific supervision. This leads to a misalignment between offline memory preparation and task requirements, which undermines downstream task performance. To this end, we propose an Adversarial Memory Adaptation mechanism (AMA) that aligns memory construction and update with task objectives by simulating task execution. Specifically, first, a challenger agent generates question answer pairs based on the original dialogues. The constructed memory is then used to answer these questions, simulating downstream inference. Subsequently, an evaluator agent assesses the responses and performs error analysis. Finally, an adapter agent analyzes the error cases and performs dual level updates on both the construction strategy and the content. Through this process, the memory system receives task aware supervision signals in advance during the offline phase, enhancing its adaptability to downstream tasks. AMA can be integrated into various existing memory systems, and extensive experiments on long dialogue benchmark LoCoMo demonstrate its effectiveness.

对话系统记忆机制对抗训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。