Abstract: A key challenge in the practical application of Gaussian processes (GPs) is selecting a proper covariance function. The process convolutions construction of GPs allows some additional flexibility, but still requires choosing a proper smoothing kernel, which is non-trivial. Previous approaches have built covariance functions by using GP priors over the smoothing kernel, and by extension the covariance, as a way to bypass the need to specify it in advance. However, these models have been limited in several ways: they are restricted to single dimensional inputs, e.g. time; they only allow modelling of single outputs and they do not scale to large datasets since inference is not straightforward. In this paper, we introduce a nonparametric process convolution formulation for GPs that alleviates these weaknesses. We achieve this using a functional sampling approach based on Matheron’s rule to perform fast sampling using interdomain inducing variables. We test the performance of our model on benchmarks for single output, multi-output and large-scale GP regression, and find that our approach can provide improvements over standard GP models, particularly for larger datasets.
Introduction
Gaussian Processes (GPs) are fundamental tools in probabilistic machine learning, prized for their ability to provide principled uncertainty estimates. However, their effectiveness is heavily dependent on the choice of the covariance function, or kernel. While simple kernels like the Exponentiated Quadratic (EQ) are common, they often fail to capture complex, non-stationary, or periodic patterns inherent in real-world data. Manually selecting or designing kernels becomes increasingly difficult in high-dimensional spaces where data patterns cannot be easily visualized.
To address this, we introduce the Nonparametric Convolved Gaussian Process (NP-CGP). This model automatically learns expressive, data-driven kernels using a multidimensional convolution framework. Unlike previous attempts at kernel learning that were limited to 1D inputs or small datasets, the NP-CGP scales to millions of observations and handles multi-output scenarios.
Methodology: Process Convolutions and Nonparametric Kernels
The NP-CGP is built upon the Process Convolution (PC) framework. Rather than defining a covariance function directly, the output process $f(\mathbf{x})$ is modeled as the convolution of a latent GP $u(\mathbf{z})$ with a smoothing kernel $G(\mathbf{x} - \mathbf{z})$:
$$f(\mathbf{x}) = \int_{\mathbb{R}^2} G(\mathbf{x} - \mathbf{z}) u(\mathbf{z}) d\mathbf{z}$$
The key innovation is making $G$ nonparametric by placing a GP prior over the smoothing kernel itself. This allows the model to learn a wide variety of covariance shapes directly from the data. To ensure scalability and overcome the curse of dimensionality, we employ several technical advancements:
- Product Separability: Multidimensional kernels are modeled as products of 1D kernels to manage the parameter space.
- Interdomain Inducing Variables: We use interdomain points to summarize the process in a smoothed domain, maintaining expressiveness in high dimensions where standard inducing points would be too sparse.
- Fast Functional Sampling: By adapting Matheron’s Rule for pathwise updates, we achieve $O(N)$ sampling time, enabling the use of Doubly Stochastic Variational Inference (DSVI) for mini-batch training on massive datasets.
Experimental Evaluation
We evaluated the NP-CGP on a diverse set of benchmarks, ranging from synthetic toy problems to large-scale real-world datasets.
Toy Data and Kernel Recovery
On 2D toy datasets featuring a mix of smooth and periodic structures, the NP-CGP demonstrated its ability to recover the underlying "true" kernel structure without prior specification. This qualitative success confirms that the model can identify complex dependencies that standard kernels would miss.
Large-Scale Regression
The scalability of the NP-CGP was tested on datasets such as the UK Apartment Prices (~150k points) and the HouseElectric dataset, which contains over 2.1 million observations. The model successfully handled these scales, a significant milestone for nonparametric kernel learning.
On the Airline dataset (800k samples), the NP-CGP achieved an RMSE of 24.6, outperforming both a standard Sparse GP (25.0) and a 2-layer Deep GP (24.9). This suggests that increasing kernel expressiveness in a "shallow" model can sometimes be more effective than adding depth with standard kernels.
Discussion
The NP-CGP offers a powerful alternative to manual kernel selection, particularly for large, complex datasets. By learning the kernel through convolutions, it bridges the gap between the simplicity of shallow GPs and the representational power of Deep GPs.
However, some challenges remain. The model can be prone to overfitting on smaller datasets due to the mean-field assumptions in the variational inference. Additionally, the computational cost of training is approximately 15 times higher than a standard Sparse GP due to the complexity of the convolution integrals. Future work will explore more sophisticated variational schemes and the potential of stacking NP-CGP layers into deep architectures.
Summary updated