Residual Pattern Learning for Pixel-Wise Out-of-Distribution Detection in Semantic Segmentation

Abstract

Semantic segmentation models classify pixels into a set of known ("in-distribution") visual classes. When deployed in an open world, the reliability of these models depends on their ability to not only classify in-distribution pixels but also to detect out-of-distribution (OoD) pixels. Historically, the poor OoD detection performance of these models has motivated the design of methods based on model re-training using synthetic training images that include OoD visual objects. Although successful, these re-trained methods have two issues: 1) their in-distribution segmentation accuracy may drop during re-training, and 2) their OoD detection accuracy does not generalise well to new contexts (e.g., country surroundings) outside the training set (e.g., city surroundings). In this paper, we mitigate these issues with: (i) a new residual pattern learning (RPL) module that assists the segmentation model to detect OoD pixels with minimal deterioration to the inlier segmentation performance; and (ii) a novel context-robust contrastive learning (CoroCL) that enforces RPL to robustly detect OoD pixels in various contexts. Our approach improves by around 10% FPR and 7% AuPRC the previous state-of-the-art in Fishyscapes, Segment-Me-If-You-Can, and RoadAnomaly datasets. Code will be available.

Cite

Text

Liu et al. "Residual Pattern Learning for Pixel-Wise Out-of-Distribution Detection in Semantic Segmentation." International Conference on Computer Vision, 2023. doi:10.1109/ICCV51070.2023.00112

Markdown

[Liu et al. "Residual Pattern Learning for Pixel-Wise Out-of-Distribution Detection in Semantic Segmentation." International Conference on Computer Vision, 2023.](https://mlanthology.org/iccv/2023/liu2023iccv-residual/) doi:10.1109/ICCV51070.2023.00112

BibTeX

@inproceedings{liu2023iccv-residual,
  title     = {{Residual Pattern Learning for Pixel-Wise Out-of-Distribution Detection in Semantic Segmentation}},
  author    = {Liu, Yuyuan and Ding, Choubo and Tian, Yu and Pang, Guansong and Belagiannis, Vasileios and Reid, Ian and Carneiro, Gustavo},
  booktitle = {International Conference on Computer Vision},
  year      = {2023},
  pages     = {1151-1161},
  doi       = {10.1109/ICCV51070.2023.00112},
  url       = {https://mlanthology.org/iccv/2023/liu2023iccv-residual/}
}