cs.CLSep 29, 2026

Personalized State-Transition-Aware Memory for Clinical Agents

Authors: Maryam Haghifam, Zahra Rajabi, Yizhou Sun, Carlos Morato

Organizations: Department of Computer Science, University of California, Los Angeles, CA, USA · Optum AI, UnitedHealth Group, Minneapolis, MN, USA

Abstract

Large language model (LLM) agents that reason over clinical records must track changes in a patient's state while preserving the history needed to understand them. Simply accumulating memories leaves it unclear which information still applies, whereas overwriting earlier memories can erase evidence needed to reconstruct treatment history and clinical trajectories. We introduce STAM, a state-transition-aware memory framework that records state changes as new clinical entries arrive. STAM combines semantic retrieval with typed clinical relations to identify affected memories, maintaining current information in Active and superseded or resolved information in History. At read time, a query-dependent gate selectively serves historical memory. Across four longitudinal clinical benchmarks, we evaluate STAM with downstream question answering, direct state-maintenance diagnostics, and comparisons at approximately matched context lengths.

Figures & tables

Appendix figures & tables22 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PACMI: Provenance-Aware Cascading Memory Invalidation for Long-Term LLM Agents

    Oct 5, 2026Yiqi Wang, Jiaqi Liu, Jiaqi Zhang +4

  2. TransMem: Transforming Hidden States into Memory for Large Language Models

    Jul 31, 2026Haodong Lei, Junming Liu, Yirong Chen +4Large Language Model MemoryLarge Language Model Agents

  3. Learning to Remember: End-to-End Training of Memory Agents for Long-Context Reasoning

    Feb 13, 2026Kehao Zhang, Shangtong Gui, Sheng Yang +2Agentic MemoryLong-Context Reasoning