Scaling Limits of Wide Neural Networks with Weight Sharing: Gaussian Process Behavior, Gradient Independence, and Neural Tangent Kernel Derivation

By Greg Yang. 2019

313 citations recorded by the source corpus.

Several recent trends in machine learning theory and practice, from the design of state-of-the-art Gaussian Process to the convergence analysis of deep neural nets (DNNs) under stochastic gradient descent (SGD), have found it fruitful to study wide random neural networks. Central to these approaches are certain scaling limits of such networks. We unify these results by introducing a notion of a straightline \emph{tensor program} that can express most neural network computations, and we characterize its scaling limit when its tensors are large and randomized. From our framework follows (1) the convergence of random neural networks to Gaussian processes for architectures such as recurrent neural networks, convolutional neural networks, residual networks, attention, and any combination thereof, with or without batch normalization; (2) conditions under which the \emph{gradient independence assumption} -- that weights in backpropagation can be assumed to be independent from weights in the forward pass -- leads to correct computation of gradient dynamics, and corrections when it does not; (3) the convergence of the Neural Tangent Kernel, a recently proposed kernel used to predict training dynamics of neural networks under gradient descent, at initialization for all architectures in (1) without batch normalization. Mathematically, our framework is general enough to rederive classical random matrix results such as the semicircle and the Marchenko-Pastur laws, as well as recent results in neural network Jacobian singular values. We hope our work opens a way toward design of even stronger Gaussian Processes, initialization schemes to avoid gradient explosion/vanishing, and deeper understanding of SGD dynamics in modern architectures.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Scaling & Learning Theory

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Greg Yang
  2. Yuanzhi Li
  3. Zeyuan Allen-Zhu
  4. Tengyu Ma
  5. Jason D. Lee
  6. Simon Shaolei Du
  7. Quanquan Gu
  8. Ruslan Salakhutdinov

In Computer Vision and Pattern Recognition

  1. Yuanzhi Li
  2. Greg Yang
  3. Tengyu Ma
  4. Zeyuan Allen-Zhu
  5. Jason D. Lee
  6. Dacheng Tao
  7. Luc Van Gool
  8. Ruslan Salakhutdinov

In Scaling & Learning Theory

  1. Greg Yang
  2. Yuanzhi Li
  3. Zeyuan Allen-Zhu
  4. Tengyu Ma
  5. Quanquan Gu
  6. Jason D. Lee
  7. Simon Shaolei Du
  8. Lechao Xiao

Citations in the corpus