Pixel-wise Gradient Uncertainty for Convolutional Neural Networks applied to Out-of-Distribution Segmentation

Kira Maag, Tobias Riedlinger
3/13/2023
cs.CV

No official code found. Best implementation: tobiasriedlinger/uncertainty-gradients-seg (4 stars, last commit 2023-03-20).

Abstract

In recent years, deep neural networks have defined the state-of-the-art in semantic segmentation where their predictions are constrained to a predefined set of semantic classes. They are to be deployed in applications such as automated driving, although their categorically confined expressive power runs contrary to such open world scenarios. Thus, the detection and segmentation of objects from outside their predefined semantic space, i.e., out-of-distribution (OoD) objects, is of highest interest. Since uncertainty estimation methods like softmax entropy or Bayesian models are sensitive to erroneous predictions, these methods are a natural baseline for OoD detection. Here, we present a method for obtaining uncertainty scores from pixel-wise loss gradients which can be computed efficiently during inference. Our approach is simple to implement for a large class of models, does not require any additional training or auxiliary data and can be readily used on pre-trained segmentation models. Our experiments show the ability of our method to identify wrong pixel classifications and to estimate prediction quality at negligible computational overhead. In particular, we observe superior performance in terms of OoD segmentation to comparable baselines on the SegmentMeIfYouCan benchmark, clearly outperforming other methods.

View on arXivView PDF

Code Implementations(1)

Nvidia Semantic Segmentation monorepo

41C++, CudaMar 15, 20233 years agoNOASSERTION

Similar Papers

Cite this paper

@article{maag2023pixelwise,
  title  = {Pixel-wise Gradient Uncertainty for Convolutional Neural Networks applied to Out-of-Distribution Segmentation},
  author = {Kira Maag and Tobias Riedlinger},
  year   = {2023},
  eprint = {2303.06920},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06920v2}
}

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

Discussion