Structured Episodic Event Memory

Zhengxuan Lu, Dongfang Li, Yukun Shi, Beilun Wang, Longyue Wang, Baotian Hu

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.

The Challenge of Long-Term Agentic Memory

As AI agents engage in increasingly complex, multi-session interactions, the requirement for a reliable long-term memory becomes paramount. The conventional solution, vector-based Retrieval-Augmented Generation (RAG), retrieves isolated text snippets based on semantic similarity. However, this "flat" approach often results in "scattered retrieval," where the LLM receives individual puzzle pieces without the narrative glue required to reconstruct a coherent story.

While recent graph-based approaches like GraphRAG attempt to organize information relationally, they often rely on rigid schemas that struggle to track the fluid, spatiotemporal dynamics of evolving events. SEEM addresses this by building a memory system capable of handling both static relational facts and the continuous narrative flow of long-term conversation.

Methodology: The SEEM Framework

SEEM introduces a hierarchical architecture that bifurcates memory into two specialized, complementary layers:

  1. Graph Memory Layer (GML): This layer functions as a traditional relational graph, organizing static facts—entities and their specific relationships—extracted from conversational data.
  2. Episodic Memory Layer (EML): The core innovation of SEEM, the EML transforms raw text into structured Episodic Event Frames (EEFs). Drawing from cognitive frame theory, each frame captures granular roles such as Participants, Action, Time, Location, and Reason.
The SEEM framework architecture featuring dual-layer Graph and Episodic Memory.

To maintain this memory, SEEM employs Associative Consolidation, where an agent evaluates new frames and merges them with historical ones to reduce redundancy and synthesize a cohesive narrative. During inference, the system utilizes Reverse Provenance Expansion (RPE). Instead of passing fragmented facts to the LLM, SEEM uses "provenance pointers" to trace facts back to their original passages and retrieves the entire consolidated event frame from the EML, ensuring the model receives a logically consistent context.

Experimental Evaluation

The framework was evaluated using two rigorous benchmarks designed to test long-term reasoning:

  • LoCoMo: A benchmark for long-form, open-domain conversations (up to 32 sessions) testing multi-hop reasoning and temporal understanding.
  • LongMemEval: A dataset of 500 curated questions simulating dynamic user-agent interactions and tracking changing user states over time.

Key Results and Insights

SEEM demonstrated significant performance gains across all metrics, establishing a new state-of-the-art for memory-based frameworks.

Performance comparison of SEEM against state-of-the-art baselines on LoCoMo and LongMemEval benchmarks.

On the LoCoMo benchmark, SEEM achieved an F1 score of 61.1, outperforming HippoRAG 2 (58.3). On LongMemEval, it reached 65.0% accuracy, a 4.4% absolute improvement over the previous best. Notably, SEEM showed massive gains in temporal reasoning (54.6 F1) and adversarial robustness (96.9 F1), suggesting that its structured event frames effectively ground the LLM in reality, preventing common hallucinations.

Furthermore, the study found that SEEM's memory scaffolding empowers smaller models. A 7B parameter model using SEEM outperformed larger baselines, indicating that high-quality, dense context can mitigate the "distraction" issues typically faced by smaller architectures in long-context windows.

Conclusion and Future Directions

While SEEM provides a robust solution for narrative coherence, it introduces higher computational overhead due to the LLM-driven extraction and fusion processes. Future work will focus on reducing latency and addressing potential error propagation during the initial frame extraction phase. Additionally, as episodic memory becomes more persistent and detailed, implementing user-centric controls and data anonymization will be critical for real-world deployment.

Summary updated

BibTeX
@misc{lu2026structured,
  author = {Zhengxuan Lu and Dongfang Li and Yukun Shi and Beilun Wang and Longyue Wang and Baotian Hu},
  title = {{Structured Episodic Event Memory}},
  year = {2026},
  eprint = {2601.06411},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.06411},
}
Figure