ES-Mem: Event Segmentation-Based Memory for Long-Term Dialogue Agents
Huhai Zou, Tianhao Sun, Chuanjiang He, Yu Tian, Zhenyang Li, Li Jin, Nayu Liu, Jiang Zhong, Kaiwen Wei
TL;DR
ES-Mem tackles the problem of memory fragmentation and structure-agnostic retrieval in long-term dialogue agents. It introduces a dynamic event segmentation module, grounded in Topic Coherence and Intent transitions, and a layered memory architecture with refined boundaries, event summaries, and raw context, all integrated via a coarse-to-fine retrieval pipeline anchored by event boundaries. Empirical results on LoCoMo and LongMemEval-S show ES-Mem consistently outperforms strong baselines, with the event segmentation module also transferring effectively to dialogue segmentation benchmarks. The approach improves context localization, preserves discourse semantics, and offers a scalable memory solution for long-running conversations with potential extensions to multimodal data and memory dynamics.
Abstract
Memory is critical for dialogue agents to maintain coherence and enable continuous adaptation in long-term interactions. While existing memory mechanisms offer basic storage and retrieval capabilities, they are hindered by two primary limitations: (1) rigid memory granularity often disrupts semantic integrity, resulting in fragmented and incoherent memory units; (2) prevalent flat retrieval paradigms rely solely on surface-level semantic similarity, neglecting the structural cues of discourse required to navigate and locate specific episodic contexts. To mitigate these limitations, drawing inspiration from Event Segmentation Theory, we propose ES-Mem, a framework incorporating two core components: (1) a dynamic event segmentation module that partitions long-term interactions into semantically coherent events with distinct boundaries; (2) a hierarchical memory architecture that constructs multi-layered memories and leverages boundary semantics to anchor specific episodic memory for precise context localization. Evaluations on two memory benchmarks demonstrate that ES-Mem yields consistent performance gains over baseline methods. Furthermore, the proposed event segmentation module exhibits robust applicability on dialogue segmentation datasets.
