Variational Inference for Uncertainty on the Inputs of Gaussian Process Models.

Andreas C. Damianou, Michalis K. Titsias, Neil D. LawrencearXiv 2014

TL;DR

This paper introduces a novel, non-standard variational inference framework for Gaussian Process Latent Variable Models (GP-LVMs) that successfully integrates out latent input variables. By maximizing an analytic lower bound on the exact marginal likelihood, the method provides a fully Bayesian treatment that is highly robust to overfitting and capable of automatically determining the true dimensionality of a latent space. The resulting framework is highly versatile, extending naturally to dynamical systems, regression with uncertain inputs, and semi-supervised learning.

What Problem Does This Paper Address?

Dimensionality reduction techniques aim to uncover low-dimensional structure hidden within high-dimensional data. The Gaussian Process Latent Variable Model (GP-LVM) is a popular non-linear approach for this task. However, standard training methods for GP-LVMs rely on maximum likelihood or Maximum A Posteriori (MAP) estimation, where the latent variables are optimized as point estimates rather than integrated out.

This optimization-based approach suffers from two major flaws: it is highly prone to overfitting, and it cannot automatically determine the optimal number of latent dimensions. Instead, researchers must manually tune or use computationally expensive cross-validation to select the latent space dimensionality. The core challenge is mathematical: propagating a probability distribution through a non-linear function results in an intractable marginal likelihood because the latent variables appear non-linearly inside a matrix inverse.

Propagating a Gaussian distribution through a non-linear mapping yields a complex, multimodal distribution that is difficult to normalize.

Methods

The authors overcome this intractability by introducing a non-standard variational inference framework. Their key innovations include:

  • Auxiliary Inducing Variables: They expand the joint probability model by introducing a small set of pseudo-inputs and corresponding latent function evaluations (inducing points). This mathematical addition effectively breaks the problematic coupling between the true latent inputs and the kernel matrix inverse.
  • Tractable Variational Lower Bound: By choosing a variational distribution that mirrors the conditional GP prior, they derive a closed-form Jensen's lower bound on the true log marginal likelihood.
  • Automatic Relevance Determination (ARD): With a fully Bayesian lower bound in place, they can safely employ complex covariance functions (like the ARD exponentiated quadratic kernel) that assign weights to each latent dimension. Unnecessary dimensions are automatically driven to zero lengthscale without triggering overfitting.
  • High-Dimensional Scaling Trick: For datasets where the number of features ($p$) vastly exceeds the number of data points ($n$), they show that the data matrix only enters the lower bound via the inner product $YY^T$. Precomputing this $n \times n$ matrix allows the model to scale linearly with feature size, making it applicable to raw, high-resolution video data.
The standard GP-LVM graphical model (a) is augmented with auxiliary inducing variables $U$ to create the tractable variational model (b) and its dynamical variant (c).

Datasets

The framework was evaluated across a diverse set of benchmarks and real-world datasets:

  • Multi-phase Oil Flow Data: A 12-dimensional dataset consisting of 1,000 observations across 3 classes.
  • CMU Motion Capture Data (Subject 35): 2,613 frames of 59-dimensional human walking and running sequences.
  • High-Dimensional Video Sequences: Including the standard 'Missa' benchmark (103,680 dimensions), an artificial HD video of ocean waves ($9 \times 10^5$ dimensions), and a video of a running dog (230,400 dimensions).
  • USPS Handwritten Digits: 7,291 training and 2,007 test images ($16 \times 16$ pixels).
  • Synthetic Chaotic Time-Series: Generated using the Mackey-Glass delay differential equation.

Key Insights and Ideas

  • Inducing Points as a Variational Bridge: Traditionally, inducing variables are used purely to speed up computations in sparse GPs. Here, they serve a dual purpose: they act as a mathematical bridge that decouples the latent inputs from the kernel matrix, turning an intractable integral into a clean, analytical expression.
  • Overfitting Protection via Marginalization: By treating the latent space as a distribution $q(X)$ rather than optimizing point estimates, the model inherently penalizes overly complex representations. This allows true structure to emerge naturally.
  • Linear Scaling with Features: The realization that the data dimension $p$ only scales the objective function linearly—and can be compressed into an $n \times n$ matrix—is an "aha moment" for computer vision applications, proving that GPs can model raw pixel spaces directly without manual feature extraction.

Key Results

  • Dimensionality Selection: On the 12D oil flow dataset, the model successfully shut down 8 out of 10 latent dimensions, perfectly capturing the underlying 2D manifold. It achieved a nearest-neighbor error count of just 1 out of 1,000 points, compared to 26 errors from the standard sparse GP-LVM.
  • Missing Data Imputation: In motion capture reconstruction tasks, the dynamical variational GP-LVM significantly outperformed MAP-based models and nearest-neighbor baselines when reconstructing missing leg and body joint angles.
  • Video Reconstruction & Generation: The model successfully reconstructed missing pixels (~40-50% corruption) in high-resolution videos, preserving spatial smoothness where baseline methods failed. It also successfully extrapolated future frames for periodic video sequences (e.g., the running dog) without blurring.
  • Bayesian Classification: When used as a generative classifier on the USPS digits dataset, the model achieved a test error rate of 4.73%, vastly outperforming a 1-vs-all logistic regression baseline (14.10%).

Limitations and Future Work

While powerful, the dynamical version of the model introduces computational challenges during the test/prediction phase. Because the inputs are temporally correlated, the variational distribution $q(X, X_*)$ does not factorize, requiring the optimization of $2(n + n_*)q$ parameters simultaneously.

The authors point out that this framework lays the groundwork for two highly promising directions: Deep Gaussian Processes (hierarchical stacks of GPs where uncertainty is propagated through multiple latent layers) and fully non-linear Bayesian Filtering (e.g., variational state-space modeling), both of which can leverage this exact method to handle input uncertainty cleanly.

Summary updated

BibTeX
@misc{damianou2014variational,
  author = {Andreas C. Damianou and Michalis K. Titsias and Neil D. Lawrence},
  title = {{Variational Inference for Uncertainty on the Inputs of Gaussian Process Models.}},
  year = {2014},
  eprint = {1409.2287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1409.2287},
}
Figure