IVP-VAE: Modeling EHR Time Series with Initial Value Problem Solvers

Jingge Xiao, Leonie Basso, Wolfgang Nejdl, Niloy Ganguly, Sandipan Sikdar

Introduction

Electronic Health Records (EHR) are essential for modern clinical predictive modeling, yet they present significant computational challenges. Unlike standard time series with fixed intervals, EHR data is "irregularly sampled." A patient's vital signs might be recorded hourly, while laboratory results appear daily, often with substantial gaps due to clinical workflows or device limitations.

To model these continuous underlying biological processes, researchers have previously employed Neural Ordinary Differential Equations (ODEs) and Neural Flows. However, existing state-of-the-art architectures, such as Latent-ODE, typically rely on a hybrid approach: they use ODEs to bridge time gaps but still utilize Recurrent Neural Networks (RNNs) to update latent states sequentially. This sequential dependency creates a major computational bottleneck, as the state at time $t_n$ cannot be computed until all previous states are resolved, hindering scalability and training speed.

The IVP-VAE Framework

The authors introduce IVP-VAE, a novel continuous-time model that eliminates sequential processing. The core innovation lies in treating every observation as an independent starting point for an Initial Value Problem (IVP).

Figure 1: The IVP-VAE architecture leverages parallel IVP solvers to map observations to a shared latent space.

Instead of an autoregressive RNN, the model maps each observation to a latent state and propagates it backward in time to a common reference point ($t_0$) using an IVP solver. Because these calculations are independent, they can be executed in parallel, transforming an $O(L)$ sequential process into an $O(1)$ parallel process. Furthermore, the model exploits the inherent invertibility of neural IVP solvers, allowing the same solver to function as both the encoder (moving backward to $z_0$) and the decoder (moving forward to reconstruct or forecast data). This symmetry reduces parameter counts and improves regularization.

Experimental Evaluation

The model was evaluated on three prominent real-world EHR datasets:

  • MIMIC-IV: A large-scale dataset with 26,070 records and 96 variables, representing high sparsity and complexity.
  • PhysioNet 2012: 4,000 admissions focused on mortality prediction.
  • eICU: 12,312 admissions across multiple hospitals with 14 clinical variables.

The researchers tested two variants: IVP-VAE-ODE (using numerical solvers) and IVP-VAE-Flow (using Neural Flows to model solution curves directly).

Results and Discussion

IVP-VAE demonstrated significant improvements in both efficiency and accuracy. Most notably, IVP-VAE-Flow achieved a 42x speedup over Latent-Flow on MIMIC-IV forecasting tasks.

Figure 2: IVP-VAE-Flow demonstrates superior performance and data efficiency compared to baselines.

Beyond speed, the model consistently ranked in the top tier for accuracy across all tasks, outperforming previous latent-based models in metrics like AUROC and MSE. A key finding was the model's superior data efficiency: in scenarios with limited training samples (as few as 250), IVP-VAE maintained high performance while baseline models like GRU-D and mTAN experienced significant degradation. This robustness is attributed to the parameter sharing between the encoder and decoder, which provides a strong inductive bias.

Conclusion

IVP-VAE addresses the fundamental limitations of sequential latent models for EHR data. By parallelizing the IVP solving process, it offers a massive leap in training speed without sacrificing—and often improving—predictive accuracy. While some task-specific baselines remain competitive in narrow metrics, IVP-VAE represents a powerful, general-purpose framework for continuous-time clinical modeling. Future work may extend this approach to missing value imputation and broader time-series regression tasks.

Summary updated

BibTeX
@inproceedings{xiao2024ivp,
  author = {Jingge Xiao and Leonie Basso and Wolfgang Nejdl and Niloy Ganguly and Sandipan Sikdar},
  title = {{IVP-VAE: Modeling EHR Time Series with Initial Value Problem Solvers}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i14.29534},
}
Figure