TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Residual Pattern Learning for Pixel-wise Out-of-Distributi...

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

Yuyuan Liu, Choubo Ding, Yu Tian, Guansong Pang, Vasileios Belagiannis, Ian Reid, Gustavo Carneiro

2022-11-26ICCV 2023 1Out of Distribution (OOD) DetectionAnomaly SegmentationScene SegmentationSegmentationAnomaly DetectionSemantic SegmentationOut-of-Distribution DetectionContrastive Learning
PaperPDFCode(official)Code

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 not only to 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 without affecting the inlier segmentation performance; and (ii) a novel context-robust contrastive learning (CoroCL) that enforces RPL to robustly detect OoD pixels among 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. Our code is available at: https://github.com/yyliu01/RPL.

Results

TaskDatasetMetricValueModel
Anomaly DetectionRoad AnomalyAP71.61RPL+CoroCL
Anomaly DetectionRoad AnomalyFPR9517.74RPL+CoroCL
Anomaly DetectionFishyscapesAP95.96RPL+CoroCL
Anomaly DetectionFishyscapesFPR950.52RPL+CoroCL
Anomaly DetectionFishyscapes L&FAP53.99RPL+CoroCL
Anomaly DetectionFishyscapes L&FFPR952.27RPL+CoroCL
Semantic SegmentationStreetHazardsOpen-mIoU56.3LDN121-RPL
Scene SegmentationStreetHazardsOpen-mIoU56.3LDN121-RPL
10-shot image generationStreetHazardsOpen-mIoU56.3LDN121-RPL

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-21Deep Learning-Based Fetal Lung Segmentation from Diffusion-weighted MRI Images and Lung Maturity Evaluation for Fetal Growth Restriction2025-07-17DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17From Variability To Accuracy: Conditional Bernoulli Diffusion Models with Consensus-Driven Correction for Thin Structure Segmentation2025-07-17Unleashing Vision Foundation Models for Coronary Artery Segmentation: Parallel ViT-CNN Encoding and Variational Fusion2025-07-17SCORE: Scene Context Matters in Open-Vocabulary Remote Sensing Instance Segmentation2025-07-17Unified Medical Image Segmentation with State Space Modeling Snake2025-07-17