Thin and deep Gaussian processes

Daniel Augusto de Souza, Alexander Nikitin, St John, Magnus Ross, Mauricio A. Álvarez, Marc Peter Deisenroth, João Paulo Pordeus Gomes, Diego Mesquita, César Lincoln C. Mattos · DOI

TL;DR

This paper introduces "Thin and Deep Gaussian Processes" (TDGP), a novel hierarchical model that combines the interpretability of shallow Gaussian Processes (GPs) with the expressive power of deep models. TDGP learns both low-dimensional input embeddings and non-stationary lengthscale fields, overcoming limitations of previous deep GP architectures and achieving state-of-the-art performance on various benchmarks.

What Problem Does This Paper Address?

Gaussian Processes (GPs) are powerful for uncertainty quantification and data efficiency, but their interpretability often comes from simple, stationary kernels. To model complex, non-stationary functions, researchers have turned to "deep GPs" (DGPs). However, common DGP approaches either lose the interpretability of shallow GPs by warping the input space layer-by-layer or struggle with pathologies and fail to learn meaningful low-dimensional embeddings. This leaves a gap: how to build deep, flexible GP models that are both interpretable and capable of learning structured, lower-dimensional representations of data.

Methods

The core innovation is the Thin and Deep GP (TDGP) kernel. Unlike compositional DGPs that warp the input space, TDGP builds a hierarchy of locally linear transformations that are input-dependent. This means each layer learns a transformation of the input that acts like a linear deformation in its local neighborhood. This approach allows TDGP to:

  • Retain interpretability: Each layer can be interpreted as learning a lengthscale field, similar to shallow GPs.
  • Learn latent embeddings: The transformations create lower-dimensional representations of the input data.
  • Avoid pathologies: TDGP is designed to avoid the "flat sample" problem seen in some deep compositional models and doesn't violate the triangle inequality, which is crucial for learning well-behaved manifolds.

The TDGP model is built by stacking these layers, creating a hierarchical structure. Inference is performed using variational inference.

Datasets

The paper evaluates TDGP on:

  • Synthetic dataset: A custom 2D dataset designed to have a 1D "funnel" manifold, specifically to test the model's ability to discover low-dimensional structures.
  • GEBCO bathymetry dataset: A global terrain model dataset, used to test performance on a challenging, non-stationary task.
  • UCI benchmark datasets: Four standard regression datasets (housing, concrete, energy, wine_red) were used for broader evaluation.

Key Insights and Ideas

  • Bridging the gap: TDGP successfully synthesizes the strengths of compositional DGPs (hierarchical structure) and lengthscale mixture kernels (interpretability, manifold learning) while mitigating their weaknesses.
  • Inducing non-pathological manifolds: By using locally linear transformations, TDGP avoids issues like the violation of the triangle inequality, which is essential for learning meaningful data structures.
  • Interpretability at depth: Unlike many deep models, TDGP's architecture allows for interpretation at each layer, relating to both latent embeddings and lengthscale fields.
  • Robustness to depth: TDGP's performance and interpretability do not degrade as the number of layers increases, a common problem in other deep GP models.

Key Results

  • State-of-the-art performance: TDGP consistently achieved competitive or superior results in terms of predictive accuracy (measured by NLPD) and error (MRAE) across all tested datasets, including the synthetic, bathymetry, and UCI benchmarks.
  • Effective manifold discovery: On the synthetic dataset, TDGP was the only model that accurately captured the true 1D latent manifold and learned a corresponding lengthscale field.
  • Improved interpretability: Visualizations showed TDGP providing more sensible correlation plots and latent space representations compared to competitors like DKL and DNSGP.
  • Inductive bias for sparsity: TDGP naturally encourages learning low-dimensional representations, as evidenced by the relative relevance of its latent dimensions.

Limitations and Future Work

  • Computational cost: For a large number of layers, the VI scheme can become computationally intensive due to the increasing number of variational parameters.
  • Local linearity assumption: TDGP performs locally linear transformations, meaning the neighborhood of x=0 remains unchanged for each layer without an explicit bias term.
  • Future work: The authors suggest that TDGP could benefit from recent advances in inference techniques for DGPs and could be particularly useful for geospatial modeling where expert knowledge about spatial variations can be encoded as priors.

Summary updated

BibTeX
@inproceedings{souza2023thin,
  author = {Daniel Augusto de Souza and Alexander Nikitin and St John and Magnus Ross and Mauricio A. Álvarez and Marc Peter Deisenroth and João Paulo Pordeus Gomes and Diego Mesquita and César Lincoln C. Mattos},
  title = {{Thin and deep Gaussian processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=z2BHMLA8pM},
}
Figure