arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.15573cs.LGcs.CV
收藏

贝叶斯神经网络的近似消息传递

Approximate Message Passing for Bayesian Neural Networks

Hasso Plattner Institute, University of Potsdam(波茨坦大学哈索·普拉特纳研究所)

Romeo Sommerfeld, Christian Helms, Ralf Herbrich

AI总结:

本文提出将BNN预测后验建模为因子图的新消息传递框架,首个支持卷积网络并避免重复计算数据,在CIFAR-10上表现出色且校准更优。

摘要:

贝叶斯神经网络(BNNs)提供了可靠的不确定性量化和可解释性的潜力,这对于高风险领域中可信赖的AI至关重要。然而,现有方法常常难以应对诸如过度自信、超参数敏感性和后验坍缩等问题,为替代方法留下了空间。在本工作中,我们推进了BNNs的消息传递(MP),并提出了一种将预测后验建模为因子图的新框架。据我们所知,我们的框架是首个能处理卷积神经网络且避免重复计算训练数据的MP方法,而重复计算正是导致先前MP方法产生过度自信的局限。我们在CIFAR-10上使用约890k参数的卷积神经网络评估了该方法,发现它能与SOTA基线AdamW和IVON竞争,甚至在校准方面略占优势。在合成数据上,我们验证了不确定性估计,并观察到后验可信区间与它在训练范围外覆盖真实数据生成函数的概率之间存在强相关性(0.9)。尽管我们的方法可扩展至具有560万参数的MLP,但仍需进一步改进以匹配SOTA变分推断方法的规模和性能。

英文摘要:

Bayesian neural networks (BNNs) offer the potential for reliable uncertainty quantification and interpretability, which are critical for trustworthy AI in high-stakes domains. However, existing methods often struggle with issues such as overconfidence, hyperparameter sensitivity, and posterior collapse, leaving room for alternative approaches. In this work, we advance message passing (MP) for BNNs and present a novel framework that models the predictive posterior as a factor graph. To the best of our knowledge, our framework is the first MP method that handles convolutional neural networks and avoids double-counting training data, a limitation of previous MP methods that causes overconfidence. We evaluate our approach on CIFAR-10 with a convolutional neural network of roughly 890k parameters and find that it can compete with the SOTA baselines AdamW and IVON, even having an edge in terms of calibration. On synthetic data, we validate the uncertainty estimates and observe a strong correlation (0.9) between posterior credible intervals and its probability of covering the true data-generating function outside the training range. While our method scales to an MLP with 5.6 million parameters, further improvements are necessary to match the scale and performance of state-of-the-art variational inference methods.

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

↑