Where Does Hindsight Enter Clinical Agent Benchmarks? An Audit of Simulators and Case Construction

Meilu Zhu, Xiaohan Li, Axiu MaoarXiv 2026 · arXiv

TL;DR

Benchmarks for medical LLMs often use retrospective data that "leaks" the final diagnosis, making the task significantly easier than real-world clinical practice. This paper introduces HINDAUDIT, a protocol that reveals the primary source of this "hindsight bias" isn't the simulators used to generate test results, but the case summaries themselves, which can inflate model accuracy by nearly 20 percentage points.

What Problem Does This Paper Address?

Large Language Model (LLM) agents are increasingly evaluated on their ability to act as "sequential diagnosticians"—reading a patient's history, ordering tests, and committing to a diagnosis. However, because we cannot re-examine real patients, these benchmarks are built from retrospective Electronic Health Records (EHRs).

This creates two major "hindsight" risks:

  1. The Simulator Leak: When an agent orders a test that wasn't originally performed, a simulator (often another LLM) generates the result. These simulators are frequently given the patient's final diagnosis to ensure "consistency," potentially leaking the answer.
  2. The Case Construction Leak: The initial patient description the agent reads is often rewritten from discharge summaries—notes written after the doctor already knew the diagnosis.

If a benchmark is "spoiled" by hindsight, an LLM might look like a brilliant doctor simply because it’s good at picking up subtle clues in the way a case was retrospectively summarized, rather than performing actual clinical reasoning.

Methods

The authors developed the HINDAUDIT protocol to isolate and measure three specific "channels" of hindsight:

  • Channel 1 (The Diagnosis Line): Does telling the simulator the final diagnosis leak information into the generated lab results?
  • Channel 2 (Retrospective Context): Does the discharge history provided to the simulator leak information?
  • Channel 3 (Agent-Facing Case Text): Does the summary provided to the diagnostic agent contain hindsight?

To measure this, they created a "presentation-time reconstruction" (labeled V3) using only data available at the moment of hospital arrival (triage records). They then compared LLM performance on V3 against standard benchmark-style summaries (V1) and full discharge histories (V2).

Crucially, they used "real-data judges"—classifiers trained only on authentic clinical records—to detect if simulated data contained more diagnostic signals than it should. They also employed sequential registration, pre-specifying their hypotheses and decision rules to ensure the audit's integrity.

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 text 3 makes LLM diagnosis much easier than a presentation-time reconstruction (green), an upper bound on hindsight (§5.2).

Datasets

The study utilized MIMIC-IV, a massive database of over 27,000 emergency admissions. They specifically pulled from:

  • MIMIC-IV-ED: For triage records (chief complaints, vitals at arrival).
  • MIMIC-IV-Note: For discharge summaries.
  • AHRQ CCSR: To map various ICD codes into 50 common emergency diagnosis categories.

Key Insights and Ideas

  • Simulators are surprisingly "safe": Contrary to popular belief, giving a simulator the final diagnosis has a negligible effect on the diagnostic signal of the results it produces.
  • The "Gatekeeper" Dilution: Prompted LLM simulators (gatekeepers) actually dilute the diagnostic signal, retaining only 16–62% of the information found in real lab results. This means they might actually make the task harder in some ways, but less realistic.
  • The Text is the Leak: The biggest threat to validity is the case text. Summaries written from discharge notes contain "lexical shortcuts"—symptoms or history details that a human or LLM author selected because they were known to be relevant to the final diagnosis.
  • Masking is ineffective: Simply deleting the name of the diagnosis (e.g., "Pneumonia") from the text doesn't fix the problem. The surrounding narrative—mentioning specific symptoms like "melena" instead of just "dark stools"—still points too strongly to the answer.

Key Results

The audit found that benchmark-style construction drastically inflates scores:

  • Accuracy Jump: Four local LLMs achieved a top-1 accuracy of 25.4% on presentation-time records. This jumped to 39.7% on benchmark-style summaries and 45.3% on discharge histories.
  • Stable Rankings: While hindsight inflates absolute scores (making models look "smarter"), it rarely changes the relative ranking of models. A better model remains better, regardless of the hindsight level.
  • The "Diagnosis Line" Effect: Providing the diagnosis to five different simulators resulted in a negligible accuracy increase of at most 1.4 percentage points.
Figure 2: Top-1 gap of zero-shot LLM diagnosis be- tween the benchmark text and the presentation-time view (V3n: V3 rewritten as a narrative) under each con- dition, mean over the models listed, with 95% patient- level bootstrap CIs. E1 is the registered replication. Per-model estimates are in Figure 4 (Appendix H).

Limitations and Future Work

  • Single Center: The study relies on a single data source (MIMIC-IV from one US hospital).
  • Lab Results Only: The simulator audit focused on laboratory panels. Hindsight might be more prevalent in free-text reports for imaging or pathology, which were not covered here.
  • The "Bedside" Baseline: Because MIMIC lacks a true contemporaneous bedside history (notes written exactly at arrival), the "presentation-time" baseline used here is actually an upper bound on hindsight. The real gap might be even larger.
  • Future Direction: The authors recommend that future benchmarks should be built exclusively from information documented at the time of presentation to ensure they measure clinical reasoning rather than pattern matching of retrospective narratives.

Summary updated

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. HindAudit separates 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.
BibTeX
@misc{zhu2026where,
  author = {Meilu Zhu and Xiaohan Li and Axiu Mao},
  title = {{Where Does Hindsight Enter Clinical Agent Benchmarks? An Audit of Simulators and Case Construction}},
  year = {2026},
  eprint = {2611.22241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22241},
}
Figure