[Paper Review] Markovian Gaussian Process Variational Autoencoders
This paper proposes Markovian Gaussian Process Variational Autoencoders (MGPVAE), a scalable sequential VAE that leverages the equivalent discrete state-space representation of Markovian GPs to enable linear-time training via Kalman filtering and smoothing. By combining the global inductive biases of Gaussian processes with the computational efficiency of linear state-space models, MGPVAE achieves state-of-the-art performance on high-dimensional temporal and spatiotemporal tasks while maintaining scalability on long sequences.
Sequential VAEs have been successfully considered for many high-dimensional time series modelling problems, with many variant models relying on discrete-time mechanisms such as recurrent neural networks (RNNs). On the other hand, continuous-time methods have recently gained attraction, especially in the context of irregularly-sampled time series, where they can better handle the data than discrete-time methods. One such class are Gaussian process variational autoencoders (GPVAEs), where the VAE prior is set as a Gaussian process (GP). However, a major limitation of GPVAEs is that it inherits the cubic computational cost as GPs, making it unattractive to practioners. In this work, we leverage the equivalent discrete state space representation of Markovian GPs to enable linear time GPVAE training via Kalman filtering and smoothing. For our model, Markovian GPVAE (MGPVAE), we show on a variety of high-dimensional temporal and spatiotemporal tasks that our method performs favourably compared to existing approaches whilst being computationally highly scalable.
Motivation & Objective
- To address the cubic computational cost of Gaussian Process VAEs (GPVAEs), which limits scalability to long sequences.
- To combine the global inductive biases of GPs—such as smoothness and periodicity—with the computational efficiency of discrete-time state-space models.
- To enable effective modeling of irregularly-sampled time series by leveraging continuous-time GP priors.
- To develop a scalable alternative to existing sequential VAEs that avoids the training instability and numerical issues of neural ODEs and SDEs.
- To achieve competitive performance on high-dimensional temporal and spatiotemporal datasets while maintaining linear-time complexity.
Proposed method
- The method uses Markovian GPs, which admit an exact linear state-space representation via linear stochastic differential equations (SDEs).
- The latent dynamics are modeled as a linear Gaussian state space, enabling efficient inference via Kalman filtering and smoothing.
- The encoder outputs are used to parameterize the posterior over latent states, which are then inferred using filtering and smoothing procedures.
- The model is trained end-to-end via the evidence lower bound (ELBO), with posterior predictive distributions computed at arbitrary time points during inference.
- The framework supports both regular and irregularly-sampled time series by leveraging the continuous-time nature of the GP prior.
- The implementation uses JAX and Objax for efficient computation, with stochastic gradient optimization over the ELBO.
Experimental results
Research questions
- RQ1Can the computational cost of GPVAEs be reduced from O(T³) to O(T) while preserving their ability to model global temporal structures?
- RQ2Can the continuous-time inductive biases of GPs be effectively combined with the efficiency of discrete linear state-space models in a VAE framework?
- RQ3Does the proposed MGPVAE outperform existing sequential VAEs on long, high-dimensional, and irregularly-sampled time series?
- RQ4Can the model generalize to unseen time points and spatial locations in spatiotemporal settings with high predictive accuracy?
- RQ5Is the linear-time training of MGPVAE robust and scalable across diverse temporal and spatiotemporal datasets?
Key findings
- MGPVAE achieves state-of-the-art performance on high-dimensional temporal and spatiotemporal benchmarks, including climate data and robotic control sequences.
- The model demonstrates strong generalization on unseen time points, with accurate posterior predictive distributions computed at arbitrary t during inference.
- On the ERA5 climate dataset, MGPVAE achieves lower test NLL and RMSE compared to SVGPVAE, VRNN, and KVAE, with a significant reduction in training time.
- The model maintains linear-time complexity, enabling training on long sequences (e.g., T=100) without the O(T³) bottleneck of standard GPVAEs.
- MGPVAE outperforms latentODE and CRU on irregularly-sampled data, where it can condition on arbitrary time points and predict at any t ∈ (t₀, tₙ).
- The use of Kalman filtering and smoothing enables exact posterior inference in the latent state space, improving training stability and predictive accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.