[Paper Review] Deep Convolutional Networks as shallow Gaussian Processes
The paper shows that a CNN (including ResNets) with infinitely many convolutional filters is equivalent to a Gaussian Process with a derived, efficient kernel; this ConvNet GP achieves competitive MNIST results without training a parametric CNN.
We show that the output of a (residual) convolutional neural network (CNN) with an appropriate prior over the weights and biases is a Gaussian process (GP) in the limit of infinitely many convolutional filters, extending similar results for dense networks. For a CNN, the equivalent kernel can be computed exactly and, unlike "deep kernels", has very few parameters: only the hyperparameters of the original CNN. Further, we show that this kernel has two properties that allow it to be computed efficiently; the cost of evaluating the kernel for a pair of images is similar to a single forward pass through the original CNN with only one filter per layer. The kernel equivalent to a 32-layer ResNet obtains 0.84% classification error on MNIST, a new record for GPs with a comparable number of parameters.
Motivation & Objective
- Motivate uncertainty estimation and robust Bayesian inference for CNNs in safety-critical settings.
- Establish that deep CNNs and ResNets with infinite filters converge to Gaussian Processes.
- Derive an efficient kernel for the ConvNet GP that leverages diagonal covariances and patch-wise structure.
- Demonstrate empirical performance on MNIST showing competitive or state-of-the-art GP-based results.
Proposed method
- Define a 2D convolutional network prior with Gaussian weights and biases per layer.
- Prove GP behaviour by applying multivariate CLT across layers as the number of filters goes to infinity.
- Derive a computationally efficient kernel by propagating only diagonal covariances through the network (patch-wise variances).
- Provide closed-form covariance updates for common nonlinearities (e.g., ReLU, erf) to compute the kernel.
- Extend the kernel to residual CNNs by showing GP behaviour is preserved with skip connections.
- Experiment with MNIST comparing ConvNet GP, Residual CNN GP, and ResNet GP against other GP baselines.
Experimental results
Research questions
- RQ1Can a CNN or ResNet architecture be represented exactly as a Gaussian Process in the infinite-filter limit?
- RQ2How can one compute an efficient kernel for a CNN-based GP that preserves translation invariance and structure?
- RQ3What is the empirical performance of CNN/ResNet GP kernels on MNIST relative to prior GP approaches?
- RQ4Do residual connections preserve GP properties and improve kernel-based performance on image tasks?
Key findings
- The output of a CNN (including residual variants) with an appropriate weight/bias prior converges to a GP in the infinite-filter limit.
- An exact, efficiently computable kernel can be derived for CNNs, requiring only the original CNN hyperparameters.
- The kernel evaluation cost is similar to a single forward pass of the corresponding CNN with one filter per layer.
- A 32-layer ResNet GP achieves 0.84% test error on MNIST, setting a new record for nonparametric GP methods with a comparable parameter count.
- Kernel-based CNNs outperform prior nonparametric GP approaches on MNIST under the reported settings.
- Residual CNN GP and ResNet GP show strong performance relative to NNGP and other convolutional GP baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.