Skip to main content
QUICK REVIEW

[Paper Review] A statistical theory of cold posteriors in deep neural networks

Laurence Aitchison|arXiv (Cornell University)|Aug 13, 2020
Adversarial Robustness in Machine LearningComputer Science22 references7 citations
TL;DR

This paper proposes that the effectiveness of cold posteriors in Bayesian neural networks arises not from flawed priors, but from dataset curation: standard benchmarks like CIFAR-10 are curated so that only unanimously labeled examples are included, which induces a likelihood structure that naturally favors tempered posteriors. The key result is that cold posterior effects vanish when using fully annotated, high-consensus labels (e.g., from CIFAR-10H), confirming that curation-induced label certainty drives the need for tempering.

ABSTRACT

To get Bayesian neural networks to perform comparably to standard neural networks it is usually necessary to artificially reduce uncertainty using a "tempered" or "cold" posterior. This is extremely concerning: if the prior is accurate, Bayes inference/decision theory is optimal, and any artificial changes to the posterior should harm performance. While this suggests that the prior may be at fault, here we argue that in fact, BNNs for image classification use the wrong likelihood. In particular, standard image benchmark datasets such as CIFAR-10 are carefully curated. We develop a generative model describing curation which gives a principled Bayesian account of cold posteriors, because the likelihood under this new generative model closely matches the tempered likelihoods used in past work.

Motivation & Objective

  • To resolve the paradox that Bayesian neural networks require tempering (cold posteriors) to match standard neural network performance, despite Bayesian inference being optimal under correct model assumptions.
  • To investigate whether the need for tempering stems from prior misspecification or from flaws in the likelihood model.
  • To develop a generative model of dataset curation that explains why tempered posteriors perform better in practice.
  • To test whether cold posterior effects disappear when label consensus is fully available, using the CIFAR-10H dataset as a proxy for true consensus labels.

Proposed method

  • Propose a generative model of dataset curation where a data point is included only if all labelers agree on its class, leading to a likelihood that inherently favors sharp posteriors.
  • Model the likelihood under this curation process as equivalent to a tempered likelihood, explaining why cold posteriors emerge naturally under exact Bayesian inference.
  • Use the CIFAR-10H dataset—where ~50 human annotators labeled each test image—as a proxy for full label consensus to test the theory.
  • Compare Bayesian neural network performance with and without tempering on both standard CIFAR-10 (single-label) and CIFAR-10H (multi-label consensus) to isolate the effect of curation.
  • Introduce controlled label noise to disrupt label consensus and observe the impact on cold posterior effects.
  • Formulate the likelihood under curation as a product of label agreement probabilities, which leads to a likelihood that is effectively tempered under Bayesian updating.

Experimental results

Research questions

  • RQ1Why do Bayesian neural networks require tempering (cold posteriors) to achieve performance comparable to standard neural networks?
  • RQ2Is the need for tempering due to prior misspecification, or is it instead caused by properties of the likelihood model?
  • RQ3Does the cold posterior effect disappear when label consensus is fully available, as predicted by the curation model?
  • RQ4How does introducing label noise affect the cold posterior effect, and what does this imply about the underlying cause?
  • RQ5Can a generative model of dataset curation explain the statistical patterns exploited by tempered posteriors?

Key findings

  • The cold posterior effect is significantly reduced or eliminated when using the CIFAR-10H dataset, which provides full label consensus from 50 annotators, supporting the hypothesis that curation drives the need for tempering.
  • When labels are artificially corrupted with noise, the cold posterior effect diminishes and eventually reverses, with performance peaking at temperatures near 1, indicating that label certainty is key.
  • The generative model of curation, where only unanimously labeled examples are included, produces a likelihood structure that naturally leads to tempered posteriors under exact Bayesian inference.
  • The theory explains why tempering is effective not as a fix for prior misspecification, but as a correction for the likelihood structure induced by high-quality, curated labels.
  • The results suggest that cold posteriors are not a sign of flawed inference or prior, but a consequence of the data generation process in standard benchmarks.
  • The study implies that future BNNs should account for curation effects in likelihood modeling, and that dataset design may significantly impact uncertainty estimation.

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.