Provably Robust Detection of Out-of-distribution Data (almost) for free

Alexander Meinke, Julian Bitterwolf, Matthias Hein
6/8/2021
cs.LGcs.AIcs.CV

Official code: AlexMeinke/Provable-OOD-Detection (31 stars, Python, MIT, last commit 2022-10-12).

Abstract

The application of machine learning in safety-critical systems requires a reliable assessment of uncertainty. However, deep neural networks are known to produce highly overconfident predictions on out-of-distribution (OOD) data.

Show full abstract

Even if trained to be non-confident on OOD data, one can still adversarially manipulate OOD data so that the classifier again assigns high confidence to the manipulated samples. We show that two previously published defenses can be broken by better adapted attacks, highlighting the importance of robustness guarantees around OOD data. Since the existing method for this task is hard to train and significantly limits accuracy, we construct a classifier that can simultaneously achieve provably adversarially robust OOD detection and high clean accuracy. Moreover, by slightly modifying the classifier's architecture our method provably avoids the asymptotic overconfidence problem of standard neural networks. We provide code for all our experiments.

View on arXivView PDF

Code Implementations(1)

MIT

Guarantees on the behavior of neural networks don't always have to come at the cost of performance.

315PythonMay 27, 20214 years agoMIT

Similar Papers

Cite this paper

@article{meinke2021provably,
  title  = {Provably Robust Detection of Out-of-distribution Data (almost) for free},
  author = {Alexander Meinke and Julian Bitterwolf and Matthias Hein},
  year   = {2021},
  eprint = {2106.04260},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.04260}
}

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

Discussion