Introduction
Real-world clinical time series data, such as longitudinal patient records in Intensive Care Units (ICUs), are notoriously messy and sparse. Sensors disconnect, tests are run at irregular intervals, and data is frequently missing. Traditional statistical methods for handling this missing data require strict assumptions about data generation and treat imputation and prediction as separate tasks. While recent deep learning approaches like Recurrent Neural Networks (RNNs) handle joint learning better, they typically output deterministic estimates, ignoring the inherent uncertainty of missing values. This paper introduces a unified Bayesian recurrent neural network framework that simultaneously imputes missing data and predicts clinical outcomes while providing a principled measure of reliability.
Methodology
The proposed framework consists of a three-layer Bayesian architecture designed to handle the complexities of clinical time series.
The architecture includes:
- Masking Layer: Identifies missing values in the input stream.
- Imputation Layer (Bayesian NN): Generates a distribution of possible values for missing data points using Bayes by Backprop.
- Hidden Layer (Bayesian RNN): Processes the sequence for outcome prediction, incorporating a temporal decay factor to account for irregular time steps.
By using Monte Carlo iterations during inference, the model generates a distribution of possible values for every missing data point, rather than a single point estimate. The framework is trained end-to-end, simultaneously minimizing imputation error, prediction error, and Kullback-Leibler (KL) divergence.
Experimental Setup
The model was evaluated on two benchmark ICU datasets:
- PhysioNet 2012 Challenge: 4,000 admissions with 78% missingness across 35 features.
- MIMIC-III: 14,681 admissions with 48% missingness across 12 features.
Imputation accuracy was specifically tested by simulating a "Missing at Random" (MAR) scenario, artificially dropping 10% of known values to serve as ground truth for evaluation.
Results
The Bayesian framework consistently outperformed state-of-the-art (SOTA) deterministic models, including GRU-D, RITS, and BRNN.
As shown in the results table, the proposed method achieved the lowest Mean Absolute Error (MAE) and Mean Relative Error (MRE) for imputation, while simultaneously reaching the highest AUROC and AUPRC for mortality prediction. On the PhysioNet dataset, it achieved an imputation MAE of 0.282 and a prediction AUROC of 0.866. The model demonstrated significant robustness; even when missing data rates were increased by 15%, the Bayesian approach maintained its lead over baselines.
Discussion and Key Insights
A critical finding of this work is that uncertainty serves as a proxy for accuracy. The authors observed a tight, monotonic correlation between the variance ($\sigma^2$) of the model's imputation distribution and its Mean Absolute Error (MAE). This allows clinicians to assess the reliability of imputed values even when ground truth is unavailable. Furthermore, the Bayesian framework acts as a natural regularizer, making the network highly robust to high levels of missingness.
Limitations and Future Work
While effective, the current framework is limited to numerical features and fixed-length time series. Future research will focus on incorporating categorical clinical data, adapting the model for varying-length patient stays, and testing against more complex missingness patterns, such as Missing Not at Random (NMAR).
Summary updated