Gaussian Processes (GPs) are often considered a "gold standard" for Bayesian inference due to their principled uncertainty estimates and minimal hyperparameter tuning. However, they have historically struggled to match the performance of Convolutional Neural Networks (CNNs) on image tasks. This paper bridges that gap by introducing Convolutional Gaussian Processes, a method that incorporates convolutional structures directly into GP kernels, achieving state-of-the-art performance for GP-based image classification while maintaining robust uncertainty estimates.
The Challenge: Spatial Bias and Scaling
Standard GPs face two major hurdles when processing images:
- Lack of Spatial Bias: Standard GP kernels (like the Squared Exponential or RBF) treat images as flat vectors. They lack the inductive bias to understand that neighboring pixels are highly correlated, or that a specific feature (like an eye or an edge) should be recognizable regardless of its position in the frame.
- Computational Scaling: GPs typically scale cubically, $\mathcal{O}(N^3)$, with the number of data points. While "sparse GPs" use $M$ "inducing points" to reduce this complexity to $\mathcal{O}(NM^2)$, applying this technique to high-dimensional image data remains computationally difficult and often yields inaccurate approximations.
The authors aim to give GPs the "convolutional" advantages of translation invariance and local feature detection without sacrificing the benefits of a Bayesian framework.
Methods: Convolutional Kernels and Inducing Patches
The core innovation of this work is the combination of a Convolutional Kernel with a clever Inter-domain Inducing Point approximation.
- The Convolutional Kernel: The authors define a function $f(x)$ as the sum of a "patch-response" function applied to every patch of an image. Because the sum of GPs is itself a GP, this formulation induces a valid convolutional kernel.
- Inter-domain Inducing Patches: In standard sparse GPs, inducing points are "pseudo-inputs" that live in the same space as the data (e.g., full synthetic images). Here, the authors place inducing points in the space of patches. This is an "inter-domain" approach because the inducing variables exist in a different domain (small patches) than the input data (full images).
- Variational Inference: The locations of these inducing patches are optimized using a variational framework. These patches act similarly to the filters in a CNN, but because they are variational parameters, they are more resistant to overfitting.
The model is also extended to allow different patches to have varying weights (relaxing strict translation invariance) and to handle multiple color channels, which is essential for complex datasets.
Key Insights
- Patch-Space is the Key: Moving inducing points from image-space to patch-space makes the math tractable and allows the model to learn local features—like edges or curves—that apply across the entire image.
- Variational Filters: Because the inducing patches are learned through the Evidence Lower Bound (ELBO), the model naturally learns which features are most informative for the GP's posterior.
- The Marginal Likelihood Advantage: Unlike neural networks that require separate validation sets for architecture search, GPs can use the marginal likelihood (or its lower bound) to automatically determine the importance of different kernels. The authors used this property to perfectly balance a convolutional kernel with a standard RBF kernel.
Results
The authors evaluated their model across several datasets, demonstrating significant improvements over standard GPs:
- Rectangles: On a synthetic dataset of 1,200 images, the ConvGP achieved 1.4% error, vastly outperforming a standard RBF GP (5.0% error) while using significantly fewer inducing points.
- MNIST: The weighted Convolutional GP achieved 1.22% error. Adding a "fully connected" RBF component further improved this to 1.17%, outperforming previous sparse GP benchmarks (~1.9%).
- CIFAR-10: The multi-channel ConvGP reached an error rate of 35.4%. While not competitive with modern deep ResNets, it represents a massive improvement over the previous GP state-of-the-art on CIFAR-10 (~45% error).
Limitations and Future Work
While a significant step forward, the model has limitations. It is essentially a "single-layer" convolutional GP; it captures local structure but lacks the hierarchical feature learning (pixels $\to$ edges $\to$ shapes $\to$ objects) that makes deep CNNs so powerful. Additionally, even with the patch-based approximation, the method is more computationally demanding than a standard CNN of similar width.
The authors suggest that the real future of this approach lies in incorporating these convolutional kernels into Deep Gaussian Processes. This would allow for multiple layers of convolutional transformations while maintaining rigorous Bayesian uncertainty.
Summary updated