Abstract
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.
Introduction
Since the mid-1990s, it has been established that infinitely wide fully-connected neural networks (FNNs) with a single hidden layer converge to Gaussian Processes (GPs). This convergence, proven by Radford Neal, relies on the output node computing a sum of independent and identically distributed (i.i.d.) random variables, allowing the standard Central Limit Theorem (CLT) to apply. This theoretical bridge has allowed researchers to treat deep learning through the lens of Bayesian non-parametrics.
However, Convolutional Neural Networks (CNNs) present a different structural challenge. Unlike FNNs, CNNs utilize shared filters across local input regions. The resulting sums at each layer involve weighted variables that are uncorrelated but not necessarily identically distributed. Consequently, the standard CLT is insufficient to prove GP convergence for CNNs. This research addresses whether CNN outputs converge to a multivariate normal distribution and characterizes the resulting covariance kernel.
Methodology
To address the non-i.i.d. nature of CNN layers, this work employs a generalized Central Limit Theorem based on a Lyapunov-type bound. This approach provides a rate of convergence for sums of independent random vectors that do not share the same distribution.
The methodology involves:
- First-layer Convergence Proof: Demonstrating that as filter size increases, the first CNN layer converges to a GP.
- Recursive Kernel Formulation: Deriving the covariance function (kernel) for deep CNNs. For activation functions like ReLU, this recursive relationship is analytically computable.
- Empirical Validation: Measuring the Maximum Mean Discrepancy (MMD) between finite, randomly initialized CNNs and the theoretical GP limit across various depths and filter sizes.
Theoretical Insights: The CNN Kernel
A primary finding is that the CNN kernel acts as an "averaging" kernel. In layer $l$, the kernel is defined by averaging correlations within the receptive field of the previous layer. This mirrors the architectural inductive bias of CNNs.
Interestingly, the "flattening" effect—where the covariance function degenerates into a constant map as depth increases—occurs faster in CNNs than in FNNs due to this averaging process. Furthermore, the choice of activation function is critical; bounded activations like tanh maintain low discrepancy with the GP limit across depths, whereas unbounded activations like ReLU show increasing divergence in deeper finite networks.
Experimental Results
Numerical experiments were conducted using synthetic data, including i.i.d. random variables and Autoregressive (AR) time series (AR(2) and AR(3) models), to test convergence on data with temporal dependencies.
Key results include:
- Rapid Convergence: CNNs approach GP behavior quickly, even with small filter sizes (widths of 2 to 8), common in architectures like WaveNet.
- Depth vs. Independence: For ReLU networks, MMD increases with depth. This suggests that while the analytical kernel assumes normality at each layer, finite networks introduce dependencies in deeper layers that violate strict independence.
- Posterior Matching: On synthetic AR(3) data, the predictive mean and variance of a CNN ensemble closely matched the exact posterior inference of the derived GP, validating the theoretical link.
Conclusion
This work extends the GP-NN correspondence to convolutional architectures, providing a mathematical explanation for how CNNs hierarchically combine local patterns. While the Lyapunov-type bound rigorously proves first-layer convergence, extending this to deeper layers where variables become dependent remains an open challenge. Future research will focus on tightening these bounds for deep, finite-width convolutional networks.
Summary updated