Analysis of Confident-Classifiers for Out-of-distribution Detection

Sachin Vernekar, Ashish Gaurav, Taylor Denouden, Buu Phan, Vahdat Abdelzad +2 more
4/27/2019
cs.LGcs.CVstat.ML

Official code: sverneka/ConfidentClassifierICLR19 (5 stars, Jupyter Notebook, last commit 2019-07-04).

Abstract

Discriminatively trained neural classifiers can be trusted, only when the input data comes from the training distribution (in-distribution). Therefore, detecting out-of-distribution (OOD) samples is very important to avoid classification errors.

Show full abstract

In the context of OOD detection for image classification, one of the recent approaches proposes training a classifier called "confident-classifier" by minimizing the standard cross-entropy loss on in-distribution samples and minimizing the KL divergence between the predictive distribution of OOD samples in the low-density regions of in-distribution and the uniform distribution (maximizing the entropy of the outputs). Thus, the samples could be detected as OOD if they have low confidence or high entropy. In this paper, we analyze this setting both theoretically and experimentally. We conclude that the resulting confident-classifier still yields arbitrarily high confidence for OOD samples far away from the in-distribution. We instead suggest training a classifier by adding an explicit "reject" class for OOD samples.

View on arXivView PDF

Code Implementations(1)

Code for ICLR 2019 SafeML workshop paper: Analysis of Confident-Classifiers for Out-of-distribution Detection

54Jupyter NotebookApr 19, 20197 years ago
keras-2-2-4python2-7tensorflow-gpu-1-4-0

Similar Papers

Cite this paper

@article{vernekar2019analysis,
  title  = {Analysis of Confident-Classifiers for Out-of-distribution Detection},
  author = {Sachin Vernekar and Ashish Gaurav and Taylor Denouden and Buu Phan and Vahdat Abdelzad and Rick Salay and Krzysztof Czarnecki},
  year   = {2019},
  eprint = {1904.12220},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.12220}
}

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

Discussion