Do Missingness-Aware Recurrent Networks Survive Live Data Feeds?

Several recurrent neural networks for hospital time series do something clever. A recurrent neural network is a model that reads a patient's record one time step at a time while carrying a running memory. The clever part is that these models treat when and whether a measurement was taken as evidence in its own right. A lab drawn every two hours suggests a sicker patient than one drawn once a day. Models built on this idea, such as GRU-D and its continuous-time successors, report clear gains on archived intensive-care data.

That timing signal comes from two sources that a live deployment does not hold fixed: clinician ordering habits and the data pipeline that delivers measurements to the model. A prospective study of a deployed hospital risk model found that most of its performance loss came from differences between the curated research database and the live data feed, not from changes in the patients. We propose a "prospective replay" stress test. It converts retrospective intensive-care records into streams that are only partially available at each moment. It then measures how much of each recurrent model's retrospective advantage depends on stable logging behavior. Finally, it tests whether training on replayed streams recovers that advantage.

Core Claim

Our hypothesis is that the accuracy gain from informative missingness is partly a bet that the logging cadence will stay the same. Under realistic pipeline outages, delayed arrival, and shifts in ordering policy, we expect models that explicitly decay memory and inputs by elapsed time to lose more discrimination than models that ignore timing. We also expect part of their apparent early warning to be a reaction to clinician actions rather than to physiology. The second claim is that much of this loss can be removed without new architecture, by training on the same partially available streams the model will see at deployment. If the replay degradation does not separate the models, or if it does not predict which models degrade on a held-out hospital, the claim fails.

Three bodies of work frame this. Recurrent Neural Networks for Multivariate Time Series with Missing Values introduces GRU-D, which decays missing inputs toward the feature mean and decays the hidden state with elapsed time. It reports a MIMIC-III mortality AUC of 0.8527 against 0.8252 for a plain GRU with mean imputation. Neural ODEs for Informative Missingness in Multivariate Time Series replaces those discrete decays with a learned continuous-time evolution and reports 0.9147 on PhysioNet 2012. These two papers supply the methods under test. Both were evaluated only on curated static splits.

Mind the Performance Gap motivates the work. It decomposes a 0.011 AUROC prospective drop in a C. difficile model into a 0.016 loss from infrastructure shift, partly offset by a 0.005 gain from temporal shift. It documents pipeline failures on 10 of 356 days and static fields that were back-filled after discharge. Its model was not a sequence model, so it cannot say whether timing-sensitive recurrent cells amplify infrastructure shift. That question is the gap we address.

Randomized Clinical Trials or Convenient Controls: TREWS or FALSE? shows that random alerts appear to cut mortality from 6.4% to 3.3% once encounters are grouped by whether a lactate test was ordered. Clinician suspicion drives both the ordering and the outcome, which confounds any observational comparison. This paper constrains our evaluation: a timing-sensitive recurrent model can read an order event as risk. We therefore measure that reliance directly instead of rewarding it.

Research Program

The first component is the replay harness. Each training and test record is re-served as a stream in which a value becomes visible only after a sampled arrival delay. A shared outage process removes whole blocks of time across all patients, with the outage rate set from the 10-in-356-day figure. Static variables are withheld until their first plausible entry rather than copied to every time step, which removes the back-filling leak noted by Ötles et al. We also add an ordering-policy shift that thins or densifies selected labs according to an explicit rule.

Following Ötles et al., we report each model's degradation in two parts:

  • Infrastructure component: curated test set compared with the replayed test set under outages and delays.
  • Policy component: replayed test set compared with replayed plus ordering shift.

The second component is a measurement of order sensitivity, adapted from the coin-flip logic of TREWS or FALSE?. At a given hour we insert a counterfactual lactate measurement whose value is clinically normal, and record how much the predicted risk rises. A model that tracks physiology should not move much. A model that reads the order itself as risk will. We report this both as a mean rise in score and as the fraction of alerts that would not have fired without the inserted order.

The third component is the remedy. Every model is retrained on replayed streams, with outages and delays sampled freshly each epoch, so it learns from data that look like the deployment feed. As a separate ablation we also try a GRU-D variant that receives two clocks: time since measurement and time since the value arrived. This tests whether telling the model about pipeline latency adds anything beyond exposure to it. We expect the extra clock to matter little, which is why it is an ablation rather than the main contribution.

