Detecting Anomalies in Semantic Segmentation with Prototypes
Not on the map. Why?
Abstract (arXiv)
Traditional semantic segmentation methods can recognize at test time only the classes that are present in the training set. This is a significant limitation, especially for semantic segmentation algorithms mounted on intelligent autonomous systems, deployed in realistic settings. Regardless of how many classes the system has seen at training time, it is inevitable that unexpected, unknown objects will appear at test time. The failure in identifying such anomalies may lead to incorrect, even dangerous behaviors of the autonomous agent equipped with such segmentation model when deployed in the real world. Current state of the art of anomaly segmentation uses generative models, exploiting their incapability to reconstruct patterns unseen during training. However, training these models is expensive, and their generated artifacts may create false anomalies. In this paper we take a different route and we propose to address anomaly segmentation through prototype learning. Our intuition is that anomalous pixels are those that are dissimilar to all class prototypes known by the model. We extract class prototypes from the training data in a lightweight manner using a cosine similarity-based classifier. Experiments on StreetHazards show that our approach achieves the new state of the art, with a significant margin over previous works, despite the reduced computational overhead. Code is available at https://github.com/DarioFontanel/PAnS.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 40 of its 44 references that are in the map. First posted on arXiv 1 Jun 2021.
Builds on
40 of 44 references.
References · 40
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,431
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
28 more
- 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,295
- 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
- 2018Dual Attention Network for Scene Segmentationcited by 1,001
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
- 2016RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentationcited by 463
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2018Dynamic Few-Shot Visual Learning without Forgettingcited by 385
- 2018Context Encoding for Semantic Segmentationcited by 289
- 2018To Trust Or Not To Trust A Classifiercited by 205
- 2020Modeling the Background for Incremental Learning in Semantic Segmentationcited by 189
- 2019Addressing Failure Prediction by Learning Model Confidencecited by 183
- 2020Attribute Prototype Network for Zero-Shot Learningcited by 160
- 2018Deep Autoencoding Models for Unsupervised Anomaly Segmentation in Brain MR Imagescited by 146
- 2019Incremental Learning Techniques for Semantic Segmentationcited by 141
- 2018OCNet: Object Context Network for Scene Parsingcited by 140
- 2019Detecting the Unexpected via Image Resynthesiscited by 137
- 2018Robust Classification with Convolutional Prototype Learningcited by 122
- 2020Context Prior for Scene Segmentationcited by 121
- 2018Learning a Discriminative Feature Network for Semantic Segmentationcited by 114
- 2020Synthesize then Compare: Detecting Failures and Anomalies for Semantic Segmentationcited by 96
- 2019Hyperspherical Prototype Networkscited by 85
- 2017In-Place Activated BatchNorm for Memory-Optimized Training of DNNscited by 81
- 2017Cosine Normalization: Using Cosine Similarity Instead of Dot Product in Neural Networkscited by 58
- 2018ExFuse: Enhancing Feature Fusion for Semantic Segmentationcited by 41
- 2018Anomaly Detection using Deep Learning based Image Completioncited by 27
- 2019Convolutional Prototype Learning for Zero-Shot Recognitioncited by 3
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 3; 2024: 1; 2025: 4; 2026: 1.
13 papers.
Sort:
By area:
- 2023Unmasking Anomalies in Road-Scene Segmentationcited by 45
- 2022FedDrive: Generalizing Federated Learning to Semantic Segmentation in Autonomous Drivingcited by 41
- 2022RBC: Rectifying the Biased Context in Continual Semantic Segmentationcited by 27
- 2023Mask2Anomaly: Mask Transformer for Universal Open-set Segmentationcited by 18
- 20223DOS: Towards 3D Open Set Learning -- Benchmarking and Understanding Semantic Novelty Detection on Point Cloudscited by 11
- 2023One-class Damage Detector Using Deeper Fully-Convolutional Data Descriptions for Civil Applicationcited by 5
- 2021Anomaly Discovery in Semantic Segmentation via Distillation Comparison Networkscited by 0
- 2024Feature Purified Transformer With Cross-level Feature Guiding Decoder For Multi-class OOD and Anomaly Detecitoncited by 0
- 2025Panoramic Out-of-Distribution Segmentationcited by 0
- 2025SASep: Saliency-Aware Structured Separation of Geometry and Feature for Open Set Learning on Point Cloudscited by 0
- 2025SODA: Out-of-Distribution Detection in Domain-Shifted Point Clouds via Neighborhood Propagationcited by 0
- 2025Anomalous Decision Discovery using Inverse Reinforcement Learningcited by 0
- 2026BUSSARD: Normalizing Flows for Bijective Universal Scene-Specific Anomalous Relationship Detection17 Mar 2026
- 2025Anomalous Decision Discovery using Inverse Reinforcement Learning6 Jul 2025
- 2025SODA: Out-of-Distribution Detection in Domain-Shifted Point Clouds via Neighborhood Propagation27 Jun 2025
- 2025SASep: Saliency-Aware Structured Separation of Geometry and Feature for Open Set Learning on Point Clouds16 Jun 2025
- 2025Panoramic Out-of-Distribution Segmentation6 May 2025
- 2024Feature Purified Transformer With Cross-level Feature Guiding Decoder For Multi-class OOD and Anomaly Deteciton30 Apr 2024
- 2023Mask2Anomaly: Mask Transformer for Universal Open-set Segmentation8 Sep 2023
- 2023Unmasking Anomalies in Road-Scene Segmentation25 Jul 2023
- 2023One-class Damage Detector Using Deeper Fully-Convolutional Data Descriptions for Civil Application3 Mar 2023
- 20223DOS: Towards 3D Open Set Learning -- Benchmarking and Understanding Semantic Novelty Detection on Point Clouds23 Jul 2022
- 2022RBC: Rectifying the Biased Context in Continual Semantic Segmentation16 Mar 2022
- 2022FedDrive: Generalizing Federated Learning to Semantic Segmentation in Autonomous Driving28 Feb 2022
1 more
- 2023Unmasking Anomalies in Road-Scene Segmentationcited by 45
- 2022FedDrive: Generalizing Federated Learning to Semantic Segmentation in Autonomous Drivingcited by 41
- 2022RBC: Rectifying the Biased Context in Continual Semantic Segmentationcited by 27
- 2023Mask2Anomaly: Mask Transformer for Universal Open-set Segmentationcited by 18
- 20223DOS: Towards 3D Open Set Learning -- Benchmarking and Understanding Semantic Novelty Detection on Point Cloudscited by 11
- 2023One-class Damage Detector Using Deeper Fully-Convolutional Data Descriptions for Civil Applicationcited by 5
- 2021Anomaly Discovery in Semantic Segmentation via Distillation Comparison Networkscited by 0
- 2024Feature Purified Transformer With Cross-level Feature Guiding Decoder For Multi-class OOD and Anomaly Detecitoncited by 0
- 2025Panoramic Out-of-Distribution Segmentationcited by 0
- 2025SASep: Saliency-Aware Structured Separation of Geometry and Feature for Open Set Learning on Point Cloudscited by 0
- 2025SODA: Out-of-Distribution Detection in Domain-Shifted Point Clouds via Neighborhood Propagationcited by 0
- 2026BUSSARD: Normalizing Flows for Bijective Universal Scene-Specific Anomalous Relationship Detectioncited by 0
- 2026BUSSARD: Normalizing Flows for Bijective Universal Scene-Specific Anomalous Relationship Detection17 Mar 2026
- 2025SODA: Out-of-Distribution Detection in Domain-Shifted Point Clouds via Neighborhood Propagation27 Jun 2025
- 2025SASep: Saliency-Aware Structured Separation of Geometry and Feature for Open Set Learning on Point Clouds16 Jun 2025
- 2025Panoramic Out-of-Distribution Segmentation6 May 2025
- 2024Feature Purified Transformer With Cross-level Feature Guiding Decoder For Multi-class OOD and Anomaly Deteciton30 Apr 2024
- 2023Mask2Anomaly: Mask Transformer for Universal Open-set Segmentation8 Sep 2023
- 2023Unmasking Anomalies in Road-Scene Segmentation25 Jul 2023
- 2023One-class Damage Detector Using Deeper Fully-Convolutional Data Descriptions for Civil Application3 Mar 2023
- 20223DOS: Towards 3D Open Set Learning -- Benchmarking and Understanding Semantic Novelty Detection on Point Clouds23 Jul 2022
- 2022RBC: Rectifying the Biased Context in Continual Semantic Segmentation16 Mar 2022
- 2022FedDrive: Generalizing Federated Learning to Semantic Segmentation in Autonomous Driving28 Feb 2022
- 2021Anomaly Discovery in Semantic Segmentation via Distillation Comparison Networks18 Dec 2021