On the infinite width limit of neural networks with a standard parameterization

Jascha Sohl-Dickstein, Roman Novak, Samuel S. Schoenholz, Jaehoon Lee
1/21/2020
cs.LGstat.ML

Official code: google/neural-tangents (2,385 stars, Jupyter Notebook, Apache-2.0, JAX, last commit 2024-03-01).

Abstract

There are currently two parameterizations used to derive fixed kernels corresponding to infinite width neural networks, the NTK (Neural Tangent Kernel) parameterization and the naive standard parameterization. However, the extrapolation of both of these parameterizations to infinite width is problematic.

Show full abstract

The standard parameterization leads to a divergent neural tangent kernel while the NTK parameterization fails to capture crucial aspects of finite width networks such as: the dependence of training dynamics on relative layer widths, the relative training dynamics of weights and biases, and overall learning rate scale. Here we propose an improved extrapolation of the standard parameterization that preserves all of these properties as width is taken to infinity and yields a well-defined neural tangent kernel. We show experimentally that the resulting kernels typically achieve similar accuracy to those resulting from an NTK parameterization, but with better correspondence to the parameterization of typical finite width networks. Additionally, with careful tuning of width parameters, the improved standard parameterization kernels can outperform those stemming from an NTK parameterization. We release code implementing this improved standard parameterization as part of the Neural Tangents library at https://github.com/google/neural-tangents.

View on arXivView PDF

Code Implementations(1)

JAXApache-2.0

Fast and Easy Infinite Neural Networks in Python

2,385240Jupyter Notebook, PythonApr 8, 20192 years agoApache-2.0
bayesian-inferencebayesian-networksdeep-networksgaussian-processesgradient-descent+8 more

Similar Papers

Cite this paper

@article{sohldickstein2020infinite,
  title  = {On the infinite width limit of neural networks with a standard parameterization},
  author = {Jascha Sohl-Dickstein and Roman Novak and Samuel S. Schoenholz and Jaehoon Lee},
  year   = {2020},
  eprint = {2001.07301},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.07301}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.07301.svg)](https://codeofpaper.com/paper/2001.07301)

Discussion