How Uniform Random Weights Induce Non-Uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers

Abstract

A main theoretical puzzle is why over-parameterized Neural Networks (NNs) generalize well when trained to zero loss (i.e., so they interpolate the data). Usually, the NN is trained with Stochastic Gradient Descent (SGD) or one of its variants. However, recent empirical work examined the generalization of a random NN that interpolates the data: the NN was sampled from a seemingly uniform prior over the parameters, conditioned on that the NN perfectly classifying the training set. Interestingly, such a NN sample typically generalized as well as SGD-trained NNs. We prove that such a random NN interpolator typically generalizes well if there exists an underlying narrow “teacher NN" that agrees with the labels. Specifically, we show that such a ‘flat’ prior over the NN parametrization induces a rich prior over the NN functions, due to the redundancy in the NN structure. In particular, this creates a bias towards simpler functions, which require less relevant parameters to represent — enabling learning with a sample complexity approximately proportional to the complexity of the teacher (roughly, the number of non-redundant parameters), rather than the student’s.

Cite

Text

Buzaglo et al. "How Uniform Random Weights Induce Non-Uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers." International Conference on Machine Learning, 2024.

Markdown

[Buzaglo et al. "How Uniform Random Weights Induce Non-Uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/buzaglo2024icml-uniform/)

BibTeX

@inproceedings{buzaglo2024icml-uniform,
  title     = {{How Uniform Random Weights Induce Non-Uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers}},
  author    = {Buzaglo, Gon and Harel, Itamar and Nacson, Mor Shpigel and Brutzkus, Alon and Srebro, Nathan and Soudry, Daniel},
  booktitle = {International Conference on Machine Learning},
  year      = {2024},
  pages     = {5035-5081},
  volume    = {235},
  url       = {https://mlanthology.org/icml/2024/buzaglo2024icml-uniform/}
}