Echo: A Large Language Model with Temporal Episodic Memory

WenTao Liu, Ruohua Zhang, Aimin Zhou, Feng Gao, JiaLi LiuarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) have demonstrated remarkable proficiency in retrieving general world knowledge, a capability analogous to human semantic memory. However, they frequently falter when tasked with recalling specific personal interactions or maintaining a coherent sense of time—facets of episodic memory (EM). Episodic memory is essential for developing sophisticated AI assistants and emotional companions that can reference past conversations accurately.

Classification of long-term memory types, highlighting the distinction between semantic and episodic memory.

Current models often rely on external Retrieval-Augmented Generation (RAG) systems to manage history, which can lead to context loss and does not address the model's inherent reasoning limitations. This paper introduces Echo, an LLM fine-tuned to handle complex, time-aware dialogues by treating memory as a constructive process rather than simple retrieval.

Methodology

The development of Echo centers on two primary innovations: a multi-agent data generation framework and a temporal integration mechanism.

Multi-Agent Data Generation Framework (MADGF)

To overcome the scarcity of high-quality episodic memory training data, the authors developed MADGF. This framework simulates interactions between multiple agents assigned specific "Character Cards" (detailing age, occupation, and personality). The simulation generates three types of plots:

  • Common events: Standard greetings and factual exchanges.
  • Real events: Actual past interactions designed to test recall.
  • Hallucinatory events: Fabricated scenarios used to train the model to identify non-existent events and respond with "I don't know," thereby reducing hallucinations.

Temporal Integration

Echo incorporates a novel "Observation" role within the standard transformer architecture. This role injects real-time timestamps into the dialogue context, allowing the model to perceive the passage of time between turns. This enables complex temporal reasoning, such as calculating the duration since a previous interaction, without requiring architectural changes to the underlying decoder.

Experimental Results

The authors evaluated Echo using the newly created EM-Test benchmark, which categorizes memory tasks by difficulty and time span (ranging from "just now" to "several decades").

Performance comparison of Echo against other LLMs on Easy and Hard levels of the EM-Test benchmark.

Echo consistently outperformed state-of-the-art models, including GPT-4. On the EM-Test human evaluation, Echo achieved scores of 6.7 (Easy) and 5.9 (Hard), compared to GPT-4's 5.8 and 5.4. Furthermore, Echo demonstrated exceptional temporal reasoning accuracy, reaching 98.1% in short-term scenarios. While GPT-4 often hallucinated dates in short-term logic tests, Echo maintained high consistency.

Conclusion

Echo represents a significant step toward LLMs with human-like memory capabilities. By integrating temporal metadata and training on diverse multi-agent simulations, the model achieves superior episodic recall and reduced hallucination rates. Future work will focus on scaling this framework to larger base models and addressing data density inconsistencies across various time spans.

Summary updated

BibTeX
@misc{liu2025echo,
  author = {WenTao Liu and Ruohua Zhang and Aimin Zhou and Feng Gao and JiaLi Liu},
  title = {{Echo: A Large Language Model with Temporal Episodic Memory}},
  year = {2025},
  eprint = {2502.16090},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.16090},
}
Figure