Training Deep Gaussian Processes using Stochastic Expectation Propagation and Probabilistic Backpropagation

Thang D. Bui, José Miguel Hernández-Lobato, Yingzhen Li, Daniel Hernández-Lobato, Richard E. TurnerarXiv 2015 · DOI · arXiv

Abstract

Deep Gaussian processes (DGPs) are multi-layer hierarchical generalisations of Gaussian processes (GPs) and are formally equivalent to neural networks with multiple, infinitely wide hidden layers. DGPs are probabilistic and non-parametric and as such are arguably more flexible, have a greater capacity to generalise, and provide better calibrated uncertainty estimates than alternative deep models. The focus of this paper is scalable approximate Bayesian learning of these networks. The paper develops a novel and efficient extension of probabilistic backpropagation, a state-of-the-art method for training Bayesian neural networks, that can be used to train DGPs. The new method leverages a recently proposed method for scaling Expectation Propagation, called stochastic Expectation Propagation. The method is able to automatically discover useful input warping, expansion or compression, and it is therefore a flexible form of Bayesian kernel design. We demonstrate the success of the new method for supervised learning on several real-world datasets, showing that it typically outperforms GP regression and is never much worse.

Introduction

Gaussian Processes (GPs) are a cornerstone of Bayesian machine learning, valued for their non-parametric flexibility and high-quality uncertainty estimates. However, they face two significant challenges: cubic scaling ($O(N^3)$) with dataset size and representational limitations imposed by the choice of a fixed kernel. Deep Gaussian Processes (DGPs) address the latter by stacking GPs in a hierarchical structure, effectively creating neural networks with infinitely wide hidden layers. This architecture allows the model to learn complex input warpings and hierarchical representations.

Despite their potential, DGPs are notoriously difficult to train because the posterior distribution becomes analytically intractable. This paper introduces a scalable training framework that combines Stochastic Expectation Propagation (SEP) and Probabilistic Backpropagation (PBP) to make DGPs practical for large-scale applications.

Methodology

The proposed approach utilizes a three-tiered approximation strategy to ensure both computational efficiency and mathematical robustness:

  1. FITC (Fully Independent Training Conditional): To overcome the $O(N^3)$ bottleneck, the authors employ "inducing points"—a small set of $M$ pseudo-inputs that summarize the data distribution, reducing complexity to $O(NM^2)$.
  2. Stochastic Expectation Propagation (SEP): While standard Expectation Propagation (EP) requires storing parameters for every data point, SEP maintains only a single global "average" factor. This reduces memory requirements from $O(NM^2)$ to $O(M^2)$, enabling the model to scale to much larger datasets.
  3. Probabilistic Backpropagation (PBP): The authors adapt PBP to propagate Gaussian distributions through the DGP layers. By calculating how the mean and variance evolve at each layer, the model can be updated using a process analogous to standard backpropagation, but operating on entire probability distributions rather than point estimates.

Experimental Evaluation

The framework was tested on a variety of regression datasets from the UCI Machine Learning Repository, ranging from small-scale (Boston Housing) to larger-scale (Naval Propulsion, Power Plant) and high-dimensional (Creep) data.

Comparison of RMSE and MLL across various datasets for standard GPs and DGPs.

As shown in the results above, the DGP models—particularly those with 2D hidden variables (DGP, 2, 50)—consistently outperformed standard sparse GP regression. The performance gains are evident in both Root Mean Squared Error (RMSE) and Mean Log Loss (MLL), indicating better predictive accuracy and more reliable uncertainty calibration. For instance, on the Boston Housing dataset, the DGP approach achieved a test log-likelihood of -2.12, significantly outperforming state-of-the-art Bayesian Neural Networks using techniques like Dropout (-2.46).

Key Insights

  • Automatic Bayesian Kernel Design: The multi-layer structure allows the DGP to automatically discover optimal input transformations (warping, expansion, or compression). This removes the need for manual kernel engineering, as the model learns the representation directly from the data.
  • Computational Efficiency: The complexity of the method scales linearly with the number of layers ($L$). This makes depth a computationally attractive way to increase model capacity compared to simply increasing the number of inducing points.
  • Stability and Robustness: Unlike many deep neural networks, DGPs trained with this method showed high stability. They were found to be "never much worse" than standard GPs, suggesting they are less prone to the overfitting or optimization failures common in deep learning.

Conclusion and Future Work

This work demonstrates that combining SEP and PBP provides a robust, scalable path for training Deep Gaussian Processes. While the current implementation requires kernels with analytically tractable expectations (like RBF or Linear kernels), it already outperforms standard GPs and many Bayesian Neural Network variants on benchmark tasks. Future research will explore more complex architectures, automated architecture search, and extending the framework to classification and unsupervised learning tasks.

Summary updated

Abstract

Deep Gaussian processes (DGPs) are multi-layer hierarchical generalisations of Gaussian processes (GPs) and are formally equivalent to neural networks with multiple, infinitely wide hidden layers. DGPs are probabilistic and non-parametric and as such are arguably more flexible, have a greater capacity to generalise, and provide better calibrated uncertainty estimates than alternative deep models. The focus of this paper is scalable approximate Bayesian learning of these networks. The paper develops a novel and efficient extension of probabilistic backpropagation, a state-of-the-art method for training Bayesian neural networks, that can be used to train DGPs. The new method leverages a recently proposed method for scaling Expectation Propagation, called stochastic Expectation Propagation. The method is able to automatically discover useful input warping, expansion or compression, and it is therefore is a flexible form of Bayesian kernel design. We demonstrate the success of the new method for supervised learning on several real-world datasets, showing that it typically outperforms GP regression and is never much worse.
BibTeX
@misc{bui2015training,
  author = {Thang D. Bui and José Miguel Hernández-Lobato and Yingzhen Li and Daniel Hernández-Lobato and Richard E. Turner},
  title = {{Training Deep Gaussian Processes using Stochastic Expectation Propagation and Probabilistic Backpropagation}},
  year = {2015},
  eprint = {1511.03405},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.03405},
}
Figure