The Convergence Rate of Neural Networks for Learned Functions of Different Frequencies

Ronen Basri, David Jacobs, Yoni Kasten, Shira Kritchman
6/2/2019
cs.LGeess.SPstat.ML

Official code: ykasten/Convergence-Rate-NN-Different-Frequencies (10 stars, Python, last commit 2019-12-17).

Abstract

We study the relationship between the frequency of a function and the speed at which a neural network learns it. We build on recent results that show that the dynamics of overparameterized neural networks trained with gradient descent can be well approximated by a linear system.

Show full abstract

When normalized training data is uniformly distributed on a hypersphere, the eigenfunctions of this linear system are spherical harmonic functions. We derive the corresponding eigenvalues for each frequency after introducing a bias term in the model. This bias term had been omitted from the linear network model without significantly affecting previous theoretical results. However, we show theoretically and experimentally that a shallow neural network without bias cannot represent or learn simple, low frequency functions with odd frequencies. Our results lead to specific predictions of the time it will take a network to learn functions of varying frequency. These predictions match the empirical behavior of both shallow and deep networks.

View on arXivView PDF

Code Implementations(1)

101Python, Jupyter NotebookOct 25, 20196 years ago

Similar Papers

Cite this paper

@article{basri2019convergence,
  title  = {The Convergence Rate of Neural Networks for Learned Functions of Different Frequencies},
  author = {Ronen Basri and David Jacobs and Yoni Kasten and Shira Kritchman},
  year   = {2019},
  eprint = {1906.00425},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.00425}
}

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/1906.00425.svg)](https://codeofpaper.com/paper/1906.00425)

Discussion