Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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. 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.

Robin Chan, Matthias Rottmann, Hanno Gottschalk• 2020

Related benchmarks

TaskDatasetResultRank
Anomaly SegmentationFishyscapes Lost & Found (test)
FPR@955.95
61
Anomaly SegmentationFishyscapes Lost & Found (val)
FPR9537.69
53
Anomaly SegmentationRoad Anomaly (test)
FPR9531.77
47
Anomaly SegmentationFishyscapes Static (val)
FPR950.1357
43
Out-of-Distribution DetectionSMIYC Obstacle (test)
AP85.07
22
Anomaly SegmentationFishyscapes Static v1 (test)
FPR958.55
18
Anomaly SegmentationFishyscapes Lost & Found v1 (test)
FPR9535.14
18
Anomaly SegmentationSMIYC Road Obstacle 2021
sIoU47.87
15
Anomaly SegmentationSMIYC Road Anomaly 2021
sIoU49.21
15
Anomaly SegmentationSMIYC-RA21 v1 (test)
AP85.47
14
Showing 10 of 24 rows

Other info

Follow for update