Nonparametric Uncertainty Quantification for Single Deterministic Neural Network
About
This paper proposes a fast and scalable method for uncertainty quantification of machine learning models' predictions. First, we show the principled way to measure the uncertainty of predictions for a classifier based on Nadaraya-Watson's nonparametric estimate of the conditional label distribution. Importantly, the proposed approach allows to disentangle explicitly aleatoric and epistemic uncertainties. The resulting method works directly in the feature space. However, one can apply it to any neural network by considering an embedding of the data induced by the network. We demonstrate the strong performance of the method in uncertainty estimation tasks on text classification problems and a variety of real-world image datasets, such as MNIST, SVHN, CIFAR-100 and several versions of ImageNet.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Out-of-Distribution Detection | CIFAR-100 SVHN in-distribution out-of-distribution (test) | AUROC89.7 | 90 | |
| Out-of-Distribution Detection | ImageNet-O | AUROC0.824 | 74 | |
| Out-of-Distribution Detection | CIFAR-100 (in-distribution) / LSUN (out-of-distribution) (test) | AUROC92.3 | 67 | |
| Out-of-Distribution Detection | CIFAR100 (ID) vs SVHN (OOD) (test) | AUROC89.7 | 40 | |
| Out-of-Distribution Detection | CIFAR-100 In-distribution vs Smooth (OOD) | AUC96.8 | 22 | |
| Out-of-Distribution Detection | ImageNet-R | ROC AUC0.995 | 9 | |
| OOD Detection | CIFAR-100 (in-distribution) and LSUN (out-of-distribution) (test) | ROC AUC92.3 | 6 | |
| Out-of-Distribution Detection | ImageNet-R (test) | ROC-AUC99.5 | 5 | |
| Out-of-Distribution Detection | ImageNet-O (test) | -- | 5 |