arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.00832cs.LGstat.ML
收藏

使用Delta方法量化深度学习分类中的认知不确定性

Epistemic Uncertainty Quantification in Deep Learning Classification by the Delta Method

University of Bergen(卑尔根大学)

Geir K. Nilsen, Antonella Z. Munthe-Kaas, Hans J. Skaug, Morten Brun

摘要:

Delta方法是量化统计模型中认知不确定性的经典方法,但由于参数$P$数量庞大,无法直接应用于深度神经网络。我们基于Fisher信息矩阵的顶部$K$特征对,提出了适用于$L_2$正则化深度神经网络的Delta方法的低成本变体。我们解决有效的计算满秩近似特征分解的精确逆Hessian,梯度近似的逆外积或所谓的三明治估计。此外,我们提供了一个界的预测类概率的不确定性的近似误差。我们观察到,当Fisher信息矩阵的最小特征值接近$L_2$ -正则化率时,即使当$K\ll P$时,近似误差也接近于零。使用TensorFlow实现演示了该方法,并且我们表明,使用MNIST和CIFAR-10数据集,可以为两个基于LeNet的神经网络获得基于预测不确定性的有意义的图像排名。此外,我们观察到假阳性平均具有比真阳性更高的预测认知不确定性。这表明,在不确定性度量中存在着单独分类无法获取的补充信息。

英文摘要:

The Delta method is a classical procedure for quantifying epistemic uncertainty in statistical models, but its direct application to deep neural networks is prevented by the large number of parameters $P$. We propose a low cost variant of the Delta method applicable to $L_2$-regularized deep neural networks based on the top $K$ eigenpairs of the Fisher information matrix. We address efficient computation of full-rank approximate eigendecompositions in terms of either the exact inverse Hessian, the inverse outer-products of gradients approximation or the so-called Sandwich estimator. Moreover, we provide a bound on the approximation error for the uncertainty of the predictive class probabilities. We observe that when the smallest eigenvalue of the Fisher information matrix is near the $L_2$-regularization rate, the approximation error is close to zero even when $K\ll P$. A demonstration of the methodology is presented using a TensorFlow implementation, and we show that meaningful rankings of images based on predictive uncertainty can be obtained for two LeNet-based neural networks using the MNIST and CIFAR-10 datasets. Further, we observe that false positives have on average a higher predictive epistemic uncertainty than true positives. This suggests that there is supplementing information in the uncertainty measure not captured by the classification alone.

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

↑