Despite tremendous success of modern neural networks, they are known to be overconfident even when the model encounters inputs with unfamiliar conditions. Detecting such inputs is vital to preventing models from making naive predictions that may jeopardize real-world applications of neural networks. In this paper, we address the challenging problem of devising a simple yet effective measure of uncertainty in deep neural networks. Specifically, we propose to utilize backpropagated gradients to quantify the uncertainty of trained models. Gradients depict the required amount of change for a model to properly represent given inputs, thus providing a valuable insight into how familiar and certain the model is regarding the inputs. We demonstrate the effectiveness of gradients as a measure of model uncertainty in applications of detecting unfamiliar inputs, including out-of-distribution and corrupted samples. We show that our gradient-based method outperforms state-of-the-art methods by up to 4.8% of AUROC score in out-of-distribution detection and 35.7% in corrupted input detection.
Uncertainty-Aware Gradient Stabilization for Small Object Detection
School of Electronic Information Engineering, Beihang University(电子信息工程学院,北航);School of Artificial Intelligence, Beihang University(人工智能学院,北航);Zhongguancun Laboratory, Beijing, China(中关村实验室,北京,中国);State Key Laboratory of Media Convergence and Communication, CUC(媒体融合与传播国家重点实验室,CUC)
Uncertainty quantification in non-rigid image registration via stochastic gradient Markov chain Monte Carlo
Imperial College London(帝国理工学院);Technische Universität München(慕尼黑工业大学);Sharif University of Technology(谢里夫理工大学);Friedrich-Alexander-Universität Erlangen-Nürnberg(埃尔朗根-纽伦堡大学)