Baselines

The naive reference point is a plain GRU with forward-filled and mean-imputed inputs and no timing or missingness features, reproduced from Che et al. (MIMIC-III mortality AUC 0.8252). It cannot exploit logging cadence, so it should lose the least under replay. It is the reference for whether timing features earn their place once the feed is realistic.

The strongest non-recurrent competitor is a logistic regression or gradient-boosted tree on hand-built window statistics. On MIMIC-III in-hospital mortality, Multitask Learning and Benchmarking with Clinical Time Series Data reports logistic regression at AUC 0.848 against 0.870 for its multitask channel-wise LSTM. On the PhysioNet 2019 sepsis challenge, Early Prediction of Sepsis from Clinical Data reports that winning entries, including boosted trees, scored 0.33 to 0.36 on its clinical utility metric.

The strongest timing-aware recurrent methods are:

  • GRU-D, MIMIC-III AUC 0.8527 (Che et al.).
  • Extended ODE-GRU-D, PhysioNet 2012 AUC 0.9147 against 0.824 for GRU-D in that paper's own comparison (Habiba and Pearlmutter).
  • The channel-wise LSTM.

The key ablation, plain GRU-D trained on replayed streams, isolates replay training as the ingredient, separate from the two-clock input.

For fairness, all models use the same patient splits, the same replay seeds, and the same hyperparameter search budget, measured in configurations tried and selected on a replayed validation set. We report wall-clock inference cost per patient-hour, which matters for the ODE model. A method "wins" if it holds the best AUC and utility on the replayed test set and on held-out Hospital C. It must also show no larger order sensitivity than the plain GRU. Retrospective AUC alone does not count.

Why not just…?

Why not just drop the timing features? That is the plain-GRU baseline. If it matches GRU-D on the replayed test set, informative missingness is not worth its fragility. That would be a clean, useful negative result, and the experiment is designed to detect it.

Why not just use trees on window statistics? On curated data they are competitive: 0.848 against 0.870 on MIMIC-III, and comparable to LSTMs in the 2019 sepsis challenge. Window statistics also encode measurement counts, so they can be just as fragile to outages. We put trees through the same replay and order-sensitivity tests rather than assuming they are robust. Trees are a real threat to the recurrent models, and the results may favor them.

Why not just retrain periodically on recent warehouse data? Ötles et al. found that temporal shift slightly helped AUROC, and that the loss came from the gap between the warehouse and the live feed. Retraining on fresher warehouse extracts never shows the model a live-style feed. Our replay-trained models address the shift that was actually measured. We still include a "retrain on the latest years of the curated warehouse" control.

Why not just add a language model over clinical notes, as COMPOSER-LLM did? Development and Prospective Implementation of a Large Language Model Based System for Early Sepsis Prediction cut false alarms per patient-hour from 0.037 to 0.0087 and held 58.2% positive predictive value prospectively. However, it reports that notes are often written hours late. During that window the structured-data model remains the only real-time signal. Our work concerns that component, so the two approaches complement each other.

Proposed Experiments and Decisive Checks

The benchmarks are MIMIC-III (in-hospital mortality and hourly decompensation, using the Harutyunyan task definitions), PhysioNet 2012 mortality, and PhysioNet 2019 sepsis.

The first decisive check validates the harness itself. We train on Hospitals A and B of the 2019 challenge, then ask whether each model's replay degradation on A/B test data ranks the models in the same order as their actual drop on Hospital C. Hospital C has genuinely different measurement distributions, so this is our best available stand-in for a prospective shift. If the ranks do not agree, the replay harness is not measuring anything useful, and we say so.

The second check is the central hypothesis. Under replay, GRU-D and ODE-GRU-D should lose more AUC than the plain GRU, enough to erase much of their retrospective margin, and should show higher order sensitivity. The third check is the remedy. Replay training should recover most of that loss on both the replayed test set and Hospital C. Where it does not, we test the two-clock variant.

Every result is reported with bootstrap intervals over patients and replay seeds. A true prospective trial is out of scope, and these checks do not replace one. What they do is decide which recurrent design is worth the cost of a silent prospective deployment of the kind Ötles et al. and Shashikumar et al. ran.