Tensor Programs I: Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processes
arXiv:1910.12478
Abstract
Wide neural networks with random weights and biases are Gaussian processes, as originally observed by Neal (1995) and more recently by Lee et al. (2018) and Matthews et al. (2018) for deep fully-connected networks, as well as by Novak et al. (2019) and Garriga-Alonso et al. (2019) for deep convolutional networks. We show that this Neural Network-Gaussian Process correspondence surprisingly extends to all modern feedforward or recurrent neural networks composed of multilayer perceptron, RNNs (e.g. LSTMs, GRUs), (nD or graph) convolution, pooling, skip connection, attention, batch normalization, and/or layer normalization. More generally, we introduce a language for expressing neural network computations, and our result encompasses all such expressible neural networks. This work serves as a tutorial on the *tensor programs* technique formulated in Yang (2019) and elucidates the Gaussian Process results obtained there. We provide open-source implementations of the Gaussian Process kernels of simple RNN, GRU, transformer, and batchnorm+ReLU network at github.com/thegregyang/GP4A.
Appearing in NeurIPS 2019; 10 pages of main text; 12 figures, 11 programs; 73 pages total
References in corpus (18)
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
- Semi-Supervised Classification with Graph Convolutional Networks
- Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
- Deep Convolutional Networks on Graph-Structured Data
- Neural Tangent Kernel: Convergence and Generalization in Neural Networks
- Deep Neural Networks as Gaussian Processes
- Sensitivity and Generalization in Neural Networks: an Empirical Study
- Scaling Limits of Wide Neural Networks with Weight Sharing: Gaussian Process Behavior, Gradient Independence, and Neural Tangent Kernel Derivation
- Bayesian Deep Convolutional Networks with Many Channels are Gaussian Processes
- Adversarial Examples, Uncertainty, and Transfer Testing Robustness in Gaussian Process Hybrid Deep Networks
- Deep learning generalizes because the parameter-function map is biased towards simple functions
- Stochastic Variational Deep Kernel Learning
- Deep Convolutional Networks as shallow Gaussian Processes
- Dynamical Isometry and a Mean Field Theory of RNNs: Gating Enables Signal Propagation in Recurrent Neural Networks
- A Mean Field Theory of Batch Normalization
- How to Start Training: The Effect of Initialization and Architecture
- Deep Gaussian Processes with Convolutional Kernels
- A Gaussian Process perspective on Convolutional Neural Networks
Cited by in corpus (15)
- Neural Networks and Quantum Field Theory
- Nonperturbative renormalization for the neural network-QFT correspondence
- Bayesian Deep Ensembles via the Neural Tangent Kernel
- Tensor Programs IIb: Architectural Universality of Neural Tangent Kernel Training Dynamics
- Taylorized Training: Towards Better Approximation of Neural Network Training at Finite Width
- Generalization bounds for deep learning
- Infinite Neural Network Quantum States: Entanglement and Training Dynamics
- The Recurrent Neural Tangent Kernel
- Non-asymptotic approximations of neural networks by Gaussian processes
- Scale Mixtures of Neural Network Gaussian Processes
- On the Dynamics of Training Attention Models
- Exploring the Uncertainty Properties of Neural Networks' Implicit Priors in the Infinite-Width Limit
- The Future is Log-Gaussian: ResNets and Their Infinite-Depth-and-Width Limit at Initialization
- Enhanced Recurrent Neural Tangent Kernels for Non-Time-Series Data
- Implicit Acceleration and Feature Learning in Infinitely Wide Neural Networks with Bottlenecks