Entropy Maximization and Meta Classification for Out-Of-Distribution Detection in Semantic Segmentation

Robin Chan, Matthias Rottmann, Hanno Gottschalk
12/9/2020
234 citations
cs.CVcs.LG

Official code: robin-chan/meta-ood (47 stars, Python, last commit 2021-09-02).

Abstract

Deep neural networks (DNNs) for the semantic segmentation of images are usually trained to operate on a predefined closed set of object classes. This is in contrast to the "open world" setting where DNNs are envisioned to be deployed to.

Show full abstract

From a functional safety point of view, the ability to detect so-called "out-of-distribution" (OoD) samples, i.e., objects outside of a DNN's semantic space, is crucial for many applications such as automated driving. A natural baseline approach to OoD detection is to threshold on the pixel-wise softmax entropy. We present a two-step procedure that significantly improves that approach. Firstly, we utilize samples from the COCO dataset as OoD proxy and introduce a second training objective to maximize the softmax entropy on these samples. Starting from pretrained semantic segmentation networks we re-train a number of DNNs on different in-distribution datasets and consistently observe improved OoD detection performance when evaluating on completely disjoint OoD datasets. Secondly, we perform a transparent post-processing step to discard false positive OoD samples by so-called "meta classification". To this end, we apply linear models to a set of hand-crafted metrics derived from the DNN's softmax probabilities. In our experiments we consistently observe a clear additional gain in OoD detection performance, cutting down the number of detection errors by up to 52% when comparing the best baseline with our results. We achieve this improvement sacrificing only marginally in original segmentation performance. Therefore, our method contributes to safer DNNs with more reliable overall system performance.

View on arXivView PDF

Code Implementations(1)

4711Python, CythonDec 7, 20205 years ago

Similar Papers

Cite this paper

@article{chan2020entropy,
  title  = {Entropy Maximization and Meta Classification for Out-Of-Distribution Detection in Semantic Segmentation},
  author = {Robin Chan and Matthias Rottmann and Hanno Gottschalk},
  year   = {2020},
  eprint = {2012.06575},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.06575}
}

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

Discussion