[Paper Review] Application of Decision Rules for Handling Class Imbalance in Semantic Segmentation
The paper compares Bayes (MAP) and Maximum Likelihood decision rules for pixel-wise semantic segmentation on an unbalanced street-scene dataset, showing ML improves recall for rare classes but increases false positives and lowers overall mIoU.
As part of autonomous car driving systems, semantic segmentation is an essential component to obtain a full understanding of the car's environment. One difficulty, that occurs while training neural networks for this purpose, is class imbalance of training data. Consequently, a neural network trained on unbalanced data in combination with maximum a-posteriori classification may easily ignore classes that are rare in terms of their frequency in the dataset. However, these classes are often of highest interest. We approach such potential misclassifications by weighting the posterior class probabilities with the prior class probabilities which in our case are the inverse frequencies of the corresponding classes in the training dataset. More precisely, we adopt a localized method by computing the priors pixel-wise such that the impact can be analyzed at pixel level as well. In our experiments, we train one network from scratch using a proprietary dataset containing 20,000 annotated frames of video sequences recorded from street scenes. The evaluation on our test set shows an increase of average recall with regard to instances of pedestrians and info signs by $25\%$ and $23.4\%$, respectively. In addition, we significantly reduce the non-detection rate for instances of the same classes by $61\%$ and $38\%$.
Motivation & Objective
- motivate handling extreme class imbalance in semantic segmentation for autonomous driving.
- investigate pixel-wise priors as a localization of class priors.
- evaluate ML vs Bayes decision rules at inference on a proprietary, unbalanced dataset.
- analyze precision, recall, and IoU for rare vs common classes.
- provide insights on combining or leveraging both decision rules for uncertainty and active learning.
Proposed method
- Use pixel-wise priors computed from the training set to bias the ML decision rule during inference without changing training.
- Compare Bayes (MAP) and Maximum Likelihood decision rules at pixel level on FRRN-based semantic segmentation.
- Smooth priors with a Gaussian filter and apply a lower bound to avoid division by zero.
- Evaluate on 200 test images with 12 classes using mIoU, precision, recall, and IoU metrics.
- Employ Monte-Carlo dropout at inference to stabilize ML predictions and post-process connected components.
Experimental results
Research questions
- RQ1Does replacing Bayes with ML at inference improve detection of rare classes (e.g., PERSON, INFO SIGN) in an unbalanced street-scene dataset?
- RQ2What is the trade-off between improved recall for rare classes and overall segmentation quality (mIoU) when using ML?
- RQ3Can localized pixel-wise priors mitigate misclassifications and how does ML interact with standard Bayes predictions?
- RQ4How does hybrid use of Bayes and ML inform uncertainty and potential active-learning opportunities?
Key findings
- ML increases recall for rare classes such as PERSON and INFO SIGN compared to Bayes.
- Overall mIoU is higher for Bayes than ML on the test set (Bayes 68.8 vs ML 63.6).
- ML produces more false positives for rare classes, leading to lower precision than Bayes (e.g., PERSON: 61.1 Bayes vs 37.4 ML; INFO: 67.6 Bayes vs 36.9 ML).
- ML reduces non-detection rate of rare classes (e.g., PERSON: Bayes misses ~36% of ground-truth objects vs ML ~17%).
- Bayes offers higher precision, while ML offers higher recall for rare classes; combining both could yield robust uncertainty masks and guide active learning.
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.