On the symmetries in the dynamics of wide two-layer neural networks

Karl Hajjar, Lenaic Chizat
11/16/2022
cs.LGstat.ML

Official code: karl-hajjar/learning-structure (1 star, Jupyter Notebook, last commit 2022-10-21).

Abstract

We consider the idealized setting of gradient flow on the population risk for infinitely wide two-layer ReLU neural networks (without bias), and study the effect of symmetries on the learned parameters and predictors. We first describe a general class of symmetries which, when satisfied by the target function $f^*$ and the input distribution, are preserved by the dynamics.

Show full abstract

We then study more specific cases. When $f^*$ is odd, we show that the dynamics of the predictor reduces to that of a (non-linearly parameterized) linear predictor, and its exponential convergence can be guaranteed. When $f^*$ has a low-dimensional structure, we prove that the gradient flow PDE reduces to a lower-dimensional PDE. Furthermore, we present informal and numerical arguments that suggest that the input neurons align with the lower-dimensional structure of the problem.

View on arXivView PDF

Code Implementations(1)

A repository dedicated to code and experiment on how wide shallow networks learn the structure of a target function.

10Jupyter Notebook, PythonOct 25, 20214 years ago

Similar Papers

Cite this paper

@article{hajjar2022symmetries,
  title  = {On the symmetries in the dynamics of wide two-layer neural networks},
  author = {Karl Hajjar and Lenaic Chizat},
  year   = {2022},
  eprint = {2211.08771},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.08771}
}

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

Discussion