Concurrent Misclassification and Out-of-Distribution Detection for Semantic Segmentation via Energy-Based Normalizing Flow
About
Recent semantic segmentation models accurately classify test-time examples that are similar to a training dataset distribution. However, their discriminative closed-set approach is not robust in practical data setups with distributional shifts and out-of-distribution (OOD) classes. As a result, the predicted probabilities can be very imprecise when used as confidence scores at test time. To address this, we propose a generative model for concurrent in-distribution misclassification (IDM) and OOD detection that relies on a normalizing flow framework. The proposed flow-based detector with an energy-based inputs (FlowEneDet) can extend previously deployed segmentation models without their time-consuming retraining. Our FlowEneDet results in a low-complexity architecture with marginal increase in the memory footprint. FlowEneDet achieves promising results on Cityscapes, Cityscapes-C, FishyScapes and SegmentMeIfYouCan benchmarks in IDM/OOD detection when applied to pretrained DeepLabV3+ and SegFormer semantic segmentation models.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Semantic segmentation | Cityscapes (test) | mIoU81.1 | 1145 | |
| Out-of-Distribution Detection | SMIYC Obstacle (test) | AP73.7 | 22 | |
| Anomaly Detection | Fishyscapes Lost & Found (val) | AP56.11 | 21 | |
| Anomaly Detection | Fishyscapes Static (val) | AUROC98.3 | 20 | |
| Concurrent IDM/OOD detection | Cityscapes (val) | Open mIoU86.6 | 13 | |
| Concurrent IDM/OOD detection | Cityscapes-C (val) | open-mIoU74.5 | 13 | |
| Concurrent IDM/OOD detection | Cityscapes-C snow-only (val) | mIoU (Open)54.3 | 13 | |
| Out-of-Distribution Detection | Fishyscapes Lost & Found (test) | AP50.15 | 11 | |
| Out-of-Distribution Detection | Fishyscapes Static (test) | AP67.8 | 11 | |
| Out-of-Distribution Detection | SMIYC Lost & Found (test) | AP79.8 | 10 |