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

MP-GELU贝叶斯神经网络:基于GELU非线性的矩传播

MP-GELU Bayesian Neural Networks: Moment Propagation by GELU Nonlinearity

Graduate School of Information Science and Technology(信息科学技术研究生院);The University of Tokyo(东京大学)

Yuki Hirayama, Sinya Takamaeda-Yamazaki

摘要:

贝叶斯神经网络(BNNs)是不确定度量化研究的重要框架。确定性变分推理是一种利用矩传播计算预测分布和目标函数的推理方法。不幸的是,导出矩需要在非线性函数中进行计算昂贵的泰勒展开,例如整流线性单元(ReLU)或S形函数。因此,需要一种新的非线性函数,其实现比传统函数更快的力矩传播。在本文中,我们提出了一种新的非线性函数命名为矩传播高斯误差线性单元(MP-GELU),使快速推导的一阶和二阶矩的BNN。MP-GELU通过将非线性应用于输入统计数据来实现矩的分析计算,从而减少了非线性函数所需的计算成本。在回归任务的实证实验中,我们观察到所提出的MP-GELU提供了更高的预测精度和更好的不确定性质量,并且执行速度比基于ReLU的BNN更快。

英文摘要:

Bayesian neural networks (BNNs) have been an important framework in the study of uncertainty quantification. Deterministic variational inference, one of the inference methods, utilizes moment propagation to compute the predictive distributions and objective functions. Unfortunately, deriving the moments requires computationally expensive Taylor expansion in nonlinear functions, such as a rectified linear unit (ReLU) or a sigmoid function. Therefore, a new nonlinear function that realizes faster moment propagation than conventional functions is required. In this paper, we propose a novel nonlinear function named moment propagating-Gaussian error linear unit (MP-GELU) that enables the fast derivation of first and second moments in BNNs. MP-GELU enables the analytical computation of moments by applying nonlinearity to the input statistics, thereby reducing the computationally expensive calculations required for nonlinear functions. In empirical experiments on regression tasks, we observed that the proposed MP-GELU provides higher prediction accuracy and better quality of uncertainty with faster execution than those of ReLU-based BNNs.

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

↑