Towards Lifelong Dialogue Agents via Timeline-based Memory Management
Kai Tzu-iunn Ong, Namyoung Kim, Minju Gwak, Hyungjoo Chae, Taeyoon Kwon, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo
TL;DR
The paper addresses the challenge of lifelong dialogue by proposing THEANINE, a timeline-based memory management framework that preserves and links memories through a relation-aware memory graph and retrieves complete memory timelines to augment response generation. It introduces Phase I (memory graph construction), Phase II (timeline retrieval and refinement), and Phase III (timeline-augmented RG), plus TeaFarm, a counterfactual evaluation pipeline for memory recall without ground-truth mappings. Across MSC and CC datasets, Theanine outperforms baselines in automatic and human evaluations, with ablations confirming the importance of relation-aware linking, timeline retrieval, and refinement. The work demonstrates improved retrieval quality and past-entailing responses, offering a scalable, cost-aware path toward robust, personalized, lifelong dialogue agents and a practical evaluation framework for memory integration.
Abstract
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.
