Pseudo-marginal Bayesian inference for supervised Gaussian process latent variable models

Charles W. L. Gadd, Sara Wade, Akeel A. Shah, Dimitris GrammatopoulosarXiv 2018

Gaussian Process Latent Variable Models (GPLVMs) are powerful tools for non-linear dimensionality reduction, mapping high-dimensional data into a low-dimensional latent space. In supervised GPLVMs, additional input information guides this mapping. However, performing reliable inference in these models is notoriously difficult. Traditional methods like Variational Bayes (VB) and Maximum Likelihood (ML) often fall short—VB by underestimating uncertainty due to restrictive assumptions, and ML by getting trapped in local optima on non-convex likelihood surfaces.

The Inference Bottleneck

The primary challenge in GPLVM inference is the deep coupling between latent variables ($Z$) and hyperparameters ($\theta$). Attempting to sample both simultaneously using standard Markov Chain Monte Carlo (MCMC) typically results in extremely poor convergence because of high correlations. Consequently, practitioners often resort to faster but biased or brittle optimization-based methods.

Pseudo-marginal MCMC Framework

To address these issues, the authors propose a fully Bayesian approach using a pseudo-marginal MCMC framework. The core idea is to "integrate out" the latent variables to focus the MCMC chain solely on the hyperparameters.

  1. Unbiased Marginal Likelihood Estimation: The method uses importance sampling to create an unbiased estimate of the marginal likelihood $p(Y | \theta)$. This effectively collapses the parameter space, breaking the problematic correlations between $Z$ and $ heta$.
  2. Sampling Strategy: Once the hyperparameters are sampled, the model is "uncollapsed" using Elliptical Slice Sampling to obtain samples of the latent variables, which are essential for prediction.
  3. Adaptive Tuning: An adaptive Metropolis-Hastings algorithm is employed to automatically tune the proposal distribution, ensuring efficient exploration of the hyperparameter posterior.

Experimental Evaluation

The researchers evaluated the proposed method against standard ML on synthetic and real-world datasets.

Simulated Sinusoidal Data

Using a synthetic dataset generated by trigonometric functions, the authors compared the predictive densities of the marginalized Bayesian approach and ML.

Comparison of predictive densities for the sinusoidal dataset: (a) True density, (b) Marginalized (proposed), and (c) Maximum Likelihood.

As shown in the figure, the marginalized approach (b) captures the true underlying structure (a) much more accurately than Maximum Likelihood (c), which produces a distorted and overly certain predictive surface. In difficult cases with high noise, the Bayesian approach reduced error significantly—for instance, achieving a 31.1% error compared to 100.2% for ML in a poorly-specified scenario.

Biomarkers of Depression

In a study of 77 pregnant women, the model was used to predict EPDS depression scores from hormonal and genetic biomarkers. The supervised GPLVM achieved a Mean Square Error (MSE) of 30.00, outperforming standard GPs (37.32) and Random Forests (31.95).

Key Insights: Uncertainty and Multimodality

A critical advantage of the fully Bayesian approach is its ability to map the entire posterior landscape, rather than just finding a single point estimate.

The hyperparameter posterior distribution for $\theta_1$ and $\theta_2$ reveals multiple modes, which a point-estimate approach like ML would fail to capture.

The hyperparameter posterior is often multimodal. While ML might get stuck in one of these "valleys," the proposed MCMC method explores the full distribution. This is particularly vital in high-stakes fields like medicine. For example, in the depression dataset, ML identified a specific biomarker as highly significant. However, the Bayesian analysis revealed a wide credible interval, indicating that the data was actually insufficient to make such a confident claim.

Conclusion

While computationally more demanding than Variational Bayes—taking hours instead of minutes—the pseudo-marginal Bayesian approach offers a necessary level of rigor for applications where uncertainty quantification is paramount. By successfully marginalizing latent variables, this framework provides a robust alternative to biased optimization methods, ensuring that model predictions and parameter significances are grounded in a complete view of the posterior distribution.

Summary updated

BibTeX
@misc{gadd2018pseudo,
  author = {Charles W. L. Gadd and Sara Wade and Akeel A. Shah and Dimitris Grammatopoulos},
  title = {{Pseudo-marginal Bayesian inference for supervised Gaussian process latent variable models}},
  year = {2018},
  eprint = {1803.10746},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.10746},
}
Figure