Abstract
Recently, detection of label errors and improvement of label quality in datasets for supervised learning tasks has become an increasingly important goal in both research and industry. The consequences of incorrectly annotated data include reduced model performance, biased benchmark results, and lower overall accuracy. Current state-of-the-art label error detection methods often focus on a single computer vision task and, consequently, a specific type of dataset, containing, for example, either bounding boxes or pixel-wise annotations. Furthermore, previous methods are not learning-based. In this work, we overcome this research gap. We present a unified method for detecting label errors in object detection, semantic segmentation, and instance segmentation datasets. In a nutshell, our approach—learning to detect label errors by making them—works as follows: we inject different kinds of label errors into the ground truth. Then, the detection of label errors, across all mentioned primary tasks, is framed as an instance segmentation problem based on a composite input. In our experiments, we compare the label error detection performance of our method with various baselines and state-of-the-art approaches of each task's domain on simulated label errors across multiple tasks, datasets, and base models. This is complemented by a generalization study on real-world label errors. Additionally, we release 459 real label errors identified in the Cityscapes dataset and provide a benchmark for real label error detection in Cityscapes.
Introduction
Deep learning performance is fundamentally constrained by the quality of training data. However, generating high-quality annotations for complex vision tasks like object detection and segmentation is a major bottleneck. Human annotators, even experts, are prone to errors such as missing objects ("drops"), misclassifying categories ("flips"), or hallucinating non-existent objects ("spawns").
While tools exist for identifying errors in simple image classification, complex spatial tasks present a greater challenge. Current state-of-the-art methods typically rely on hand-crafted heuristics, such as analyzing loss values or uncertainty scores, and are usually restricted to a single data type (e.g., only bounding boxes). This paper introduces a unified, learning-based framework designed to detect errors across multiple vision tasks by training a "meta-detector" on intentionally injected synthetic errors.
Methodology: Learning by Making Errors
The core philosophy of this approach is that to find an error, a model must first learn what an error looks like. The framework consists of three main components:
1. The Perturbation Algorithm
To train the detector, the authors start with "clean" ground truth and intentionally introduce noise. This involves randomly dropping existing labels, flipping class labels to incorrect categories, or spawning entirely new, random polygons. This creates a training set where the "ground truth" for the error detector is the known location and type of the injected noise.
2. The Input Stack and Meta-Task
The error detector (an instance segmentation model, such as Cascade Mask-RCNN) does not look at the image in isolation. Instead, it receives a composite "input stack" that includes the original RGB image, the Ground Truth (GT) under inspection, and a prediction from a "reference model" (a standard model trained on the primary task). Some variants also include a "difference mask" that explicitly highlights where the GT and the reference prediction disagree.
By framing error detection as an instance segmentation problem, the method remains task-agnostic. Whether the original labels were bounding boxes or pixel masks, the output is always a mask identifying the location and category of the label error.
Experimental Results
The method was validated across five diverse datasets: Cityscapes and ADE20K (semantic segmentation), Pascal VOC and COCO (object detection), and LIVECell (instance segmentation).
Performance on Simulated Errors
On the Cityscapes dataset, the proposed method achieved an Average Precision (AP) of 61.74 for error detection. This significantly outperforms the previous best baseline (DNN+UQ), which achieved only 4.47 AP. Across nearly all tasks, the method maintained a recall of 85-95%, ensuring that the vast majority of injected errors were flagged for review.
Discovery of Real-World Errors
A key finding is that the model generalizes remarkably well from simulated noise to real human mistakes. When applied to supposedly "clean" datasets, the model identified 459 real label errors in the Cityscapes validation set (now released as a benchmark), 95 real errors in a random sample of 200 LIVECell images, and 35 real errors in a random sample of 200 COCO images.
Discussion and Conclusion
While highly effective, the system's performance is partially dependent on the quality of the reference model. If the reference model consistently fails on specific rare objects, the error detector may incorrectly flag correct human labels as errors. Furthermore, while the perturbation algorithm is robust, it may not capture every nuance of human error, such as subtle boundary inaccuracies.
The authors argue that in data cleaning, high recall is more critical than precision; it is preferable to present a human reviewer with a few false positives than to miss critical errors that could impact safety-critical applications like autonomous driving. Future work may involve using more advanced backbones, such as Vision Transformers, to further improve precision and reduce manual verification effort.
Summary updated