Generalization Bounds via Meta-Learned Model Representations: PAC-Bayes and Sample Compression Hypernetworks

Benjamin Leblanc, Mathieu Bazinet, Nathaniel D'Amours, Alexandre Drouin, Pascal Germain
10/1/2024

No official code found. Best implementation: GRAAL-Research/DeepRM (0 stars, Apache-2.0, last commit 2025-07-28).

Abstract

Both PAC-Bayesian and Sample Compress learning frameworks are instrumental for deriving tight (non-vacuous) generalization bounds for neural networks. We leverage these results in a meta-learning scheme, relying on a hypernetwork that outputs the parameters of a downstream predictor from a dataset input. The originality of our approach lies in the investigated hypernetwork architectures that encode the dataset before decoding the parameters: (1) a PAC-Bayesian encoder that expresses a posterior distribution over a latent space, (2) a Sample Compress encoder that selects a small sample of the dataset input along with a message from a discrete set, and (3) a hybrid between both approaches motivated by a new Sample Compress theorem handling continuous messages. The latter theorem exploits the pivotal information transiting at the encoder-decoder junction in order to compute generalization guarantees for each downstream predictor obtained by our meta-learning scheme.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Source code of ICML 2025 article: "Generalization Bounds via Meta-Learned Model Representations: PAC-Bayes and Sample Compression Hypernetworks"

00PythonAug 15, 20231 years agoApache-2.0
meta-learningpac-bayes

Cite this paper

@article{leblanc2024generalization,
  title  = {Generalization Bounds via Meta-Learned Model Representations: PAC-Bayes and Sample Compression Hypernetworks},
  author = {Benjamin Leblanc and Mathieu Bazinet and Nathaniel D'Amours and Alexandre Drouin and Pascal Germain},
  year   = {2024},
  eprint = {2410.13577},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.13577},
  journal = {ICML 2024 2024}
}

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

Discussion