arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.05757stat.MLcs.LGstat.COstat.ME
收藏

贝叶斯深度学习的温度优化

Temperature Optimization for Bayesian Deep Learning

Department of Econometrics and Business Statistics(经济计量学与商业统计系);Monash University(墨尔本大学);Department of Electrical and Electronic Engineering(电气与电子工程系);University of Melbourne(墨尔本大学);School of Mathematics and Statistics(数学与统计学学院)

Kenyon Ng, Chris van der Heide, Liam Hodgkinson, Susan Wei

AI总结:

本文提出一种数据驱动方法,将温度视为模型参数直接从数据估计,以优化贝叶斯深度学习中的冷后验效应温度,性能与网格搜索相当且成本更低,并揭示了BDL与广义贝叶斯社区的不同温度偏好。

摘要:

冷后验效应(CPE)是贝叶斯深度学习(BDL)中的一种现象,其中将后验温度调低至冷温度通常能提高后验预测分布(PPD)的预测性能。尽管术语“CPE”暗示较低温度本质上更好,但BDL社区日益认识到情况并非总是如此。尽管如此,目前仍缺乏除网格搜索之外的系统性方法来寻找最优温度。在本工作中,我们提出了一种数据驱动的方法来选择最大化测试对数预测密度的温度,将温度视为模型参数并直接从数据中估计。我们通过实验证明,在回归和分类任务中,我们的方法性能与网格搜索相当,而成本仅为网格搜索的一小部分。最后,我们强调了BDL社区和广义贝叶斯社区对CPE的不同观点:前者主要强调PPD的预测性能,而后者则优先考虑模型误设下后验的效用;这些不同的目标导致了不同的温度偏好。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