PAC-Bayes Compression Bounds So Tight That They Can Explain Generalization

Sanae Lotfi, Marc Finzi, Sanyam Kapoor, Andres Potapczynski, Micah Goldblum +1 more
11/24/2022
cs.LGstat.ML

Official code: activatedgeek/tight-pac-bayes (18 stars, Jupyter Notebook, Apache-2.0, last commit 2022-11-23).

Abstract

While there has been progress in developing non-vacuous generalization bounds for deep neural networks, these bounds tend to be uninformative about why deep learning works. In this paper, we develop a compression approach based on quantizing neural network parameters in a linear subspace, profoundly improving on previous results to provide state-of-the-art generalization bounds on a variety of tasks, including transfer learning.

Show full abstract

We use these tight bounds to better understand the role of model size, equivariance, and the implicit biases of optimization, for generalization in deep learning. Notably, we find large models can be compressed to a much greater extent than previously known, encapsulating Occam's razor. We also argue for data-independent bounds in explaining generalization.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for PAC-Bayes Compression Bounds So Tight That They Can Explain Generalization, NeurIPS 2022

186Jupyter Notebook, Python4 years agoApache-2.0
deep-learningmachine-learningpac-bayes

Similar Papers

Cite this paper

@article{lotfi2022pacbayes,
  title  = {PAC-Bayes Compression Bounds So Tight That They Can Explain Generalization},
  author = {Sanae Lotfi and Marc Finzi and Sanyam Kapoor and Andres Potapczynski and Micah Goldblum and Andrew Gordon Wilson},
  year   = {2022},
  eprint = {2211.13609},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.13609}
}

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

Discussion