Abstract
Deep Gaussian Processes (DGPs) offer a powerful framework for modeling complex, non-Gaussian distributions with principled uncertainty quantification. However, their computational complexity often limits their scalability to large datasets. This paper introduces the Deep Tensor Markov Gaussian Process (DTMGP), a novel architecture that achieves extreme efficiency through hierarchical expansions and sparse grids. By ensuring that only a small fraction of activations are non-zero for any given input, the DTMGP enables significant speedups in training and inference without sacrificing model expressivity. We demonstrate the effectiveness of this approach on synthetic fields, stochastic activity networks, and real-world image datasets, showing that DTMGP outperforms existing DGP and Bayesian Neural Network (BNN) baselines in both speed and accuracy.
Introduction
Gaussian Processes (GPs) are widely regarded as the gold standard for uncertainty quantification in machine learning. Despite their theoretical appeal, standard GPs suffer from $O(n^3)$ computational scaling, rendering them impractical for large-scale applications. Deep Gaussian Processes (DGPs) extend this framework by stacking GP layers to capture more intricate, non-linear phenomena, but this further exacerbates the computational burden. While existing approximations like inducing variables or random Fourier features mitigate some costs, they often result in dense architectures that are difficult to train due to high correlations across the network. This work addresses the need for a mathematically principled yet computationally sparse DGP approximation.
Methodology
The core of the proposed approach is the Deep Tensor Markov Gaussian Process (DTMGP), which utilizes a hierarchical expansion for a specific class of GPs called Tensor Markov Gaussian Processes (TMGP).
Hierarchical Expansion and Sparse Grids
- Tensor Markov Kernels: The model focuses on kernels (such as Laplace or Brownian sheet kernels) that possess a "Markov property," allowing for local independence.
- Sparse Grids (SG): Instead of random inducing points, the authors employ structured Sparse Grids to cover high-dimensional spaces efficiently.
- Hierarchical Basis Functions: By combining the Markov property with Sparse Grids, the GP is decomposed into a sum of basis functions with local supports. This ensures that for any input $x$, only $O(\text{polylog}(M))$ out of $M$ total activations are non-zero.
Variational Inference
The DTMGP is formulated as a BNN with sparse activations, allowing for stable optimization via Variational Inference (VI). This bridging of GPs and BNNs enables the use of powerful deep learning optimization toolkits, such as automatic differentiation, while maintaining the principled nature of GP models.
Experimental Evaluation
The DTMGP was evaluated across three distinct types of data:
- Synthetic Non-Gaussian Field: A 2D non-stationary random field generated by transforming a Brownian sheet.
- Stochastic Activity Network (SAN): A 13-dimensional simulation problem used to model the duration and cost of complex tasks.
- RC-49 Dataset: A real-world collection of 176,400 images featuring 49 different 3D chair models, used to test generative capabilities.
Key Results
- Efficiency: In 2D synthetic experiments, DTMGP reached convergence in 166 seconds, while the leading competitor (DGP-VEC) took 516 seconds—a 3x speedup. In the 13D SAN tests, DTMGP converged in roughly one-tenth of the time required by DGP-VEC.
- Generative Quality: On the RC-49 chair dataset, DTMGP produced significantly clearer and more accurate images across different angles compared to BNN-ReLU and DGP-RFF, which produced blurry or distorted results.
- Sparsity by Design: Unlike standard neural networks where sparsity is often achieved via post-hoc pruning, DTMGP is sparse by its mathematical definition, ensuring the model only "looks" at relevant local features for any given input.
Conclusion and Future Work
DTMGP provides a sparse-by-design framework that effectively bridges the gap between GPs and BNNs. While the current framework is specialized for Tensor Markov kernels, future work aims to extend this to the popular Matérn covariance functions. Additionally, while Sparse Grids handle dimensions better than full grids, further investigation is needed to address scaling challenges as the number of input dimensions grows very large.
Summary updated