Temperature Optimization for Bayesian Deep Learning
Not on the map. Why?
Abstract (arXiv)
The Cold Posterior Effect (CPE) is a phenomenon in Bayesian Deep Learning (BDL), where tempering the posterior to a cold temperature often improves the predictive performance of the posterior predictive distribution (PPD). Although the term `CPE' suggests colder temperatures are inherently better, the BDL community increasingly recognizes that this is not always the case. Despite this, there remains no systematic method for finding the optimal temperature beyond grid search. In this work, we propose a data-driven approach to select the temperature that maximizes test log-predictive density, treating the temperature as a model parameter and estimating it directly from the data. We empirically demonstrate that our method performs comparably to grid search, at a fraction of the cost, across both regression and classification tasks. Finally, we highlight the differing perspectives on CPE between the BDL and Generalized Bayes communities: while the former primarily emphasizes the predictive performance of the PPD, the latter prioritizes the utility of the posterior under model misspecification; these distinct objectives lead to different temperature preferences.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 27 of its 67 references that are in the map. First posted on arXiv 8 Oct 2024.
Builds on
27 of 67 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2014Stochastic Gradient Hamiltonian Monte Carlocited by 341
- 2021What Are Bayesian Neural Network Posteriors Really Like?cited by 307
- 2019Cyclical Stochastic Gradient MCMC for Bayesian Deep Learningcited by 203
- 2013A General Framework for Updating Belief Distributionscited by 172
- 2015On the properties of variational approximations of Gibbs posteriorscited by 121
- 2021Bayesian Neural Network Priors Revisitedcited by 121
- 2021Scalable Marginal Likelihood Estimation for Model Selection in Deep Learningcited by 105
- 2019Rank-normalization, folding, and localization: An improved widehatR for assessing convergence of MCMCcited by 90
- 2017Concentration of tempered posteriors and of their variational approximationscited by 66
15 more
- 2020A statistical theory of cold posteriors in deep neural networkscited by 53
- 2020Deep Learning is Singular, and That's Goodcited by 49
- 2017Assigning a value to a power likelihood in a general Bayesian modelcited by 46
- 2022On Uncertainty, Tempering, and Data Augmentation in Bayesian Classificationcited by 46
- 2021Data augmentation in Bayesian neural networks and the cold posterior effectcited by 36
- 2017General Bayesian Updating and the Loss-Likelihood Bootstrapcited by 34
- 2020Temperature check: theory and practice for training models with softmax-cross-entropy lossescited by 31
- 2015Calibrating general posterior credible regionscited by 26
- 2020Cold Posteriors and Aleatoric Uncertaintycited by 22
- 2022How Tempering Fixes Data Augmentation in Bayesian Neural Networkscited by 13
- 2023The Interpolating Information Criterion for Overparameterized Modelscited by 11
- 2022Are you using test log-likelihood correctly?cited by 8
- 2024Can a Confident Prior Replace a Cold Posterior?cited by 5
- 2021Posterior Temperature Optimization in Variational Inference for Inverse Problemscited by 3
- 2021Calibrating generalized predictive distributionscited by 3
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Diffusion differentiable resamplingcited by 2
- 2025Diffusion differentiable resampling11 Dec 2025