Episodic Memories Generation and Evaluation Benchmark for Large Language Models

Alexis Huet, Zied Ben Houidi, Dario Rossi

Introduction

Human cognition is defined by the ability to recall specific, situated events—a capability known as episodic memory. While Large Language Models (LLMs) have demonstrated remarkable semantic memory, possessing vast stores of general knowledge, they consistently struggle with episodic tasks. For instance, an LLM may know that "Paris is the capital of France" (semantic), but it often fails to reliably track what a specific character did in Paris on a specific Tuesday within a long narrative (episodic).

Existing evaluations for long-context memory, such as "needle-in-a-haystack" tests, primarily measure the retrieval of isolated, static facts. These benchmarks fail to capture the complexity of human-like memory, which involves tracking changing states, spatial-temporal relationships, and the synthesis of multiple related events. Furthermore, many current benchmarks suffer from data contamination, as their source texts may have been included in the models' pre-training corpora. This paper introduces a novel, contamination-free benchmark designed to evaluate how LLMs generate and retrieve episodic memories across extended contexts.

Methodology and Dataset Generation

To rigorously test episodic memory, the authors model it as a structured tuple consisting of four core elements: (time, space, entities, content). Using this framework, they developed a synthetic data generation pipeline that utilizes an LLM to author coherent, novel-length "books."

Each chapter in these books represents a distinct event with strictly controlled ground-truth variables. Because the content is entirely synthetic and generated specifically for this study, the risk of pre-training contamination is eliminated. The researchers produced a suite of 11 datasets, including:

  • The Short Book: Approximately 10,000 tokens, containing 20 events.
  • The Long Book: Approximately 100,000 tokens, containing 200 events.
  • Domain Variations: Specialized datasets in World News and Science Fiction to test generalization across different narrative styles.

Evaluation Framework

The models were evaluated using three primary memory baselines:

  1. In-Context Learning (ICL): The entire book is provided within the prompt window.
  2. Retrieval-Augmented Generation (RAG): The book is chunked, and relevant segments are retrieved to answer specific queries.
  3. Parametric Memory (Fine-tuning): The model is fine-tuned on single-event question-answer pairs to determine if episodic knowledge can be internalized into the model's weights.

Performance was measured using an LLM-as-a-judge to calculate F1 scores (precision and recall of facts) and Kendall’s tau (accuracy of chronological ordering).

Key Insights and Results

The Challenge of "Cue Overload"

A significant finding of the study is the impact of "cue overload." LLMs perform well when a query points to a single, unique event. However, when a cue matches multiple events—such as asking for a list of all locations a character visited—performance drops sharply. For GPT-4o, the F1 score decreased from 0.81 for single-event queries to 0.53 when the query required retrieving six or more events. This suggests that current models struggle to distinguish between similar memories within a large context.

The Failure of Parametric Fine-Tuning

The study reveals that fine-tuning is currently an ineffective strategy for episodic memory. Models fine-tuned on specific facts tended to overfit and failed to generalize to multi-event reasoning. Most notably, fine-tuned models exhibited a high rate of hallucination. When presented with "trick" questions about events that never occurred, a fine-tuned GPT-4o-mini scored a 0.00 F1, fabricating an answer in every single instance.

Chronological and Temporal Reasoning

Tracking the passage of time remains a major hurdle for AI. Even when models successfully retrieved the correct events, they rarely succeeded in ordering them chronologically. The exact match rate for chronological ordering peaked at only 18% (Claude 3 Haiku via RAG), while several state-of-the-art models, including o1-mini, scored 0% on certain temporal tasks. This indicates that while models can find "needles," they cannot yet reconstruct the "thread" that connects them.

Model Performance Comparison

  • Top Performers: GPT-4o (using ICL) and Claude 3.5 Sonnet (using RAG) emerged as the leaders for the 100k-token Long Book.
  • Context Scaling: While o1-mini showed exceptional performance on the 10k-token Short Book, its efficacy degraded significantly as the context length increased.
  • RAG vs. ICL: RAG generally benefited smaller models by narrowing the focus, though its success was highly dependent on whether the chunking strategy preserved the integrity of individual events.

Limitations and Future Directions

The benchmark currently focuses on explicit time markers (e.g., specific dates) and does not yet account for implicit temporal reasoning (e.g., "the day after the wedding"). Additionally, the generated events are largely independent, lacking the complex causal links found in real-world narratives.

Despite these limitations, the results provide a clear signal: current methods of extending context windows and fine-tuning are insufficient for replicating human-like episodic memory. This benchmark serves as a call for the development of new architectures or training methodologies specifically designed to handle the spatial-temporal synthesis required for true episodic recall.

Summary updated

BibTeX
@inproceedings{huet2025episodic,
  author = {Alexis Huet and Zied Ben Houidi and Dario Rossi},
  title = {{Episodic Memories Generation and Evaluation Benchmark for Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=6ycX677p2l},
}
Figure