Rethinking Parameter Counting in Deep Models: Effective Dimensionality Revisited

Wesley J. Maddox, Gregory Benton, Andrew Gordon Wilson
3/4/2020
cs.LGstat.ML

Official code: g-benton/hessian-eff-dim (37 stars, Jupyter Notebook, Apache-2.0, last commit 2022-12-27).

Abstract

Neural networks appear to have mysterious generalization properties when using parameter counting as a proxy for complexity. Indeed, neural networks often have many more parameters than there are data points, yet still provide good generalization performance.

Show full abstract

Moreover, when we measure generalization as a function of parameters, we see double descent behaviour, where the test error decreases, increases, and then again decreases. We show that many of these properties become understandable when viewed through the lens of effective dimensionality, which measures the dimensionality of the parameter space determined by the data. We relate effective dimensionality to posterior contraction in Bayesian deep learning, model selection, width-depth tradeoffs, double descent, and functional diversity in loss surfaces, leading to a richer understanding of the interplay between parameters and functions in deep models. We also show that effective dimensionality compares favourably to alternative norm- and flatness- based generalization measures.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Public Codebase for Rethinking Parameter Counting: Effective Dimensionality Revisited

374Jupyter Notebook, PythonFeb 24, 20203 years agoApache-2.0

Similar Papers

Cite this paper

@article{maddox2020rethinking,
  title  = {Rethinking Parameter Counting in Deep Models: Effective Dimensionality Revisited},
  author = {Wesley J. Maddox and Gregory Benton and Andrew Gordon Wilson},
  year   = {2020},
  eprint = {2003.02139},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.02139}
}

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

Discussion