HEAMS: Holistic Evaluation of Agent Memory Systems

Chirag Goel, Jacob Lavoie, Amirhossein Naghshzan, Jordan Bannister, Marzia Nouri, Mehar Bhatia, Matt Harris, Siva Reddy, Arsène Fansi Tchango, Gaétan Marceau CaronarXiv 2026

TL;DR

HEAMS (Holistic Evaluation of Agent Memory Systems) is an open-source framework that moves beyond judging AI memory solely on performance and speed. It introduces a multi-dimensional benchmark suite to evaluate how well memory systems handle privacy, security, and user control, revealing that high-performing systems often fail significantly at protecting user data.

What Problem Does This Paper Address?

As AI agents transition from single-turn chatbots to long-term assistants (like ChatGPT’s "memory" feature), they must persist information across sessions. Traditionally, researchers have evaluated these Agent Memory Systems (AMS) based on performance (can the agent remember the fact?) and efficiency (how many tokens/seconds did it take?).

However, the authors argue that memory systems are the "custodians" of user data. Storing information long-term introduces critical risks:

  • Privacy: Disclosing sensitive info in the wrong context.
  • User Sovereignty: The inability for a user to inspect, correct, or delete their own data.
  • Security: "Memory poisoning," where an attacker plants malicious info to steer future agent behavior.

Until now, there hasn't been a unified way to measure the trade-offs between being a "helpful" assistant and a "responsible" data guardian.

Methods

The authors developed the HEAMS framework, which standardizes how memory systems are tested. Key components include:

  1. Standardized Interface: Every memory system is adapted to four core operations: retain (store), recall (retrieve), delete (remove), and consolidate (summarize/clean up).
  2. Modular Governance Layer: A novel wrapper that sits around any memory system. It applies Retention Policies (deciding what to store at the "front door") and Recall Policies (deciding what to show the agent at the "back door") using LLM-based reasoning.
  3. MilaMem: A prototype memory system designed specifically to test how different configurations of the four core operations affect holistic outcomes.
  4. Controlled Comparison: By holding the agent model (e.g., GPT-4o) and the interaction strategy fixed, the framework ensures that differences in scores are actually due to the memory system itself.

Datasets

HEAMS utilizes a suite of 10 benchmarks, combining five established performance tests with five new or adapted tests for safety and control:

  • Performance: LoCoMo, LongMemEval, Evo-Memory, BEAM, and STALE.
  • Security: MPBench, which tests resistance to malicious memory poisoning.
  • New Privacy/Sovereignty Benchmarks:
    • Contextual Integrity: Measures if the agent leaks private info when it's not strictly necessary for the task.
  • Transparency: Evaluates if the agent can accurately report what it currently knows about a user.
  • Editability/Erasability: Tests if "forget this" or "change this" requests actually work.
  • Retention Policy: Checks if the system obeys specific user rules (e.g., "never store my health data").

Key Insights and Ideas

  • The Performance-Privacy Paradox: A system that is "perfect" at remembering everything for a task is often the most dangerous for privacy. For example, HippoRAG scored highest on performance but leaked private information in over 71% of test scenarios.
  • Governance as a Separate Layer: The authors demonstrate that you don't necessarily need a new memory architecture to improve safety. Adding a governance layer to a standard system can drastically improve security and privacy.
  • Memory is not just a Database: The paper reframes AMS as a component with its own ethical responsibilities to the user, independent of the agent's immediate goals.
  • Trade-offs are Inevitable: Improving privacy (via recall policies) often comes at a slight cost to "helpfulness," as the system becomes more cautious about what it shares with the agent.

Key Results

  • No Universal Winner: No single memory system led across all benchmarks. While HippoRAG excelled at long-history retrieval, In-context memory (keeping everything in the prompt) was often superior for shorter, complex reasoning tasks like LoCoMo.
  • Security Gains: Adding a combined retention and recall policy to the MilaMem prototype raised its resistance to memory poisoning from 40% to 88.6%.
  • Privacy Improvements: A "necessity-gated" recall policy halved the number of privacy leaks, though it reduced the agent's helpfulness score by about 4.8%.
  • The Deletion Gap: Most current systems are terrible at forgetting. Even the best-performing configuration (MilaMem) only successfully erased facts 47% of the time when asked.

Limitations and Future Work

  • Offline Evaluation: The benchmarks are static. Real-world "online" usage might reveal different behavioral dynamics.
  • Breadth vs. Depth: While HEAMS covers five dimensions, it only uses one or two benchmarks for security and privacy. The authors call for the community to contribute more diverse scenarios.
  • Single-User Focus: The current suite only considers a single user interacting with a private agent, ignoring the complexities of shared or organizational memory.
  • LLM Judge Reliability: The framework relies heavily on LLMs to grade the agent's responses, which introduces the risk of "judge error" or bias.

Summary updated

Abstract

Memory systems allow AI agents to persist information across interactions, making them more personalized and more capable on long-horizon tasks. This persistence introduces new risks: stored information can be disclosed in inappropriate contexts, resist correction or deletion, be retained beyond what users desire, or be poisoned to influence later agent behaviour. Yet memory systems are typically evaluated on task performance and efficiency alone. We argue that a memory system should instead be understood as the custodian of its user's persistent information, with responsibilities that extend beyond helping an agent complete its tasks, and that it should be evaluated holistically against all such responsibilities. We present Holistic Evaluation of Agent Memory Systems (HEAMS), an open-source framework for evaluating agent memory systems in this way. First, we state the responsibilities of agent memory systems as explicit behavioural desiderata spanning performance, efficiency, security, privacy, and user sovereignty. Second, we assemble a benchmark suite that covers these desiderata and acknowledge the gaps that remain. Third, we develop MilaMem, a prototype memory system, and a governance layer that can wrap any memory system, enabling controlled study of memory system design choices. Fourth, we compare memory systems across the full HEAMS benchmark suite. We find that no memory system leads every performance benchmark, and strong performance scores may coexist with poor privacy, user-sovereignty, and security scores. Governance strongly influences results: recall policies can reduce inappropriate disclosure at a cost in helpfulness, while both recall and retention policies improve poisoning resistance. Performance and efficiency benchmarks alone therefore cannot reveal how well a memory system meets its responsibilities. Code: https://github.com/milatechtransfer/heams
BibTeX
@misc{goel2026heams,
  author = {Chirag Goel and Jacob Lavoie and Amirhossein Naghshzan and Jordan Bannister and Marzia Nouri and Mehar Bhatia and Matt Harris and Siva Reddy and Arsène Fansi Tchango and Gaétan Marceau Caron},
  title = {{HEAMS: Holistic Evaluation of Agent Memory Systems}},
  year = {2026},
  eprint = {2611.20144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20144},
}
Figure