Prediction of Survival Outcomes under Clinical Presence Shift: A Joint Neural Network Architecture

Vincent Jeanselme, Glen P. Martin, Matthew Sperrin, Niels Peek, Brian D. M. Tom, Jessica K. BarrettarXiv 2025 · DOI

Introduction

Medical AI models trained on Electronic Health Records (EHRs) often encounter a significant hurdle: the data is not collected at random. The timing and selection of clinical tests are informative markers of a clinician's suspicion and the patient's state. This paper addresses the problem of "clinical presence shift"—where changes in data collection protocols between hospitals or over time lead to model performance degradation.

The Challenge of Clinical Presence Shift

Most clinical prediction models treat EHR data as a passive stream, viewing missing values or irregular sampling as noise to be imputed. However, the authors argue that "clinical presence"—the very act of a clinician interacting with a patient—is a signal. A doctor orders a specific test because they suspect a specific condition. If a model is trained at a hospital with aggressive testing protocols and then deployed at a hospital with more conservative protocols, the model encounters a clinical presence shift. Because the underlying "logic" of when data appears has changed, the model’s predictions can become unreliable.

The DeepJoint Architecture

To mitigate this, the authors propose DeepJoint, a multi-task neural network architecture. DeepJoint is designed to learn a robust patient representation by jointly modeling three distinct processes:

  1. Survival Outcome: Predicting time-to-event using a neural Cox model (DeepSurv).
  2. Temporal Process: Predicting the timing of the next observation via a monotonic neural network.
  3. Missingness Process: Predicting which specific tests will be ordered in the next encounter.

The backbone of this architecture is a shared Recurrent Neural Network, specifically an LSTM, which generates a patient embedding. This embedding captures both physiological status and clinical workflow patterns.

The DeepJoint architecture utilizes recurrent structures like LSTMs to create a shared patient embedding from temporal EHR data.

By forcing the model to predict the data-collection process itself, DeepJoint acts as a form of regularization, preventing the network from overfitting to the specific testing habits of the training environment.

Experimental Setup and Datasets

The study utilizes the MIMIC-III dataset, a massive repository of de-identified ICU data. The authors focused on 21 common laboratory tests (such as glucose, creatinine, and white blood cell count) taken within the first 24 hours of admission.

To test transportability without needing data from a second hospital, the authors used the "weekend effect." Clinical practices, including staffing and test frequency, often shift significantly between weekdays and weekends. They trained models on weekday admissions and tested them on weekend admissions to simulate a real-world distribution shift.

Results and Discussion

DeepJoint demonstrated superior performance and transportability compared to baseline models.

  • Clinical Presence is a Signal: Models that incorporated clinical presence (either as features or via joint modeling) consistently outperformed "naive" models that ignored irregular timings.
  • Superior Transportability: DeepJoint achieved the best balance. While a model that simply used missingness as a "feature" performed well on internal data, it suffered more when shifted to the weekend dataset.
  • Quantitative Edge: DeepJoint showed the lowest overall transfer loss (~0.011)—the drop in performance (C-index) when a model is moved from its training environment to a shifted environment. It proved that explicitly modeling the observation process helps the network distinguish between a patient's actual physiological decline and a mere change in hospital staffing levels.

Conclusion

DeepJoint represents a significant step toward more transportable medical AI. By acknowledging that clinical presence is an informative signal rather than noise, and by explicitly modeling the observation process, the architecture achieves greater resilience to the distribution shifts common in real-world healthcare settings. Future work will explore larger shifts and broader "natural experiments," such as the "July effect" (when new medical residents start), to further validate the model's resilience.

Summary updated

BibTeX
@misc{jeanselme2025prediction,
  author = {Vincent Jeanselme and Glen P. Martin and Matthew Sperrin and Niels Peek and Brian D. M. Tom and Jessica K. Barrett},
  title = {{Prediction of Survival Outcomes under Clinical Presence Shift: A Joint Neural Network Architecture}},
  year = {2025},
  eprint = {2508.05472},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.05472},
}
Figure