HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

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 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.

Code Repositories

yyliu01/rpl
Official
pytorch
Mentioned in GitHub
yyliu01/it2
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-fishyscapes-1RPL+CoroCL
AP: 95.96
FPR95: 0.52
anomaly-detection-on-fishyscapes-l-fRPL+CoroCL
AP: 53.99
FPR95: 2.27
anomaly-detection-on-road-anomalyRPL+CoroCL
AP: 71.61
FPR95: 17.74
scene-segmentation-on-streethazardsLDN121-RPL
Open-mIoU: 56.3

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp