arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10996cs.CL
收藏

通过基于时间线的记忆管理迈向终身对话智能体

Towards Lifelong Dialogue Agents via Timeline-based Memory Management

Yonsei University(延世大学);Seoul National University(首尔大学)

Kai Tzu-iunn Ong, Namyoung Kim, Minju Gwak, Hyungjoo Chae, Taeyoon Kwon, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo

AI总结:

针对终身对话智能体,提出THEANINE框架,通过时间与因果链接管理大规模记忆并生成记忆时间线以增强响应生成,同时引入TeaFarm评估方案解决记忆整合评估的局限。

摘要:

为了实现终身人机交互,对话智能体需要不断记忆感知到的信息,并正确检索这些信息以进行响应生成(RG)。虽然先前的研究侧重于清除过时的记忆以提高检索质量,但我们认为在长期对话中,这些记忆为RG提供了丰富且重要的上下文线索(例如,用户行为的变化)。我们提出了THEANINE,一个基于LLM的终身对话智能体框架。THEANINE摒弃了记忆移除,通过基于时间和因果关系将大规模记忆进行链接来管理它们。借助这种链接结构,THEANINE利用记忆时间线来增强RG——记忆时间线是一系列代表相关过去事件演变或因果关系的记忆。伴随THEANINE,我们引入了TeaFarm,一种由反事实驱动的评估方案,解决了在评估智能体将过去记忆整合到RG中的性能时G-Eval和人工努力的局限性。THEANINE的补充视频和TeaFarm的数据可在https://huggingface.co/spaces/ResearcherScholar/Theanine获取。

英文摘要:

To achieve lifelong human-agent interaction, dialogue agents need to constantly memorize perceived information and properly retrieve it for response generation (RG). While prior studies focus on getting rid of outdated memories to improve retrieval quality, we argue that such memories provide rich, important contextual cues for RG (e.g., changes in user behaviors) in long-term conversations. We present THEANINE, a framework for LLM-based lifelong dialogue agents. THEANINE discards memory removal and manages large-scale memories by linking them based on their temporal and cause-effect relation. Enabled by this linking structure, THEANINE augments RG with memory timelines - series of memories representing the evolution or causality of relevant past events. Along with THEANINE, we introduce TeaFarm, a counterfactual-driven evaluation scheme, addressing the limitation of G-Eval and human efforts when assessing agent performance in integrating past memories into RG. A supplementary video for THEANINE and data for TeaFarm are at https://huggingface.co/spaces/ResearcherScholar/Theanine.

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

↑