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

06/17/2020
by   Jeremiah Zhe Liu, et al.
20

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.

READ FULL TEXT

page 2

page 19

research
05/01/2022

A Simple Approach to Improve Single-Model Deep Uncertainty via Distance-Awareness

Accurate uncertainty quantification is a major challenge in deep learnin...
research
07/05/2023

Distance Preserving Machine Learning for Uncertainty Aware Accelerator Capacitance Predictions

Providing accurate uncertainty estimations is essential for producing re...
research
07/12/2023

A Bayesian approach to quantifying uncertainties and improving generalizability in traffic prediction models

Deep-learning models for traffic data prediction can have superior perfo...
research
03/15/2023

Efficient Uncertainty Estimation with Gaussian Process for Reliable Dialog Response Retrieval

Deep neural networks have achieved remarkable performance in retrieval-b...
research
08/24/2020

SDE-Net: Equipping Deep Neural Networks with Uncertainty Estimates

Uncertainty quantification is a fundamental yet unsolved problem for dee...
research
08/01/2023

Capsa: A Unified Framework for Quantifying Risk in Deep Neural Networks

The modern pervasiveness of large-scale deep neural networks (NNs) is dr...
research
12/14/2022

Uncertainty Quantification for Deep Neural Networks: An Empirical Comparison and Usage Guidelines

Deep Neural Networks (DNN) are increasingly used as components of larger...

Please sign up or login with your details

Forgot password? Click here to reset