What can linearized neural networks actually say about generalization?

Guillermo Ortiz-Jiménez, Seyed-Mohsen Moosavi-Dezfooli, Pascal Frossard
6/12/2021
cs.LGcs.AI

Official code: gortizji/linearized-networks (20 stars, Python, MIT, last commit 2021-10-21).

Abstract

For certain infinitely-wide neural networks, the neural tangent kernel (NTK) theory fully characterizes generalization, but for the networks used in practice, the empirical NTK only provides a rough first-order approximation. Still, a growing body of work keeps leveraging this approximation to successfully analyze important deep learning phenomena and design algorithms for new applications.

Show full abstract

In our work, we provide strong empirical evidence to determine the practical validity of such approximation by conducting a systematic comparison of the behavior of different neural networks and their linear approximations on different tasks. We show that the linear approximations can indeed rank the learning complexity of certain tasks for neural networks, even when they achieve very different performances. However, in contrast to what was previously reported, we discover that neural networks do not always perform better than their kernel approximations, and reveal that the performance gap heavily depends on architecture, dataset size and training task. We discover that networks overfit to these tasks mostly due to the evolution of their kernel during training, thus, revealing a new type of implicit bias.

View on arXivView PDF

Code Implementations(1)

MIT

Source code of "What can linearized neural networks actually say about generalization?

201PythonOct 12, 20215 years agoMIT

Similar Papers

Cite this paper

@article{ortizjimnez2021what,
  title  = {What can linearized neural networks actually say about generalization?},
  author = {Guillermo Ortiz-Jiménez and Seyed-Mohsen Moosavi-Dezfooli and Pascal Frossard},
  year   = {2021},
  eprint = {2106.06770},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06770}
}

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

Discussion