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 can be used to improve upon classical imputation methods. We propose GP-VAE, a deep generative model for time series imputation that combines the strengths of Variational Autoencoders (VAEs) and Gaussian Processes (GPs). By using a structured variational approximation, it achieves linear-time efficiency while providing interpretable uncertainty estimates and smoother reconstructions than standard deep learning methods.
Introduction
Real-world multivariate time series—like a patient's vital signs in an ICU or financial market data—are notoriously "messy." They often contain significant gaps due to sensor failures, varying measurement frequencies, or the sheer cost of data collection. To fill these gaps (imputation), a model must master two types of correlations simultaneously: temporal correlations (e.g., heart rate persistence) and channel correlations (e.g., the relationship between heart rate and blood pressure).
Classical statistical methods like Gaussian Processes (GPs) handle temporal dynamics well but struggle to scale or handle missing features in high-dimensional spaces. Modern deep learning methods (like GANs or RNNs) are powerful but often lack a probabilistic "safety net"—they provide a single guess without uncertainty estimates, and their outputs can be jittery and physically unrealistic.
Methods
The GP-VAE framework marries deep generative modeling with classical Bayesian priors. High-dimensional data ($x$) is compressed into a lower-dimensional latent space ($z$) using a VAE. Crucially, instead of assuming independent latent variables, a Gaussian Process (GP) prior is placed on the latent space, forcing the hidden representation to evolve smoothly over time.
To capture dynamics across multiple time scales (common in medical data), the authors utilize a Cauchy kernel. To address the $O(T^3)$ computational bottleneck of standard GPs, they designed a structured variational approximation. By parameterizing the precision matrix as a tridiagonal (banded) matrix, complexity is reduced to linear time ($O(T)$). Amortized inference is achieved using a Convolutional Neural Network (CNN) encoder that maps observed data directly to the latent GP parameters.
Datasets and Evaluation
The model was evaluated on three distinct datasets:
- Healing MNIST: A synthetic dataset of moving MNIST digits with 60% pixel removal, testing spatial reconstruction over time.
- SPRITES: Animated character sequences involving complex vision tasks like varying clothing and actions.
- Physionet 2012: A sparse real-world medical dataset (80% missing values) containing 48-hour records of 12,000 ICU patients across 35 variables.
Key Results
On vision tasks (Healing MNIST and SPRITES), GP-VAE significantly outperformed baselines like HI-VAE and standard VAEs in Mean Squared Error (MSE) and Negative Log-Likelihood (NLL). Qualitatively, reconstructions were more stable and "flicker-free" compared to other methods.
On the Physionet medical dataset, GP-VAE performed comparably to the state-of-the-art BRITS model in downstream mortality prediction (AUROC of 0.730 vs 0.742). However, GP-VAE offers superior interpretability by producing physically plausible curves and clear "confidence ribbons" that widen when data is scarce, a critical feature for clinical decision support.
Discussion and Limitations
While GP-VAE provides a robust probabilistic framework, it faces the "amortization gap" common to VAEs, where the encoder might not perfectly approximate the posterior. Additionally, the model currently requires manual kernel selection and assumes data is "Missing at Random" (MAR). Future research could focus on learning kernel structures directly and incorporating "Missing Not at Random" (MNAR) patterns, where the absence of data itself carries diagnostic information.
Summary updated