Models that follow a patient's lab values over time look strong in retrospective studies and then lose accuracy once they run live. One overlooked reason is that a hospital lab trajectory records two things at once. It records the patient's physiology, and it records the clinician's worry, because a worried clinician orders more tests, orders them sooner, and orders specific ones such as lactate. A model trained on these records can learn to predict deterioration from the testing pattern instead of from the biology. That shortcut works on historical data. It fails in deployment for two reasons: ordering habits drift over time, and an alert that fires only after a clinician has already started a workup tells that clinician nothing new.
We propose a cheap pre-deployment test for this shortcut. We call it a schedule-thinning audit. We take a patient's record, remove the extra draws that a concerned clinician added, keep the measured values physiologically consistent, and measure how far the model's risk estimate moves. The core claim has two parts. First, a model's sensitivity to thinning, measured on retrospective data, predicts how much its accuracy will drop under a temporal or prospective shift. Second, it predicts this better than standard drift statistics do. If the claim holds, deployment teams get a number they can compute before a silent trial, along with a training remedy they can check against it.
Core Claim
The evidence that the measurement process contaminates outcome signal comes from the critique of the TREWS sepsis system. Randomized Clinical Trials or Convenient Controls: TREWS or FALSE? used causal diagrams and a randomly firing "coin-flip" alert across more than 650,000 encounters. Patients whose random alerts were confirmed quickly still showed lower mortality (3.3% vs. 6.4%), because fast responders were already ordering tests such as lactate.
That paper diagnoses a flaw in how deployed systems are evaluated. Our proposal turns the same mechanism into a property of the model that can be measured before deployment. Three other findings motivate this:
- Prospective decay. In DEPLOYR, a repeat-lab white blood cell classifier dropped from AUROC 0.76 retrospectively to 0.69 in a silent prospective trial.
- Selected samples. Trajectory studies such as the albumin-kinetics analysis of Zhang et al. had to exclude roughly 750 patients who lacked a follow-up test. This shows that "having a trajectory" is itself a selected, concern-driven state.
- Time encoding. Does Temporal Encoding Matter? found that GRU (gated recurrent unit) foundation models on MIMIC-IV do no worse when they see only the order of events rather than the time gaps. Its "No Encoding" model reached 37.9% Recall@10 in next-event pretraining, versus about 20% with sinusoidal time encodings. One reading is that event identity and order already carry the clinician-behavior signal. If so, precise physiological timing adds little because the model is not really modeling physiology.
What is new here is the claim that sensitivity to the ordering pattern can be isolated by a controlled intervention on the input. We also claim it is a better leading indicator of translation failure than distribution-shift magnitude or in-distribution accuracy.
Research Program
The audit works as follows.
- For each patient-time at which the model makes a prediction, we build a thinned version of the history. We identify draws that exceed a reference schedule, meaning the routine daily or per-protocol draw rate for that unit and test.
- We delete those extra draws.
- We delete order events for tests whose only role is diagnostic workup (lactate, blood cultures, troponin repeats).
- We keep the most recent value of each analyte, and we fill the gaps with values that respect the analyte's known within-patient variability. The thinned record therefore still describes the same physiology. This last step matters because simply deleting values would confound "less information about the patient" with "less information about the clinician."
The thinning sensitivity is the average absolute change in predicted risk:
$$R = \mathbb{E}\big[\,|f(x) - f(\tilde{x})|\,\big]$$
Here $f$ is the trained model, $x$ is the observed history, $\tilde{x}$ is its thinned counterpart, and the expectation runs over prediction times in a held-out set. We report $R$ both raw and normalized by the spread of $f$'s predictions, so that values are comparable across tasks.
We complement $R$ with two more diagnostics.
- Timing-only model. This model sees when tests were ordered but none of their values. Its AUROC is an upper estimate of how much outcome signal sits in the ordering process alone.
- Echo rate. This is the fraction of true-positive alerts that fire after a workup order already exists in the record. It directly measures the "alert tells the clinician what they already suspect" failure that Henry et al. describe from the clinician side. Their interviewees valued TREWS for cognitive unloading and bedside-verifiable alerts. A high-echo model provides neither benefit.
The remedy we test is thinning augmentation: training on randomly thinned copies of each history so that the model cannot rely on draw density. We compare it against cruder fixes. The comparisons are described below.
Baselines
The naive reference point is a static snapshot model: gradient-boosted trees on the most recent value of each lab and vital sign, with no history and no timing. It sets a floor for both accuracy and decay. Snapshot models may decay less, simply because they carry less ordering signal. We will report this honestly rather than treat accuracy alone as the goal.
The strongest existing longitudinal models fall into two groups.
- Event-sequence model. A GRU event-sequence model in the "No Encoding" configuration from Does Temporal Encoding Matter?. For MIMIC-IV mortality, the closest reported reference is AUROC 0.7547 for Deepr in PyHealth 2.0.
- Hourly time-series models. Models built on MIMIC-Extract for MIMIC-III, which reports mortality AUROC of 0.85 to 0.90 and intervention onset/offset macro-AUROC of 0.90 to 0.94.
All models get the same cohorts, the same splits, and an equal hyperparameter search budget of 50 configurations per model family, selected on in-distribution validation only.
For the audit's own claim, the strongest competitor is drift monitoring of the kind DEPLOYR-dash performs. In DEPLOYR, this means tracking shifts in input-feature distributions between training and live data. We operationalize it in two ways:
- the per-feature distance between training-period and test-period inputs, aggregated across features;
- a domain classifier's ability to tell the two periods apart.
These are compared against two further predictors of decay: in-distribution AUROC itself, and the timing-only model's AUROC. No reported result was found on Lacuna for drift statistics used as predictors of AUROC decay across tasks. The only reported decay figure is DEPLOYR's 0.76 to 0.69. The audit counts as beating drift monitoring if its rank correlation with observed AUROC drop is higher, with a bootstrap confidence interval on the difference that excludes zero.
For the remedy, the comparison set is:
- the unmodified full model;
- the same model with explicit timing features and order events removed;
- an inverse-probability-of-testing weighted model, in the spirit of the backdoor adjustment in TREWS or FALSE?;
- thinning augmentation.
The key ablation applies thinning augmentation without the physiologically consistent gap filling, using plain deletion. This isolates whether the consistency step is what makes the augmentation work. The remedy counts as a win if it cuts temporal-shift AUROC loss by at least a third relative to the full model, while losing no more than 0.01 in-distribution AUROC.
Why not just…?
Why not just drop the missingness indicators and timestamps? This is the most serious threat, and it is included as a baseline. Dropping timestamps does not remove selection. The mere presence of a lactate value, or of three potassium values in six hours, still encodes concern, and sequence models see presence through event identity. Our audit measures $R$ directly for the timestamp-dropped model. If its $R$ is near zero and its decay matches thinning augmentation, the simple fix wins and the contribution reduces to the audit. We would report that outcome.
Why not just monitor drift and retrain often, as DEPLOYR does? Drift monitoring detects that inputs changed. It does not say whether the model's accuracy depends on the changed part, and it gives no warning before deployment. Retraining on recent data also cannot fix echoing. A model that alerts after the workup is already ordered stays clinically redundant however fresh it is. The head-to-head decay-prediction comparison in our experiments settles which signal is more informative.
Why not just reweight by the probability of being tested? Inverse-probability weighting corrects the estimate of an outcome association under a correctly specified testing model. It does not stop a flexible predictor from exploiting draw density at prediction time. It is also unstable when testing probabilities are extreme, which is common in the ICU. We run it as a baseline. If it matches thinning augmentation on decay, it is the more principled choice and we would say so.
Why not just use static severity scores? Beyond Thresholds shows that static preoperative variables reach AUPRC 0.244 for prolonged ICU stay, against 0.339 once intraoperative trajectories are added. Trajectory signal is therefore real. The goal is to keep the physiological part of that signal and shed the behavioral part, not to discard trajectories.
Proposed Experiments
The main experiment uses MIMIC-IV with a temporal split, so that later years play the role of the prospective period. The tasks are:
- in-hospital mortality;
- 24-hour deterioration (vasopressor or ventilation onset, using MIMIC-Extract-style intervention definitions);
- abnormal repeat-lab prediction for hematocrit, creatinine, potassium and white blood cell count, mirroring DEPLOYR's tasks.
For each of roughly a dozen task-by-architecture pairs, we compute $R$, the timing-only AUROC, the echo rate and drift statistics on the early period. We then correlate each with the observed AUROC drop in the later period.
EHRSHOT adds a foundation-model arm using CLMBR-T-base, as in Act or Defer. There, we also check whether STRATCP-style deferral disproportionately defers high-$R$ predictions.
INSPIRE serves as the negative control. Its minute-level intraoperative vital signs come from monitors on a fixed schedule rather than from clinician orders. Thinning there should therefore leave predictions nearly unchanged, and $R$ should be close to zero. If $R$ is large on INSPIRE, the audit is measuring information loss, not reliance on ordering, and the central claim fails.
If STARR access is available, the DEPLOYR silent-trial models provide one genuinely prospective check. We would test whether the white blood cell model's 0.07 AUROC loss is matched by a high $R$ relative to the other eleven classifiers.
The decisive results are:
- the rank correlation between $R$ and decay, compared with that of drift statistics;
- whether thinning augmentation beats timestamp removal at equal in-distribution accuracy;
- whether low-$R$ models have lower echo rates, which links the measurable shortcut to the bedside verifiability clinicians say they need.
References
- Randomized Clinical Trials or Convenient Controls: TREWS or FALSE?
- DEPLOYR: a technical framework for deploying custom real-time machine learning models into the electronic medical record
- Association between albumin changes and prognosis in older patients with acute myocardial infarction
- Does Temporal Encoding Matter? Evidence from GRU-based Clinical Foundation Models
- Human-machine teaming is key to AI adoption: clinicians' experiences with a deployed machine learning system
- PyHealth 2.0: A Comprehensive Open-Source Toolkit for Accessible and Reproducible Clinical Deep Learning
- MIMIC-Extract: a data extraction, preprocessing, and representation pipeline for MIMIC-III
- Beyond Thresholds: Learning Perioperative Risk from Intraoperative Physiological Trajectories
- Act or Defer: Error-Controlled Decision Policies for EHR Foundation Models