TL;DR
Thin and Deep Gaussian Processes (TDGP) introduce a novel hierarchical architecture that combines the manifold-learning power of deep neural networks with the interpretability of classical Gaussian Processes. By utilizing locally linear transformations, TDGP avoids the "pathologies"—where models become flat and uninformative with depth—that plague standard deep GPs, while successfully discovering low-dimensional structures in complex data.
The Challenge of Non-Stationary Data
Gaussian Processes (GPs) are a cornerstone of machine learning, prized for their ability to provide principled uncertainty estimates and interpretable hyperparameters. A key hyperparameter is the "lengthscale," which dictates how far you can move in the input space before the data stops being correlated. However, standard GPs struggle with non-stationary data, where patterns and smoothness change depending on the location in the input space.
To address this, researchers typically take one of two paths:
- Compositional Deep GPs (CDGPs): Similar to deep neural networks, these models warp the input space through multiple sequential layers. While highly expressive, they often lose interpretability and suffer from pathologies where adding more layers causes the model's output to become "flat" and uninformative.
- Deeply Non-Stationary GPs (DNSGPs): These models make the lengthscale itself a function of the input. While this preserves interpretability, it often fails to learn useful low-dimensional "manifolds" (simpler underlying structures) and can lead to mathematical inconsistencies.
The authors of this paper bridge this gap with TDGP, creating a model that learns low-dimensional embeddings and maintains interpretable lengthscales without breaking the underlying mathematics.
Methods: The TDGP Architecture
The core innovation of this paper is the TDGP kernel. Instead of a standard global transformation or a complex non-linear warping, the authors propose a locally linear transformation.
In a standard GP, one might use a Mahalanobis distance. In TDGP, the kernel is defined as: $$k(a, b) = \pi_{SE}(\|W(a)a - W(b)b\|^2)$$
Crucially, $W(x)$ is not a constant matrix, but a collection of other Gaussian Processes. This means the transformation of the input $x$ dynamically depends on where $x$ is located.
Why "Thin"? The "Thin" in TDGP refers to the graph-theoretical girth of the model. In standard compositional deep GPs (left side of the figure above), the signal can get "lost" or bottlenecked as it passes sequentially through hidden layers. In TDGP (right side), every hidden layer remains directly connected to the original inputs $x$. This creates a "thinner" dependency structure that prevents the model from degenerating as it gets deeper.
To make the computation tractable for larger datasets, the authors employ Variational Inference (VI), introducing "inducing points" to approximate the posterior efficiently.
Key Insights and Advantages
- The Best of Both Worlds: TDGP is the first architecture that successfully induces both a lengthscale field (showing how smoothness changes across the space) and data embeddings (revealing the underlying manifold).
- Resistance to Depth Pathologies: Unlike previous deep GPs, TDGP doesn't "flatline" at extreme depths. The authors demonstrate that TDGP maintains interesting and expressive functional shapes even when scaled to dozens of layers.
- Automatic Dimensionality Reduction: By placing zero-mean priors on the $W$ matrices, the model has a natural "inductive bias" toward simplicity. It effectively performs Automatic Relevance Determination (ARD), automatically shutting off dimensions that don't help explain the data.
- Interpretability: Because the model learns an explicit lengthscale field, domain experts can incorporate prior knowledge. For example, if a specific geographic region is known to be smooth, that knowledge can be baked directly into the model's priors.
Experimental Results
The authors evaluated TDGP across a variety of datasets, proving its versatility:
- Synthetic 2D "Funnel": On a toy dataset designed to hide a 1D manifold in 2D space, TDGP was the only model that perfectly captured the shape of the hidden funnel while simultaneously identifying the correct non-stationary lengthscales.
- GEBCO Bathymetry: This real-world elevation dataset features rugged Andes mountains (short lengthscale) next to a smooth ocean floor (long lengthscale). TDGP achieved the best Negative Log-Predictive Density (NLPD) of -0.53, outperforming standard Deep GPs (-0.44) and Deep Kernel Learning (3.85). It excelled at capturing the sharp transition between the two distinct geological textures.
- UCI Benchmarks: On standard regression datasets (Housing, Concrete, Energy, Wine Red), TDGP performed on par with or better than all baselines. Notably, it consistently identified much lower-dimensional latent spaces than its competitors, proving it finds simpler, more efficient explanations for the same data.
Limitations and Future Work
While powerful, TDGP is computationally intensive. Stacking layers adds a significant number of GPs ($D \times Q$ per layer), making the variational inference scheme heavy as layers and input dimensions grow. Additionally, without an explicit "bias" term added to the input $x$, the neighborhood around the origin ($x=0$) remains unchanged across layers.
Looking forward, the authors suggest TDGP is particularly ripe for geospatial modeling. They also note that integrating recent advances in "doubly stochastic" inference could significantly improve TDGP's speed and scalability in the future.
Summary updated