MedMemoryBench: Benchmarking Agent Memory in Personalized Healthcare

Yihao Wang, Haoran Xu, Renjie Gu, Yixuan Ye, Xinyi Chen, Xinyu Mu, Yuan Gao, ChunxiaoGuo, Peng Wei, Jinjie Gu, Huan Li, Ke Chen, Lidan Shou

TL;DR

If an AI health assistant forgets your favorite pizza topping, no harm done. If it forgets your severe latex allergy or misreads a year-long blood sugar trend, it becomes a safety hazard. MedMemoryBench is a new benchmark built to test whether AI agent memory systems can survive the messy, high-stakes reality of long-term personalized healthcare—and it reveals that under realistic noise, nearly every mainstream memory architecture buckles.

What Problem Does This Paper Address?

Personalized healthcare agents are moving from demos to massive real-world deployments (such as Ant Group’s Ant Afu, which serves tens of millions of users). Yet existing memory benchmarks—like LoCoMo or LongMemEval—mostly test casual, open-domain chit-chat.

Figure 1: Four representative reasons illustrating why personalized healthcare places stricter demands on agent memory.

As illustrated above, medical dialogue breaks standard benchmark assumptions in four ways:

  1. Safety-Critical Personalization: Allergies and drug contraindications require zero-fault retention, unlike trivial persona facts.
  2. Longitudinal Clinical Progression: Chronic diseases evolve over months or years; agents must track temporal trajectories rather than simply overwriting old states.
  3. Streaming Memory Integration: In production, memory builds up session by session and immediately shapes the next interaction—something offline, one-shot evaluations miss.
  4. Noisy Memory Accumulation: Real users ask random general-health questions, consult on behalf of family members, and repeat themselves. This leads to memory saturation, where a growing pile of semantically similar entries actively degrades retrieval and reasoning.

Methods

To mirror real-world clinical deployments, the authors built a four-stage human–agent collaborative pipeline:

  • Patient Profile & Event Graph: Starting from 20 de-identified real-world chronic disease cases, they generate year-long diagnostic trajectories structured as temporal, causal event graphs. They explicitly inject trap events—high-priority facts like allergies, contraindications, and financial constraints.
  • Multi-Turn Simulation: Patient and physician agents role-play ~100 sessions per patient, recording session summaries into memory as they go.
  • Query Construction & Expert Review: A multi-agent setup (Trap, Query, and Critique agents) generates questions that force reliance on personal memory rather than general medical knowledge. Medical annotators verify clinical plausibility, terminology, and answer accuracy.
  • Streaming Evaluation (STREAMEVAL): Instead of building the entire memory store first and testing once at the end, MedMemoryBench evaluates while constructing—triggering checkpoints every 10 sessions, with strict constraints preventing future information leakage.

Queries span six types across three capability bands: precise memory extraction (Entity Exact Match, Temporal Location Accuracy), temporal conflict resolution (State Update Accuracy), and medical knowledge reasoning (Multiple Choice, Inference Generation, and Multi-hop Clinical Deduction).

Datasets

The resulting MedMemoryBench dataset covers 20 chronic-disease patients across ~2,000 sessions, totaling ~16,000 dialogue turns (~20.74 million tokens) and 1,939 verified queries.

To test memory saturation, the benchmark runs in two modes:

  • Efficient Mode: Focused consultations strictly about the patient's own condition.
  • Mixed Mode: Injects ~200 extra "noise" sessions per patient—general health knowledge queries and proxy consultations for 2–4 virtual family members—pushing the total to ~42,000 dialogue turns.

Key Insights and Ideas

  • Moderate memory granularity wins: Methods with medium-grained memories (like A-Mem, MemOS, and Letta) outperform both fine-grained fragmenters (Mem0, which weakens contextual links) and coarse-grained packers (MIRIX, which dilutes retrieval precision).
  • Retrieval is the real bottleneck: Letta leads largely because its Core Memory keeps critical facts persistently in the system prompt, bypassing retrieval. Other systems build rich memory stores but fail to pull the right evidence when it matters—especially for multi-hop clinical reasoning.
  • More memory can mean worse performance: In Mixed Mode, every single method degrades. As redundant and noisy entries pile up, retrieval gets flooded, confirming that memory saturation is a major vulnerability.
  • Models overcommit instead of abstaining: Across the board, hallucination rates on incorrect answers are alarmingly high (0.60 to 0.92), meaning agents tend to give confident wrong answers rather than admit they lack the right memory.

Key Results

Using GPT-5.1 as the backbone and Claude-4-Sonnet as the judge, the authors benchmarked 12 memory/RAG baselines plus a Long-Context control:

  • Overall Accuracy (Efficient Mode): Long-Context (51.58%) and Letta (51.21%) top the chart, followed by MemOS (48.16%) and MemRL (46.37%). Graph-structured methods (GraphRAG, HippoRAG-v2, ReMem) lag behind at ~33.6%–33.9%.
  • Impact of Noise (Mixed Mode): Performance drops sharply across all methods—Letta falls to 41.55%, Long-Context to 38.75%, MemOS to 40.98%, and LightMem from 40.33% down to 27.31%.
  • Cost Imbalance: Memory building (not querying) dominates both time and token costs, with some structured methods costing over 5x more than standard RAG baselines without delivering commensurate accuracy gains.

Limitations and Future Work

The authors note in a footnote that detailed limitations and future work are discussed in Appendix G (not included in the main 10-page paper). Broadly, they highlight that current memory architectures still struggle to balance memory granularity, retrieval precision, and noise resilience—pointing to selective filtering and better long-term memory organization as essential next steps for safe, production-ready medical agents.

Summary updated

BibTeX
@inproceedings{wang2026medmemorybench,
  author = {Yihao Wang and Haoran Xu and Renjie Gu and Yixuan Ye and Xinyi Chen and Xinyu Mu and Yuan Gao and ChunxiaoGuo and Peng Wei and Jinjie Gu and Huan Li and Ke Chen and Lidan Shou},
  title = {{MedMemoryBench: Benchmarking Agent Memory in Personalized Healthcare}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=iL37bwRpOg},
}
Figure