Skip to main content
QUICK REVIEW

[Paper Review] Simple and Scalable Epistemic Uncertainty Estimation Using a Single Deep Deterministic Neural Network

Joost van Amersfoort, Lewis Smith|arXiv (Cornell University)|Mar 4, 2020
Anomaly Detection Techniques and ApplicationsComputer Science13 citations
TL;DR

This paper introduces Deterministic Uncertainty Quantification (DUQ), a single deep deterministic neural network that estimates epistemic uncertainty and detects out-of-distribution inputs in a single forward pass. By combining RBF-inspired architecture with a novel loss function and gradient penalty, DUQ achieves state-of-the-art or competitive performance on OOD detection benchmarks like FashionMNIST vs. MNIST and CIFAR-10 vs. SVHN, matching softmax model accuracy while scaling efficiently.

ABSTRACT

We propose a method for training a deterministic deep model that can find and reject out of distribution data points at test time with a single forward pass. Our approach, deterministic uncertainty quantification (DUQ), builds upon ideas of RBF networks. We scale training in these with a novel loss function and centroid updating scheme and match the accuracy of softmax models. By enforcing detectability of changes in the input using a gradient penalty, we are able to reliably detect out of distribution data. Our uncertainty quantification scales well to large datasets, and using a single model, we improve upon or match Deep Ensembles in out of distribution detection on notable difficult dataset pairs such as FashionMNIST vs. MNIST, and CIFAR-10 vs. SVHN.

Motivation & Objective

  • To develop a scalable method for estimating epistemic uncertainty in deep neural networks without ensembling.
  • To enable reliable out-of-distribution (OOD) detection at test time using only a single forward pass.
  • To match the accuracy of softmax-based models while improving OOD detection performance.
  • To scale uncertainty estimation to large datasets using a deterministic architecture.

Proposed method

  • The method uses a deep deterministic neural network with radial basis function (RBF)-inspired hidden units to model uncertainty.
  • A novel loss function is introduced to train the network end-to-end while enforcing detectability of distributional shifts.
  • Centroid updating is used during training to stabilize and scale the RBF-based representation learning.
  • A gradient penalty is applied to ensure the model's output changes detectably in response to distributional shifts.
  • The model is trained to produce high uncertainty scores for out-of-distribution inputs during inference.
  • The entire uncertainty quantification pipeline operates in a single forward pass at test time.

Experimental results

Research questions

  • RQ1Can a single deterministic deep neural network achieve competitive OOD detection performance without model ensembling?
  • RQ2How effectively can RBF-based architectures with a novel loss function detect distributional shifts in test-time inputs?
  • RQ3To what extent does gradient penalty improve the detectability of out-of-distribution samples in a deterministic model?
  • RQ4Can the proposed method scale to large-scale datasets while maintaining high accuracy and uncertainty calibration?

Key findings

  • DUQ matches the accuracy of softmax-based models on standard image classification benchmarks.
  • On the challenging FashionMNIST vs. MNIST OOD detection task, DUQ improves upon or matches the performance of Deep Ensembles.
  • On the CIFAR-10 vs. SVHN OOD detection benchmark, DUQ achieves state-of-the-art or competitive results with a single model.
  • The method enables reliable OOD detection using only a single forward pass, significantly improving inference efficiency.
  • The gradient penalty effectively enhances the model's sensitivity to distributional shifts, improving detection reliability.
  • The proposed training scheme with centroid updating and a novel loss function enables scalable training on large datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.