[Paper Review] Cold Posteriors and Aleatoric Uncertainty
This paper explains the cold posterior effect in Bayesian neural networks by showing that standard priors induce excessive aleatoric uncertainty on high-quality datasets like MNIST and CIFAR-10. By tempering the posterior (lowering temperature), models reduce this overestimated uncertainty, leading to improved generalization—effectively mimicking a more appropriate prior without exact Bayesian inference.
Recent work has observed that one can outperform exact inference in Bayesian neural networks by tuning the "temperature" of the posterior on a validation set (the "cold posterior" effect). To help interpret this phenomenon, we argue that commonly used priors in Bayesian neural networks can significantly overestimate the aleatoric uncertainty in the labels on many classification datasets. This problem is particularly pronounced in academic benchmarks like MNIST or CIFAR, for which the quality of the labels is high. For the special case of Gaussian process regression, any positive temperature corresponds to a valid posterior under a modified prior, and tuning this temperature is directly analogous to empirical Bayes. On classification tasks, there is no direct equivalence between modifying the prior and tuning the temperature, however reducing the temperature can lead to models which better reflect our belief that one gains little information by relabeling existing examples in the training set. Therefore although cold posteriors do not always correspond to an exact inference procedure, we believe they may often better reflect our true prior beliefs.
Motivation & Objective
- To investigate why cold posteriors (tempered inference with T < 1) outperform exact Bayesian inference in Bayesian neural networks.
- To analyze whether commonly used priors in Bayesian neural networks overestimate aleatoric uncertainty on standard benchmark datasets.
- To explore the connection between posterior tempering and prior specification, particularly in the context of Gaussian process models.
- To evaluate whether the cold posterior effect can be interpreted as a correction for mis-specified priors that overestimate label uncertainty.
- To demonstrate that tempering reduces both epistemic and aleatoric uncertainty, aligning posterior beliefs more closely with real-world data characteristics.
Proposed method
- Uses Gaussian process classification as a tractable model to analyze the cold posterior effect, with a prior on latent functions f(x) ~ N(0, cI).
- Introduces temperature T in the posterior as p(θ|X,f) ∝ exp(-U(θ)/T), where T=1 is standard Bayesian inference and T<1 is the 'cold' posterior.
- Shows that tempering at T<1 is mathematically equivalent to rescaling the kernel K(⋅,⋅) → TK(⋅,⋅) and reducing aleatoric uncertainty σ²_ε → Tσ²_ε in GP regression.
- Empirically verifies the effect on CIFAR-10 using GP classification, demonstrating improved log-likelihood and accuracy at T<1.
- Performs synthetic experiments with RBF kernels and controlled label noise to isolate the impact of aleatoric uncertainty estimation on optimal temperature.
- Compares negative log-likelihood across different temperature settings under correct, overestimated, and underestimated aleatoric uncertainty.
Experimental results
Research questions
- RQ1Why does posterior tempering (T < 1) improve performance in Bayesian neural networks despite violating standard Bayesian principles?
- RQ2To what extent do standard priors in Bayesian neural networks overestimate aleatoric uncertainty on high-quality datasets like MNIST and CIFAR-10?
- RQ3Can the cold posterior effect be interpreted as a correction for mis-specified priors that induce excessive label uncertainty?
- RQ4How does tempering affect the balance between epistemic and aleatoric uncertainty in Gaussian process models?
- RQ5Does the optimal temperature for inference depend on the accuracy of aleatoric uncertainty estimation in the model?
Key findings
- On high-quality datasets like MNIST and CIFAR-10, standard priors in Bayesian neural networks induce significantly higher aleatoric uncertainty than is present in the data.
- Tempering the posterior to T < 1 reduces the implied aleatoric uncertainty, bringing it closer to the true label uncertainty in the data.
- In Gaussian process classification, any positive temperature T corresponds to a valid posterior under a modified prior, making tempering analogous to empirical Bayes.
- For regression, tempering at T < 1 is equivalent to rescaling both the kernel and the aleatoric noise variance σ²_ε, effectively reducing label uncertainty.
- When aleatoric uncertainty is overestimated, the negative log-likelihood is minimized at T < 1; when underestimated, it is minimized at T > 1.
- The cold posterior effect is most pronounced when priors overestimate label ambiguity, suggesting it corrects for poor prior specification rather than being a sign of poor inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.