通过采样鲁棒地表示深度神经网络中的不确定性
Robustly representing uncertainty in deep neural networks through sampling
摘要:
随着深度神经网络(DNN)被应用于越来越具有挑战性的问题,它们将需要能够表示自己的不确定性。建模不确定性是贝叶斯方法的关键特征之一。最近提出了使用Bernoulli dropout在预测时间采样作为DNN的高效且性能良好的变分推理方法。然而,从其他基于乘性噪声的变分分布的采样尚未被深入研究。我们评估了使用伯努利或高斯乘法掩蔽单元(dropout)或权重(dropconnect)训练的贝叶斯DNN。我们在MNIST和CIFAR-10上测试了贝叶斯卷积神经网络(CNN)概率预测的校准。在预测时间采样增加了DNN的概率预测的校准。采样权重,无论是高斯或伯努利,导致更强大的代表性的不确定性相比,采样的单位。然而,使用高斯或伯努利dropout导致测试集分类精度增加。基于这些发现,我们同时使用了Bernoulli dropconnect和Gaussian dropconnect,我们表明这近似于使用尖峰和平板变分分布,而不增加学习参数的数量。我们发现,尖峰和平板采样具有更高的测试集性能比高斯dropconnect和更鲁棒地表示其不确定性相比,伯努利dropout。
英文摘要:
As deep neural networks (DNNs) are applied to increasingly challenging problems, they will need to be able to represent their own uncertainty. Modeling uncertainty is one of the key features of Bayesian methods. Using Bernoulli dropout with sampling at prediction time has recently been proposed as an efficient and well performing variational inference method for DNNs. However, sampling from other multiplicative noise based variational distributions has not been investigated in depth. We evaluated Bayesian DNNs trained with Bernoulli or Gaussian multiplicative masking of either the units (dropout) or the weights (dropconnect). We tested the calibration of the probabilistic predictions of Bayesian convolutional neural networks (CNNs) on MNIST and CIFAR-10. Sampling at prediction time increased the calibration of the DNNs' probabalistic predictions. Sampling weights, whether Gaussian or Bernoulli, led to more robust representation of uncertainty compared to sampling of units. However, using either Gaussian or Bernoulli dropout led to increased test set classification accuracy. Based on these findings we used both Bernoulli dropout and Gaussian dropconnect concurrently, which we show approximates the use of a spike-and-slab variational distribution without increasing the number of learned parameters. We found that spike-and-slab sampling had higher test set performance than Gaussian dropconnect and more robustly represented its uncertainty compared to Bernoulli dropout.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。