[Paper Review] Inference in Deep Gaussian Processes using Stochastic Gradient Hamiltonian Monte Carlo
This paper proposes Stochastic Gradient Hamiltonian Monte Carlo (SGHMC) for exact posterior sampling in Deep Gaussian Processes (DGPs), overcoming the limitations of variational inference by capturing non-Gaussian posterior distributions. It introduces Moving Window MCEM for efficient hyperparameter optimization, achieving state-of-the-art performance with lower computational cost on medium-to-large datasets.
Deep Gaussian Processes (DGPs) are hierarchical generalizations of Gaussian Processes that combine well calibrated uncertainty estimates with the high flexibility of multilayer models. One of the biggest challenges with these models is that exact inference is intractable. The current state-of-the-art inference method, Variational Inference (VI), employs a Gaussian approximation to the posterior distribution. This can be a potentially poor unimodal approximation of the generally multimodal posterior. In this work, we provide evidence for the non-Gaussian nature of the posterior and we apply the Stochastic Gradient Hamiltonian Monte Carlo method to generate samples. To efficiently optimize the hyperparameters, we introduce the Moving Window MCEM algorithm. This results in significantly better predictions at a lower computational cost than its VI counterpart. Thus our method establishes a new state-of-the-art for inference in DGPs.
Motivation & Objective
- To address the limitation of variational inference in DGPs, which assumes a unimodal Gaussian posterior despite evidence of multimodal, non-Gaussian posteriors.
- To develop a scalable and efficient sampling-based inference method suitable for large-scale DGPs with complex, hierarchical uncertainty structures.
- To introduce a novel hyperparameter optimization algorithm that enables fast and stable learning in MCMC-based DGP inference.
- To empirically validate that the posterior in DGPs is non-Gaussian across diverse datasets, justifying the need for flexible sampling methods.
- To establish a new state-of-the-art for DGP inference by combining SGHMC sampling with efficient hyperparameter learning on regression and classification benchmarks.
Proposed method
- Applies Stochastic Gradient Hamiltonian Monte Carlo (SGHMC) to directly sample from the posterior distribution of DGPs, enabling accurate representation of multimodal and non-Gaussian posteriors.
- Introduces the Moving Window Monte Carlo Expectation Maximization (MCEM) algorithm to optimize hyperparameters efficiently by leveraging a sliding window of MCMC samples.
- Uses the inducing point framework to approximate the full GP posterior, avoiding full covariance matrix inversion and enabling scalability.
- Employs a stochastic gradient approach to update hyperparameters using mini-batches, combining MCMC sampling with online optimization for efficiency.
- Applies the Robust-Max likelihood for classification tasks, enabling uncertainty-aware predictions in deep GP models.
- Uses a burn-in phase followed by a sampling phase to generate 200 posterior samples, with hyperparameters updated iteratively using the moving window of samples.
Experimental results
Research questions
- RQ1Is the posterior distribution in Deep Gaussian Processes non-Gaussian, particularly multimodal, in real-world regression datasets?
- RQ2Can Stochastic Gradient Hamiltonian Monte Carlo (SGHMC) provide more accurate posterior approximations than variational inference in DGPs?
- RQ3Does the proposed Moving Window MCEM algorithm enable faster and more stable hyperparameter optimization compared to standard MCEM or variational methods?
- RQ4Can SGHMC-based DGP inference achieve better predictive performance than state-of-the-art variational methods like Doubly Stochastic Variational Inference (DSVI) on medium-to-large datasets?
- RQ5How does the computational cost of SGHMC compare to DSVI in practice, especially in terms convergence speed and final performance?
Key findings
- The posterior distribution in DGPs is non-Gaussian across all 9 UCI regression datasets tested, with strong evidence of multimodal behavior in inducing outputs.
- SGHMC DGP achieved a test log-likelihood of -0.83 on the Harvard Clean Energy Project dataset, establishing a new state-of-the-art, outperforming DSVI and BNN baselines.
- On the MNIST classification task, SGHMC DGP achieved 98.0% accuracy, outperforming the baseline DGP (97.8%) and matching the best-performing decoupled DGP (98.1%).
- SGHMC converged 1.6 times faster than DSVI on the protein dataset, reaching a higher test log-likelihood in fewer iterations.
- The Moving Window MCEM algorithm enabled efficient hyperparameter optimization, reducing computational cost while improving predictive performance.
- SGHMC-based inference achieved better uncertainty calibration and predictive performance than DSVI on medium-to-large datasets, despite the higher complexity of sampling.
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.