[Paper Review] A Gaussian Process perspective on Convolutional Neural Networks
This paper establishes a Gaussian process (GP) perspective for convolutional neural networks (CNNs) by extending the central limit theorem to non-i.i.d. inputs in convolutional layers, showing that CNN outputs converge to a GP prior even with dependent, non-identically distributed inputs. Empirical results confirm that CNNs behave like GPs, especially with bounded activations like tanh, enabling analytical uncertainty quantification via GP inference.
In this paper we cast the well-known convolutional neural network in a Gaussian process perspective. In this way we hope to gain additional insights into the performance of convolutional networks, in particular understand under what circumstances they tend to perform well and what assumptions are implicitly made in the network. While for fully-connected networks the properties of convergence to Gaussian processes have been studied extensively, little is known about situations in which the output from a convolutional network approaches a multivariate normal distribution.
Motivation & Objective
- To extend the theoretical understanding of CNNs by framing them through the lens of Gaussian processes (GPs), particularly in the context of convergence to a GP prior.
- To address the lack of theoretical analysis on GP convergence in CNNs compared to fully-connected networks, where such convergence is well-established.
- To investigate under what conditions the output of a CNN approximates a multivariate normal distribution, especially when inputs are dependent or non-identically distributed.
- To evaluate the discrepancy between CNN and GP priors numerically, assessing how activation functions and network depth affect this convergence.
- To explore the implications of GP-like behavior for posterior uncertainty estimation in CNNs, enabling analytical inference without MCMC or ensembling.
Proposed method
- Applying a generalized central limit theorem (Lyapunov-type bound) to handle non-i.i.d. weighted sums in convolutional layers, extending the GP convergence framework beyond i.i.d. inputs.
- Deriving recursive kernel expressions for the CNN output that mirror the structure of GP covariance functions, enabling direct comparison with GP priors.
- Using maximum mean discrepancy (MMD) to numerically quantify the distance between the CNN output distribution and the corresponding GP prior across different activation functions and input types.
- Testing the GP approximation on both i.i.d. inputs and autoregressive time series inputs to assess robustness under realistic data dependencies.
- Comparing CNN posterior mean and variance with those of the corresponding GP after training on a dataset, using ensemble inference (N=100) to approximate posterior uncertainty.
- Employing linear, ReLU, and hyperbolic tangent activation functions to evaluate their impact on GP convergence and posterior agreement.
Experimental results
Research questions
- RQ1Under what conditions does the output of a convolutional neural network converge to a Gaussian process prior, especially when inputs are not i.i.d.?
- RQ2How does the choice of activation function (e.g., ReLU vs. tanh) affect the discrepancy between the CNN output and a GP prior?
- RQ3To what extent does input dependence (e.g., autoregressive structure) influence the GP approximation of a CNN?
- RQ4Can the GP prior of a CNN be used to analytically estimate uncertainty, and how closely does the CNN posterior match the GP posterior?
- RQ5What is the rate of convergence of CNN outputs to a GP, and can this be rigorously proven for dependent variables in deeper layers?
Key findings
- The CNN output distribution approaches a Gaussian process prior even with non-i.i.d. inputs, as demonstrated via a Lyapunov-type bound for the first layer, extending GP convergence beyond i.i.d. settings.
- With ReLU activation, the discrepancy between the CNN and GP prior increases significantly with depth, especially for i.i.d. inputs, indicating a deviation from GP behavior.
- For bounded activation functions like hyperbolic tangent, the discrepancy remains small across multiple layers, suggesting stronger GP-like behavior under non-linear, bounded transformations.
- When inputs follow an AR(2) process, the CNN-GP discrepancy is significantly higher for unbounded activations (linear and ReLU) than for bounded ones (tanh), due to increased dependency in the weighted sums.
- Posterior mean and variance estimates from trained CNNs with 100 random initializations show strong agreement with the corresponding GP posterior, indicating that GP-based uncertainty quantification is feasible for CNNs.
- The empirical results suggest that CNNs with bounded activations and moderate filter sizes (2–8) and depth (2–5 layers) exhibit GP-like behavior, supporting the use of GPs for analytical uncertainty estimation in CNNs.
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.