cs.LGAug 30, 2026

MedCache: Efficient and Temporally Valid Memory for Longitudinal Clinical Agents

Authors: Hei Ting Chan, Chenwei Wu, Xueshen Liu, Boyuan Zheng, Liyue Shen, Jiasi Chen, Z. Morley Mao

Organizations: University of Michigan, Ann Arbor, MI, USA

Abstract

Longitudinal clinical agents must maintain an evolving patient state from evidence distributed across visits, time points, and specialties. However, how agent memory should be designed for this setting remains unclear. We introduce a benchmark of multi-visit, multi-specialty patient records that evaluates long-context evidence retrieval, cross-time evidence aggregation, and cross-specialty clinical reasoning. Using this benchmark, we systematically study four memory design choices: curation, organization, retrieval, and memory-augmented reasoning. We find that temporal validity is more important than simply retaining more history; specialty-factorized memory reduces context but can hide shared evidence; and multiple agents help when specialists must reason together, not merely when evidence comes from multiple memories. Guided by these findings, we propose MedCache, a hybrid framework that constructs temporally valid patient memory, organizes evidence into overlapping specialty views, routes each query to relevant memories, and adaptively invokes one or multiple specialists. Experiments show that MedCache improves reasoning accuracy and memory efficiency over strong single-agent and multi-agent baselines, while generalizing across model backbones and external datasets.

Figures & tables

Explore similar work

CardsList
  1. MedMemoryBench: Benchmarking Agent Memory in Personalized Healthcare

    May 12, 2026Yihao Wang, Haoran Xu, Renjie Gu +10Agent MemoryHealthcare

  2. MSM-Mem: A Universal Medical Structured Multimodal Memory Framework for Medical AI Agents

    Aug 22, 2026Md Asaduzzaman Jabin, Khoa Le, Lin Zhao +1Medical AI AgentsLLM Agent Memory

  3. LongMedBench: Benchmarking Medical Agents for Long-Horizon Clinical Decision-Making

    Jul 10, 2026Zihan Xu, Yanzhen Chen, Xiaocheng Zhang +4Long-Horizon Agent EvaluationClinical Decision-Making