Multi-Class Data Description for Out-of-distribution Detection

Dongha Lee, Sehun Yu, Hwanjo Yu
4/2/2021
cs.LG

Official code: donalee/DeepMCDD (22 stars, Python, last commit 2021-04-07).

Abstract

The capability of reliably detecting out-of-distribution samples is one of the key factors in deploying a good classifier, as the test distribution always does not match with the training distribution in most real-world applications. In this work, we present a deep multi-class data description, termed as Deep-MCDD, which is effective to detect out-of-distribution (OOD) samples as well as classify in-distribution (ID) samples.

Show full abstract

Unlike the softmax classifier that only focuses on the linear decision boundary partitioning its latent space into multiple regions, our Deep-MCDD aims to find a spherical decision boundary for each class which determines whether a test sample belongs to the class or not. By integrating the concept of Gaussian discriminant analysis into deep neural networks, we propose a deep learning objective to learn class-conditional distributions that are explicitly modeled as separable Gaussian distributions. Thereby, we can define the confidence score by the distance of a test sample from each class-conditional distribution, and utilize it for identifying OOD samples. Our empirical evaluation on multi-class tabular and image datasets demonstrates that Deep-MCDD achieves the best performances in distinguishing OOD samples while showing the classification accuracy as high as the other competitors.

View on arXivView PDF

Code Implementations(1)

donalee/DeepMCDDOfficial100%

Multi-class Data Description for Out-of-distribution Detection

227PythonMay 21, 20205 years ago

Similar Papers

Cite this paper

@article{lee2021multiclass,
  title  = {Multi-Class Data Description for Out-of-distribution Detection},
  author = {Dongha Lee and Sehun Yu and Hwanjo Yu},
  year   = {2021},
  eprint = {2104.00941},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.00941}
}

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

Discussion