Where Does Hindsight Enter Clinical Agent Benchmarks? An Audit of Simulators and Case Construction
Summary
This paper audits where hindsight bias enters LLM clinical agent benchmarks, separating diagnosis leakage to simulators, retrospective context, and case text. Using 27,489 MIMIC-IV admissions, it finds simulated lab results show negligible leakage, while benchmark-style case text raises zero-shot LLM accuracy from 25.4% to 39.7% compared to presentation-time reconstructions.
View Cached Full Text
Cached at: 11/19/26, 03:00 AM
# Where Does Hindsight Enter Clinical Agent Benchmarks?An Audit of Simulators and Case Construction
Source: [https://arxiv.org/html/2611.22241](https://arxiv.org/html/2611.22241)
Meilu ZhuAffiliation:Department of Electrical andAffiliation:Computer EngineeringAffiliation:The University of Hong KongEmail:[meiluzhu@hku\.hk](mailto:)Xiaohan LiAffiliation:Department of RestorativeAffiliation:Dental SciencesAffiliation:Faculty of DentistryAffiliation:The University of Hong KongEmail:[li2xh@hku\.hk](mailto:)Axiu Mao††thanks:Corresponding author\.Affiliation:Department of InfectiousAffiliation:Diseases and Public HealthAffiliation:City University of Hong KongEmail:[max\.mao@my\.cityu\.edu\.hk](mailto:)
###### Abstract
Benchmarks for LLM diagnostic agents are built from retrospective records: the case an agent reads is rewritten from discharge summaries, and unrecorded test results are generated by a simulator that often sees the final diagnosis\.HindAuditseparates three hindsight channels \(the diagnosis given to the simulator, the retrospective context it conditions on, and the agent\-facing case text\) and measures each with judges trained only on real data\. On 27,489 emergency admissions from MIMIC\-IV, five registered tests found no leakage into simulated laboratory results: providing the diagnosis to five simulators had a negligible effect, and prompted gatekeepers diluted the diagnostic signal, although exploratory results suggest they can raise agent scores\. The largest effect lay in the case text\. Against a presentation\-time reconstruction from triage records, benchmark\-style summaries raised the zero\-shot accuracy of four LLMs from 25\.4% to 39\.7% and discharge histories to 45\.3%, and raised six interactive agents’ scores while barely changing their ranking\. The exploratory gap was reproduced in a registered replication on held\-out patients\. Masking diagnosis names left it unchanged\. Because MIMIC lacks a contemporaneous bedside history, the gap is an upper bound on hindsight\. We report all registered outcomes and recommend construction practices\.
## 1Introduction
Large language model \(LLM\) agents are increasingly evaluated as sequential diagnosticians: the agent reads a short presentation of a patient, orders examinations, receives their results, and commits to a diagnosis[Schmidgall et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib27);[Nori et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib21);[Qiu et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib24);[Hager et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib9)\. Scores on these benchmarks are used to compare models and to argue that agents are approaching clinical usefulness, so whether a benchmark measures diagnosis under realistic uncertainty is not a technicality: if the answer is easier to see than it would be at the bedside, every score built on it is inflated\.
No real patient can be re\-examined, so these benchmarks are built from retrospective electronic health records, and two construction steps are shared by most of them\. The case the agent reads is extracted or rewritten, often by an LLM, from notes written*after*the diagnosis was known, most commonly the discharge summary\. Moreover, examinations the agent requests but that were never performed are answered by a simulator \(a fine\-tuned “world model”[Qiu et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib24)or a prompted “gatekeeper” LLM[Nori et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib21)\), which is usually given the full record, including the final diagnosis\. Both steps invite*hindsight*: information that exists only because the answer is known can reach what the agent sees\. Benchmark builders have focused on the second step and on its most visible form, the diagnosis name\. Simulators are instructed not to reveal the answer, and case texts that name the diagnosis are filtered out[Qiu et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib24);[Nori et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib21);[Hager et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib9)\. Whether they address the main source of hindsight is unknown\.
We ask where hindsight actually enters, and how much\. To answer this, we proposeHindAudit, an audit that separates three channels \(the diagnosis line in the simulator’s input, the retrospective context the simulator conditions on, and the case text the agent reads\) and measures each against real data: judges trained only on real records score how strongly simulated results point to the true diagnosis, and LLMs and text classifiers are compared across versions of the same case, including a*presentation\-time reconstruction*built from the emergency\-department triage record\. The tests of the simulator\-side concern were registered before each run, and we report all of them\.
On 27,489 emergency admissions from MIMIC\-IV, the channel that builders guard most carefully mattered least: providing the diagnosis to five simulators \(seven configurations\) had a negligible effect \(at most 1\.4 pp\) on the laboratory\-result signal detected by real\-data judges, and prompted gatekeepers diluted that signal, although an exploratory analysis suggests that they can still raise the scores of agents that rely on laboratory results\. In the case text, four local LLMs diagnosed 25\.4% of presentation\-time cases correctly, but 39\.7% of the corresponding benchmark\-style summaries and 45\.3% of discharge histories, a gap that replicated on held\-out patients under a registered rule and was unchanged when diagnosis names were removed, and six interactive agents showed it too\. As MIMIC lacks a contemporaneous bedside history, this gap is an upper bound on hindsight\. Whatever its source, diagnosis\-name filters cannot remove it\. These results locate the main threat to validity in case construction rather than simulators, and suggest building agent\-facing cases from presentation\-time information\. Our contributions are:
- •An audit method and a reference construction\.HindAuditmeasures three hindsight channels separately with real\-data judges, and a presentation\-time reconstruction from triage records provides a reference input\.
- •The case text as the main channel\.Benchmark texts make diagnosis 12–22 percentage points easier for each of five LLMs from three families\. The gap survives diagnosis\-name masking and replicates on held\-out patients\.
- •The simulator side, with registered tests\.Five registered tests found no leakage into simulated laboratory results: the diagnosis line had a negligible effect, and gatekeepers kept 16–62% of the real signal \(world models 70–84%\)\.
- •Two pitfalls for leakage audits\.Placeholder masking creates a cue for text\-based judges, and comparing raw probabilities across classifiers can hide a large effect\.
## 2Related work
#### Simulated environments for diagnostic agents\.
AgentClinic[Schmidgall et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib27)uses LLM\-played patients that know the symptoms but not the diagnosis\. MIMIC\-CDM[Hager et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib9)replays recorded results only and masks diagnosis names in them\. SDBench[Nori et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib21)implements a gatekeeper \(o4\-mini\) “with access to the full … case file, including the final diagnosis”, which synthesizes case\-consistent findings for tests not in the case and is described as removing hindsight bias from the case write\-ups\. DiagGym[Qiu et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib24)trains a world model on MIMIC\-IV whose input profile, taken from the discharge summary, includes “the final diagnosis”\. The agent instead reads an initial inquiry produced by an LLM from the restructured record and the discharge note, filtered by asking whether it “directly contain\[s\] the name” of the diagnosis\. EHR world models for long\-horizon trajectories[Mu et al\. \(2026\)](https://arxiv.org/html/2611.22241#bib.bib20)widen the use of learned simulators\.
#### Leakage and evaluation validity\.
PULSE\-CARE[Dutta et al\. \(2026\)](https://arxiv.org/html/2611.22241#bib.bib3)showed that agent scores change substantially when the patient simulator is swapped, so scores hold only conditional on the simulator\. Explicit leakage is commonly addressed by filtering diagnosis names[Hager et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib9);[Qiu et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib24)\. Dynamic case generation from knowledge graphs avoids retrospective notes[Tang et al\. \(2025\)](https://arxiv.org/html/2611.22241#bib.bib28)\. Closest to our case\-text finding, an audit of rare\-disease diagnosis showed that LLMs infer diagnoses from retrospective therapeutic cues in clinical narratives[Yang et al\. \(2026\)](https://arxiv.org/html/2611.22241#bib.bib29)\. We study common emergency diagnoses and quantify how much each construction step contributes\. “Hindsight bias” has been studied for the*evaluated*model when it is shown future data[Matsuura et al\. \(2026\)](https://arxiv.org/html/2611.22241#bib.bib18)\. We study hindsight in benchmark construction\. Models are known to exploit shortcuts in their data[Geirhos et al\. \(2020\)](https://arxiv.org/html/2611.22241#bib.bib4)\. In NLP, annotation artifacts and hypothesis\-only baselines showed that benchmarks can be solved from cues unrelated to the intended reasoning[Gururangan et al\. \(2018\)](https://arxiv.org/html/2611.22241#bib.bib8);[Poliak et al\. \(2018\)](https://arxiv.org/html/2611.22241#bib.bib23);[McCoy et al\. \(2019\)](https://arxiv.org/html/2611.22241#bib.bib19), and data contamination is a recognized threat to the validity of LLM evaluation[Sainz et al\. \(2023\)](https://arxiv.org/html/2611.22241#bib.bib26);[Golchin and Surdeanu \(2024\)](https://arxiv.org/html/2611.22241#bib.bib5)\. The case\-text channel we study resembles the former: the cue arises from how the evaluation input is built, not from training data\.
## 3TheHindAuditprotocol
#### Channels\.
LetDDbe the final diagnosis,HHthe retrospective history \(the discharge\-summary text preceding the physical examination section, as used by DiagGym\), andPPthe minimal presentation\-time information \(sex and chief complaint\)\. A simulator generates a resultx^\\hat\{x\}for an examination given a profile\. We compare three profiles:S\+S^\{\+\}=\(H,D\)=\(H,D\), the standard benchmark setting,S−S^\{\-\}=H=H, andS0S^\{0\}=P=P\. The contrastS\+S^\{\+\}−\-S−S^\{\-\}isolates the diagnosis line1,S−S^\{\-\}−\-S0S^\{0\}the retrospective context2, andS\+S^\{\+\}−\-S0S^\{0\}is the total simulator\-side hindsight\. The agent\-facing case text3is compared with a richer presentation\-time reconstruction thanPP\(Figure[1](https://arxiv.org/html/2611.22241#S3.F1)\)\.
#### Case\-text channel\.
We compare benchmark\-style texts \(an LLM\-written pre\-hospital summary and the discharge history\) with presentation\-time texts \(V3, built from the triage record and pre\-admission history, andPP\) for the same admission\. Zero\-shot LLMs and text classifiers trained on real data read each text, and the accuracy gap between texts measures what the construction adds \(§[4](https://arxiv.org/html/2611.22241#S4)\)\.
Discharge summary\(written after the diagnosis\)ED triage record\(at arrival\)Final diagnosisDDSimulator profilehistoryHH\(\+D\)\(\+D\)Agent\-facing case\(LLM summary orHH\)Presentation\-timereconstruction \(V3\)SimulatorSimulated lab resultsDiagnosticagent / LLM1diagnosis line:negligible\(≤\\leq1\.4 pp\) in 5 simulators2retrospective history:small trace \(\+0\.01–0\.06\)gatekeepers keep16–62% ofreal signal3LLM top\-1:\+14 pp\(summary\),\+20 pp\(history\)six agents:\+7 pp\(summary\),\+13 pp\(history\)unchanged after masking diagnosis names25% top\-1, same as chief complaint alonepre\-admission sections only
Figure 1:Three hindsight channels in a benchmark built from discharge summaries, with the measured effect of each \(dashed thin lines: little or no effect, thick line: large effect\)\. The case text3makes LLM diagnosis much easier than a presentation\-time reconstruction \(green\), an upper bound on hindsight \(§[5\.2](https://arxiv.org/html/2611.22241#S5.SS2)\)\.
#### Judges trained on real data only\.
For the simulator channels, leakage is measured as how well a fixed judge, trained only on real training data, recoversDDfrom real or simulated laboratory results\. The primary judge \(*num*\) is a multinomial logistic regression over values, abnormal flags and missingness of the 300 most common laboratory items, with lenient numeric parsing\. Cross\-simulator comparisons use a*values\-only*variant, as DiagGym writes no abnormal flags, and a gradient\-boosted judge checks that conclusions do not hinge on a linear model\. A text\-and\-value judge \(*clf*\) was primary in the first two registered tests, and a local LLM judge serves as a reference\. Diagnosis keywords are masked in all results, real or simulated\.
#### Metrics\.
For each case we compute the probability the judge assigns to the true category \(ptruep\_\{\\text\{true\}\}\), averaged over five simulator samples, plus top\-1/top\-5 accuracy\. Contrasts are paired by patient, and accuracy differences are given in percentage points \(pp\)\. Uncertainty is given as 95% percentile intervals from a patient\-level bootstrap\.*Signal retention*is\(p¯sim−c\)/\(p¯real−c\)\(\\bar\{p\}\_\{\\text\{sim\}\}\-c\)/\(\\bar\{p\}\_\{\\text\{real\}\}\-c\), wherep¯\\bar\{p\}is the meanptruep\_\{\\text\{true\}\}of simulated or real results andc=1/50c=1/50is chance \(1: as informative as real results\)\.*Typicalization*is the fraction of real results that are atypical for the diagnosis \(category\-item abnormal rate≥0\.6\\geq 0\.6but real result normal, or≤0\.2\\leq 0\.2but real abnormal\) that a simulator “corrects” to the typical state\.
#### Sequential registration\.
Before each run, the hypothesis, primary metric, decision rule and action on failure were written into a timestamped, versioned protocol and not changed afterwards\. Registration was*sequential*and internal: each test was designed after the previous result, so the record documents what was decided and when, not a single pre\-specified plan\. We label the registered tests D1, A, A2, A′1–A′3 and E1 in the order they were run \(Table[3](https://arxiv.org/html/2611.22241#S5.T3)\)\. The tests A′1–A′3 form one family with Holm correction[Holm \(1979\)](https://arxiv.org/html/2611.22241#bib.bib10), and the replication E1 was registered after the exploratory case\-text analyses\. Error control is claimed only within these sets, and the one positive registered result \(E1\) has its own Holm correction\. Rules, timing and the protocol history are deposited at OSF \(Appendix[A](https://arxiv.org/html/2611.22241#A1)\)\.
## 4Data and experimental setup
#### Cohort\.
We use MIMIC\-IV v3\.1 with MIMIC\-IV\-Note v2\.2[Johnson et al\. \(2023c\)](https://arxiv.org/html/2611.22241#bib.bib15);[Johnson et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib13);[Johnson et al\. \(2023b\)](https://arxiv.org/html/2611.22241#bib.bib14)\. Principal diagnoses are mapped to AHRQ CCSR categories[Agency for Healthcare Research and Quality \(2026\)](https://arxiv.org/html/2611.22241#bib.bib2)\(ICD\-9 via CMS GEMs\)\. We keep emergency or urgent admissions whose discharge summary contains a history, a physical examination and a discharge diagnosis section \(264,058 cases\)\. We exclude injury \(INJ\) and mental and behavioral \(MBD\) categories, as well as transfers and post\-procedure admissions, whose diagnosis is often established before arrival\. We keep one admission per patient, take the 50 most frequent categories with at most 600 cases each, and split the data 8:1:1 by patient\. Following DiagGym, examination events are taken from 24 h before to 24 h after admission, keeping the first occurrence of each\. Admission physical examinations are structured by a local Qwen2\.5\-7B\-Instruct[Qwen Team \(2024\)](https://arxiv.org/html/2611.22241#bib.bib25)model \(98\.6% parse success\), and cases with only a discharge examination or a diagnosis judged known before admission are removed, leaving27,489 cases\(21,994 / 2,748 / 2,747 for training, validation and test\)\. Simulator analyses use 460 test cases \(about 10 per category\)\. All models run locally \(Appendix[L](https://arxiv.org/html/2611.22241#A12)\), and differences from DiagGym’s pipeline are listed in Appendix[B](https://arxiv.org/html/2611.22241#A2)\.
#### Simulators\.
FT\-3B: Qwen2\.5\-3B\-Instruct with LoRA[Hu et al\. \(2022\)](https://arxiv.org/html/2611.22241#bib.bib11)trained on the DiagGym text format with diagnosis dropout 0\.5, so the same model runs asS\+S^\{\+\}orS−S^\{\-\}\.GK\-14B: Qwen2\.5\-14B\-Instruct, AWQ\-quantized[Lin et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib17), prompted as an SDBench\-style gatekeeper\.GK\-32B: Qwen2\.5\-32B\-Instruct\-AWQ gatekeeper, additionally told the most common real unit for each test\.DiagGym 7B: the public weights, used with its own inference format\.Phi\-4[Abdin et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib1): a 14B model from a different family, prompted exactly like GK\-32B\.GK\-72B: Qwen2\.5\-72B\-Instruct\-AWQ, prompted like GK\-32B\. An unquantized \(BF16\) copy of GK\-14B serves as a quantization check\. Results are sampled five times per item at temperature 1\.0, either conditioned on preceding real results \(*sequential*\) or from the profile alone \(*independent*\)\. The registered tests used FT\-3B, GK\-14B and GK\-32B\. The others are descriptive replications\. DiagGym was also run on 225 DiagBench cases its authors held out from training \(Appendix[I](https://arxiv.org/html/2611.22241#A9)\)\.
#### Agent\-facing views and LLM diagnosis\.
For the case\-text analyses \(§[5\.2](https://arxiv.org/html/2611.22241#S5.SS2)\) we compare four views of the same admission:V1, a DiagGym\-style pre\-hospital summary written by Qwen2\.5\-14B\-Instruct\-AWQ with DiagGym’s verbatim instruction and kept only if it passes DiagGym’s leakage filter\.V2, the discharge\-summary history \(DiagGym’s simulator context\)\.V3, a presentation\-time reconstruction: sex, the MIMIC\-IV\-ED[Johnson et al\. \(2023a\)](https://arxiv.org/html/2611.22241#bib.bib12)triage record of the visit that led to the admission \(chief complaint, vital signs, pain score, acuity\) and the discharge\-summary sections describing the patient*before*the admission \(allergies, past medical history, family history\), excluding the history of present illness and the procedure section\. Because these sections come from the discharge summary, 32% of V3 texts name a diagnosis term \(53% of histories, 19% of chief complaints\), partly as legitimately known chronic conditions\.V4is sex and chief complaint, i\.e\.,PP\. Four local LLMs \(Qwen2\.5\-7B, \-14B\-AWQ and \-32B\-AWQ, and Phi\-4, with Llama\-3\.1\-8B\-Instruct[Grattafiori et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib7)added afterwards as a third family\) read one view at temperature 0 and rank the 50 CCSR groups, given by code and description \(prompts in Appendix[M](https://arxiv.org/html/2611.22241#A13)\)\. Variants mask diagnosis terms in every view or use a differently worded prompt, and the registered replication E1 repeats the analysis on the validation split\. A format control \(V3n\) rewrites V3 as a narrative with the same model and instruction that produced V1\. A TF\-IDF \+ logistic regression classifier per view \(scikit\-learn[Pedregosa et al\. \(2011\)](https://arxiv.org/html/2611.22241#bib.bib22)\) provides a non\-LLM reference\. Zero\-shot top\-1 over 50 groups is a probe of how much diagnostic information a text carries, not a measure of clinical ability\.
#### Agent\.
For the end\-to\-end test, a Qwen2\.5\-14B\-Instruct\-AWQ agent \(temperature 0\) sees sex and chief complaint, may order up to five panels \(blood count, chemistry, liver panel, lactate, urinalysis\), and returns a top\-5 list over the 50 categories\. Panel results come from real replay or from GK\-14B \(independent generation with unit hints\) givenS\+S^\{\+\}orS0S^\{0\}\. Cases are the 721 test cases with all five panels recorded\. As descriptive checks, a stronger Qwen2\.5\-32B\-Instruct\-AWQ agent was paired with the 32B gatekeeper, and both agents were also run with no laboratory results\.
## 5Results
### 5\.1Retrospective case text carries the answer
Inputtop\-1top\-5ptruep\_\{\\text\{true\}\}Retrospective historyHH0\.5590\.891–HHwith diagnosis words deleted0\.5580\.878–Chief complaint0\.3680\.702–Sex \+ chief complaint \(PP\)0\.3660\.703–LLM pre\-hospital summary \(filtered\)0\.4910\.8570\.192Chief complaint \(same cases\)0\.3570\.7060\.190Table 1:Diagnostic predictability of agent\-facing text \(TF\-IDF \+ logistic regression trained on the training split\)\. Top: validation split, 2,748 cases\. Bottom: test cases whose DiagGym\-style summary passed the explicit\-leakage filter, 1,760 cases\.The retrospective history alone predicted the diagnosis in 55\.9% of cases, more than a judge reading all real examination results \(40\.0%\), and deleting diagnosis words did not reduce it \(Table[1](https://arxiv.org/html/2611.22241#S5.T1)\)\. 52% of histories mention a diagnosis word and 42–47% list a performed procedure\. The profile given toS−S^\{\-\}andS\+S^\{\+\}simulators therefore already contains much of the answer\. The gain over the chief complaint was broad \(43 of 50 categories, Appendix[H](https://arxiv.org/html/2611.22241#A8)\) but partly legitimate, because known conditions such as cancer are part of the past medical history at presentation\.
DiagGym\-style pre\-hospital summaries, generated with its instruction and filtered with its leakage criterion by a local 14B model, were rejected for stating the diagnosis in 34\.6% of cases\. Among those that passed, 46\.9% still contained a diagnosis word, and top\-1 predictability rose from 35\.7% to 49\.1% \(\+13\.4\+13\.4pp \[\+10\.9\+10\.9,\+15\.9\+15\.9\]\)\. The registered primary metric of this test \(A′1\),ptruep\_\{\\text\{true\}\}, showed no difference \(\+0\.002\+0\.002,p=0\.32p=0\.32\) because it compared two differently calibrated classifiers\. Following our rules, we report A′1 as not supported and the accuracy contrast as secondary \(Appendix[E](https://arxiv.org/html/2611.22241#A5)\)\.
### 5\.2Presentation\-time reconstruction and LLM diagnosis \(exploratory\)
The presentation\-time reconstruction V3 narrows the upper bound left by the chief complaint but does not close it: it lacks the history of present illness taken at arrival, because MIMIC\-IV contains no contemporaneous emergency\-physician note\. The V1−\-V3 and V2−\-V3 contrasts therefore measure how much easier benchmark text makes diagnosis than the structured presentation\-time record, an upper bound on hindsight\. We analyze the 1,053 test cases with an ED triage record \(about 60% of admissions\) and a summary that passed the leakage filter\. Restricting to triage\-linked admissions did not change the history\-versus\-complaint gap \(validation split: \+19\.3 vs\. \+20\.2 pp\)\. These analyses are exploratory\.
V1V2V3V4V1−\-V3V2−\-V3Qwen2\.5\-7B37\.542\.823\.123\.2\+14\.4\+19\.8Qwen2\.5\-14B39\.345\.124\.424\.5\+14\.9\+20\.7Qwen2\.5\-32B40\.046\.027\.525\.8\+12\.4\+18\.4Phi\-441\.947\.226\.727\.3\+15\.2\+20\.5Llama\-3\.1\-8B†34\.439\.817\.718\.9\+16\.7\+22\.1Mean \(four\)39\.745\.325\.425\.2\+14\.2\+19\.8masked36\.141\.721\.420\.1\+14\.8\+20\.314B, alt\. prompt29\.126\.219\.122\.1\+10\.0\+7\.1E1, validation36\.243\.125\.023\.5\+11\.1\+18\.1Text classifier48\.155\.133\.135\.0\+14\.9\+21\.9Table 2:Top\-1 accuracy \(%\) of zero\-shot diagnosis \(50 CCSR groups\) from four views of the same 1,053 test cases: V1 benchmark summary, V2 discharge history, V3 presentation\-time reconstruction, V4 sex \+ chief complaint\. Differences in percentage points, computed from unrounded accuracies\. Patient\-level bootstrap 95% CIs are about±\\pm3 pp per model and±\\pm2\.3 pp for the mean \(allp<0\.001p<0\.001\)\.*Masked*: diagnosis terms deleted from every view \(mean of the four models\)\.†Added afterwards and not included in the means\.*E1*: registered replication on the 1,091 validation cases \(§[5\.2](https://arxiv.org/html/2611.22241#S5.SS2)\)\.#### Benchmark\-style inputs make LLM diagnosis much easier\.
Reading the summary, four LLMs diagnosed correctly 14\.2 pp more often than from V3 \(95% CI \[12\.0, 16\.5\], per model 12\.4–15\.2 pp\), and reading the discharge history 19\.8 pp more often \[17\.5, 22\.2\] \(Table[2](https://arxiv.org/html/2611.22241#S5.T2)\), a relative increase of more than 50%\. A text classifier showed the same pattern \(\+14\.9 and \+21\.9 pp\), and Llama\-3\.1\-8B, from a third family, showed the largest gaps \(\+16\.7 and \+22\.1 pp\)\.
Figure 2:Top\-1 gap of zero\-shot LLM diagnosis between the benchmark text and the presentation\-time view \(V3n: V3 rewritten as a narrative\) under each condition, mean over the models listed, with 95% patient\-level bootstrap CIs\. E1 is the registered replication\. Per\-model estimates are in Figure[4](https://arxiv.org/html/2611.22241#A8.F4)\(Appendix[H](https://arxiv.org/html/2611.22241#A8)\)\.
#### The gap replicates on held\-out patients\.
We registered a replication \(E1\) before running it: the same four models, prompt and views on the validation split, whose patients do not overlap the test split and on which no LLM analysis had been run\. For both four\-model gaps, the null hypothesis had to be rejected under Holm correction and the gap had to be at least 5 pp\. On 1,091 validation cases, V1−\-V3 was \+11\.1 pp \[8\.9, 13\.2\] and V2−\-V3 \+18\.1 pp \[15\.8, 20\.3\] \(bothp<0\.001p<0\.001, Figure[2](https://arxiv.org/html/2611.22241#S5.F2)\), so the rule was met\. Both splits come from the same pilot cohort, so this is a replication on held\-out patients, not an independent confirmatory study\.
#### The gap is not a format effect\.
Rewriting V3 as a narrative with the model and instruction that produced V1 \(V3n\) raised accuracy by only 1\.5 pp \[0\.5, 2\.5\], leaving V1−\-V3n at \+13\.2 pp \[11\.1, 15\.4\] and V2−\-V3n at \+18\.8 pp \[16\.6, 21\.1\] \(five models\)\. The rewriting named a diagnosis term more often than V3 itself \(531 vs\. 450 of 1,635 cases\), so this control, if anything, favors V3n\.
#### The gap lies beyond diagnosis names\.
Deleting diagnosis terms from every view lowered all accuracies by 3–5 pp but left the gap unchanged \(V1−\-V3 \+14\.8 pp \[12\.5, 17\.1\], V2−\-V3 \+20\.3 pp \[18\.0, 22\.7\], four\-model mean\)\. Deleting classes of words from the summaries and refitting the text classifier changed top\-1 by less than 1 pp for diagnosis terms or for work\-up, treatment, hospital\-course or history words\. Deleting all of them together still left 0\.499, 14 pp above the chief complaint \(0\.358, Appendix[G](https://arxiv.org/html/2611.22241#A7)\)\. The most weighted words are symptom descriptions, synonyms and abbreviations that a name list misses, such as*melena*for gastrointestinal hemorrhage or*flatus*for intestinal obstruction\. Some of these could have been elicited at the bedside, and the text alone cannot show whether they were reported at arrival or selected by an author who knew the answer\. In either case, they form a lexical shortcut that name filters cannot remove and that lets a model score by matching words rather than by clinical reasoning\.
#### Structured presentation\-time information adds little\.
Triage vital signs and pre\-admission history did not improve on the chief complaint \(V3−\-V4 \+0\.2 pp \[−2\.2\-2\.2, 2\.8\]\)\. The gap persisted, smaller, under a differently worded prompt \(\+10\.0 pp for V1\) and appeared in 82% of the 49 categories with at least ten cases \(Appendix[H](https://arxiv.org/html/2611.22241#A8)\)\.
#### Interactive agents show the same gap, but keep their ranking\.
Six local agents \(7B to 72B parameters, three families\) read V1, V2 or V3 of the same 1,053 cases, ordered up to eight examinations with real results \(laboratory panels, the first imaging report, the admission examination\), and then diagnosed\. Every agent scored higher from the benchmark text, on average by 7\.2 pp \[5\.6, 8\.8\] for V1 and 12\.5 pp \[10\.8, 14\.2\] for V2, but the ranking of the agents barely changed \(Kendallτ=0\.87\\tau=0\.87between V1 and V3; Appendix[H](https://arxiv.org/html/2611.22241#A8.SS0.SSS0.Px3)\)\. Hindsight in the case text thus inflates absolute agent scores more than it reorders agents, and such scores should not be read as bedside accuracy\.
### 5\.3Registered simulator and agent tests
Table[3](https://arxiv.org/html/2611.22241#S5.T3)lists every registered test in the order it was run\. Each failure led to a design revision whose rationale was recorded before the next run \(Appendix[A](https://arxiv.org/html/2611.22241#A1)\)\.
TestSimulator / settingPrimary metricΔ\\Delta\[95% CI\]Met?D1FT\-3B, sequentialclf top\-1,S\+S^\{\+\}−\-real−0\.080\-0\.080\[−0\.113\-0\.113,−0\.046\-0\.046\]noAGK\-14B, sequentialclf top\-1,S\+S^\{\+\}−\-S−S^\{\-\}\+0\.007\+0\.007\[−0\.004\-0\.004,\+0\.017\+0\.017\]noA2GK\-14B, independentnumptruep\_\{\\text\{true\}\},S\+S^\{\+\}−\-realandS\+S^\{\+\}−\-S0S^\{0\}−0\.143\-0\.143\[−0\.172\-0\.172,−0\.114\-0\.114\]\+0\.017\+0\.017\[\+0\.007\+0\.007,\+0\.027\+0\.027\]no*Family A′\(one\-sided, Holm,α=0\.05\\alpha=0\.05\)*A′1summary vs\. chief complainttext clfptruep\_\{\\text\{true\}\}, summary−\-complaint\+0\.002\+0\.002\[−0\.008\-0\.008,\+0\.013\+0\.013\],p=0\.320p=0\.320noA′2agent, GK\-14Btop\-1,S\+S^\{\+\}−\-S0S^\{0\}\+0\.000\+0\.000\[−0\.015\-0\.015,\+0\.015\+0\.015\],p=0\.538p=0\.538noA′3GK\-32B \+ units, independentnumptruep\_\{\\text\{true\}\},S\+S^\{\+\}−\-real−0\.117\-0\.117\[−0\.146\-0\.146,−0\.089\-0\.089\],p≈1p\\approx 1no*Replication of the exploratory case\-text result \(one\-sided, Holm over two,α=0\.05\\alpha=0\.05\)*E1LLM diagnosis, validationtop\-1, V1−\-V3 and V2−\-V3\+0\.111\+0\.111\[\+0\.089\+0\.089,\+0\.132\+0\.132\],p<0\.001p<0\.001\+0\.181\+0\.181\[\+0\.158\+0\.158,\+0\.203\+0\.203\],p<0\.001p<0\.001yesTable 3:All registered tests\.Δ\\Deltais the primary contrast with 95% bootstrap CI and, for family A′, the one\-sidedpp\. Top\-1 contrasts are differences in proportion \(0\.010 = 1 percentage point\)\. Five of the six tests above the last rule concern the simulator and A′1 the agent\-facing summary\. None met its decision rule\. E1, registered after the exploratory case\-text analyses, met its rule \(null rejected for both gaps, both≥\\geq0\.050\)\.#### Knowing the diagnosis does not make simulated results more diagnostic\.
In every setting,S\+S^\{\+\}results were*less*predictable than real results \(Table[3](https://arxiv.org/html/2611.22241#S5.T3)\)\. The diagnosis line added at most 1\.35 pp \(FT\-3B,S\+S^\{\+\}−\-S−S^\{\-\}top\-1 \[\+0\.30\+0\.30,\+2\.39\+2\.39\]\) and nothing measurable for the gatekeepers \(GK\-14B:ptruep\_\{\\text\{true\}\}−0\.0005\-0\.0005\[−0\.007\-0\.007,\+0\.007\+0\.007\]\)\. The descriptive replications agree for DiagGym, Phi\-4 and GK\-72B \(Table[4](https://arxiv.org/html/2611.22241#S5.T4)\)\. This null does not reflect an insensitive judge, because the same judges detect the retrospective\-context trace and the gatekeeper dilution \(§[5\.4](https://arxiv.org/html/2611.22241#S5.SS4)\)\.
#### The agent test was inconclusive overall\.
The 14B agent reached top\-1 of 20\.7% with real results and 19\.3% with either gatekeeper \(S\+S^\{\+\}−\-real−1\.39\-1\.39pp \[−3\.33\-3\.33,\+0\.42\+0\.42\]\), but also 19\.6% with no laboratory results at all, so it made little use of them\. A stronger 32B agent gained only 1\.9 pp \[0\.0, 3\.9\] from real results\. The registered agent test \(A′2\) therefore cannot show whether simulator leakage matters for an agent that uses the results\.
#### Where agents use laboratory results, the simulator matters \(exploratory\)\.
Many of the 50 categories are usually established by imaging or procedures, about which the five panels are uninformative, so the full agent test is dominated by cases in which laboratory results matter little\. In a post hoc subset of eight categories usually established by the five panels \(175 cases, with the list fixed before per\-category agent results were inspected, see Appendix[I](https://arxiv.org/html/2611.22241#A9)\), the 32B agent did use the results \(real−\-none \+4\.0 pp \[0\.6, 8\.0\]\), and its accuracy depended on the simulator:S\+S^\{\+\}−\-S0S^\{0\}was \+4\.0 pp \[1\.1, 7\.4\] in top\-1 and \+9\.1 pp \[1\.7, 16\.6\] in top\-5, andS\+S^\{\+\}−\-real \+8\.0 pp \[2\.3, 13\.7\] in top\-5, although for a real\-data judge the same simulated results carry less signal than real ones \(ptruep\_\{\\text\{true\}\}0\.110 vs\. 0\.264\)\. The 14B agent, which did not use the results, showed no such differences\. These contrasts are exploratory, uncorrected for multiplicity, and confound the diagnosis line with the retrospective profile\. Interpretive wording does not explain them \(0\.4% of results under bothS\+S^\{\+\}andS0S^\{0\}\)\. A plausible source is typicalization, since the 32B gatekeeper turned 61% of atypically normal real results into the typical abnormal state when given the retrospective profile and the diagnosis \(S\+S^\{\+\}\), and 39% when given only the chief complaint \(S0S^\{0\}\)\.
### 5\.4Prompted gatekeepers dilute diagnostic signal, unlike trained world models
SimulatorTypeGen\.S\+S^\{\+\}−\-S−S^\{\-\}S\+S^\{\+\}−\-S0S^\{0\}Retention, linearRetention, boostedTyp\.S\+S^\{\+\}/S0S^\{0\}FT\-3B \(ours\)∗trainedseq\.\+0\.001–0\.84 \[0\.75, 0\.94\]0\.81 \[0\.73, 0\.89\]–DiagGym 7Btrainedseq\.\+0\.007–0\.77 \[0\.67, 0\.88\]0\.82 \[0\.74, 0\.92\]–GK\-14B∗promptedseq\.−\-0\.001–0\.25 \[0\.14, 0\.37\]0\.46 \[0\.37, 0\.55\]–GK\-14B∗promptedind\.\+0\.002\+0\.019 \[\+0\.011, \+0\.028\]0\.16 \[0\.06, 0\.27\]0\.43 \[0\.34, 0\.53\]0\.45/0\.36GK\-32B \+ units∗promptedind\.–\+0\.028 \[\+0\.015, \+0\.042\]0\.32 \[0\.21, 0\.46\]0\.58 \[0\.50, 0\.67\]0\.61/0\.39GK\-72B \+ unitspromptedind\.\+0\.003\+0\.023 \[\+0\.012, \+0\.035\]0\.27 \[0\.17, 0\.40\]0\.62 \[0\.53, 0\.72\]0\.61/0\.53Phi\-4 \+ unitspromptedind\.\+0\.000\+0\.014 \[\+0\.003, \+0\.025\]0\.20 \[0\.10, 0\.31\]0\.49 \[0\.41, 0\.57\]0\.62/0\.48DiagGym 7Btrainedind\.\+0\.004\+0\.059 \[\+0\.042, \+0\.077\]0\.72 \[0\.60, 0\.86\]0\.76 \[0\.67, 0\.85\]–DiagGym, held\-outtrainedind\.\+0\.007\+0\.052 \[\+0\.032, \+0\.074\]0\.70 \[0\.55, 0\.88\]0\.75 \[0\.65, 0\.86\]–Table 4:Overview of the simulators\. Seq\.: conditioned on the real earlier results\. Ind\.: generated from the profile alone \(the two are not comparable\)\. Contrasts are inptruep\_\{\\text\{true\}\}under the values\-only linear judge\.S\+S^\{\+\}−\-S−S^\{\-\}is a point estimate \(paired intervals for the registered tests are given in the text\)\. Retention is computed as in Figure[6](https://arxiv.org/html/2611.22241#A9.F6), with 95% patient\-level bootstrap CIs\.∗Used in a registered test\. All other rows are descriptive\. –: arm not generated\.Two kinds of simulator behaved very differently \(Table[4](https://arxiv.org/html/2611.22241#S5.T4), Figure[6](https://arxiv.org/html/2611.22241#A9.F6)in Appendix[I](https://arxiv.org/html/2611.22241#A9)\)\. With the values\-only judge, independentS\+S^\{\+\}results from*prompted gatekeepers*retained 16–32% of the real signal above chance \(43–62% with the boosted judge\), against 72% for the*trained world model*DiagGym\. In sequential generation, the trained models retained 77–84% and GK\-14B 25%\. Our FT\-3B and the public DiagGym are thus close, and the latter showed no sign of memorizing our cases \(Appendix[I](https://arxiv.org/html/2611.22241#A9)\)\. The magnitude depends on the judge, but the ordering does not\. Retention rose from GK\-14B to GK\-32B, which also adds unit hints, but not further from GK\-32B to GK\-72B, which share them, so dilution did not disappear with scale\. Its degree may still reflect the limits of the open models we could run locally and should not be extrapolated to frontier models\. Quantization does not explain it: an unquantized \(BF16\) copy of GK\-14B retained 19% \[9, 30\] of the signal \(boosted judge 47%\), against 16% and 43% for the quantized version \(Appendix[I](https://arxiv.org/html/2611.22241#A9)\)\. The gap was not a formatting artifact \(Appendix[D](https://arxiv.org/html/2611.22241#A4)\)\. Retention measures the information in simulated results, not changes in agent scores\.
#### Hindsight leaves a small, consistent trace\.
S\+S^\{\+\}−\-S0S^\{0\}was positive for every simulator \(\+0\.014 to \+0\.059 inptruep\_\{\\text\{true\}\}, largest for DiagGym, Table[4](https://arxiv.org/html/2611.22241#S5.T4)\), and gatekeepers typicalized more with the retrospective profile\. BecauseS\+S^\{\+\}andS−S^\{\-\}were indistinguishable, the trace comes from the retrospective history, not from the diagnosis line\. These contrasts are secondary\.
## 6Discussion
#### Where the leakage lies\.
Benchmark builders invest in hiding the diagnosis from simulators and filtering diagnosis names from agent inputs\. Our results suggest that the first measure addresses a small effect, while the second leaves untouched most of the extra diagnostic signal that retrospective text carries\.
#### How firm is the case\-text evidence?
The central result was found exploratorily, after the registered simulator tests had failed, but it passed a registered replication on held\-out patients and holds across five models from three families, a non\-LLM classifier, a narrative rewriting of the presentation\-time view, masking by placeholder or deletion, an alternative prompt, 82% of categories and a sensitivity analysis \(Appendix[F](https://arxiv.org/html/2611.22241#A6)\)\. It cannot establish how much of the gap is hindsight rather than history a clinician could have taken at the bedside\. That requires contemporaneous admission notes, which MIMIC lacks\.
#### The choice of simulator matters more than what it is told\.
Whether the simulator sees the diagnosis made little difference \(at most 1\.4 pp\), but whether it was a prompted gatekeeper or a trained world model changed signal retention substantially \(16–32% vs\. 72% with the values\-only judge\)\. The exploratory agent subset suggests that a gatekeeper holding the full case file, including the diagnosis, can inflate the accuracy of an agent that uses its results, even though these results carry less signal than real ones\. Whether simulators change agent scores and rankings is the key open question\.
#### Two pitfalls for leakage audits\.
Masking diagnosis terms with a placeholder gave text classifiers a new cue \(summary top\-1 0\.525 vs\. 0\.491 unmasked\), whereas deleting the terms did not\. Comparing raw probabilities across differently calibrated classifiers hid a 13\.4\-pp accuracy gain in A′1\. Audits should mask by deletion and compare classifiers by accuracy or proper scoring rules \(Appendix[J](https://arxiv.org/html/2611.22241#A10)\)\.
#### Recommendations\.
Benchmarks should build agent\-facing cases from information documented at presentation, or report a presentation\-time baseline next to every score\. They should not rely on diagnosis\-name filters, should report the signal retention of simulated results against real results, and should verify that agents use the simulated results before attributing score differences to simulators\. Table[11](https://arxiv.org/html/2611.22241#A11.T11)\(Appendix[K](https://arxiv.org/html/2611.22241#A11)\) links each recommendation to its evidence\.
## 7Conclusion
Telling simulators the diagnosis made simulated results at most marginally more diagnostic \(at most 1\.4 pp\) for judges trained on real data, and never more diagnostic than real results\. Prompted gatekeepers retained only a fraction of the real signal, whereas trained world models retained most of it, and simulators may still affect the scores of agents that rely on examination results\. The case text made diagnosis markedly easier than the structured information available at presentation, for zero\-shot models and interactive agents alike, in ways that diagnosis\-name filters cannot remove\. Benchmarks should therefore be built from, or at least compared against, presentation\-time information\. How much of this gap reflects hindsight, rather than history a clinician could obtain at the bedside, can only be resolved with contemporaneously written admission notes\.
## Limitations
#### Data and models\.
We use a single data source \(MIMIC\-IV, one US center\), and all models were served by local inference\. The simulators span two model families \(Qwen2\.5, including DiagGym, which is fine\-tuned from it, and Phi\-4\), and the study includes no proprietary model such as the o4\-mini gatekeeper of SDBench\. DiagGym’s training split is unpublished, so our memorization check relies on its authors’ held\-out DiagBench cases \(225 usable\) and compares different case sets\. The DiagGym, Phi\-4, GK\-72B, BF16 and Llama\-3\.1\-8B analyses were added after the registered tests and are descriptive\.
#### Measurement\.
The size of the dilution depends on the judge, because a boosted judge recovered about two to three times the signal of a linear one, so we report ranges rather than a single number\. Judges stronger than ours might detect simulator leakage that ours missed\. The simulator audit covers laboratory panels only\. Imaging, pathology and endoscopy reports are free text that a gatekeeper aware of the diagnosis could phrase in ways that point to it, so the simulator channels may be larger for such examinations\.
#### Case\-text analyses\.
The presentation\-time analyses were found exploratorily on the pilot test split and replicated on its validation split, which belongs to the same cohort\. They cover the 60% of admissions with an ED triage record\. The triage chief complaint is terser than the discharge\-summary one, social history is de\-identified, and medication reconciliation was not included, so V3 may understate legitimately available information\. V3n matches the narrative format of V1 but not its length or the amount of information it carries\. Above all, V3 has no history of present illness, because MIMIC\-IV has no contemporaneous emergency\-physician note\. The V1−\-V3 and V2−\-V3 contrasts, like the history\-versus\-complaint contrasts, are therefore upper bounds on hindsight rather than estimates of it\. The size of the LLM gap was prompt\-sensitive, and only one alternative prompt was tested\.
#### Agents and registration\.
The A′2 agents were weak \(top\-1 about 20–24%, gaining at most 2 pp from laboratory results across all cases\) and could order only five panels, which limits the power of A′2\. As noted in §[5\.1](https://arxiv.org/html/2611.22241#S5.SS1), the primary metric of A′1 was poorly chosen\. The registration was internal, timestamped and sequential, with each test designed after the previous result, rather than a single plan deposited in a public registry beforehand\.
#### Scope\.
We studied 50 common emergency categories, excluding injury and mental disorders, and all three channels may behave differently for rare diseases\. Six interactive agents kept nearly the same order on V3 as on the benchmark text, but whether presentation\-time benchmarks separate agents of similar strength remains untested\.
## Ethics Statement
All data come from MIMIC\-IV, MIMIC\-IV\-Note and MIMIC\-IV\-ED, used under the PhysioNet[Goldberger et al\. \(2000\)](https://arxiv.org/html/2611.22241#bib.bib6)credentialed data use agreement\. Every language model ran locally on a server accessible only to credentialed project members\. No record\-level text was sent to an online service, and only aggregate statistics left the server\. We do not release patient\-level text or generated records\. Code and aggregate results will be released\. The work audits evaluation practice and does not deploy any clinical system\.
## References
- Abdin et al\. \(2024\)Marah Abdin, Jyoti Aneja, Harkirat Behl, Sébastien Bubeck, Ronen Eldan, Suriya Gunasekar, et al\. 2024\.Phi\-4 technical report\.*arXiv preprint arXiv:2412\.08905*\.
- Agency for Healthcare Research and Quality \(2026\)Agency for Healthcare Research and Quality\. 2026\.Clinical classifications software refined \(CCSR\) for ICD\-10\-CM diagnoses, v2026\.1\.Healthcare Cost and Utilization Project \(HCUP\)\.[https://hcup\-us\.ahrq\.gov/toolssoftware/ccsr/dxccsr\.jsp](https://hcup-us.ahrq.gov/toolssoftware/ccsr/dxccsr.jsp)\.
- Dutta et al\. \(2026\)Srimonti Dutta, Dinky Mishra, Aditi Singh, and Akshata Kishore Moharir\. 2026\.[PULSE\-CARE: A measurement\-validity audit of simulated\-patient clinical agent evaluation](https://aclanthology.org/2026.aacl-long.266/)\.In*Proceedings of IJCNLP\-AACL 2026 \(Volume 1: Long Papers\)*, pages 5904–5923\. Association for Computational Linguistics\.
- Geirhos et al\. \(2020\)Robert Geirhos et al\. 2020\.Shortcut learning in deep neural networks\.*Nature Machine Intelligence*, 2:665–673\.
- Golchin and Surdeanu \(2024\)Shahriar Golchin and Mihai Surdeanu\. 2024\.Time travel in LLMs: Tracing data contamination in large language models\.In*Proceedings of ICLR*\.ArXiv:2308\.08493\.
- Goldberger et al\. \(2000\)Ary L\. Goldberger, Luis A\. N\. Amaral, Leon Glass, Jeffrey M\. Hausdorff, Plamen Ch\. Ivanov, Roger G\. Mark, Joseph E\. Mietus, George B\. Moody, Chung\-Kang Peng, and H\. Eugene Stanley\. 2000\.[PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals](https://doi.org/10.1161/01.CIR.101.23.e215)\.*Circulation*, 101\(23\):e215–e220\.
- Grattafiori et al\. \(2024\)Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al\-Dahle, et al\. 2024\.The Llama 3 herd of models\.*arXiv preprint arXiv:2407\.21783*\.
- Gururangan et al\. \(2018\)Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel R\. Bowman, and Noah A\. Smith\. 2018\.Annotation artifacts in natural language inference data\.In*Proceedings of NAACL\-HLT*\.ArXiv:1803\.02324\.
- Hager et al\. \(2024\)Paul Hager, Friederike Jungmann, Robbie Holland, Kunal Bhagat, Inga Hubrecht, Manuel Knauer, Jakob Vielhauer, Marcus Makowski, Rickmer Braren, Georgios Kaissis, and Daniel Rueckert\. 2024\.[Evaluation and mitigation of the limitations of large language models in clinical decision\-making](https://doi.org/10.1038/s41591-024-03097-1)\.*Nature Medicine*, 30\(9\):2613–2622\.
- Holm \(1979\)Sture Holm\. 1979\.A simple sequentially rejective multiple test procedure\.*Scandinavian Journal of Statistics*, 6\(2\):65–70\.
- Hu et al\. \(2022\)Edward J\. Hu et al\. 2022\.LoRA: Low\-rank adaptation of large language models\.In*ICLR*\.
- Johnson et al\. \(2023a\)Alistair Johnson, Lucas Bulgarelli, Tom Pollard, Leo Anthony Celi, Roger Mark, and Steven Horng\. 2023a\.[MIMIC\-IV\-ED \(version 2\.2\)](https://doi.org/10.13026/5ntk-km72)\.PhysioNet\.
- Johnson et al\. \(2024\)Alistair Johnson, Lucas Bulgarelli, Tom Pollard, Brian Gow, Benjamin Moody, Steven Horng, Leo Anthony Celi, and Roger Mark\. 2024\.[MIMIC\-IV \(version 3\.1\)](https://doi.org/10.13026/kpb9-mt58)\.PhysioNet\.
- Johnson et al\. \(2023b\)Alistair Johnson, Tom Pollard, Steven Horng, Leo Anthony Celi, and Roger Mark\. 2023b\.[MIMIC\-IV\-Note: Deidentified free\-text clinical notes \(version 2\.2\)](https://doi.org/10.13026/1n74-ne17)\.PhysioNet\.
- Johnson et al\. \(2023c\)Alistair E\. W\. Johnson et al\. 2023c\.MIMIC\-IV, a freely accessible electronic health record dataset\.*Scientific Data*, 10:1\.
- Kwon et al\. \(2023\)Woosuk Kwon et al\. 2023\.Efficient memory management for large language model serving with PagedAttention\.In*SOSP*\.
- Lin et al\. \(2024\)Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Wei\-Ming Chen, Wei\-Chen Wang, et al\. 2024\.AWQ: Activation\-aware weight quantization for LLM compression and acceleration\.In*Proceedings of Machine Learning and Systems \(MLSys\)*\.ArXiv:2306\.00978\.
- Matsuura et al\. \(2026\)Misaki Matsuura, Sayantan Kumar, Ojas Kadam, and Jeremy C\. Weiss\. 2026\.Hindsight bias in clinical temporal reasoning: How future data exposure affects large language model judgment\.In*Machine Learning for Health Symposium \(ML4H\)*\.ArXiv:2609\.13454\.
- McCoy et al\. \(2019\)R\. Thomas McCoy, Ellie Pavlick, and Tal Linzen\. 2019\.Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference\.In*Proceedings of ACL*\.ArXiv:1902\.01007\.
- Mu et al\. \(2026\)Linjie Mu, Zhongzhen Huang, Yannian Gu, Shengqian Qin, Shaoting Zhang, and Xiaofan Zhang\. 2026\.EHRWorld: A patient\-centric medical world model for long\-horizon clinical trajectories\.*arXiv preprint arXiv:2602\.03569*\.
- Nori et al\. \(2025\)Harsha Nori, Mayank Daswani, Christopher Kelly, Scott Lundberg, Marco Tulio Ribeiro, Marc Wilson, Xiaoxuan Liu, Viknesh Sounderajah, Jonathan Carlson, Matthew P\. Lungren, Bay Gross, Peter Hames, Mustafa Suleyman, Dominic King, and Eric Horvitz\. 2025\.Sequential diagnosis with language models\.*arXiv preprint arXiv:2506\.22405*\.
- Pedregosa et al\. \(2011\)Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, et al\. 2011\.Scikit\-learn: Machine learning in Python\.*Journal of Machine Learning Research*, 12:2825–2830\.
- Poliak et al\. \(2018\)Adam Poliak, Jason Naradowsky, Aparajita Haldar, Rachel Rudinger, and Benjamin Van Durme\. 2018\.Hypothesis only baselines in natural language inference\.In*Proceedings of the Seventh Joint Conference on Lexical and Computational Semantics \(\*SEM\)*\.ArXiv:1805\.01042\.
- Qiu et al\. \(2025\)Pengcheng Qiu, Chaoyi Wu, Junwei Liu, Qiaoyu Zheng, Yusheng Liao, Haowen Wang, Yun Yue, Qianrui Fan, Shuai Zhen, Jian Wang, Jinjie Gu, Yanfeng Wang, Ya Zhang, and Weidi Xie\. 2025\.Evolving interactive diagnostic agents in a virtual clinical environment\.*arXiv preprint arXiv:2510\.24654*\.
- Qwen Team \(2024\)Qwen Team\. 2024\.Qwen2\.5 technical report\.*arXiv preprint arXiv:2412\.15115*\.
- Sainz et al\. \(2023\)Oscar Sainz, Jon Ander Campos, Iker García\-Ferrero, Julen Etxaniz, Oier Lopez de Lacalle, and Eneko Agirre\. 2023\.NLP evaluation in trouble: On the need to measure LLM data contamination for each benchmark\.In*Findings of EMNLP*\.ArXiv:2310\.18018\.
- Schmidgall et al\. \(2024\)Samuel Schmidgall, Rojin Ziaei, Carl Harris, Eduardo Reis, Jeffrey Jopling, and Michael Moor\. 2024\.AgentClinic: a multimodal agent benchmark to evaluate AI in simulated clinical environments\.*arXiv preprint arXiv:2405\.07960*\.
- Tang et al\. \(2025\)Yuqi Tang, Jing Yu, Zichang Su, Kehua Feng, Zhihui Zhu, Libin Wang, Lei Liang, Qiang Zhang, Keyan Ding, and Huajun Chen\. 2025\.ClinDEF: A dynamic evaluation framework for large language models in clinical reasoning\.*arXiv preprint arXiv:2512\.23440*\.
- Yang et al\. \(2026\)Jian Yang, Peilin Liu, Xiaohan Li, Songda Li, Yu Cao, Yuqing Feng, and Haomin Li\. 2026\.Auditing evaluation artifacts and data leakage in large language model systems for rare disease diagnosis\.*arXiv preprint arXiv:2610\.33592*\.
## Appendix ARegistered tests and decision rules
Each failed test led to a design revision whose rationale was written down before the next run\.D1asked whether a fine\-tuned simulator given the diagnosis \(S\+S^\{\+\}\) produces results more predictable than real ones\.Areplaced it with a prompted gatekeeper\. A subsequent review identified four validity problems:S−S^\{\-\}itself carries hindsight, sequential conditioning on real results leaves the simulator little room, 0/1 accuracy is coarse, and the text judge is sensitive to format\.A2therefore used independent generation, the presentation\-time controlS0S^\{0\}, a numeric judge andptruep\_\{\\text\{true\}\}\.A′registered three tests jointly with Holm correction andB=10,000B=10\{,\}000bootstrap resamples\.E1was registered after the exploratory case\-text analyses, to replicate them on the validation split\.
Table[5](https://arxiv.org/html/2611.22241#A1.T5)gives each rule as registered, in the order the tests were run\. Every rule was recorded in a versioned project protocol before the corresponding run started\. The rules, their timing and the protocol’s revision history are deposited at OSF \([https://osf\.io/m8ykh/overview?view\_only=3e27f98df9224cf6aca1f2d3ecbbe38f](https://osf.io/m8ykh/overview?view_only=3e27f98df9224cf6aca1f2d3ecbbe38f)\)\.
TestDecision rule as registeredOutcomeD1Stop if, after removing explicit leakage, the CI ofS\+S^\{\+\}−\-real \(clf top\-1\) includes 0 or the gain is<2<2pp; both judges must agree\. Implemented two\-sided at first; corrected to the registered one\-sided form before the decision\.stop \(both judges\)APass ifS\+S^\{\+\}−\-S−S^\{\-\}≥2\\geq 2pp with CI lower bound\>0\>0*and*theS\+S^\{\+\}−\-real point estimate is\>0\>0\(clf top\-1\)\. Otherwise no third simulator is tested\.failA2Pass if the CIs ofS\+S^\{\+\}−\-real*and*S\+S^\{\+\}−\-S0S^\{0\}both lie above 0 \(num judge,ptruep\_\{\\text\{true\}\}\)\. Declared the last test of this hypothesis\.failA′1–3Three one\-sided tests, patient\-level bootstrap \(B=10,000B=10\{,\}000\), Holm atα=0\.05\\alpha=0\.05\. H1: summary−\-chief complaint, text\-classifierptruep\_\{\\text\{true\}\}, filtered test cases\. H3:S\+S^\{\+\}−\-real, numptruep\_\{\\text\{true\}\}, 32B gatekeeper with unit hints\. H2: agent top\-1,S\+S^\{\+\}−\-S0S^\{0\}simulator\.none rejected \(smallestp=0\.320p=0\.320\)E1On the validation split, four\-model mean top\-1 gaps V1−\-V3 and V2−\-V3; one\-sided paired bootstrap \(B=10,000B=10\{,\}000\); replicated if the null is rejected for both under Holm atα=0\.05\\alpha=0\.05and both gaps are≥\\geq5 pp\.replicatedTable 5:Registered decision rules, in the order the tests were run\. Analyses beyond these rules \(DiagGym, Phi\-4, GK\-72B, the presentation\-time reconstruction, LLM diagnosis including Llama\-3\.1\-8B and the V3n format control, the stronger agent, the interactive agents and the cue analysis\) were conducted afterwards and are descriptive or exploratory\.
## Appendix BCase construction and differences from DiagGym
DiagGym did not release its case\-construction code, so we implemented the published description\. The main differences are:
1. 1\.Physical\-examination structuring and the “diagnosis known before admission” filter use a local Qwen2\.5\-7B\-Instruct model instead of DeepSeek\-V3\.
2. 2\.Diagnoses are grouped by AHRQ CCSR\. Only emergency or urgent admissions are kept\. Injury \(INJ\) and mental and behavioral \(MBD\) categories and transfers or post\-procedure admissions are excluded\.
3. 3\.The fine\-tuned simulator is Qwen2\.5\-3B with LoRA and diagnosis dropout rather than a fully fine\-tuned 7B model\. The public DiagGym 7B is evaluated separately\.
4. 4\.Laboratory items are kept at the single\-analyte level \(54\.0 per case vs\. 28\.4\)\.
## Appendix CImplementation details
Table[6](https://arxiv.org/html/2611.22241#A3.T6)lists the settings of the simulators, judges, LLM diagnosis, agent and statistics\. Code and aggregate results will be released\.
ComponentSettingFT\-3B simulatorQwen2\.5\-3B\-Instruct \+ LoRA \(r=64r=64,α=128\\alpha=128, all linear layers\); diagnosis dropout 0\.5; lr2×10−42\\times 10^\{\-4\}, cosine; 2 epochs; gradient accumulation 16; maximum length 6,144 tokens; loss on results only\.Simulated results5 samples per item, temperature 1\.0, at most 512 new tokens; sequential \(given real earlier results\) or independent \(profile only\)\.Numeric judge \(num\)Multinomial logistic regression \(C=1C=1\) on the 300 most frequent laboratory items: standardized value, abnormal flag, missing indicator; lenient number parsing\. Values\-only variant drops the flags\.Boosted judgeHistogram gradient boosting, at most 200 iterations, early stopping, same features as num\.Text judgesTF\-IDF \(1–2\-grams, at most 30,000 features, min\. document frequency 3, sublinear tf\) \+ logistic regression \(C=1C=1\)\.LLM diagnosisTemperature 0, at most 200 new tokens; one follow\-up turn if no valid code is returned \(afterwards at most 0\.7% of answers per model and view lacked a valid code\); input truncated to 12,000 characters\. Llama\-3\.1\-8B\-Instruct \(bf16\) was added as a third model family on the test split only\.V3n format controlV3 rewritten by Qwen2\.5\-14B\-Instruct\-AWQ with the V1 summary prompt \(temperature 0, at most 800 new tokens\); 1,635 test cases with a triage record, none empty\.GK\-72BQwen2\.5\-72B\-Instruct\-AWQ, tensor\-parallel over four GPUs, GPU memory fraction 0\.72, at most 64 concurrent sequences; otherwise as GK\-32B\.GK\-14B \(BF16\)Unquantized Qwen2\.5\-14B\-Instruct, tensor\-parallel over two GPUs; otherwise as GK\-14B with independent generation \(quantization check\)\.A′2 agentTemperature 0; at most 5 panel orders; 3 invalid turns force a diagnosis\.Interactive agentsSix models \(Table[9](https://arxiv.org/html/2611.22241#A8.T9)\); temperature 0, at most 20 new tokens per turn and 60 for the final answer; at most 8 requests among 7 actions; repeated or invalid requests count as invalid, and 3 invalid turns force a diagnosis; imaging report truncated to 1,500 characters; view truncated as for LLM diagnosis\.StatisticsPatient\-level paired bootstrap, 95% percentile CIs;B=10,000B=10\{,\}000for registered tests and LLM diagnosis,B=2,000B=2\{,\}000for other descriptive analyses\.Software and hardwarevLLM 0\.7\.3, PyTorch 2\.5\.1, Transformers 4\.49, PEFT 0\.14, scikit\-learn; four RTX 4090 GPUs \(24 GB\)\.Table 6:Hyperparameters and settings\.
## Appendix DFormat and unit checks
Numeric values were parseable \(anywhere in the string\) for 72\.5% of real and 90\.8–94\.6% of GK\-14B results\. Simulated results used the real unit in 41–43% of cases, but most differences were numerically equivalent \(e\.g\.10910^\{9\}/L vs\. K/μ\\muL, mmol/L vs\. mEq/L for monovalent ions\)\. Glucose was the main exception and was addressed by unit hints in A′3\.
## Appendix ECalibration of the A′1 classifiers \(post hoc\)
Table[7](https://arxiv.org/html/2611.22241#A5.T7)compares the two classifiers of test A′1 on the 1,760 test cases whose summary passed the leakage filter\. The temperatureTTwas fitted by minimizing the negative log\-likelihood on the validation split\. The registered verdict is unchanged\. The summary classifier was strongly under\-confident \(expected calibration error 0\.239 vs\. 0\.063 for the chief\-complaint classifier, mean entropy 3\.09 vs\. 2\.73 nats\)\. Under the negative log\-likelihood, a proper scoring rule, the summary was more informative even without recalibration \(gain 0\.284 nats \[0\.231, 0\.339\]\)\. After temperature scaling fitted on the validation split, theptruep\_\{\\text\{true\}\}difference was\+0\.131\+0\.131\[\+0\.117\+0\.117,\+0\.145\+0\.145\]\. The summary gain was broad \(higher top\-1 in 37 of 50 categories, median\+10\.1\+10\.1pp\)\.
ClassifierTTtop\-1meanptruep\_\{\\text\{true\}\}mean max\-probentropyECENLLSummary, raw1\.0000\.4910\.1920\.2523\.0890\.2392\.122Summary, scaled0\.5610\.4910\.3520\.5101\.8740\.0571\.776Chief complaint, raw1\.0000\.3570\.1900\.2942\.7340\.0632\.406Chief complaint, scaled0\.8560\.3570\.2210\.3552\.4300\.0382\.375Table 7:The two A′1 classifiers before and after temperature scaling\.
## Appendix FSensitivity to explicit admission examinations
Restricting evaluation to cases whose physical\-examination section explicitly marks an admission examination \(keyword label, 299 of 460 generation cases, 1,716 of 2,748 validation cases, 1,098 of 1,760 filtered test cases\) left every conclusion unchanged\. This check was run on the simulators available at the time \(GK\-14B and GK\-32B for independent generation\): retention of theirS\+S^\{\+\}results was 0\.06–0\.19 with the linear judge \(values and flags\) and 0\.40–0\.60 with the boosted judge\. The contrastS\+S^\{\+\}−\-S0S^\{0\}inptruep\_\{\\text\{true\}\}was\+0\.010\+0\.010to\+0\.027\+0\.027\(the linear\-judge GK\-14B interval touched 0\)\. History versus chief complaint top\-1 was\+20\.2\+20\.2pp \[\+17\.6\+17\.6,\+22\.8\+22\.8\], and the summary versus chief complaint NLL gain was 0\.317 nats \[0\.246, 0\.390\]\.
## Appendix GWhich words carry the signal
Table[8](https://arxiv.org/html/2611.22241#A7.T8)lists, for ten categories, the terms with the largest weights in the summary text classifier \(only terms occurring in at least 50 training summaries, aggregate vocabulary, no patient text\)\. They are mostly symptom descriptions and synonyms or abbreviations that a list of diagnosis names does not cover\. Figure[3](https://arxiv.org/html/2611.22241#A7.F3)shows the text\-classifier accuracy after deleting each class of words\.
Figure 3:Top\-1 accuracy of the summary text classifier after deleting classes of words from the training and test summaries \(1,760 filtered test cases\)\. Replacing diagnosis terms with a placeholder \(orange\) increases accuracy, an artifact discussed in Appendix[J](https://arxiv.org/html/2611.22241#A10)\. Dashed line: chief complaint alone\.Category \(CCSR\)Largest\-weight termsAcute pulmonary embolismpulmonary, pleuritic, dyspnea,clots, chest, pulmonary embolism,pe, embolismGastrointestinal hemorrhagemelena, stools,black, bleeding, stool,dark, blood, giIntestinal obstruction and ileusflatus, bowel, abdominal, abdominal pain, small bowel, obstruction, bowel movementChronic kidney diseaseesrd, kidney, blood pressure, renal, stage, kidney disease,dialysisCardiac dysrhythmiaspalpitations, atrial, fibrillation, tachycardia,atrial fibrillation, rateHeart failuredyspnea, heart failure,edema,orthopnea, heart, failure, of breathBiliary tract diseaseruq,jaundice, cholecystitis, cholangitis, upper quadrant, right upper,ercpThromboembolism \(phlebitis, DVT\)swelling,dvt, leg, extremity,calf, vein, lower extremityCerebral infarctionstroke, speech, weakness,sided weakness,aphasia, difficulty, handCOPD and bronchiectasiscopd, cough, dyspnea, sputum, history copd,wheezing, productiveTable 8:Largest\-weight terms of the summary classifier for ten categories\. Bold: synonyms, abbreviations or characteristic symptom descriptions not caught by a diagnosis\-name filter\.#### An invented illustration\.
The following pair is*invented*for illustration and is not derived from any patient record\. A presentation\-time view might read: “Female, 68\. Chief complaint: weakness\. Triage: HR 112, BP 98/60, pain 0\. Past medical history: hypertension, osteoarthritis\.” A summary written from the discharge record of the same \(fictional\) admission might read: “68\-year\-old woman with two days of black, tarry stools and lightheadedness on standing, taking daily ibuprofen for knee pain\.” The summary does not name the bleeding, yet*black, tarry stools*and the NSAID use point to gastrointestinal hemorrhage\. A filter that looks for the diagnosis name would therefore accept it\. Both details could have been elicited at the bedside\. From the text alone one cannot tell whether they were reported at arrival or selected because the answer was known when the summary was written\. This is why the V1−\-V3 contrast is an upper bound on hindsight rather than an estimate of it, and why a name filter, which detects neither possibility, cannot address it\. The example thus illustrates a lexical shortcut\. It does not by itself demonstrate hindsight\.
## Appendix HAdditional results for the case\-text channel
#### History versus chief complaint by category\.
History was more predictive in 43 of 50 categories \(median gain\+17\.8\+17\.8pp\)\. The largest gains were for secondary malignancies \(\+63\+63pp\), other complications of pregnancy \(\+62\+62\), asthma \(\+56\+56\), inflammatory bowel disease \(\+50\+50\), pancreatic \(\+45\+45\) and biliary tract disease \(\+42\+42\)\. The history was*less*predictive than the chief complaint for symptom\-defined categories such as nausea and vomiting \(−37\-37\), nonspecific chest pain \(−14\-14\) and hypotension \(−9\-9\), where the complaint is itself the label\.
#### Robustness and breadth\.
With a differently worded prompt \(no persona, candidates listed first\), all accuracies fell and the long discharge history was affected most, but the summary still raised accuracy by 10\.0 pp \[7\.2, 12\.8\]\. The magnitude is prompt\-sensitive while the direction is not\. The summary beat the presentation\-time view in 82% of the 49 categories with at least ten cases \(median \+11\.5 pp, Figure[5](https://arxiv.org/html/2611.22241#A8.F5)\)\. Gains were largest for diagnoses typically confirmed by imaging or a procedure, such as intestinal obstruction \(\+48 pp\), abdominal hernia \(\+45\), cerebral infarction \(\+34\), gastrointestinal hemorrhage \(\+27\) and spondylopathies \(\+25\), as well as for heart failure \(\+32\)\. They were absent for symptom\-defined categories \(nausea and vomiting−9\-9, headache−7\-7, nonspecific chest pain−3\-3\) and for hemorrhagic stroke \(−5\-5\)\.
#### Interactive agents\.
Table[9](https://arxiv.org/html/2611.22241#A8.T9)gives the results of the six interactive agents of §[5\.2](https://arxiv.org/html/2611.22241#S5.SS2)\(temperature 0, at most eight requests among CBC, CHEM, LFT, LACTATE, UA, IMAGING and EXAM; results are replayed from the record, and a request without a recorded result returns “not done”; three invalid turns force a diagnosis; the final turn asks for the five most likely of the 50 groups; prompts in Appendix[M](https://arxiv.org/html/2611.22241#A13)\)\. The agents made 4\.8–6\.7 requests per case and at most 0\.1% of final answers per agent and view could not be parsed\. This analysis is exploratory and uses the same pilot test cases as Table[2](https://arxiv.org/html/2611.22241#S5.T2)\. Before running it, we fixed an internal decision rule for extending the study: an average V1−\-V3 gap of at least 5 pp*and*at least one pair of agents whose order reversed between V1 and V3 by at least 3 pp in both views\. The first condition was met and the second was not \(the only reversal, Phi\-4 and Qwen2\.5\-32B, was 0\.7 and 2\.6 pp\), so we report the score inflation together with the stable ranking\.
AgentV1V2V3V1−\-V3V2−\-V3requests per case \(V1/V2/V3\)Qwen2\.5\-7B33\.038\.724\.6\+8\.4\+14\.16\.1 / 6\.1 / 6\.0Llama\-3\.1\-8B29\.436\.122\.5\+6\.9\+13\.66\.1 / 5\.7 / 6\.0Qwen2\.5\-14B\-AWQ38\.544\.329\.9\+8\.6\+14\.45\.8 / 4\.8 / 5\.4Phi\-440\.545\.035\.6\+4\.9\+9\.46\.7 / 6\.3 / 6\.7Qwen2\.5\-32B\-AWQ41\.246\.533\.0\+8\.2\+13\.56\.0 / 5\.7 / 6\.0Qwen2\.5\-72B\-AWQ44\.648\.738\.7\+5\.9\+10\.06\.2 / 6\.3 / 6\.2Mean \(six\)37\.943\.230\.7\+7\.2\+12\.5Table 9:Top\-1 accuracy \(%\) of six interactive agents reading V1 \(benchmark summary\), V2 \(discharge history\) or V3 \(presentation\-time reconstruction\) of the 1,053 test cases\. Per\-agent differences are computed from the rounded accuracies; the means and their 95% patient\-level bootstrap CIs \(V1−\-V3 \[5\.6, 8\.8\], V2−\-V3 \[10\.8, 14\.2\]\) from unrounded values\. Ranking by V1 and V2: 72B\>\>32B\>\>Phi\-4\>\>14B\>\>7B\>\>Llama; by V3, Phi\-4 and 32B swap \(Kendallτ=0\.87\\tau=0\.87\)\.Figure 4:Top\-1 accuracy gap of zero\-shot LLM diagnosis between the benchmark text \(left: V1 summary, right: V2 discharge history\) and the presentation\-time view V3, per model and condition, with 95% patient\-level bootstrap CIs\. For V3n, the presentation\-time view is V3 rewritten as a narrative by the model and instruction that produced V1\. E1 is the registered replication on the validation split\. All other rows are exploratory analyses of the 1,053 test cases\. Means are taken over the models listed in each block\.Figure 5:Per\-category top\-1 accuracy of zero\-shot diagnosis from the benchmark text \(left: V1 summary, right: V2 discharge history\) against the presentation\-time view V3, mean of the four LLMs, for the 49 CCSR categories with at least ten test cases \(marker area proportional to the number of cases\)\. Points above the dashed diagonal are categories where the benchmark text is easier\. Exploratory, pilot test cases\. Categories have 10–31 cases, so individual estimates are imprecise\.
## Appendix IAdditional simulator results
#### Quantized versus unquantized gatekeeper\.
To test whether dilution stems from AWQ quantization, we reran GK\-14B with the unquantized Qwen2\.5\-14B\-Instruct \(BF16, tensor\-parallel over two GPUs\) under exactly the same settings \(independent generation,S\+S^\{\+\},S−S^\{\-\}andS0S^\{0\}, 460 cases, five samples per item\) and evaluated both versions with the same judges\. Retention ofS\+S^\{\+\}results was 0\.19 \[0\.09, 0\.30\] for BF16 and 0\.16 \[0\.06, 0\.27\] for AWQ with the values\-only judge, and 0\.47 \[0\.38, 0\.57\] and 0\.43 \[0\.34, 0\.53\] with the boosted judge\.S\+S^\{\+\}−\-S0S^\{0\}was \+0\.023 \[\+0\.011, \+0\.036\] and \+0\.019 \[\+0\.011, \+0\.028\]\. The diagnosis line again had a negligible effect \(S\+S^\{\+\}−\-S−S^\{\-\}\+0\.002 inptruep\_\{\\text\{true\}\}\)\. The BF16 results were somewhat shorter and contained interpretive words less often \(2\.4% vs\. 3\.6% of results\), but the dilution was essentially unchanged\.
#### No sign of memorization\.
DiagGym was also run on 225 of the 750 DiagBench cases its authors held out from training, restricted to our 50 categories and to patients outside our judges’ training data\. It retained as much signal on the 225 held\-out DiagBench cases it was not trained on \(S\+S^\{\+\}70% \[55, 88\]\) as on our cases, which may overlap its training data \(72% \[60, 86\]\)\. The two case sets differ, so this is a coarse check\.
Figure 6:Signal retention of simulated laboratory results,\(p¯sim−c\)/\(p¯real−c\)\(\\bar\{p\}\_\{\\text\{sim\}\}\-c\)/\(\\bar\{p\}\_\{\\text\{real\}\}\-c\)withp¯\\bar\{p\}the mean probability a real\-data judge assigns to the true category andc=1/50c=1/50, so that 1 means as informative as the real results\. 460 cases \(held\-out: 225 DiagBench cases DiagGym was not trained on\), five samples per item, 95% patient\-level bootstrap CIs\. Sequential runs condition each result on the real earlier results and are not comparable with independent runs\. Top: logistic regression on values and missingness only, fair to simulators that never write abnormal flags\. Bottom: gradient\-boosted trees on values, flags and missingness\. All judges are trained on real data only\.S\+S^\{\+\}S−S^\{\-\}S0S^\{0\}GK\-14B0\.4540\.4380\.359GK\-32B \+ units0\.612–0\.394GK\-72B \+ units0\.6090\.5820\.534Phi\-4 \+ units0\.6180\.5980\.481Table 10:Typicalization: share of real results that are atypically normal for the diagnosis that a simulator flips to the typical abnormal state \(independent generation\)\. Not computable for DiagGym, which never writes abnormal flags\.
#### Full agent results\.
The agent reached top\-1 of 20\.7% with real results and 19\.3% with either gatekeeper \(top\-5: 40\.1%, 40\.4%, 40\.9%\)\.S\+S^\{\+\}−\-real was−1\.39\-1\.39pp \[−3\.33\-3\.33,\+0\.42\+0\.42\]\. The agent ordered about three panels per case in all conditions\. A descriptive follow\-up explains why: with no laboratory results at all, the same agent reached 19\.6% \(real−\-none\+0\.8\+0\.8pp \[−1\.5\-1\.5,\+3\.2\+3\.2\]\), indicating that it made little use of laboratory results\. A stronger agent \(Qwen2\.5\-32B\-AWQ, also as gatekeeper\) benefited slightly from them \(real−\-none\+1\.9\+1\.9pp \[0\.00\.0,\+3\.9\+3\.9\]\), and its accuracy still did not depend on the simulator \(S\+S^\{\+\}−\-S0S^\{0\}\+0\.6\+0\.6pp \[−1\.0\-1\.0,\+2\.1\+2\.1\],S\+S^\{\+\}−\-real0\.00\.0\)\. In this setting, laboratory results changed agent accuracy by at most about two points, an order of magnitude less than the case text does \(§[5\.2](https://arxiv.org/html/2611.22241#S5.SS2)\)\. Because these agents make little use of laboratory results, A′2 cannot show whether simulator leakage would matter for an agent that does\. Our conclusions about simulators rest on the real\-data judges \(§[5\.3](https://arxiv.org/html/2611.22241#S5.SS3)and below\), not on agent scores\.
#### Laboratory\-defined subset\.
In a post hoc subset of the eight categories usually established by the five panels \(diabetes with complication, fluid and electrolyte disorders, acute renal failure, chronic kidney disease, other liver disease, hepatitis, urinary tract infection and septicemia, 175 cases in total, with the list fixed before per\-category agent results were inspected\), the 32B agent did use the laboratory results \(real−\-none \+4\.0 pp \[0\.6, 8\.0\]\), and its accuracy depended on the simulator:S\+S^\{\+\}−\-S0S^\{0\}was \+4\.0 pp \[1\.1, 7\.4\] in top\-1 and \+9\.1 pp \[1\.7, 16\.6\] in top\-5, andS\+S^\{\+\}−\-real was \+1\.7 pp \[−1\.1\-1\.1, 4\.6\] in top\-1 and \+8\.0 pp \[2\.3, 13\.7\] in top\-5\. The 14B agent did not use the results in this subset either \(real−\-none \+1\.7 pp \[−2\.3\-2\.3, 6\.3\]\), and in its registered runs with the 14B gatekeeper the simulator made no difference there \(S\+S^\{\+\}−\-S0S^\{0\}\+0\.6 pp \[−1\.7\-1\.7, 2\.9\],S\+S^\{\+\}−\-real−1\.1\-1\.1pp \[−4\.6\-4\.6, 2\.3\]\)\. These contrasts are exploratory, not corrected for multiple comparisons, and confound the diagnosis line with the retrospective profile, because the agent runs had noS−S^\{\-\}arm\. They nevertheless suggest that, where an agent relies on laboratory results, a gatekeeper holding the hindsight case file can raise its score above real replay, although for a judge trained on real data the same simulated results carry less signal than real ones in these categories \(ptruep\_\{\\text\{true\}\}0\.110 vs\. 0\.264, values\-only judge\)\. The agent reads the full text of each simulated result, whereas the judges see only parsed values, but accompanying wording does not explain the advantage: in the 32B gatekeeper’s results for these categories, interpretive words such as*elevated*or*consistent with*occurred in 0\.4% of results under bothS\+S^\{\+\}andS0S^\{0\}, and diagnosis terms in 0\.10% and 0\.06%\. A more plausible source is typicalization\. Given the retrospective profile and the diagnosis, the 32B gatekeeper turned 61% of atypically normal real results into the typical abnormal state, against 39% withS0S^\{0\}\(Table[10](https://arxiv.org/html/2611.22241#A9.T10)\)\. This can supply the few decisive values an agent looks for, while the remaining values carry less signal for a judge that uses all 300 items\. We state this as a hypothesis\.
## Appendix JPitfalls for leakage audits
Both arose in our own analyses\. First, masking diagnosis terms with a placeholder, as is common practice[Hager et al\. \(2024\)](https://arxiv.org/html/2611.22241#bib.bib9), gave text classifiers a new cue: masked summaries became*more*predictable than unmasked ones \(top\-1 0\.525 vs\. 0\.491\), and masked histories likewise \(0\.574 vs\. 0\.559\), whereas deleting the terms changed little \(0\.495 and 0\.558\)\. A likely mechanism is that the number and position of placeholders encode how often and where the diagnosis was named, which differs between categories\. For the LLMs the choice hardly mattered \(summary gap 14\.4 vs\. 14\.8 pp for Qwen2\.5\-7B and 15\.3 vs\. 15\.4 for \-14B with placeholder vs\. deletion\), but judges that treat the placeholder as a token are affected\. Second, our registered test of the summaries compared the mean probability of the true class across two*different*classifiers and found no difference \(\+0\.002\+0\.002\), although accuracy rose by 13\.4 pp, because the summary classifier was less confident \(ECE 0\.239 vs\. 0\.063\), and a proper scoring rule \(negative log\-likelihood\) or temperature scaling recovers the effect \(Appendix[E](https://arxiv.org/html/2611.22241#A5)\)\. Comparisons across classifiers should use accuracy or proper scores, not raw probabilities\.
## Appendix KRecommendations
Table[11](https://arxiv.org/html/2611.22241#A11.T11)lists practical recommendations for building and auditing clinical agent benchmarks\. Each recommendation is linked to the result that motivates it\. Recommendations 1–3 concern the agent\-facing case text, 4–6 the simulator, and 7 the design of leakage audits\. They are derived from one data source, 50 common emergency categories, laboratory panels and the open models we could run locally, and should be revisited for other settings \(Limitations\)\.
RecommendationEvidence in this paper1Build agent\-facing cases from information documented at presentation \(e\.g\. triage records\), or report a presentation\-time baseline next to every score\.Benchmark\-style text made zero\-shot diagnosis 11–20 pp easier than a presentation\-time reconstruction, on test and held\-out patients \(§[5\.2](https://arxiv.org/html/2611.22241#S5.SS2)\)\.2Do not rely on diagnosis\-name filters; test filters against implicit cues\.Deleting diagnosis terms, alone or with four other word classes, left the gap intact \(Table[2](https://arxiv.org/html/2611.22241#S5.T2), Figure[3](https://arxiv.org/html/2611.22241#A7.F3)\)\.3When auditing with text\-based judges, mask by deletion rather than by a placeholder token\.A placeholder raised summary top\-1 from 0\.491 to 0\.525 \(Appendix[J](https://arxiv.org/html/2611.22241#A10)\)\.4Report the signal retention of simulated results against real results, using a judge trained on real data only\.Prompted gatekeepers retained 16–62% of the real signal and trained world models 70–84% \(§[5\.4](https://arxiv.org/html/2611.22241#S5.SS4)\)\.5Condition simulators on presentation\-time profiles where possible, and report the gap to retrospective profiles\.Retrospective profiles increased predictability by 0\.014–0\.059 inptruep\_\{\\text\{true\}\}, whereas the diagnosis line had a negligible effect \(§[5\.4](https://arxiv.org/html/2611.22241#S5.SS4)\)\.6Before attributing score differences to simulators, verify that the agent uses the simulated results\.Overall, agent accuracy differed by at most about two points with and without laboratory results; in a laboratory\-defined subset, a stronger agent scored higher with the hindsight gatekeeper than with real results \(§[5\.3](https://arxiv.org/html/2611.22241#S5.SS3)\)\.7Register audits before running them, and compare classifiers by accuracy or proper scoring rules rather than raw probabilities\.A′1 compared raw probabilities across classifiers and missed a 13\.4\-pp accuracy gain \(§[5\.1](https://arxiv.org/html/2611.22241#S5.SS1), Appendix[E](https://arxiv.org/html/2611.22241#A5)\)\.Table 11:Recommendations for building and auditing clinical agent benchmarks\.
## Appendix LCompute and data governance
Every model in this study runs on a local server accessible only to credentialed project members \(vLLM[Kwon et al\. \(2023\)](https://arxiv.org/html/2611.22241#bib.bib16)\)\. No record text is sent to any external service\. This is our data\-governance choice for MIMIC text, and it excludes proprietary API models such as the o4\-mini gatekeeper of SDBench\. We therefore report how each result changes with model size and family \(3B to 72B parameters from the Qwen2\.5, Phi\-4 and Llama\-3\.1 families\) rather than with a frontier API model\.
All experiments ran on one server with four NVIDIA RTX 4090 GPUs \(24 GB each\)\. Jobs that completed successfully used about 155 GPU\-hours in total \(85 hours of wall\-clock time, excluding failed and restarted runs\)\. The largest items were the six interactive agents reading V1–V3 \(62 GPU\-hours, of which 43 for the 72B agent\), the 72B gatekeeper \(31\), the other simulators and gatekeepers \(14B, 32B, Phi\-4 and DiagGym: 23\), zero\-shot LLM diagnosis over all models, views and variants including V3n \(14\), fine\-tuning FT\-3B \(10\), DiagGym\-style summaries and preprocessing with local LLMs \(7\), the A′2 agents \(6\) and the LLM judge \(1\)\. Judges, text classifiers and statistics ran on CPU\. Data were used under the PhysioNet credentialed data use agreement\. No record\-level text left the server, and all reported numbers are aggregates\.
## Appendix MPrompts
All prompts are reproduced from the code\. Placeholders in braces are filled per case, and\{candidates\}lists the 50 CCSR codes with their descriptions\. The V3n format control uses the V1 summary prompt below, with V3 as the input record\.
### M\.1Simulator: gatekeeper \(system and user message;S\+S^\{\+\}adds the final diagnosis to the case file\)
Youaretheinformationgatekeeperofaclinicaldiagnosisbenchmark\.Youholdthepatient’scasefile\.Whenanexaminationisrequested,reportitsresultasitwouldappearinthehospitalrecord\.Iftheresultisnotinthecasefile,writearealistic,clinicallyplausibleresultthatisconsistentwiththecase\.Reportonlytheresultitself,inthesamestyleastheresultsreportedsofar\(forlaboratorytests:valueandunit,followedby’\[abnormal\]’ifoutsidethereferencerange;forimaging:ashortreport\)\.Donotexplain\.
Casefile:
\{case\}
Resultsreportedsofar:
\{past\}
Requestedexamination:\{name\}
Result:
### M\.2Pre\-hospital summary: case\-summary part of DiagGym’s prompt 3 \(verbatim\)
Asanexperiencedphysician,youwillreceiveapatientElectronicHealthRecordfocusedondiagnosis\.Yourtaskisto:
\-Summarizeonlythekeyclinicalinformationavailablepriortohospitalpresentation\(i\.e\.,thepatient’sstatebeforearrivalatthehospital,includingsymptoms,history,andrelevantbackground\)\.Donotincludeanyinformationfromthehospitalcourse,ancillarytests,laboratoryorimagingresults,treatments,procedures,ordischargesummaries\.
Ensureallsummariesareconcise,accurate,andbasedsolelyontheinformationprovided\.Donotreferenceimages,tables,orothervisualdata,asthesearenotaccessible\.
Formattofollow:
\#\#\#CaseSummary
Provideadetailedmedicalhistoryofthepatientpriortohospitalarrival,includingchiefcomplaint,historyofpresentillness,pastmedicalhistory,familyhistory,andanyotherrelevantinformationforinitialdiagnosis\.Donotincludeanyfindings,investigations,oreventsthatoccurredafterhospitalarrival\.Donotincludeanyancillarytestsorpertinentresultshere\.Donotmentionorimplyanydiagnosticconclusions\.Donotincludeanylanguagethatattributessymptomstoaspecificdiagnosis,evenifthisispresentintheEHR\.
\-PatientInformation:
\-ChiefComplaint:Ifnone,write"None\."
\-HistoryofPresentIllness:Ifnone,write"None\."Thisneedstobedoneverycarefullyandshouldonlyincludeinformationfrombeforethevisit\.
\-PastMedicalHistory:Ifnone,write"None\."
\-PersonalHistory:Ifnone,write"None\."
\-FamilyHistory:Ifnone,write"None\."
\-AllergyHistory:Ifnone,write"None\."
\.\.\.\(othernecessaryinformationbeforehospitalarrival\)
Outputonlythe"\#\#\#CaseSummary"section\.
ThefollowingistheElectronicHealthRecord\(EHR\)ofthepatient:
\{ehr\_text\}
### M\.3Leakage filter: criterion 1 of DiagGym’s prompt 4 \(verbatim\)
Pleaseevaluatewhetherthecasesummaryprovidedbelowisqualifieddiagnostictaskdataaccordingtothefollowingstandards\.
\#\#\#EvaluationCriteria
1\.InformationLeakage
Doesthe"CaseSummary"sectiondirectlycontainthenameordiagnosticresultsofthe"DiagnoseResults"?Ifdiagnosticresultsappeardirectly\(Thatis,withoutanyreasoning\),itisjudgedas"Unqualified"\.
OutputFormat:
InformationLeakage:xxx
Thefollowingisspecificinformation:
CaseSummary:\{case\_summary\}
DiagnoseResults:\{diagnosis\_results\}
### M\.4Agent \(system message and final turn\)
Youareanemergencyphysician\.Apatienthasjustarrived\.Youcanorderlaboratorypanels,oneperturn,beforemakingadiagnosis\.Availablepanels:CBC\(completebloodcount\),CHEM\(basicchemistry:electrolytes,BUN,creatinine,glucose\),LFT\(liverfunctiontests\),LACTATE\(lactate\),UA\(urinalysis\)\.Eachturnreplywithexactlyoneline:’ORDER:<panelcode\>’or’DIAGNOSE’whenyouareready\.Atmost5panels\.
Nowgivethediagnosis\.Candidatediagnosisgroups:
\{candidates\}
Answerwiththecodesofthe5mostlikelygroups,mostlikelyfirst,asaJSONlist\.Outputonlythelist\.
### M\.5Interactive agents reading V1–V3 \(system message, first user turn; the final turn is as above\)
Youareanemergencyphysician\.Youwillreadtheinformationavailableaboutapatient\.Youcanthenrequestexaminations,oneperturn,beforemakingadiagnosis\.Available:CBC\(completebloodcount\),CHEM\(basicchemistry\),LFT\(liverfunctiontests\),LACTATE,UA\(urinalysis\),IMAGING\(thefirstimagingstudyperformedanditsreport\),EXAM\(physicalexaminationonadmission\)\.Eachturnreplywithexactlyoneline:’ORDER:<code\>’or’DIAGNOSE’whenyouareready\.Atmost8requests\.
Caseinformation:
\{view\}
### M\.6LLM diagnosis, default prompt \(system and user message\)
Youareanexperiencedemergencyphysician\.
Apatientpresentstotheemergencydepartment\.Caseinformation:
\{case\}
Candidatediagnosisgroups:
\{candidates\}
Whichgroupismostlikelytheprincipaldiagnosisofthishospitaladmission?Answerwiththecodesof
the5mostlikelygroups,mostlikelyfirst,asaJSONlist,forexample\["ABC001","ABC002","ABC003",
"ABC004","ABC005"\]\.Outputonlythelist\.
### M\.7LLM diagnosis, alternative prompt
Candidatediagnosisgroups\(code:description\):
\{candidates\}
Clinicalinformationavailableaboutahospitaladmission:
\{case\}
Rankthefivecandidategroupsthatbestmatchtheprincipaldiagnosis,bestfirst\.
ReplywithaJSONlistoffivecodesonly\.Similar Articles
RealICU: Do LLM Agents Understand Long-Context ICU Data? A Benchmark Beyond Behavior Imitation
RealICU is a hindsight-annotated benchmark for evaluating LLMs in ICU settings, covering four physician-motivated tasks. Experiments reveal that existing LLMs struggle with recall-safety tradeoffs and anchoring bias, while a new structured-memory agent improves reasoning but not fully eliminate safety failures.
Do Benchmarks Underestimate LLM Performance? Evaluating Hallucination Detection With LLM-First Human-Adjudicated Assessment
This paper investigates whether standard benchmarks underestimate LLM performance by re-evaluating hallucination detection datasets using an LLM-first, human-adjudicated assessment method. The study finds that incorporating LLM reasoning into the adjudication process improves agreement and suggests that model-assisted re-evaluation yields more reliable benchmarks for ambiguity-prone tasks.
CliniCARE-Bench: Clinical Calibrated Audit of Medical Reasoning in EHR
Introduces CliniCARE-Bench, a deployment-oriented benchmark for evaluating AI agents on clinical audit tasks over longitudinal EHR data, with 25 clinician-validated scenarios and 750 patient cases. It assesses verdict accuracy, evidence grounding, policy adherence, and calibrated abstention, finding that raw accuracy overstates investigation quality.
KlinikeBench: Evaluating Language Models Beyond Diagnostic Accuracy
KlinikeBench introduces a clinician-verified benchmark of 333 interactive clinical tasks where LMs must gather patient history, use clinical tools, and reach a diagnosis within a turn budget. Across 31 models, the best (e.g., GPT-6-astra, Claude Opus 5) succeed on under 30% of tasks despite 90.7% diagnostic accuracy, revealing a large gap between diagnostic knowledge and real-world clinical interaction.
LingxiDiagBench: A Multi-Agent Framework for Benchmarking LLMs in Chinese Psychiatric Consultation and Diagnosis
Introduces LingxiDiagBench, a large-scale multi-agent benchmark for evaluating LLMs on Chinese psychiatric consultation and diagnosis. Key findings show high accuracy on binary classification but poor performance on multi-way differential diagnosis, highlighting a decoupling between conversational quality and diagnostic accuracy.