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

通过距离感知的确定性深度学习进行简单而有原则的不确定性估计

Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awareness

Google Research(谷歌研究院);Harvard University(哈佛大学)

Jeremiah Zhe Liu, Zi Lin, Shreyas Padhy, Dustin Tran, Tania Bedrax-Weiss, Balaji Lakshminarayanan

摘要:

贝叶斯神经网络(BNN)和深度集成是估计深度学习模型的预测不确定性的原则性方法。然而,它们的实用性在实时,工业规模的应用是有限的,由于其沉重的内存和推理成本。这促使我们研究只需要单个深度神经网络(DNN)的高质量不确定性估计的原则方法。通过将不确定性量化形式化为极大极小学习问题,我们首先识别输入距离感知,即,模型量化测试示例与输入空间中的训练数据的距离的能力,作为DNN实现高质量的必要条件(即,最小最大最优)不确定性估计。然后,我们提出了频谱归一化神经高斯过程(SNGP),这是一种简单的方法,通过在训练过程中添加权重归一化步骤并将输出层替换为高斯过程,提高了现代DNN的距离感知能力。在一系列视觉和语言理解任务以及现代架构(Wide-ResNet和BERT)上,SNGP在预测,校准和域外检测方面与深度集成具有竞争力,并且优于其他单模型方法。

英文摘要:

Bayesian neural networks (BNN) and deep ensembles are principled approaches to estimate the predictive uncertainty of a deep learning model. However their practicality in real-time, industrial-scale applications are limited due to their heavy memory and inference cost. This motivates us to study principled approaches to high-quality uncertainty estimation that require only a single deep neural network (DNN). By formalizing the uncertainty quantification as a minimax learning problem, we first identify input distance awareness, i.e., the model's ability to quantify the distance of a testing example from the training data in the input space, as a necessary condition for a DNN to achieve high-quality (i.e., minimax optimal) uncertainty estimation. We then propose Spectral-normalized Neural Gaussian Process (SNGP), a simple method that improves the distance-awareness ability of modern DNNs, by adding a weight normalization step during training and replacing the output layer with a Gaussian process. On a suite of vision and language understanding tasks and on modern architectures (Wide-ResNet and BERT), SNGP is competitive with deep ensembles in prediction, calibration and out-of-domain detection, and outperforms the other single-model approaches.

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

↑