Skip to main content
QUICK REVIEW

[Paper Review] PAC-Bayes Compression Bounds So Tight That They Can Explain Generalization

Sanae Lotfi, Marc Finzi|arXiv (Cornell University)|Nov 24, 2022
Advanced Neural Network ApplicationsComputer Science7 citations
TL;DR

This paper introduces a novel PAC-Bayes compression framework that achieves state-of-the-art generalization bounds by training deep neural networks in a learned linear subspace and applying adaptive quantization, enabling significantly tighter bounds that explain generalization through compressibility. The method reveals that data-independent priors are more informative than data-dependent ones, and demonstrates that model compressibility explains key deep learning phenomena like transfer learning, equivariance, and double descent.

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. 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.

Motivation & Objective

  • To develop tighter PAC-Bayes generalization bounds for deep neural networks that can meaningfully explain why deep learning generalizes.
  • To investigate whether model compressibility alone can account for generalization, rather than relying on implicit biases or optimization dynamics.
  • To evaluate the relative informativeness of data-dependent versus data-independent priors in explaining generalization via PAC-Bayes bounds.
  • To understand the role of model size, equivariance, and optimization-induced inductive biases through the lens of compressibility.
  • To demonstrate that transfer learning and structural inductive biases improve compressibility, thereby improving generalization bounds.

Proposed method

  • Train neural networks in a random linear subspace of the parameter space to enable structured, low-dimensional compression.
  • Apply learned quantization to compress the model parameters within the subspace, minimizing the number of bits needed to represent the model.
  • Construct PAC-Bayes bounds using a prior that encodes Occam’s razor—favoring simpler models—via a mixture of Gaussians centered on quantized weights.
  • Use variable-length encoding (e.g., Huffman or arithmetic coding) to reduce the effective number of bits required to represent the compressed model, improving bound tightness.
  • Compute bounds using a modified Catoni-style PAC-Bayes bound that accounts for the KL divergence between posterior and prior distributions.
  • Evaluate both data-dependent and data-independent priors, with the latter used to isolate the role of model compressibility from data-specific effects.

Experimental results

Research questions

  • RQ1Can model compressibility alone explain generalization in deep neural networks, independent of optimization dynamics or loss landscape properties?
  • RQ2Why do data-dependent PAC-Bayes bounds fail to explain generalization beyond what the prior alone can predict?
  • RQ3How does transfer learning improve generalization bounds, and is this improvement due to enhanced compressibility?
  • RQ4To what extent does data structure (e.g., spatial structure in images) affect model compressibility and, consequently, generalization bounds?
  • RQ5Does the implicit bias of SGD or weight decay contribute to generalization, or is compressibility sufficient to explain it?

Key findings

  • The proposed compression method achieves state-of-the-art PAC-Bayes generalization bounds on CIFAR-10 and MNIST, with bounds significantly tighter than previous work.
  • Data-independent priors yield more informative bounds than data-dependent ones, as the prior alone often performs comparably to or better than full data-dependent bounds.
  • Transfer learning improves compressibility, which directly translates into tighter generalization bounds, explaining its empirical success.
  • Shuffling pixels or labels in CIFAR-10 drastically reduces model compressibility, leading to worse bounds, demonstrating that structure in data enables generalization via compressibility.
  • Equivariant models like CNNs are more compressible than fully connected networks on rotationally structured tasks, explaining their superior generalization.
  • Double descent behavior in generalization error is mirrored in the PAC-Bayes bounds, which improve again at larger widths, suggesting that compressibility captures the full inductive bias of width and architecture.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.