arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.19780stat.MLcs.LGcs.NAmath.NAmath.PRstat.COstat.ME
收藏

基于对称小批量分裂朗之万动力学的贝叶斯神经网络后验采样

Sampling from Bayesian Neural Network Posteriors with Symmetric Minibatch Splitting Langevin Dynamics

Nanyang Technological U.(南洋理工大学);ETH Zürich(苏黎世联邦理工学院);City University of Hong Kong(香港城市大学);University of Edinburgh(爱丁堡大学)

Daniel Paulin, Peter A. Whalley, Neil K. Chada, Benedict Leimkuhler

AI总结:

本文提出对称小批量分裂朗之万动力学采样算法 SMS-UBU,在仅用一个小批量的情况下实现 $O(h^2 d^{1/2})$ 偏差控制,并在多个数据集上验证其采样的贝叶斯神经网络具有更优的校准性能。

摘要:

我们提出了一种可扩展的动力学朗之万动力学算法,用于对大数据和人工智能应用的参数空间进行采样。我们的方案将对小批量的对称前向/后向扫描与朗之万动力学的对称离散化相结合。对于一种特定的朗之万分裂方法(UBU),我们证明所得的对称小批量分裂-UBU(SMS-UBU)积分器在维度 $d>0$、步长 $h>0$ 下具有 $O(h^2 d^{1/2})$ 的偏差,尽管每次迭代仅使用一个小批量,从而在采样偏差随步长变化的控制方面提供了出色的表现。我们将该算法应用于探索贝叶斯神经网络(BNNs)后验分布的局部模式,并在三个不同数据集(Fashion-MNIST、Celeb-A 和胸部 X 光片)上,针对具有卷积神经网络架构的分类问题,评估了神经网络后验预测概率的校准性能。我们的结果表明,与标准训练方法和随机权重平均相比,使用 SMS-UBU 采样的 BNNs 可以提供显著更好的校准性能。

英文摘要:

We propose a scalable kinetic Langevin dynamics algorithm for sampling parameter spaces of big data and AI applications. Our scheme combines a symmetric forward/backward sweep over minibatches with a symmetric discretization of Langevin dynamics. For a particular Langevin splitting method (UBU), we show that the resulting Symmetric Minibatch Splitting-UBU (SMS-UBU) integrator has bias $O(h^2 d^{1/2})$ in dimension $d>0$ with stepsize $h>0$, despite only using one minibatch per iteration, thus providing excellent control of the sampling bias as a function of the stepsize. We apply the algorithm to explore local modes of the posterior distribution of Bayesian neural networks (BNNs) and evaluate the calibration performance of the posterior predictive probabilities for neural networks with convolutional neural network architectures for classification problems on three different datasets (Fashion-MNIST, Celeb-A and chest X-ray). Our results indicate that BNNs sampled with SMS-UBU can offer significantly better calibration performance compared to standard methods of training and stochastic weight averaging.

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

↑