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

Convolutional Deep Kernel Machines

Edward Milsom, Ben Anson, Laurence Aitchison

TL;DR

This paper introduces Convolutional Deep Kernel Machines (DKMs), a novel framework that brings representation learning to the infinite-width limit of convolutional neural networks. By developing a scalable "inter-domain" inducing point approximation and kernel-based analogues to batch normalization, the authors achieve state-of-the-art (SOTA) performance for kernel methods, reaching 92.7% accuracy on CIFAR-10.

The Problem: Infinite Width vs. Representation Learning

In deep learning theory, a common way to study neural networks is to analyze their "infinite-width limit." In this limit, a Bayesian neural network converges to a Neural Network Gaussian Process (NNGP). While NNGPs are mathematically elegant and easier to analyze, they suffer from a major practical flaw: they do not perform representation learning. Their kernels are fixed functions of the input, whereas finite neural networks achieve their remarkable success by learning and adapting features across successive layers.

Recent theoretical work introduced the Deep Kernel Machine (DKM) to bridge this gap by modifying the NNGP limit so that representation learning is retained. However, the original DKM was limited to small, fully connected networks and simple regression tasks. This paper tackles the significant challenge of scaling DKMs to the convolutional architectures and large-scale image datasets (like CIFAR-10 and CIFAR-100) that dominate modern computer vision.

Methods: Scaling to Convolutional Architectures

The authors extend the DKM framework by building convolutional structure directly into the kernel functions. To make this computationally feasible and performant, they overcome several core technical hurdles:

  1. Inter-domain Inducing Points: Standard "inducing point" methods (used to make Gaussian Processes scalable) typically rely on pseudo-inputs that reside in the same space as the data (e.g., small image patches). In a deep convolutional setting, this becomes computationally explosive. The authors propose a novel scheme where inducing points are non-spatial vectors mapped into "artificial patches" via a learned parameter matrix. This decouples inducing points from the spatial grid, allowing the number of inducing points to vary by layer while keeping the math tractable.
  2. Kernel Batch Normalization: Because DKMs optimize Gram matrices (matrices of similarities) rather than explicit feature weights, standard Batch Normalization cannot be directly applied. The authors developed analogues that normalize the Gram matrices by their diagonal elements, effectively mimicking the variance-normalization effect of Batch Norm.
  3. Scalable Global Average Pooling (GAP): To handle the final layer, they implement a kernelized version of GAP. To maintain efficiency, they utilize a corrected Nyström approximation, allowing them to compute necessary statistics without inverting massive spatial covariance matrices.
  4. Categorical Likelihood: While previous DKMs used Gaussian likelihoods suited for regression, this work implements a categorical likelihood via Monte-Carlo estimation, which is essential for high-performance classification tasks.
Ablation study showing the impact of regularization, normalization, top layer choices, and likelihood on model performance.

As shown in the ablation studies above, these methodological choices—particularly the inclusion of normalization and a categorical likelihood—are critical. Without them, performance on complex datasets like CIFAR-100 drops significantly.

Key Insights

  • Representation Learning is the "Missing Link": The primary takeaway is the confirmation that adding representation learning to kernel methods significantly closes the performance gap between theoretical infinite-width models and practical finite neural networks.
  • Gram Matrices as Parameters: In a DKM, optimization does not occur over network weights; instead, the Gram matrices themselves are optimized. The objective function (a modified ELBO) encourages these matrices to produce accurate predictions while remaining "close" to the kernel transformation of the previous layer.
  • The Power of the Inter-domain Approach: By decoupling inducing points from the raw spatial grid of the image, the model learns which "features" are most important to track, rather than being forced to use raw image patches as anchors.

Key Results

The Convolutional DKM sets a new benchmark for kernel-based learning. It achieves 92.7% on CIFAR-10, 72.0% on CIFAR-100, and ~99.3% on MNIST.

Comparison of Convolutional DKMs against state-of-the-art kernel methods on CIFAR-10.

As highlighted in the comparison table, this performance outperforms previous best-in-class kernel methods, both with and without learned parameters (such as Tuned Myrtle10 and Conv DGP).

Despite the mathematical complexity, the model is relatively efficient. The largest model trains in roughly 77 GPU hours on a single NVIDIA A100. While this is slower than training a standard finite ResNet, it is significantly faster (by 1–2 orders of magnitude) than computing full NNGP or NTK kernels for datasets of this size.

Limitations and Future Work

While this work represents a massive leap forward for kernel theory, a few limitations remain:

  • The "ResNet Gap": There is still a performance gap between these DKMs and the very best finite, supervised ResNets (which can exceed 96% on CIFAR-10).
  • Scaling to High Resolution: The current method relies heavily on double-precision arithmetic and specific matrix inversions that might struggle to scale to high-resolution datasets like ImageNet.
  • Numerical Stability: The authors note that careful initialization and double precision were required to maintain stability during training. Future work could explore lower-precision implementations or more robust numerical solvers to further accelerate training.

Summary updated

BibTeX
@inproceedings{milsom2024convolutional,
  author = {Edward Milsom and Ben Anson and Laurence Aitchison},
  title = {{Convolutional Deep Kernel Machines}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=1oqedRt6Z7},
}
Figure