arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.10975cs.LGcs.SYeess.SY
收藏

改进基于贝叶斯最后一层神经网络的不确定性量化

Improved uncertainty quantification for neural networks with Bayesian last layer

TU Dortmund University(多特蒙德工业大学)

Felix Fiedler, Sergio Lucia

AI总结:

针对标准神经网络不确定性量化能力不足的问题,提出一种改进的贝叶斯最后一层神经网络方法,通过重写对数边际似然实现高效反向传播训练,并引入外推度量改进外推点的不确定性量化,在测试数据上取得最高对数预测密度。

摘要:

不确定性量化是机器学习中的一项重要任务,而标准神经网络(NNs)在这一任务上传统上表现不佳。这对于安全关键型应用来说可能是一个局限,在这些应用中,通常更倾向于使用具有不确定性感知的方法,如高斯过程或贝叶斯线性回归。贝叶斯神经网络是解决这一局限的一种方法。它们为所有参数假设概率分布,并产生分布式预测。然而,训练和推断通常是难以处理的,必须采用近似方法。一种有前景的近似方法是具有贝叶斯最后一层(BLL)的神经网络。它们仅在线性输出层中假设分布式权重,并产生正态分布的预测。为了近似难以处理的贝叶斯神经网络,应通过最大化边际似然来获得除最后一层外所有层中分布式权重的点估计。这在以前具有挑战性,因为在这种设置下评估边际似然的成本很高。我们提出了一种对带有BLL的NN的对数边际似然的重新表述,使得能够使用反向传播进行高效训练。此外,我们解决了外推点不确定性量化的挑战。我们提供了一个度量标准来量化外推的程度,并推导出一种方法来改进这些点的不确定性量化。我们的方法针对多变量情况进行推导,并在一项模拟研究中进行了演示。与具有固定特征的贝叶斯线性回归以及使用变分推断训练的贝叶斯神经网络相比,我们提出的方法在测试数据上实现了最高的对数预测密度。

英文摘要:

Uncertainty quantification is an important task in machine learning - a task in which standardneural networks (NNs) have traditionally not excelled. This can be a limitation for safety-critical applications, where uncertainty-aware methods like Gaussian processes or Bayesian linear regression are often preferred. Bayesian neural networks are an approach to address this limitation. They assume probability distributions for all parameters and yield distributed predictions. However, training and inference are typically intractable and approximations must be employed. A promising approximation is NNs with Bayesian last layer (BLL). They assume distributed weights only in the linear output layer and yield a normally distributed prediction. To approximate the intractable Bayesian neural network, point estimates of the distributed weights in all but the last layer should be obtained by maximizing the marginal likelihood. This has previously been challenging, as the marginal likelihood is expensive to evaluate in this setting. We present a reformulation of the log-marginal likelihood of a NN with BLL which allows for efficient training using backpropagation. Furthermore, we address the challenge of uncertainty quantification for extrapolation points. We provide a metric to quantify the degree of extrapolation and derive a method to improve the uncertainty quantification for these points. Our methods are derived for the multivariate case and demonstrated in a simulation study. In comparison to Bayesian linear regression with fixed features, and a Bayesian neural network trained with variational inference, our proposed method achieves the highest log-predictive density on test data.

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

↑