[Paper Review] Disentangling the Roles of Curation, Data-Augmentation and the Prior in the Cold Posterior Effect
This paper disentangles the causes of the cold posterior effect (CPE) in Bayesian neural networks by isolating the roles of data curation, data augmentation, and priors. It shows the CPE arises primarily from the prior's influence in low-data regimes, not from data curation or augmentation alone, and demonstrates that CPE can emerge even in simple, well-specified synthetic setups, challenging the idea of a single root cause.
The "cold posterior effect" (CPE) in Bayesian deep learning describes the uncomforting observation that the predictive performance of Bayesian neural networks can be significantly improved if the Bayes posterior is artificially sharpened using a temperature parameter T<1. The CPE is problematic in theory and practice and since the effect was identified many researchers have proposed hypotheses to explain the phenomenon. However, despite this intensive research effort the effect remains poorly understood. In this work we provide novel and nuanced evidence relevant to existing explanations for the cold posterior effect, disentangling three hypotheses: 1. The dataset curation hypothesis of Aitchison (2020): we show empirically that the CPE does not arise in a real curated data set but can be produced in a controlled experiment with varying curation strength. 2. The data augmentation hypothesis of Izmailov et al. (2021) and Fortuin et al. (2021): we show empirically that data augmentation is sufficient but not necessary for the CPE to be present. 3. The bad prior hypothesis of Wenzel et al. (2020): we use a simple experiment evaluating the relative importance of the prior and the likelihood, strongly linking the CPE to the prior. Our results demonstrate how the CPE can arise in isolation from synthetic curation, data augmentation, and bad priors. Cold posteriors observed "in the wild" are therefore unlikely to arise from a single simple cause; as a result, we do not expect a simple "fix" for cold posteriors.
Motivation & Objective
- To investigate whether the cold posterior effect (CPE) arises from data curation, data augmentation, or the prior in Bayesian neural networks.
- To test the hypothesis that the CPE is caused by poor prior specification in high-dimensional models with limited data.
- To determine whether data augmentation or dataset curation is necessary for the CPE to occur.
- To isolate the contribution of the prior by controlling for curation and augmentation in synthetic experiments.
- To evaluate whether the CPE can emerge in a well-specified, synthetic setup where the true model is linear and the prior is well-chosen.
Proposed method
- Conducted controlled experiments using synthetic datasets with varying levels of curation to isolate its effect on the CPE.
- Applied data augmentation in a controlled setting to test its necessity and sufficiency for inducing the CPE.
- Used full-batch Markov Chain Monte Carlo (MCMC) with temperature scaling to sample from the posterior at different temperatures $T < 1$.
- Evaluated the CPE using the CPE ratio (CPER), defined as the ratio of test cross-entropy at $T=1$ to that at $T<1$, to quantify performance improvement.
- Analyzed decision boundaries in a 1-layer MLP on a 2D toy dataset to visualize how temperature scaling affects model complexity.
- Compared performance across different dataset sizes $n$ to assess the relative influence of prior vs. likelihood in small-data regimes.
Experimental results
Research questions
- RQ1Does the cold posterior effect (CPE) arise in a real, curated dataset like SVHN or CIFAR-10 when data augmentation is disabled?
- RQ2Can the CPE be induced purely through synthetic data curation, independent of real-world labeling or data augmentation?
- RQ3Is data augmentation necessary for the CPE to occur, or is it sufficient on its own to produce the effect?
- RQ4To what extent does the prior contribute to the CPE, especially in low-data regimes?
- RQ5Can the CPE emerge in a well-specified synthetic setup where the true model is linear and the prior is well-chosen?
Key findings
- The CPE does not occur in real curated datasets like SVHN and CIFAR-10 when data augmentation is turned off, contradicting the curation hypothesis as a primary cause.
- The CPE can be induced in a controlled synthetic curation experiment, showing that curation alone is sufficient but not necessary for the effect.
- Data augmentation is sufficient to produce the CPE but is not necessary, as the effect also appears in the absence of augmentation when the prior is poorly specified.
- The CPE becomes stronger as dataset size decreases, indicating that the prior exerts increasing influence in low-data regimes.
- Tempered MCMC (with $T<1$) induces simpler decision boundaries than the standard Bayes posterior ($T=1$), suggesting that cold posteriors favor simpler functions.
- The CPE can arise in a synthetic toy dataset with a well-specified prior and a linearly separable true function, demonstrating that the effect is not due to model misfit or poor prior choice alone.
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.