Skip to main content
QUICK REVIEW

[Paper Review] Efficacy of Pixel-Level OOD Detection for Semantic Segmentation

Matt Angus, Krzysztof Czarnecki|arXiv (Cornell University)|Nov 7, 2019
Advanced Neural Network ApplicationsComputer Science23 references6 citations
TL;DR

This paper adapts state-of-the-art image-level out-of-distribution (OOD) detection methods—Max Softmax, ODIN, Mahalanobis, and Confidence—for pixel-level OOD detection in semantic segmentation, introducing a new metric (MaxIoU) and two custom datasets. It finds that performance rankings from image-level OOD detection do not transfer to pixel-level detection, and all methods perform significantly worse than their image-level counterparts.

ABSTRACT

The detection of out of distribution samples for image classification has been widely researched. Safety critical applications, such as autonomous driving, would benefit from the ability to localise the unusual objects causing the image to be out of distribution. This paper adapts state-of-the-art methods for detecting out of distribution images for image classification to the new task of detecting out of distribution pixels, which can localise the unusual objects. It further experimentally compares the adapted methods on two new datasets derived from existing semantic segmentation datasets using PSPNet and DeeplabV3+ architectures, as well as proposing a new metric for the task. The evaluation shows that the performance ranking of the compared methods does not transfer to the new task and every method performs significantly worse than their image-level counterparts.

Motivation & Objective

  • To enable localized OOD detection in semantic segmentation by adapting image-level OOD methods to operate at the pixel level.
  • To address safety-critical applications such as autonomous driving, where identifying OOD objects (e.g., unexpected crates on roads) is crucial.
  • To evaluate whether top-performing image-level OOD methods retain their efficacy when adapted to pixel-level detection.
  • To introduce a new evaluation metric, MaxIoU, tailored to pixel-level OOD detection by combining OOD detection and semantic segmentation performance.
  • To create two new benchmark datasets derived from Cityscapes and IDD, containing both in-distribution and out-of-distribution pixels for evaluation.

Proposed method

  • Adapts four top-performing image-level OOD detection methods—Max Softmax, ODIN, Mahalanobis, and Confidence—to operate on per-pixel features from semantic segmentation networks.
  • Applies architectural modifications such as a 1×1 convolutional layer (dim reduction) to reduce feature dimensionality for Mahalanobis distance computation.
  • Uses the penultimate layer activations of PSPNet and DeeplabV3+ to compute OOD scores via Mahalanobis distance, temperature scaling (ODIN), or maximum softmax probability.
  • Introduces MaxIoU, a new metric that combines IoU of OOD predictions with in-distribution segmentation accuracy, evaluating both localization and classification fidelity.
  • Employs threshold-independent evaluation metrics (e.g., AUC, FPR95) to assess OOD detection performance across different OOD detection thresholds.
  • Generates two new datasets by inserting OOD objects (e.g., crates, animals) into real scenes from Cityscapes and IDD, preserving realistic context and class overlap.

Experimental results

Research questions

  • RQ1Can state-of-the-art image-level OOD detection methods be effectively adapted to detect out-of-distribution pixels in semantic segmentation?
  • RQ2Does the performance ranking of image-level OOD methods hold when transferred to the pixel-level detection task?
  • RQ3How do different OOD detection methods compare in terms of localization accuracy and robustness across diverse segmentation architectures and datasets?
  • RQ4To what extent do classical computer vision techniques (e.g., morphological operations) improve OOD detection by removing false positives at class boundaries?
  • RQ5What are the dominant failure modes of pixel-level OOD detectors, and how do they differ from image-level counterparts?

Key findings

  • The performance ranking of image-level OOD detection methods does not transfer to the pixel-level task; methods like ODIN and Mahalanobis, which perform well at image level, do not always dominate at pixel level.
  • All pixel-level OOD detection methods perform significantly worse than their image-level counterparts, indicating a substantial drop in detection capability when moving from image to pixel-level analysis.
  • ODIN and Mahalanobis achieve the best performance on the SUN dataset with PSPNet, outperforming VarSum, Mutual Information, and Confidence by a significant margin.
  • Mutual Information achieves the best performance on the IDD dataset with DeeplabV3+, with other methods closely following, suggesting method-specific effectiveness depending on architecture and data.
  • Classical computer vision techniques (e.g., erosion, dilation) applied to OOD prediction maps improved performance by only ~0.001 in AUC, indicating minimal practical benefit for boundary refinement.
  • A major failure mode is misclassifying flooded roads or shadows as in-distribution, while incorrectly flagging class boundaries as OOD, highlighting a need for better disambiguation in future methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.