Benchmarking Object Detectors with COCO: A New Path Forward

Shweta Singh, Aayan Yadav, Jitesh Jain, Humphrey Shi, Justin Johnson, Karan Desai

Abstract

The Common Objects in Context (COCO) dataset has been instrumental in benchmarking object detectors over the past decade. Like every dataset, COCO contains subtle errors and imperfections stemming from its annotation procedure. With the advent of high-performing models, we ask whether these errors of COCO are hindering its utility in reliably benchmarking further progress. In search for an answer, we inspect thousands of masks from COCO (2017 version) and uncover different types of errors such as imprecise mask boundaries, non-exhaustively annotated instances, and mislabeled masks. Due to the prevalence of COCO, we choose to correct these errors to maintain continuity with prior research. We develop COCO-ReM (Refined Masks), a cleaner set of annotations with visibly better mask quality than COCO-2017. We evaluate fifty object detectors and find that models that predict visually sharper masks score higher on COCO-ReM, affirming that they were being incorrectly penalized due to errors in COCO-2017. Moreover, our models trained using COCO-ReM converge faster and score higher than their larger variants trained using COCO-2017, highlighting the importance of data quality in improving object detectors. With these findings, we advocate using COCO-ReM for future object detection research.

Introduction

For the past decade, the Common Objects in Context (COCO) dataset has served as the primary yardstick for computer vision progress. However, as deep learning models have reached unprecedented levels of accuracy, a "ceiling effect" has emerged. The original COCO annotations, created largely through hand-drawn polygons, are increasingly out of step with the precision of modern architectures. This discrepancy creates a bottleneck where the noise in the ground truth begins to mask the true capabilities of state-of-the-art models.

The Limitations of COCO-2017

The original COCO-2017 dataset suffers from several systematic annotation issues that hinder both evaluation and training:

  1. Imprecise Boundaries: Hand-drawn polygons often result in jagged edges and frequently ignore internal holes (e.g., the gap in a pair of scissors or a chair frame).
  2. Non-Exhaustive Labeling: Many objects present in images were simply missed during the initial annotation phase, such as individual fruits in a large cluster.
  3. Mislabeled Masks: Instances exist where multiple objects are grouped into a single mask or where objects are assigned incorrect category labels.

These errors lead to an "unfair evaluation" where a model predicting a pixel-perfect mask may receive a lower score than a model that replicates the dataset's coarse errors. Furthermore, models trained on this data learn "bad habits," such as failing to predict complex topologies even when the visual evidence is clear.

Introducing COCO-ReM (Refined Masks)

To address these challenges without losing the historical continuity of the COCO benchmark, we developed COCO-ReM. This refined dataset was created through a rigorous three-stage semi-automatic pipeline:

  • Boundary Refinement: We utilized the Segment Anything Model (SAM) to automatically sharpen mask boundaries. To ensure the highest possible standard for benchmarking, every single mask in the 5,000-image validation set was manually verified.
  • Exhaustive Annotation: To fix missing labels, we integrated high-quality annotations from the LVIS dataset and employed an ensemble of LVIS-trained models to identify and label previously ignored objects.
  • Error Correction: We performed manual cleaning to remove duplicate masks and separate instances where multiple objects were incorrectly merged.

COCO-ReM provides approximately 233,000 more instances in the training set than COCO-2017, offering a significantly richer supervision signal for training.

Key Insights and Experimental Results

Our evaluation of fifty distinct object detectors on COCO-ReM revealed several critical findings that challenge current assumptions in the field.

The "Rank Flip"

On the original COCO-2017, region-based models like ViTDet often appeared to outperform query-based models. However, when evaluated on COCO-ReM, query-based models such as Mask2Former showed a significant performance surge. This suggests that query-based models were previously being penalized for their precision; their "errors" on COCO-2017 were often actually more accurate representations of the objects than the ground truth itself.

Data Quality vs. Model Scale

One of the most striking findings is that data quality can outweigh model size. We observed that smaller models trained on the clean COCO-ReM data could match or exceed the performance of models three times their size trained on the original COCO-2017. Additionally, models trained on refined masks converged faster, as they did not have to reconcile contradictory or noisy labels during the learning process.

Universal Performance Gains

Every one of the 50 detectors we tested scored higher on COCO-ReM than on COCO-2017, even when those models were originally trained on the older, noisier data. The state-of-the-art OneFormer model, for instance, saw a massive +7.7 AP (Average Precision) increase. This gap is most pronounced at high Intersection-over-Union (IoU) thresholds, proving that COCO-ReM is a superior tool for distinguishing truly high-performing models from those that are merely adequate.

Conclusion and Future Work

While COCO-ReM represents a significant step forward, it is not without limitations. While the validation set is 100% manually verified, the training set still relies on automated SAM-based refinements which can occasionally introduce small artifacts. Future work will focus on further cleaning the training data and extending these refinement techniques to other foundational datasets.

By providing a cleaner, more exhaustive, and more precise set of annotations, COCO-ReM removes the artificial ceiling imposed by legacy data. We advocate for the adoption of COCO-ReM as the new standard for object detection research to ensure that future progress is measured accurately. The dataset is available for the community at https://cocorem.xyz.

Summary updated

BibTeX
@inproceedings{singh2024benchmarking,
  author = {Shweta Singh and Aayan Yadav and Jitesh Jain and Humphrey Shi and Justin Johnson and Karan Desai},
  title = {{Benchmarking Object Detectors with COCO: A New Path Forward}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72784-9\_16},
}
Figure