Neural Likelihoods for Multi-Output Gaussian Processes

Martin Jankowiak, Jacob R. GardnerarXiv 2019

TL;DR

This paper introduces "neural likelihoods" for multi-output Gaussian Processes (GPs), using neural networks to model the output distribution. This significantly enhances the flexibility of GPs, allowing them to capture complex, non-Gaussian relationships while still enabling efficient inference and providing reliable uncertainty estimates.

What Problem Does This Paper Address?

Gaussian Processes (GPs) are powerful probabilistic models, particularly valued for their ability to provide well-calibrated uncertainty estimates. However, standard GP models often lack the flexibility to capture complex, non-linear relationships in data, especially in multi-output scenarios. While recent work has focused on making the GP prior more flexible (e.g., deep GPs, deep kernels), the likelihood (which models the distribution of the observed data given the latent GP functions) has remained relatively simple, often assuming a Gaussian distribution for computational tractability. This simplification can limit the model's ability to accurately represent complex data distributions and can lead to suboptimal predictive performance and less reliable uncertainty estimates. The authors aim to bridge this gap by introducing flexible, neural network-based likelihoods for multi-output GPs.

Methods

The core innovation is the integration of neural networks into the likelihood function of multi-output GPs. The authors propose two main patterns for constructing these "neural likelihoods":

  1. Single-layer Neural Network Transformation: The latent function outputs from the GP are passed through a single-layer neural network before adding Gaussian observation noise.
  2. Semi-Bayesian Neural Network Mixing: The latent function outputs are mixed by a matrix that is itself a deterministic neural network dependent on the input.

These neural likelihoods are combined with sparse variational inference techniques to enable scalable approximate inference, even for large datasets. A key advantage highlighted is that these models can often admit analytic predictive means, even when the likelihood is non-linear and the resulting predictive distributions are non-Gaussian. They also explore various non-linear activation functions (ReLU, Leaky ReLU, Error Function) for the neural networks.

Datasets

The authors evaluate their models on five robotics datasets: R-Baxter, F-Baxter, Kuka, Sarcos, and MuJoCo. These datasets are characterized by complex, multi-dimensional, and non-linear dynamics, making them suitable for testing the flexibility of the proposed models. The paper also includes a synthetic regression experiment with an 8-dimensional output.

Key Insights and Ideas

  • Likelihood Flexibility is Crucial: The paper strongly advocates for the importance of flexible likelihoods, not just flexible priors, in achieving state-of-the-art performance in complex multi-output regression tasks.
  • Neural Networks as Likelihood Components: Neural networks are shown to be a powerful and effective tool for constructing rich, non-Gaussian likelihoods for GPs.
  • Analytic Predictive Means: A significant benefit is the ability to retain analytic predictive means, which is crucial for interpretable uncertainty quantification, even with complex neural likelihoods.
  • Complementarity with Prior Flexibility: Neural likelihoods are shown to be complementary to existing methods for increasing GP prior flexibility, such as deep kernels and deep GPs, leading to further performance improvements when combined.
  • Scalability with Sparse Variational Inference: The use of sparse variational inference allows these flexible models to scale to large datasets, a common challenge in GP modeling.

Key Results

  • Improved Prediction Quality: Across various robotics datasets, models with neural likelihoods (e.g., N-MOGP, N-SBGPRN) consistently outperformed their baseline GP counterparts (e.g., MOGP, GPRN) in terms of test log likelihood and root mean squared error (MRMSE). For instance, on the Kuka dataset, the N-MOGP achieved a significantly higher test log likelihood than the MOGP.
  • Better Uncertainty Calibration: The N-MOGP demonstrated better calibrated uncertainties compared to the MOGP in a synthetic experiment, leading to a higher test log likelihood.
  • Robustness to Missing Outputs: Both baseline and neural likelihood models showed good performance in the presence of missing output data, with the neural likelihood models maintaining their performance advantage.
  • Effect of Hidden Units: Increasing the number of hidden units in the neural likelihood generally improved performance, but the gains were more pronounced for less flexible neural network architectures (N-MOGP, N-DGP) compared to the more flexible N-SBGPRN.
  • Unsupervised Learning Success: Neural likelihoods also proved beneficial in unsupervised learning settings, with the N-SBGPRN being a clear winner across datasets.

Limitations and Future Work

  • Overfitting Concerns: While neural networks offer flexibility, they can be prone to overfitting, especially in the small data regime or unsupervised settings. The authors note that while they observed some moderate overfitting with the N-SBGPRN in unsupervised learning, the increased flexibility compensated for it. They also suggest that N-MOGP and N-DGP might be less prone to overfitting.
  • Hyperparameter Tuning: The performance of neural likelihoods can depend on the choice of non-linearity and the number of hidden units, requiring careful tuning.
  • Future Work: The authors suggest exploring neural likelihoods in multi-task learning settings, particularly for tasks with different input spaces. They also propose investigating alternative regularization techniques for the deterministic neural networks used in the SBGPRN, such as dropout. Further research into efficient inference for deep GP models with latent inputs is also mentioned.

Summary updated

BibTeX
@misc{jankowiak2019neural,
  author = {Martin Jankowiak and Jacob R. Gardner},
  title = {{Neural Likelihoods for Multi-Output Gaussian Processes}},
  year = {2019},
  eprint = {1905.13697},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.13697},
}
Figure