Know Your Limits: Uncertainty Estimation with ReLU Classifiers Fails at Reliable OOD Detection

Dennis Ulmer, Giovanni Cinà
12/9/2020
cs.LGcs.AI

Official code: Kaleidophon/know-your-limits (10 stars, Jupyter Notebook, last commit 2022-02-03).

Abstract

A crucial requirement for reliable deployment of deep learning models for safety-critical applications is the ability to identify out-of-distribution (OOD) data points, samples which differ from the training data and on which a model might underperform. Previous work has attempted to tackle this problem using uncertainty estimation techniques.

Show full abstract

However, there is empirical evidence that a large family of these techniques do not detect OOD reliably in classification tasks. This paper gives a theoretical explanation for said experimental findings and illustrates it on synthetic data. We prove that such techniques are not able to reliably identify OOD samples in a classification setting, since their level of confidence is generalized to unseen areas of the feature space. This result stems from the interplay between the representation of ReLU networks as piece-wise affine transformations, the saturating nature of activation functions like softmax, and the most widely-used uncertainty metrics.

View on arXivView PDF

Code Implementations(1)

Repository for UAI 2021 paper "Know Your Limits: Uncertainty Estimation with ReLU Classifiers Fail at Reliable OOD Detection".

100Jupyter Notebook, PythonJan 6, 20214 years ago
neural-networksoodood-detectionreluuncertainty-estimation

Similar Papers

Cite this paper

@article{ulmer2020know,
  title  = {Know Your Limits: Uncertainty Estimation with ReLU Classifiers Fails at Reliable OOD Detection},
  author = {Dennis Ulmer and Giovanni Cinà},
  year   = {2020},
  eprint = {2012.05329},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.05329}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.05329.svg)](https://codeofpaper.com/paper/2012.05329)

Discussion