Towards neural networks that provably know when they don't know

Alexander Meinke, Matthias Hein
9/26/2019
cs.LGcs.CVstat.ML

Official code: AlexMeinke/certified-certain-uncertainty (39 stars, Jupyter Notebook, last commit 2021-04-16).

Abstract

It has recently been shown that ReLU networks produce arbitrarily over-confident predictions far away from the training data. Thus, ReLU networks do not know when they don't know.

Show full abstract

However, this is a highly important property in safety critical applications. In the context of out-of-distribution detection (OOD) there have been a number of proposals to mitigate this problem but none of them are able to make any mathematical guarantees. In this paper we propose a new approach to OOD which overcomes both problems. Our approach can be used with ReLU networks and provides provably low confidence predictions far away from the training data as well as the first certificates for low confidence predictions in a neighborhood of an out-distribution point. In the experiments we show that state-of-the-art methods fail in this worst-case setting whereas our model can guarantee its performance while retaining state-of-the-art OOD performance.

View on arXivView PDF

Code Implementations(1)

A way to achieve uniform confidence far away from the training data.

393Jupyter Notebook, PythonMar 19, 20195 years ago

Similar Papers

Cite this paper

@article{meinke2019towards,
  title  = {Towards neural networks that provably know when they don't know},
  author = {Alexander Meinke and Matthias Hein},
  year   = {2019},
  eprint = {1909.12180},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.12180}
}

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/1909.12180.svg)](https://codeofpaper.com/paper/1909.12180)

Discussion