Deep Physiological State Space Model for Clinical Forecasting

Yuan Xue, Denny Zhou, Nan Du, Andrew M. Dai, Zhen Xu, Kun Zhang, Claire CuiarXiv 2019

TL;DR

This paper introduces an intervention-augmented deep state space model (DSSM) designed to jointly forecast patient physiological trajectories and clinical interventions. By explicitly modeling the feedback loop where clinicians adjust treatments based on a patient's latent state, the model achieves superior forecasting accuracy on real-world ICU data compared to traditional linear and deep learning baselines.

What Problem Does This Paper Address?

Clinical forecasting using Electronic Medical Records (EMR) is notoriously difficult because patient health is a "moving target." Traditional machine learning models often focus on static outcomes (like mortality) or treat clinical interventions (like medication dosages) as external, independent inputs.

However, in a real hospital setting, interventions are endogenous: a doctor decides to increase a vasopressor dose because they observe a drop in blood pressure. This creates a complex interaction loop between the patient's underlying physiology and the clinician's actions. Existing models often fail to capture this dependency, leading to forecasts that lack clinical context or fail to suggest actionable next steps. The authors aim to bridge this gap by creating a generative model that treats both biomarkers and treatments as part of a single, evolving system.

Methods

The authors propose a Deep Physiological State Space Model. At its core, it is a Gaussian state space model where the transitions and emissions are parameterized by deep neural networks.

The model consists of three main components:

  1. Transition Function: Models how the latent physiological state ($z_t$) evolves based on the previous state and the current intervention ($u_t$).
  2. Emission Function: Maps the latent state ($z_t$) to observable clinical measurements ($x_t$), such as heart rate or lab results.
  3. Intervention Forecast: This is the key innovation. Unlike classical models, this component models the probability of an intervention ($u_t$) based on the previous latent state ($z_{t-1}$), effectively "learning" how clinicians respond to patient conditions.
Figure 1: Graph Model For Patient Physiological State.

The model is trained using Variational Inference. The authors found that a two-stage training approach works best: System Identification (SI), which maximizes the joint likelihood of the entire record to learn general dynamics, followed by fine-tuning for Trajectory Forecasting (TF), which optimizes the model specifically to predict future windows given historical data.

Datasets

The model was evaluated using the MIMIC-III (Medical Information Mart for Intensive Care) dataset.

  • Cohort: 42,026 patient encounters (specifically those alive 48 hours after admission).
  • Features: 96 frequent observational features (vitals/labs) and 20 intervention features (including 8 types of vasopressors/antibiotics and 6 ventilator/dialysis settings).
  • Preprocessing: Data was discretized into regular time steps. Missing observations were handled via "last-value-carried-forward" imputation, while missing interventions were carefully classified as either "continued action" or "no action" based on timing thresholds.

Key Insights and Ideas

  • Interventions as Data, Not Just Inputs: By modeling $p(u_t | z_{t-1})$, the authors acknowledge that clinical actions are informative of the patient's state. A forecast that includes suggested interventions is far more useful to a clinician than a simple biomarker prediction.
  • Latent Physiology vs. Raw Data: Using a latent variable ($z$) allows the model to capture "hidden" health trends that aren't immediately obvious from noisy, irregular lab results.
  • The Power of Fine-Tuning: The "SI+TF" approach suggests that while learning the "physics" of a patient's body is important (System Identification), the model must be specifically calibrated to the task of looking ahead (Trajectory Forecasting) to minimize error over long horizons.

Key Results

The proposed SI+TF model consistently outperformed baselines, including standard Kalman Filters and deep models that didn't use the joint training objective.

Table 1: Comparison of Mean Absolute Error (MAE) across different forecasting horizons (24, 48, and 72 hours). Lower is better.

As shown in the table, the SI+TF model maintained a lower error rate even as the forecasting horizon increased to 72 hours. Notably, the linear Kalman Filter performed the worst, highlighting that physiological dynamics are highly non-linear and require the expressive power of deep neural networks.

Limitations and Future Work

  • Missing Data: The authors used a relatively simple imputation method (most recent value). In highly volatile clinical settings, more sophisticated imputation or models that handle continuous time (like Neural ODEs) might be more robust.
  • Noise Assumptions: The model assumes time-invariant noise covariance ($Q$ and $R$), which might not hold true as a patient's condition stabilizes or deteriorates rapidly.
  • Causal Inference: While the model forecasts interventions, it does not explicitly perform counterfactual reasoning (e.g., "What would happen if I didn't give this drug?"). Integrating causal discovery into this state-space framework is a natural next step for true decision support.

Summary updated

BibTeX
@misc{xue2019deep,
  author = {Yuan Xue and Denny Zhou and Nan Du and Andrew M. Dai and Zhen Xu and Kun Zhang and Claire Cui},
  title = {{Deep Physiological State Space Model for Clinical Forecasting}},
  year = {2019},
  eprint = {1912.01762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.01762},
}
Figure