HaluMem: Evaluating Hallucinations in Memory Systems of Agents

Ding Chen, Simin Niu, Kehang Li, Peng Liu, Xiangping Zheng, Bo Tang, Xinchi Li, Feiyu Xiong, Zhiyu LiarXiv 2025 · DOI

Introduction: The Hallucination Problem in Memory Systems

As Large Language Model (LLM) agents transition from simple chatbots to long-term personal assistants, their reliance on external memory systems has become critical. These systems are tasked with storing user preferences, career histories, and health data over extended periods. However, a significant hurdle remains: memory hallucinations. These occur when a system fabricates details, fails to update obsolete information, or omits crucial facts during retrieval.

Historically, evaluating these hallucinations has been a "black box" process. Traditional benchmarks typically focus on end-to-end Question Answering (QA). If an agent provides an incorrect response, it is often impossible to determine whether the failure occurred during the initial information extraction, the updating of an existing memory, or the final generation phase.

Examples of hallucinations across memory extraction, updating, and question-answering stages.

The HaluMem Framework

To address this lack of granularity, HaluMem introduces an operation-level evaluation framework. This approach decomposes the memory pipeline into three distinct, measurable tasks:

  1. Memory Extraction (E): The ability to identify and store relevant information while filtering out noise or unconfirmed distractors.
  2. Memory Updating (U): The capacity to modify or replace outdated memories when new, conflicting information is provided (e.g., a user changing their dietary preferences).
  3. Memory Question Answering (Q): The final retrieval and reasoning step required to answer complex queries based on stored facts.

By providing fine-grained ground truths for each stage, HaluMem allows researchers to localize exactly where a memory pipeline fails, moving beyond simple pass/fail metrics.

Data Generation Pipeline

The benchmark is built upon a sophisticated six-stage pipeline designed to simulate realistic, evolving human-agent interactions. This process ensures that the memory points (MPs) are not just static facts but part of a dynamic narrative.

The six-stage pipeline used to construct the HaluMem benchmark, from persona creation to session generation.

The pipeline begins with Persona Construction and a Life Skeleton, defining a virtual user's core traits and major life events. This evolves into an Event Flow and eventually into full Human-LLM Sessions. Finally, GPT-4o is utilized to generate 3,467 QA pairs across six categories, including "Memory Boundary" (testing if the system recognizes its own knowledge limits) and "Memory Conflict."

Datasets: Scaling to 1 Million Tokens

HaluMem provides two primary datasets to test system robustness:

  • HaluMem-Medium: Contains approximately 15,000 memory points with an average context length of 160,000 tokens.
  • HaluMem-Long: Extends the context to a massive 1 million tokens. This is achieved by interleaving the core user dialogue with irrelevant "noise" dialogues. This dataset specifically evaluates "False Memory Resistance"—the system's ability to maintain focus on the user amidst a sea of irrelevant data.

Key Insights: The Propagation Effect

One of the most significant findings of the HaluMem study is the Propagation Effect. Hallucinations in memory systems are cumulative; an error during the extraction stage (such as misinterpreting a user's statement) almost inevitably leads to a failure in the updating stage. This cascade eventually results in a hallucination in the final system response.

Furthermore, the researchers identified an Updating Bottleneck. Current state-of-the-art systems like Mem0 and MemOS struggle significantly with memory updates. Omission rates for updates often exceed 50%, meaning systems frequently retain "zombie" memories of outdated facts even after receiving explicit corrections.

Experimental Results

Benchmarking several leading systems (Mem0, Memobase, MemOS, Supermemory, and Zep) revealed several critical weaknesses:

  • Accuracy Gaps: Even top-performing systems struggled with extraction accuracy, often scoring below 62%.
  • Long-Context Collapse: Performance for many systems "fell off a cliff" in the 1M token setting. For instance, Mem0’s recall plummeted from 42.9% in the Medium dataset to just 3.2% in the Long dataset.
  • Efficiency: The "write-stage" (adding new dialogues to memory) was identified as the primary computational bottleneck, taking significantly longer than retrieval operations.

Conclusion and Future Directions

HaluMem provides a rigorous diagnostic tool for the next generation of AI agents. The study highlights the need for more interpretable memory operations and better "linkage stability" to ensure that updates successfully overwrite old information. Future work will focus on improving noise robustness and developing systems where the logic of memory management is transparent rather than opaque.

Summary updated

BibTeX
@misc{chen2025halumem,
  author = {Ding Chen and Simin Niu and Kehang Li and Peng Liu and Xiangping Zheng and Bo Tang and Xinchi Li and Feiyu Xiong and Zhiyu Li},
  title = {{HaluMem: Evaluating Hallucinations in Memory Systems of Agents}},
  year = {2025},
  eprint = {2511.03506},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.03506},
}
Figure