Concurrent Misclassification and Out-of-Distribution Detection for Semantic Segmentation via Energy-Based Normalizing Flow

Denis Gudovskiy, Tomoyuki Okuno, Yohei Nakata
5/16/2023
cs.CVcs.AIcs.LG

No official code found. Best implementation: gudovskiy/flowenedet (12 stars, last commit 2023-11-10).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Official PyTorch code for UAI 2023 paper "Concurrent Misclassification and Out-of-Distribution Detection for Semantic Segmentation via Energy-Based Normalizing Flow"

120Shell, PythonMay 16, 20232 years ago
cityscapesenergy-based-modelfishyscapesimage-corruptionsmisclassification-detection+4 more

Cite this paper

@article{gudovskiy2023concurrent,
  title  = {Concurrent Misclassification and Out-of-Distribution Detection for Semantic Segmentation via Energy-Based Normalizing Flow},
  author = {Denis Gudovskiy and Tomoyuki Okuno and Yohei Nakata},
  year   = {2023},
  eprint = {2305.09610},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.09610v1}
}

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

Discussion