We investigate the cold posterior effect through the lens of PAC-Bayes generalization bounds. We argue that in the non-asymptotic setting, when the number of training samples is (relatively) small, discussions of the cold posterior effect should take into account that approximate Bayesian inference does not readily provide guarantees of performance on out-of-sample data. Instead, out-of-sample error is better described through a generalization bound. In this context, we explore the connections of the ELBO objective from variational inference and the PAC-Bayes objectives. We note that, while the ELBO and PAC-Bayes objectives are similar, the latter objectives naturally contain a temperature parameter
Fig.1 -
When citing this repository on your scientific publications please use the following BibTeX citation:
@article{pitas2022cold,
title={Cold Posteriors through PAC-Bayes},
author={Pitas, Konstantinos and Arbel, Julyan},
journal={arXiv preprint arXiv:2206.11173},
year={2022}
}
- 💼 Linkedin: https://www.linkedin.com/in/konstantinos-pitas-lts2-epfl/
- Github: https://github.com/konstantinos-p
Or via email at [email protected]
This Python package has been made for research purposes.