Does the Data Induce Capacity Control in Deep Learning?

Rubing Yang, Jialin Mao, Pratik Chaudhari
10/27/2021
cs.LGstat.ML

Official code: grasp-lyrl/sloppy (2 stars, Python, last commit 2022-06-21).

Abstract

We show that the input correlation matrix of typical classification datasets has an eigenspectrum where, after a sharp initial drop, a large number of small eigenvalues are distributed uniformly over an exponentially large range. This structure is mirrored in a network trained on this data: we show that the Hessian and the Fisher Information Matrix (FIM) have eigenvalues that are spread uniformly over exponentially large ranges.

Show full abstract

We call such eigenspectra "sloppy" because sets of weights corresponding to small eigenvalues can be changed by large magnitudes without affecting the loss. Networks trained on atypical datasets with non-sloppy inputs do not share these traits and deep networks trained on such datasets generalize poorly. Inspired by this, we study the hypothesis that sloppiness of inputs aids generalization in deep networks. We show that if the Hessian is sloppy, we can compute non-vacuous PAC-Bayes generalization bounds analytically. By exploiting our empirical observation that training predominantly takes place in the non-sloppy subspace of the FIM, we develop data-distribution dependent PAC-Bayes priors that lead to accurate generalization bounds using numerical optimization.

View on arXivView PDF

Code Implementations(1)

grasp-lyrl/sloppyOfficial100%
20Python, Jupyter NotebookJun 14, 20224 years ago

Similar Papers

Cite this paper

@article{yang2021does,
  title  = {Does the Data Induce Capacity Control in Deep Learning?},
  author = {Rubing Yang and Jialin Mao and Pratik Chaudhari},
  year   = {2021},
  eprint = {2110.14163},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14163}
}

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

Discussion