Uncertainty-Aware Variational-Recurrent Imputation Network for Clinical Time Series

Ahmad Wisnu Mulyadi, Eunji Jun, Heung-Il Suk

Introduction

Electronic Health Records (EHRs) are a cornerstone of modern clinical research but are notoriously difficult to analyze due to their sparse, irregularly sampled, and highly missing nature. In critical care settings like the ICU, missing rates often exceed 80% because patients are monitored and tested at irregular intervals. To utilize this data for predictive tasks—such as forecasting in-hospital mortality—researchers typically employ imputation models to fill in missing values.

However, a significant limitation of existing deep learning imputation methods is that they treat imputed "guesses" as ground truth. If an imputation model is highly uncertain about a specific value, downstream prediction models should ideally account for this lack of fidelity. This paper introduces the Variational-Recurrent Imputation Network (V-RIN), a novel architecture that explicitly quantifies the uncertainty of missing value estimates and leverages it to improve prediction performance.

Methodology: The V-RIN Architecture

The V-RIN framework is a unified, end-to-end architecture composed of two primary modules: a VAE-based imputation network and an uncertainty-aware recurrent network.

The V-RIN architecture consists of a Variational Autoencoder (VAE) for feature-based imputation and a Recurrent Imputation Network for temporal modeling.

1. VAE-based Imputation Network

At each time step, a Variational Autoencoder (VAE) analyzes the observed data to capture correlations between different medical features. Instead of a single point estimate, the VAE outputs a reconstructed distribution for the missing data. The mean ($\mu$) of this distribution serves as the imputed value, while the variance ($\sigma^2$) represents the uncertainty or fidelity score of that imputation.

2. Uncertainty-Aware Recurrent Imputation Network

The imputed data and its associated uncertainty are then processed by a modified Gated Recurrent Unit (GRU). This network is designed to handle the temporal dynamics of clinical data through two key mechanisms:

  • Uncertainty Decay Factor: The model uses the variance from the VAE to down-weight uncertain estimates. If the VAE indicates high uncertainty for a feature, the GRU reduces its reliance on that specific value.
  • Temporal Decay Factor: Recognizing that clinical observations lose relevance over time, the model incorporates the time gap between observations to decay hidden states.
Comparison of (a) Vanilla GRU, (b) GRU-D, and (c) the proposed Uncertainty-aware GRU, which incorporates uncertainty (v) and mask (m) information.

The authors also developed V-RIN-full, a bidirectional variant that utilizes both past and future context to refine imputations.

Experimental Evaluation

The model was evaluated on two benchmark EHR datasets:

  • PhysioNet Challenge 2012: 35 clinical variables from 4,000 ICU patients (80.51% missing rate).
  • MIMIC-III: 99 variables across 13,998 ICU stays (93.92% missing rate).

Performance Results

V-RIN-full demonstrated state-of-the-art performance across both classification and imputation tasks:

  • Mortality Prediction: On the PhysioNet dataset (with 10% artificial data removal), V-RIN-full achieved an AUC of 0.8401, outperforming strong baselines like BRITS (0.8225) and GRU-D (0.8096). On the sparser MIMIC-III dataset, it reached an AUC of 0.8691.
  • Imputation Accuracy: The model achieved the lowest Mean Absolute Error (MAE) for missing value estimation. On PhysioNet, it recorded an MAE of 0.264, significantly better than GRU-D (0.661).

Key Insights and Discussion

The primary innovation of V-RIN is the treatment of uncertainty as an actionable feature. By providing the recurrent network with a "fidelity score" for each imputation, the model avoids the accumulation of errors stemming from unreliable guesses.

Interpretability analysis using Layer-wise Relevance Propagation (LRP) confirmed that the model naturally learns to assign lower relevance to imputed values with high uncertainty. This validates the design of the uncertainty-aware GRU, showing it effectively filters out noise in the imputed data.

While V-RIN excels in classification and most imputation metrics, it showed slightly higher Mean Squared Error (MSE) on the MIMIC-III dataset compared to models like BRITS. Future work will focus on refining uncertainty handling across diverse clinical datasets to address these minor discrepancies and improve generalizability.

Summary updated

BibTeX
@article{mulyadi2020uncertainty,
  author = {Ahmad Wisnu Mulyadi and Eunji Jun and Heung-Il Suk},
  title = {{Uncertainty-Aware Variational-Recurrent Imputation Network for Clinical Time Series}},
  journal = {IEEE Trans. Cybernetics},
  year = {2020},
  doi = {10.1109/tcyb.2021.3053599},
}
Figure