Structured Episodic Event Memory
Zhengxuan Lu, Dongfang Li, Yukun Shi, Beilun Wang, Longyue Wang, Baotian Hu
TL;DR
This work tackles the long-standing challenge of maintaining coherent long-term memory in LLM-based agents by introducing Structured Episodic Event Memory (SEEM). SEEM combines a dynamic Episodic Memory Layer (EML) for narrative progression with a static Graph Memory Layer (GML) for relational facts, both provenance-grounded and integrated via a Reverse Provenance Expansion mechanism. The core innovations include Episodic Event Frames (EEFs) for event-centric representation and an associative fusion process to merge related events, along with a graph-based retrieval strategy that preserves structural dependencies. Empirical results on LoCoMo and LongMemEval show SEEM outperforms dense retrieval and prior memory-based systems, with strong gains in semantic trustworthiness and narrative coherence, and robust behavior under incremental construction. The work demonstrates practical gains for long-horizon reasoning in agents, while also outlining limitations related to computation, potential error propagation, and biases, pointing to future directions in efficiency and safety.
Abstract
Current approaches to memory in Large Language Models (LLMs) predominantly rely on static Retrieval-Augmented Generation (RAG), which often results in scattered retrieval and fails to capture the structural dependencies required for complex reasoning. For autonomous agents, these passive and flat architectures lack the cognitive organization necessary to model the dynamic and associative nature of long-term interaction. To address this, we propose Structured Episodic Event Memory (SEEM), a hierarchical framework that synergizes a graph memory layer for relational facts with a dynamic episodic memory layer for narrative progression. Grounded in cognitive frame theory, SEEM transforms interaction streams into structured Episodic Event Frames (EEFs) anchored by precise provenance pointers. Furthermore, we introduce an agentic associative fusion and Reverse Provenance Expansion (RPE) mechanism to reconstruct coherent narrative contexts from fragmented evidence. Experimental results on the LoCoMo and LongMemEval benchmarks demonstrate that SEEM significantly outperforms baselines, enabling agents to maintain superior narrative coherence and logical consistency.
