Automated Model Evaluation for Object Detection via Prediction Consistency and Reliability

Seungju Yoo, Hyuk Kwon, Joong-Won Hwang, Kibok Lee

TL;DR

This paper introduces AutoEval, a novel framework for automatically evaluating object detection models without ground-truth labels. It proposes "Prediction Consistency and Reliability" (PCR), a method that analyzes the spatial alignment and confidence scores of bounding box predictions before and after Non-Maximum Suppression (NMS). PCR achieves state-of-the-art performance in estimating model accuracy, outperforming existing methods, and is validated on a new, more realistic corruption-based meta-dataset.

What Problem Does This Paper Address?

Evaluating machine learning models, especially in computer vision, is crucial before deployment. However, obtaining accurate performance metrics for object detection models in new, real-world environments is challenging and costly due to the need for manual annotation of test data. Existing automated evaluation (AutoEval) methods, primarily developed for image classification, often fall short for object detection. This is because object detection performance is sensitive to a wider range of factors like scale variations, occlusion, and background clutter, which simple feature distribution comparisons (used in image classification AutoEval) don't fully capture. The paper aims to bridge this gap by developing an effective and scalable AutoEval method specifically for object detection.

Methods

The core of the paper is the Prediction Consistency and Reliability (PCR) metric. PCR leverages the intermediate outputs of object detectors, specifically the multiple candidate bounding boxes generated before Non-Maximum Suppression (NMS).

  1. Prediction Consistency: This component measures how consistently a detector focuses on a particular region. It involves:
  2. Merging pre-NMS boxes: All pre-NMS boxes that overlap with a final (post-NMS) prediction are merged into a single "merged box."
    • Measuring IoU and Closeness: The consistency is then calculated as the average of the Intersection over Union (IoU) between the final prediction and the merged box, and a "closeness" score. The closeness score quantifies the normalized distance between the centers of the final prediction and the merged box, ensuring scale invariance.
  3. Confidence-based weighting: This consistency score is weighted by the confidence of the final prediction, with a stronger emphasis on low-confidence predictions, as these are more likely to indicate misdetections.
  4. Prediction Reliability: This component assesses how confident the detector is in its predictions. It measures the proportion of pre-NMS boxes that overlap with a final prediction and have high confidence scores. High reliability suggests that multiple candidate boxes consistently agree on the presence and location of an object, indicating a robust detection.

These two scores (consistency and reliability) are then used to train a linear regression model that predicts the Mean Average Precision (mAP) of the object detector on an unseen dataset.

Datasets

The authors introduce a corruption-based meta-dataset for evaluating AutoEval methods. This dataset is constructed by applying various image corruptions (e.g., Gaussian noise, snow, fog, defocus blur) at five different severity levels to existing datasets. This approach is designed to be more realistic and scalable than augmentation-based meta-datasets, as it simulates real-world environmental shifts and covers a broader spectrum of detection performance.

For evaluation, they used the following source datasets for vehicle detection: COCO, BDD, Cityscapes, DETRAC, ExDark, KITTI, Self-driving, Roboflow, Udacity, and Traffic. For pedestrian detection, they used: COCO, Caltech, CrowdHuman, Cityscapes, Self-driving, ExDark, EuroCity, KITTI, and CityPersons.

Key Insights and Ideas

  • Pre-NMS boxes are rich in information: The paper highlights that the candidate bounding boxes generated before NMS, which are typically discarded, contain valuable information about localization and confidence that can be leveraged for evaluation.
  • Consistency and Reliability are key indicators: The proposed PCR metric effectively captures two crucial aspects of detection performance: how consistently the model localizes objects (even when incorrect) and how reliably it assigns high confidence to correct detections.
  • Corruption-based meta-datasets are more realistic: The authors argue that artificial data augmentations may not adequately represent real-world environmental shifts, and their corruption-based approach provides a more faithful benchmark for evaluating AutoEval methods.
  • Low-confidence predictions are informative for failure cases: The consistency score's emphasis on low-confidence predictions is crucial for identifying detection failures, as these often correspond to regions where the model consistently mislocalizes or detects non-existent objects.

Key Results

  • State-of-the-art AutoEval performance: PCR consistently outperforms existing AutoEval methods (PS, ES, AC, ATC, BoS) across various object detection models (RetinaNet, Faster R-CNN with ResNet-50 and Swin Transformer backbones) and meta-datasets.
  • Lowest RMSE: PCR achieves the lowest average Root Mean Squared Error (RMSE) for mAP estimation, indicating highly accurate predictions. For vehicle detection, the average RMSE was 5.03, and for pedestrian detection, it was 3.60.
  • Best performance rank: PCR consistently achieved the best average performance rank across all experiments.
  • Robustness across severity levels: The proposed method demonstrates robustness across different severity levels of image corruptions, maintaining accurate performance estimates.
  • Effectiveness of combined components: Ablation studies show that combining both consistency and reliability scores yields better performance than using either score alone, highlighting their complementary nature.

Limitations and Future Work

  • Stochasticity of BoS: The paper notes that the BoS baseline is stochastic due to MC dropout, requiring averaging over multiple runs for fair comparison.
  • Hyperparameter tuning: While the paper provides implementation details and hyperparameter tuning results, the optimal settings for PCR might still require careful tuning for specific applications.
  • Future work: The authors suggest that their work provides a solid foundation for future research on AutoEval for object detection. The developed PCR metric and the corruption-based meta-dataset can be extended and applied to other computer vision tasks. The paper also hints at the potential of combining PCR with other methods like BoS for further performance gains.

Summary updated

BibTeX
@inproceedings{yoo2025automated,
  author = {Seungju Yoo and Hyuk Kwon and Joong-Won Hwang and Kibok Lee},
  title = {{Automated Model Evaluation for Object Detection via Prediction Consistency and Reliability}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure