arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.18425cs.LG
收藏

简化贝叶斯深度学习中的预测

Streamlining Prediction in Bayesian Deep Learning

Aalto University(阿尔托大学)

Rui Li, Marcus Klasson, Arno Solin, Martin Trapp

AI总结:

本文提出在贝叶斯深度学习中利用激活函数局部线性化和线性层局部高斯近似,实现无采样的单次前向预测,并在 MLP、ViT、GPT-2 的回归与分类任务中验证。

摘要:

人们对贝叶斯深度学习(BDL)日益增长的兴趣催生了大量用于估计后验分布的方法。然而,预测等推断的高效计算在很大程度上被忽视,Monte Carlo 积分仍是标准做法。在本工作中,我们研究如何通过单次前向传播且不进行采样来简化 BDL 中的预测。为此,我们对激活函数采用局部线性化,并在线性层采用局部高斯近似,从而能够以解析方式计算后验预测分布的近似。我们在 MLP 以及 ViT 和 GPT-2 等 transformer 上展示了该方法,并在回归和分类任务上评估其性能。开源库:https://github.com/AaltoML/SUQ

英文摘要:

The rising interest in Bayesian deep learning (BDL) has led to a plethora of methods for estimating the posterior distribution. However, efficient computation of inferences, such as predictions, has been largely overlooked with Monte Carlo integration remaining the standard. In this work we examine streamlining prediction in BDL through a single forward pass without sampling. For this we use local linearisation on activation functions and local Gaussian approximations at linear layers. Thus allowing us to analytically compute an approximation to the posterior predictive distribution. We showcase our approach for both MLP and transformers, such as ViT and GPT-2, and assess its performance on regression and classification tasks. Open-source library: https://github.com/AaltoML/SUQ

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

↑