Abstract
For a decade, the Common Objects in Context (COCO) dataset has been the definitive benchmark for object detection. However, its reliance on coarse polygon annotations has created a "benchmarking paradox" where high-precision models are penalized for exceeding the accuracy of the ground truth. We present COCO-ReM (Refined Masks), a significantly cleaner version of the dataset. By refining mask boundaries and addressing missing annotations, we demonstrate that current state-of-the-art models are more capable than previously measured. Our findings show a "ranking flip" in model performance, suggesting that data quality, rather than just model scale, is the primary bottleneck for future progress.
Introduction: The Benchmarking Paradox
The COCO dataset's annotations were originally created using simple polygons, resulting in coarse, straight-edged boundaries. Furthermore, many objects lack annotations entirely, and complex geometries with holes are often incorrectly filled. As computer vision models have evolved, they have begun producing masks that are more accurate than these "gold standard" labels. This discrepancy leads to a scenario where models are penalized for precision, obscuring the true state of progress in the field.
Methods: The COCO-ReM Pipeline
To address these limitations, we developed a semi-automatic pipeline to produce COCO-ReM:
- Mask Boundary Refinement: We utilized the Segment Anything Model (SAM) to "shrink-wrap" existing COCO masks, generating pixel-precise boundaries that accurately handle complex edges and internal holes.
- Exhaustive Annotation: Missing objects were identified by integrating high-quality annotations from the LVIS dataset and employing an ensemble of top-performing detectors to find previously unlabelled instances.
- Manual Verification: The entire validation set (over 36,000 instances) underwent rigorous manual inspection and correction to establish a true "gold standard."
- Label Correction: We identified and resolved nearly 400 instances of duplicate masks where objects were mislabeled or double-counted.
Key Insights and Results
The "Ranking Flip"
The most significant discovery is the shift in model rankings. On the original COCO-2017, region-based models (e.g., ViTDet) often outperformed query-based models (e.g., Mask2Former). However, on COCO-ReM, this ranking is reversed. Query-based models produce cleaner, sharper masks that were previously penalized by the "jagged" ground truth of COCO-2017. COCO-ReM finally provides a benchmark that rewards this superior precision.
Data Quality vs. Model Scale
Our experiments show that a smaller model trained on high-quality COCO-ReM masks can match or exceed the performance of a model three times its size trained on original, noisy COCO data. This underscores that improving data quality can be a more efficient path to performance gains than simply increasing parameter counts.
Performance Gains and Convergence
Every one of the 50 models tested showed improved scores on COCO-ReM. The state-of-the-art OneFormer model experienced a massive +7.7 Average Precision (AP) increase. Additionally, models trained on COCO-ReM reached peak performance faster, indicating that cleaner labels provide a more effective learning signal.
Conclusion
COCO-ReM reveals that our best AI models are significantly better than the industry standard has suggested. By fixing the "polygon-era" limitations of COCO, we provide a clearer path for evaluating high-precision object detectors. We advocate for the community to adopt COCO-ReM as the new standard for training and evaluation in computer vision.
Summary updated