Abstract
High-quality labeled data is essential for safety-critical computer vision tasks like autonomous driving, yet pixel-level annotation is notoriously prone to human error. We present a model-agnostic "Softmin" scoring method designed to automatically detect label errors—such as missed objects, class swaps, and boundary shifts—in semantic segmentation datasets. By aggregating model-estimated likelihoods using a soft-minimum function, our approach effectively highlights suspicious regions, outperforming standard metrics like IoU and simple averaging.
Introduction
Semantic segmentation requires annotators to classify every single pixel in an image, a task that is both labor-intensive and highly susceptible to errors. In safety-critical applications like self-driving cars, these "ground truth" inaccuracies can lead to dangerous model behaviors. Common errors include overlooking small objects ("Drop"), misidentifying classes ("Swap"), or producing imprecise boundaries ("Shift").
While Label Error Detection (LED) is well-established for image classification, segmentation presents unique challenges due to its high dimensionality. Existing solutions often necessitate specialized architectures or complex training routines. This work introduces a universal, efficient, and model-agnostic scoring framework to evaluate segmentation label quality using standard pre-trained models.
Methodology: The Softmin Score
The authors evaluate several scoring methods based on "out-of-sample" predictions—likelihoods generated for data not seen during the model's training phase. The primary innovation is the Softmin score.
For each pixel, the model predicts a probability for the class assigned by the human annotator. Traditional baselines, such as Confidence-Weighted Average (CIL), average these probabilities across the entire image. However, this often allows large, correctly labeled regions (like the sky) to mask errors in smaller, critical regions (like a pedestrian).
The Softmin score addresses this by calculating a "soft" version of the minimum probability across the image. This approach effectively "zooms in" on the most suspicious pixel clusters. If a group of pixels has low model confidence, the Softmin score drops significantly, flagging the image for human review. Because it only requires predicted probabilities and original labels, it is compatible with any architecture, from DeepLabV3+ to modern Transformers.
Experimental Setup
The method was benchmarked on two datasets:
- SYNTHIA: A synthetic vehicular dataset where "perfect" labels are known. The authors injected controlled noise: Drop (removing labels), Swap (interchanging classes), and Shift (boundary sloppiness).
- CityScapes: A real-world urban dataset used to validate the detection of naturally occurring human annotation errors.
Key Results and Insights
The Softmin approach consistently outperformed traditional metrics like Intersection over Union (IoU) and simple pixel averaging:
- Detection Accuracy: On SYNTHIA "Drop" errors, Softmin achieved an AUROC of 0.951, compared to 0.921 for the standard IoU metric.
- Efficiency: Using the "Lift @ 100" metric, Softmin proved highly effective at identifying errors within the top 100 most suspicious images, minimizing the time human reviewers spend on correctly labeled data.
- Real-world Application: In CityScapes, the method successfully identified missed sidewalks, cars, and sky patches that had escaped previous quality controls.
A key insight is the "Goldilocks" nature of Softmin: it is more sensitive than a simple average but less prone to noise than a hard minimum. While Swap errors are the easiest to detect, Shift errors remain challenging because models naturally exhibit higher uncertainty at object boundaries, making it difficult to distinguish between model ambiguity and human sloppiness.
Conclusion
The Softmin score provides a robust, model-independent tool for cleaning semantic segmentation datasets. Future research will focus on improving the detection of boundary (Shift) errors by incorporating spatial connectivity analysis and integrating these scores into active learning pipelines to streamline the data annotation process.
Summary updated