Can a Confident Prior Replace a Cold Posterior?

Martin Marek, Brooks Paige, Pavel Izmailov
3/2/2024
cs.LGstat.ML

No official code found. Best implementation: martin-marek/dirclip (4 stars, MIT, last commit 2024-03-24).

Abstract

Benchmark datasets used for image classification tend to have very low levels of label noise. When Bayesian neural networks are trained on these datasets, they often underfit, misrepresenting the aleatoric uncertainty of the data. A common solution is to cool the posterior, which improves fit to the training data but is challenging to interpret from a Bayesian perspective. We explore whether posterior tempering can be replaced by a confidence-inducing prior distribution. First, we introduce a "DirClip" prior that is practical to sample and nearly matches the performance of a cold posterior. Second, we introduce a "confidence prior" that directly approximates a cold likelihood in the limit of decreasing temperature but cannot be easily sampled. Lastly, we provide several general insights into confidence-inducing priors, such as when they might diverge and how fine-tuning can mitigate numerical instability.

View on arXivView PDF

Code Implementations(1)

MIT

📄Can a Confident Prior Replace a Cold Posterior?

40PythonMar 2, 20242 years agoMIT

Similar Papers

Cite this paper

@article{marek2024confident,
  title  = {Can a Confident Prior Replace a Cold Posterior?},
  author = {Martin Marek and Brooks Paige and Pavel Izmailov},
  year   = {2024},
  eprint = {2403.01272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.01272v1}
}

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

Discussion