Unmasking Anomalies in Road-Scene Segmentation
About
Anomaly segmentation is a critical task for driving applications, and it is approached traditionally as a per-pixel classification problem. However, reasoning individually about each pixel without considering their contextual semantics results in high uncertainty around the objects' boundaries and numerous false positives. We propose a paradigm change by shifting from a per-pixel classification to a mask classification. Our mask-based method, Mask2Anomaly, demonstrates the feasibility of integrating an anomaly detection method in a mask-classification architecture. Mask2Anomaly includes several technical novelties that are designed to improve the detection of anomalies in masks: i) a global masked attention module to focus individually on the foreground and background regions; ii) a mask contrastive learning that maximizes the margin between an anomaly and known classes; and iii) a mask refinement solution to reduce false positives. Mask2Anomaly achieves new state-of-the-art results across a range of benchmarks, both in the per-pixel and component-level evaluations. In particular, Mask2Anomaly reduces the average false positives rate by 60% wrt the previous state-of-the-art. Github page: https://github.com/shyam671/Mask2Anomaly-Unmasking-Anomalies-in-Road-Scene-Segmentation.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Anomaly Segmentation | Fishyscapes Lost & Found (val) | FPR959.46 | 53 | |
| Anomaly Segmentation | Road Anomaly (test) | FPR9513.45 | 47 | |
| Anomaly Segmentation | Fishyscapes Static (val) | FPR950.0198 | 43 | |
| Anomaly Segmentation | Fishyscapes Static v1 (test) | FPR950.82 | 18 | |
| Anomaly Segmentation | Fishyscapes Lost & Found v1 (test) | FPR954.36 | 18 | |
| Anomaly Segmentation | SMIYC Road Anomaly 2021 | sIoU60.4 | 15 | |
| Anomaly Segmentation | SMIYC Road Obstacle 2021 | sIoU61.4 | 15 | |
| Anomaly Segmentation | SMIYC-RO21 v1 (test) | AP93.3 | 14 | |
| Anomaly Segmentation | SMIYC-RA21 v1 (test) | AP88.7 | 14 | |
| Anomaly Segmentation | SMIYC RA 2021 (test) | AuPRC88.7 | 12 |