[Paper Review] This is not what I imagined: Error Detection for Semantic Segmentation through Visual Dissimilarity
This paper proposes a novel visual dissimilarity-based method for detecting out-of-distribution (OoD) and misclassified instances in semantic segmentation using conditional GANs. It generates synthetic images from segmentation outputs and employs a learned dissimilarity metric to identify inconsistencies, achieving promising OoD detection but limited by high false positives due to brightness sensitivity.
There has been a remarkable progress in the accuracy of semantic segmentation due to the capabilities of deep learning. Unfortunately, these methods are not able to generalize much further than the distribution of their training data and fail to handle out-of-distribution classes appropriately. This limits the applicability to autonomous or safety critical systems. We propose a novel method leveraging generative models to detect wrongly segmented or out-of-distribution instances. Conditioned on the predicted semantic segmentation, an RGB image is generated. We then learn a dissimilarity metric that compares the generated image with the original input and detects inconsistencies introduced by the semantic segmentation. We present test cases for outlier and misclassification detection and evaluate our method qualitatively and quantitatively on multiple datasets.
Motivation & Objective
- To address the lack of local anomaly detection in semantic segmentation models, especially for out-of-distribution (OoD) and misclassified instances.
- To develop a method that enables semantic segmentation networks to detect errors beyond their training distribution, crucial for autonomous and safety-critical systems.
- To leverage generative modeling and learned dissimilarity metrics to identify inconsistencies between original and reconstructed images.
Proposed method
- A conditional GAN (cGAN) is trained to reconstruct the original input image based on the predicted semantic segmentation mask.
- The generated image is compared with the original input using a learned dissimilarity metric derived from a convolutional neural network.
- The dissimilarity score is computed per image patch to localize errors such as OoD objects or misclassifications.
- Three architecture variants—Deconvolution, Resize, and Fully Connected—are evaluated for the generator head to assess performance trade-offs.
- The dissimilarity detector is trained using a loss function that balances similarity and dissimilarity terms, with a hyperparameter λD controlling the trade-off.
- The method is evaluated on Wilddash and Mapillary Vistas datasets for both OoD and misclassification detection tasks.
Experimental results
Research questions
- RQ1Can visual dissimilarity between real and GAN-generated images effectively detect out-of-distribution (OoD) instances in semantic segmentation?
- RQ2How well can the proposed method localize misclassified or OoD objects within a single image?
- RQ3Which generator architecture (Deconvolution, Resize, Fully Connected) yields the most robust dissimilarity detection for error localization?
- RQ4How does the loss weighting parameter λD affect the performance of the dissimilarity detector?
- RQ5To what extent does brightness variation between input and generated images introduce false positives?
Key findings
- The Deconvolution-based approach achieved the highest AUC score of 0.5469 on the Mapillary Vistas dataset for OoD detection, outperforming Resize and Fully Connected.
- The Fully Connected approach showed better performance in misclassification detection, with an AUC of 0.5051, though still below ideal thresholds.
- The method achieved a high false positive rate due to sensitivity to brightness differences between input and generated images, even when semantics were consistent.
- The F1 score for the Fully Connected approach was maximized when λD was set to balance similarity and dissimilarity terms equally, indicating optimal training configuration.
- The qualitative results showed that Deconvolution and Resize methods better detected OoD instances, while the Fully Connected method was more effective for misclassification detection.
- Despite promising OoD detection performance, the overall method's utility is limited by high false positive rates, requiring further investigation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.