[Paper Review] Bayesian Convolutional Neural Networks with Many Channels are Gaussian Processes.
This paper establishes that Bayesian convolutional neural networks (CNNs) with many channels converge to Gaussian processes (GPs), enabling exact GP inference without training the network. It introduces a Monte Carlo method to estimate such GPs even when analytic forms are intractable, and surprisingly finds that weight sharing does not affect the GP in the infinite channel limit, revealing a key difference from SGD-trained finite networks.
There is a previously identified equivalence between wide fully connected neural networks (FCNs) and Gaussian processes (GPs). This equivalence enables, for instance, test set predictions that would have resulted from a fully Bayesian, infinitely wide trained FCN to be computed without ever instantiating the FCN, but by instead evaluating the corresponding GP. In this work, we derive an analogous equivalence for multi-layer convolutional neural networks (CNNs) both with and without pooling layers, and achieve state of the art results on CIFAR10 for GPs without trainable kernels. We also introduce a Monte Carlo method to estimate the GP corresponding to a given neural network architecture, even in cases where the analytic form has too many terms to be computationally feasible. Surprisingly, in the absence of pooling layers, the GPs corresponding to CNNs with and without weight sharing are identical. As a consequence, translation equivariance, beneficial in finite channel CNNs trained with stochastic gradient descent (SGD), is guaranteed to play no role in the Bayesian treatment of the infinite channel limit - a qualitative difference between the two regimes that is not present in the FCN case. We confirm experimentally, that while in some scenarios the performance of SGD-trained finite CNNs approaches that of the corresponding GPs as the channel count increases, with careful tuning SGD-trained CNNs can significantly outperform their corresponding GPs, suggesting advantages from SGD training compared to fully Bayesian parameter estimation.
Motivation & Objective
- To establish an equivalence between Bayesian CNNs with many channels and Gaussian processes, extending the known FCN-GP equivalence to convolutional architectures.
- To develop a computationally feasible method for estimating the GP corresponding to a given CNN architecture, even when analytic forms are too complex.
- To investigate the role of weight sharing and translation equivariance in the infinite channel limit of Bayesian CNNs, contrasting it with finite SGD-trained models.
- To evaluate the performance gap between SGD-trained finite CNNs and their corresponding Bayesian infinite-channel GPs.
Proposed method
- Derives the functional form of the GP corresponding to a multi-layer CNN with and without pooling layers in the infinite channel limit.
- Introduces a Monte Carlo sampling method to estimate the GP kernel when the analytic expression contains too many terms for direct computation.
- Shows that for CNNs without pooling, the GP is identical regardless of whether weight sharing is used, implying translation equivariance has no effect in the infinite limit.
- Uses the derived GP to make test set predictions without training the neural network, leveraging the GP's closed-form inference.
- Employs the GP kernel to achieve state-of-the-art performance on CIFAR10 without trainable kernels, using only architectural priors.
Experimental results
Research questions
- RQ1Does the equivalence between wide fully connected networks and Gaussian processes extend to convolutional neural networks with many channels?
- RQ2How can the GP corresponding to a given CNN architecture be estimated when the analytic kernel expression is computationally infeasible?
- RQ3Does weight sharing or translation equivariance influence the GP in the infinite channel limit of Bayesian CNNs?
- RQ4How does the performance of SGD-trained finite CNNs compare to their corresponding Bayesian infinite-channel GPs?
Key findings
- Bayesian CNNs with many channels converge to Gaussian processes, enabling exact test set predictions without training the network.
- The GP corresponding to a CNN without pooling is identical whether or not weight sharing is used, implying translation equivariance plays no role in the infinite channel limit.
- The proposed Monte Carlo method enables GP inference for CNNs even when the analytic kernel is too complex for direct evaluation.
- The GP-based approach achieves state-of-the-art performance on CIFAR10 without trainable kernels, outperforming previous GP-based methods.
- Despite convergence to the same GP, carefully tuned SGD-trained finite CNNs can significantly outperform their corresponding Bayesian GPs, indicating advantages from SGD optimization.
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.