Skip to main content
QUICK REVIEW

[Paper Review] TRACE: Temporal Reasoning via Agentic Context Evolution for Streaming Electronic Health Records (EHRs)

Zhan Qu, Michael Färber|arXiv (Cornell University)|Feb 13, 2026
Machine Learning in HealthcareComputer Science0 citations
TL;DR

TRACE converts frozen LLMs into a multi-agent system with dual memory (Global Protocol and Individual Protocol) to perform reliable, bounded-cost temporal reasoning over streaming EHRs without fine-tuning or unbounded context windows.

ABSTRACT

Large Language Models (LLMs) encode extensive medical knowledge but struggle to apply it reliably to longitudinal patient trajectories, where evolving clinical states, irregular timing, and heterogeneous events degrade performance over time. Existing adaptation strategies rely on fine-tuning or retrieval-based augmentation, which introduce computational overhead, privacy constraints, or instability under long contexts. We introduce TRACE (Temporal Reasoning via Agentic Context Evolution), a framework that enables temporal clinical reasoning with frozen LLMs by explicitly structuring and maintaining context rather than extending context windows or updating parameters. TRACE operates over a dual-memory architecture consisting of a static Global Protocol encoding institutional clinical rules and a dynamic Individual Protocol tracking patient-specific state. Four agentic components, Router, Reasoner, Auditor, and Steward, coordinate over this structured memory to support temporal inference and state evolution. The framework maintains bounded inference cost via structured state compression and selectively audits safety-critical clinical decisions. Evaluated on longitudinal clinical event streams from MIMIC-IV, TRACE significantly improves next-event prediction accuracy, protocol adherence, and clinical safety over long-context and retrieval-augmented baselines, while producing interpretable and auditable reasoning traces.

Motivation & Objective

  • Motivate robust, long-horizon clinical reasoning on non-stationary EHR streams without updating model parameters.
  • Propose a dual-memory architecture that separates institutional guidelines from patient-specific state.
  • Develop an offline Reflector to induce generalizable institutional rules and freeze them for deployment.
  • Describe an agentic inference loop (Router, Reasoner, Auditor, Steward) that maintains bounded inference cost.
  • Demonstrate improved predictive accuracy, protocol adherence, and safety on MIMIC-IV data against baselines.

Proposed method

  • Introduce a dual-memory architecture with Global Protocol (institution-level rules) and Individual Protocol (patient-specific state).
  • Use a four-agent loop (Router, Reasoner, Auditor, Steward) to perform trigger-guided reasoning over structured memory.
  • Employ an offline Reflector to induce and expand the Global Protocol, which is frozen during online inference.
  • Implement Mitosis to compress and update a bounded, structured patient state, keeping inference cost independent of trajectory length.
  • Evaluate on MIMIC-IV longitudinal EHR streams with a prequential protocol and comparing against long-context, retrieval-augmented, and monolithic baselines.

Experimental results

Research questions

  • RQ1Can a frozen LLM be effectively steered for long-horizon, temporally evolving clinical reasoning via structured memory architecture?
  • RQ2Does separating institutional rules from patient-specific state improve accuracy, safety, and efficiency over long medical trajectories?
  • RQ3What is the impact of offline rule induction (Reflector) on deployment performance and generalization?
  • RQ4How does conditioned auditing affect safety, grounding, and computational cost in online inference?

Key findings

  • TRACE substantially improves Recall@5 for medications and lab orders across multiple backbones.
  • Protocol adherence remains high (92.1%–94.7%).
  • Auditor activation is conditional and generally low (5.15%–9.42%), limiting extra computation.
  • Ablations show Global Protocol and Mitosis are critical for performance and stability.
  • Clinical Equivalence scores improve with TRACE compared to baselines (2.95–3.28 to 3.56–3.96).
  • Best-performing configurations achieve strong adherence and reasonable equivalence without parameter updates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.