GP-VAE: Deep Probabilistic Time Series Imputation

Vincent Fortuin, Dmitry Baranchuk, Gunnar Rätsch, Stephan Mandt · DOI

Abstract

Multivariate time series with missing values are common in areas such as healthcare and finance, and have grown in number and complexity over the years. This raises the question whether deep learning methodologies can outperform classical data imputation methods in this domain. However, naive applications of deep learning fall short in giving reliable confidence estimates and lack interpretability. We propose a new deep sequential latent variable model for dimensionality reduction and data imputation. Our modeling assumption is simple and interpretable: the high dimensional time series has a lower-dimensional representation which evolves smoothly in time according to a Gaussian process. The non-linear dimensionality reduction in the presence of missing data is achieved using a VAE approach with a novel structured variational approximation. We demonstrate that our approach outperforms several classical and deep learning-based data imputation methods on high-dimensional data from the domains of computer vision and healthcare, while additionally improving the smoothness of the imputations and providing interpretable uncertainty estimates.

Introduction

Missing data is a ubiquitous challenge in fields like healthcare and finance. Sensors fail, patients miss appointments, and measurements are taken at irregular intervals. To make sense of this data, we need robust data imputation: estimating those missing values.

An ideal imputation model for multivariate time series should exploit both cross-channel correlations (e.g., heart rate and blood pressure) and temporal correlations (smooth changes over time). While classical methods like Gaussian Processes (GPs) handle uncertainty well, they struggle with high-dimensional data. Conversely, deep learning models like standard Variational Autoencoders (VAEs) handle high dimensions well but often ignore temporal dynamics or fail to provide reliable confidence intervals. GP-VAE addresses these limitations by combining the strengths of both approaches.

Methodology

GP-VAE integrates a Gaussian Process prior into a VAE framework to model the temporal evolution of latent representations.

Architecture

The model embeds high-dimensional, messy data into a lower-dimensional latent space. A convolutional inference network (encoder) maps the observed data into a latent representation, while a feed-forward generative network (decoder) maps it back to the original space to reconstruct missing values.

Architecture sketch and graphical model of GP-VAE

Key Innovations

  • Gaussian Process Prior: Instead of the standard independent Gaussian prior, GP-VAE uses a GP prior in the latent space, forcing representations to evolve smoothly over time.
  • Cauchy Kernel: To capture dynamics at multiple scales simultaneously—common in medical vitals—the authors use a Cauchy kernel, which acts as an infinite mixture of RBF kernels.
  • Structured Variational Inference: To overcome the $O(T^3)$ complexity of standard GPs, the authors use a novel structured variational approximation that reduces complexity to $O(T)$, making the model scalable for long time series.

Experimental Results

The model was evaluated on three datasets: Healing MNIST (synthetic digits), SPRITES (animated characters), and Physionet 2012 (real-world ICU records).

Quantitative Performance

GP-VAE consistently outperformed baselines across all datasets in terms of Mean Squared Error (MSE) and Negative Log-Likelihood (NLL). On the Physionet data, it performed comparably to the state-of-the-art BRITS model in mortality prediction (AUROC of 0.730 vs 0.742) while offering the added benefit of probabilistic interpretability.

Performance comparison on Healing MNIST and SPRITES

Qualitative Stability

Qualitatively, GP-VAE reconstructions are significantly more stable and faithful to the original data compared to standard VAEs or HI-VAE. The GP prior acts as a powerful regularizer, preventing the "jittery" reconstructions often seen in models that lack temporal modeling. Crucially, GP-VAE provides a posterior distribution, allowing practitioners to visualize uncertainty around every imputed point.

Conclusion

GP-VAE successfully marries the non-linear dimensionality reduction of VAEs with the temporal modeling power of GPs. It provides a scalable, accurate, and interpretable framework for time series imputation. Future work may explore more sophisticated architectures like Transformers or learned kernels to further improve performance in specialized domains.

Summary updated

BibTeX
@inproceedings{fortuin2020gp,
  author = {Vincent Fortuin and Dmitry Baranchuk and Gunnar Rätsch and Stephan Mandt},
  title = {{GP-VAE: Deep Probabilistic Time Series Imputation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=ci8kfBjK2u7},
}
Figure