NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bayesian Image Classification with Deep Convolutional Gaussian Processes

Vincent Dutordoir, Mark van der Wilk, Artem Artemev, James Hensman

Abstract

In decision-making systems, it is important to have classifiers that have calibrated uncertainties, with an optimisation objective that can be used for automated model selection and training. Gaussian Processes (GPs) provide these properties, but they have previously been difficult to apply to image data due to the lack of appropriate convolutional structures. This paper introduces the Translation Insensitive Convolutional Kernel (TICK) and a multi-output architecture that allows for the construction of Deep Convolutional GPs.

Introduction: The Need for "Honest" Uncertainty

In high-stakes domains such as autonomous driving or medical diagnostics, a classification model must not only be accurate but also "honest" about its uncertainty. While Deep Neural Networks (DNNs) are the state-of-the-art for image tasks, they are notoriously overconfident, often assigning high probabilities to incorrect predictions.

Gaussian Processes (GPs) offer a mathematically rigorous alternative with built-in uncertainty and a marginal likelihood objective that facilitates automated hyperparameter tuning. However, standard GPs lack the inductive biases—specifically the understanding of local patterns—that make Convolutional Neural Networks (CNNs) successful. Previous "Convolutional GPs" enforced strict translation invariance, assuming a visual feature (like a horizontal stroke) has the same meaning regardless of its position. This is often incorrect; for instance, a horizontal line at the top of a '7' is distinct from one at the bottom of a '2'.

Methods: The Translation Insensitive Convolutional Kernel (TICK)

To address the limitations of strict invariance, we propose the Translation Insensitive Convolutional Kernel (TICK). This kernel decomposes the similarity between image patches into two components: one based on the patch content and another based on its spatial location.

Illustration of patch-based convolutional kernels. Standard Conv-GPs assume translation invariance, treating similar patches identically regardless of location.

By treating location as a learnable hyperparameter, the model can automatically determine the degree to which a feature's position matters for a given task. Furthermore, we extend this to Deep Convolutional GPs by reformulating image-to-image mappings as Multi-Output GPs (MOGPs). This allows for the stacking of layers, where each layer produces a new set of feature maps for subsequent processing, mirroring the architecture of a CNN. To maintain computational feasibility on large datasets, we employ Sparse Variational Inference with inter-domain inducing patches. The model is trained using the Evidence Lower Bound (ELBO), which allows it to tune its own complexity and insensitivity automatically.

Results: Calibration and Performance

The TICK-GP was evaluated on MNIST, Fashion-MNIST, and grayscale CIFAR-10. A key finding is the model's superior calibration. While CNNs may achieve high accuracy, they are often "confidently wrong." In contrast, the TICK-GP provides much more reliable uncertainty estimates, particularly on ambiguous inputs.

Predictive distributions for ambiguous MNIST digits. TICK-GP shows more calibrated uncertainty (higher entropy) on difficult cases compared to CNNs.

On the MNIST dataset, the TICK-GP achieved an error rate of 0.83%, significantly outperforming previous Convolutional GPs (1.70%) and matching Bayesian CNNs (0.91%). Crucially, the TICK-GP consistently achieved lower Negative Log-Likelihood (NLL) scores, indicating that its probability estimates are better aligned with actual outcomes. We also observed that Deep TICK-GP models continue to improve with added depth, a property that has been challenging to demonstrate in non-convolutional Deep GPs.

Discussion and Future Work

While the TICK-GP represents a significant step forward for Bayesian image classification, challenges remain. Scaling these models to high-resolution, full-color datasets like ImageNet is computationally demanding due to the complexity of correlated convolutional layers. Additionally, while the TICK kernel provides a powerful inductive bias, the optimal architectural configurations (e.g., channel counts, pooling strategies) for Deep GPs are still being explored. Future research will focus on improving the scalability of these models and refining their architectural design to compete with the most advanced DNNs.

Summary updated

BibTeX
@inproceedings{dutordoir2020bayesian,
  author = {Vincent Dutordoir and Mark van der Wilk and Artem Artemev and James Hensman},
  title = {{Bayesian Image Classification with Deep Convolutional Gaussian Processes}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=w_ddD6A_PvW},
}
Figure