arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.02063cs.LG
收藏

具有任意非线性特性的贝叶斯神经网络少样本变分推断

Few-sample Variational Inference of Bayesian Neural Networks with Arbitrary Nonlinearities

Teledyne Scientific & Imaging, LLC(泰利达科学与成像有限责任公司)

David J. Schodt

AI总结:

本文提出仅用3个确定性样本在任意非线性层中传播统计矩的方法,实现贝叶斯神经网络少样本变分推断,并设计物理信息激活函数注入先验知识。

摘要:

贝叶斯神经网络(BNNs)扩展了传统神经网络,能够提供与其输出相关的不确定性。在BNN的前向传播过程中,预测(及其不确定性)要么通过从学习到的后验中对网络权重进行蒙特卡洛采样来实现,要么通过解析地在网络中传播统计矩来实现。尽管蒙特卡洛采样灵活,但其计算开销大,在资源受限或网络规模较大的情况下可能不可行或不切实际。虽然矩传播可以改善BNN推断的计算成本,但对于具有任意非线性特性的网络而言,这种方法可能难以实现甚至不可能实现,从而限制了该方案所允许的网络层集合。在这项工作中,我们展示了一种简单而有效的方法,仅用3个确定性样本即可在任意非线性特性中传播统计矩,从而在不限制所用网络层集合的情况下实现BNN的少样本变分推断。此外,我们利用该方法展示了一种新颖的非线性激活函数,用于将物理信息先验知识注入BNN的输出节点。

英文摘要:

Bayesian Neural Networks (BNNs) extend traditional neural networks to provide uncertainties associated with their outputs. On the forward pass through a BNN, predictions (and their uncertainties) are made either by Monte Carlo sampling network weights from the learned posterior or by analytically propagating statistical moments through the network. Though flexible, Monte Carlo sampling is computationally expensive and can be infeasible or impractical under resource constraints or for large networks. While moment propagation can ameliorate the computational costs of BNN inference, it can be difficult or impossible for networks with arbitrary nonlinearities, thereby restricting the possible set of network layers permitted with such a scheme. In this work, we demonstrate a simple yet effective approach for propagating statistical moments through arbitrary nonlinearities with only 3 deterministic samples, enabling few-sample variational inference of BNNs without restricting the set of network layers used. Furthermore, we leverage this approach to demonstrate a novel nonlinear activation function that we use to inject physics-informed prior information into output nodes of a BNN.

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

↑