Personalized State-Transition-Aware Memory for Clinical Agents

Maryam Haghifam, Zahra Rajabi, Yizhou Sun, Carlos Morato
9/29/2026
cs.CLcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{haghifam2026personalized,
  title  = {Personalized State-Transition-Aware Memory for Clinical Agents},
  author = {Maryam Haghifam and Zahra Rajabi and Yizhou Sun and Carlos Morato},
  year   = {2026},
  eprint = {2609.38490},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.38490v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.38490.svg)](https://codeofpaper.com/paper/2609.38490)

Discussion