Manuscript Offprint

arXiv:2609.01111

ClinTraceBench: Source-Verifiable Longitudinal Clinical Reasoning over EHR-Derived Dialogues

Huimin Wang, Zhengyi Zhao, Yutian Zhao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Clinical LLM assistants must reason over multi-visit patient trajectories, yet whether the compact history representations used to scale them—retrieval, structured timelines, LLM summaries, agentic memory—preserve the longitudinal signal clinical reasoning needs has not been measured. We introduce ClinTraceBench: 385 MIMIC-IV-derived verified dialogues with event-ID provenance, a nine-task taxonomy (T1–T9), and L0–L4 deterministic + L5 human-audit validation (98.92% agreement). We evaluate eight history representation strategies—a no-context floor, last-visit-only, full-context, BGE-M3 dense-retrieval, two compression schemes, and two agentic-memory systems (Mem0, A-Mem)—across four backbones (DeepSeek-V3, GPT-4o-mini, Haiku 4.5, Sonnet 4.6) on 6,271 questions: 32 cells, 200,672 predictions. Four findings: (SP4) a controlled T3 injection probe isolates compression-induced relation loss—with the attribution sentence present before construction, Mem0, A-Mem and llm-summary still recover only 0–5.3% of the injected positives; (SP1) compressed strategies pay an aggregation tax on multi-visit trends and cross-patient comparisons; (SP2) the blind-to-full gap spans +29.8 pp (GPT-4o-mini) to +62.7 pp (Haiku); (SP3) abstention scales non-monotonically with context length. On the Pareto frontier Haiku dominates Sonnet under full-context (25.76vs.25.76 vs. 106.21), inverting the “biggest backbone wins” heuristic.

1 Introduction

Clinical assistants built on LLMs must reason over long, multi-visit patient trajectories: retrieving labs, tracking trends across encounters, linking findings to problems within a visit, recalling treatment, comparing patients, and abstaining when the record is silent. As context windows grow (Liu et al., 2024;

Bai et al., 2024), feeding the full chart is increasingly tractable but expensive, latency-bound, and—as we show—interacts non-monotonically with abstention. Practitioners therefore rely on compact history representations: retrieval-augmented generation (Lewis et al., 2020; Chen et al., 2024), structured timelines, LLM-generated summaries, and agentic memory systems such as Mem0 (Chhikara et al., 2025) and A-Mem (Xu et al., 2025). Whether these representations preserve enough signal for longitudinal clinical reasoning is the empirical question this paper addresses.

Three gaps make this question hard to answer with existing resources. First, EHR-derived clinical benchmarks (Kweon et al., 2024; Fleming et al., 2024; Ma et al., 2024; Ben Abacha et al., 2025) are dominated by single-encounter or single-document prompts; they do not stress multi-visit aggregation, encounter-local linkage, or abstention under unstated facts. Second, open-domain memory benchmarks (Maharana et al., 2024; Wu et al., 2025; Hu et al., 2025) evaluate dialogue memory but lack clinical semantics and event-level source provenance, so a failure cannot be traced to a specific dialogue turn. Third, when frontier LLMs are evaluated on long clinical context, known long-context pathologies (lost-in-the-middle attention (Liu et al., 2024), miscalibrated abstention (Kadavath et al., 2022)) have not been characterized at the level of specific clinical cognitive operations.

ClinTraceBench fills these gaps with 385 MIMIC-IV-derived verified dialogues (Johnson et al., 2023) carrying event-ID provenance, a nine-task taxonomy covering fact recall, temporal trends, encounter-level linkage, retrospective propagation, contradiction, cross-patient comparison, treatment recall, observed treatment response, and abstention, and L0–L4 deterministic + L5 human-audit validation ¹ (98.92%). We evaluate eight rep-

  • Corresponding author.

¹L0–L5 denote six validation gates applied to each (anchor, resentation strategies against four frontier backbones (DeepSeek-V3, GPT-4o-mini, Haiku 4.5, Sonnet 4.6) on a fixed 6,271-question set: 32 cells, 200,672 predictions, $527.85. Contributions:

  1. Benchmark construction. A reproducible pipeline turning real MIMIC-IV trajectories into verified, source-anchored dialogues with L0–L4 deterministic + L5 human spot-check validation—linking every gold answer to a specific dialogue turn, a property absent from prior memory benchmarks (Maharana et al., 2024; Wu et al., 2025).

  2. Task taxonomy. Nine tasks covering longitudinal axes existing clinical and memory benchmarks miss, organized by the cognitive operation a clinician performs over a chart (T1–T9, defined in §3).

  3. Controlled preservation probe. A sentence-level injection probe (T3), run with the sentence inserted both before construction (equal input) and after it (update/staleness), isolating signal preservation from backbone capacity—a methodology generalizable beyond clinical settings.

  4. Findings. Full context wins on pooled accuracy but is not uniformly best; dense retrieval is competitive at lower cost; compressed and agentic memory representations exhibit task-specific failures (aggregation tax, loss of the finding–diagnosis relation even under equal input, abstention drift); the cost–quality Pareto frontier inverts the “biggest backbone wins” heuristic.

References (32)