arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.21797cs.CL
收藏

通过任务导向的对抗性记忆适应增强对话代理

Enhancing Conversational Agents via Task-Oriented Adversarial Memory Adaptation

Xi’an Jiaotong University(西安交通大学);City University of Hong Kong(香港城市大学);University of Science and Technology of China(中国科学技术大学);Zhejiang University(浙江大学);Zhejiang University of Technology(浙江工业大学)

Yimin Deng, Yuqing Fu, Derong Xu, Yejing Wang, Wei Ni, Jingtong Gao, Xiaopeng Li, Chengxu Liu, Xiao Han, Guoshuai Zhao, Xiangyu Zhao, Li Zhu, Xueming Qian

AI总结:

本文提出对抗性记忆适应机制,通过模拟任务执行提升对话代理对长对话的处理能力。

摘要:

对话代理在处理长对话时面临上下文窗口限制的挑战。因此,开发了记忆系统以利用关键的历史信息。现有的记忆系统通常遵循离线记忆构建和更新,以及在线检索的流程。尽管在线阶段具有灵活性,但离线阶段仍保持固定且任务无关。在此阶段,记忆构建是在预定义的工作流下进行的,未能强调与任务相关的信息。同时,记忆更新是通过通用指标指导的,而非任务特定的监督。这导致了离线记忆准备与任务需求之间的不匹配,从而影响了下游任务的表现。为此,我们提出了一种对抗性记忆适应机制(AMA),通过模拟任务执行来对齐记忆构建和更新与任务目标。具体来说,首先,挑战者代理根据原始对话生成问题答案对。构建的内存随后用于回答这些问题,模拟下游推理。随后,评估者代理评估响应并执行错误分析。最后,适配者代理分析错误案例并对构建策略和内容进行双层更新。通过这一过程,记忆系统在离线阶段提前接收任务感知的监督信号,增强了其适应下游任务的能力。AMA可以集成到各种现有记忆系统中,并在长对话基准LoCoMo上进行了广泛的实验,证明了其有效性。

英文摘要:

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.

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

↑