Enhancing Conversational Agents via Task-Oriented Adversarial Memory Adaptation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Deng, Yimin, Fu, Yuqing, Xu, Derong, Wang, Yejing, Ni, Wei, Gao, Jingtong, Li, Xiaopeng, Liu, Chengxu, Han, Xiao, Zhao, Guoshuai, Zhao, Xiangyu, Zhu, Li, Qian, Xueming
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912859422720000
author Deng, Yimin
Fu, Yuqing
Xu, Derong
Wang, Yejing
Ni, Wei
Gao, Jingtong
Li, Xiaopeng
Liu, Chengxu
Han, Xiao
Zhao, Guoshuai
Zhao, Xiangyu
Zhu, Li
Qian, Xueming
author_facet Deng, Yimin
Fu, Yuqing
Xu, Derong
Wang, Yejing
Ni, Wei
Gao, Jingtong
Li, Xiaopeng
Liu, Chengxu
Han, Xiao
Zhao, Guoshuai
Zhao, Xiangyu
Zhu, Li
Qian, Xueming
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_21797
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Enhancing Conversational Agents via Task-Oriented Adversarial Memory Adaptation
Deng, Yimin
Fu, Yuqing
Xu, Derong
Wang, Yejing
Ni, Wei
Gao, Jingtong
Li, Xiaopeng
Liu, Chengxu
Han, Xiao
Zhao, Guoshuai
Zhao, Xiangyu
Zhu, Li
Qian, Xueming
Computation and Language
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.
title Enhancing Conversational Agents via Task-Oriented Adversarial Memory Adaptation
topic Computation and Language
url https://arxiv.org/abs/2601.21797