[Paper Review] Evaluating Large-Vocabulary Object Detectors: The Devil is in the Details
This paper identifies a critical flaw in standard average precision (AP) evaluation for large-vocabulary object detectors: the per-image detection limit enables 'gaming' via unintuitive re-ranking, which inflates AP without improving calibration. To fix this, the authors propose a category-independent AP variant and a pooled AP${}^\text{Pool}$ metric that directly measures cross-category calibration, showing that explicit calibration boosts SOTA performance by 1.7 AP${}^\text{Pool}$ points.
By design, average precision (AP) for object detection aims to treat all classes independently: AP is computed independently per category and averaged. On one hand, this is desirable as it treats all classes equally. On the other hand, it ignores cross-category confidence calibration, a key property in real-world use cases. Unfortunately, under important conditions (i.e., large vocabulary, high instance counts) the default implementation of AP is neither category independent, nor does it directly reward properly calibrated detectors. In fact, we show that on LVIS the default implementation produces a gameable metric, where a simple, un-intuitive re-ranking policy can improve AP by a large margin. To address these limitations, we introduce two complementary metrics. First, we present a simple fix to the default AP implementation, ensuring that it is independent across categories as originally intended. We benchmark recent LVIS detection advances and find that many reported gains do not translate to improvements under our new evaluation, suggesting recent improvements may arise from difficult to interpret changes to cross-category rankings. Given the importance of reliably benchmarking cross-category rankings, we consider a pooled version of AP (AP-Pool) that rewards properly calibrated detectors by directly comparing cross-category rankings. Finally, we revisit classical approaches for calibration and find that explicitly calibrating detectors improves state-of-the-art on AP-Pool by 1.7 points
Motivation & Objective
- To expose how the standard AP evaluation metric can be gamed via counterintuitive re-ranking policies due to per-image detection limits.
- To propose a corrected, category-independent AP implementation that ensures true class-wise independence in evaluation.
- To introduce AP${}^\text{Pool}$ as a principled metric that directly measures cross-category confidence calibration.
- To demonstrate that explicit model calibration significantly improves performance on the new AP${}^\text{Pool}$ metric.
- To re-evaluate recent detection advances under the new metrics and reveal that many reported gains are artifacts of cross-category ranking rather than true performance improvements.
Proposed method
- Replace the per-image detection limit with a per-class detection limit across the entire evaluation set to ensure category independence in AP computation.
- Introduce AP${}^\text{Pool}$ by pooling all detections across all categories and computing a single precision-recall curve, analogous to micro-averaging in information retrieval.
- Use a normalized linear layer in the classifier head with a learnable temperature parameter to improve calibration and generalization.
- Implement a joint objectness and classification scoring mechanism by multiplying the objectness score with the class probability score at inference.
- Apply score calibration techniques to the final detection scores to improve cross-category ranking and AP${}^\text{Pool}$ performance.
- Fine-tune classifier heads with re-initialized weights and a two-phase training schedule to improve generalization on long-tailed distributions.
Experimental results
Research questions
- RQ1Can the standard AP metric be manipulated through re-ranking strategies that discard high-confidence true positives in favor of lower-confidence detections?
- RQ2To what extent do recent detection improvements on LVIS stem from better cross-category ranking rather than genuine category-wise performance gains?
- RQ3How can AP be redefined to ensure true category independence in evaluation, eliminating unintended cross-category interactions?
- RQ4Can a pooled AP metric (AP${}^\text{Pool}$) serve as a principled measure of cross-category confidence calibration in large-vocabulary detection?
- RQ5Does explicit model calibration lead to measurable improvements on the new AP${}^\text{Pool}$ metric, and can it achieve SOTA performance?
Key findings
- A simple re-ranking policy that reduces detections for frequent classes and increases them for rare classes can significantly boost standard AP, even when discarding higher-confidence true positives and adding lower-confidence false positives.
- The standard AP implementation is not truly category-independent due to the per-image detection limit, which introduces unintended cross-category dependencies.
- Many recent improvements reported on LVIS under standard AP do not translate to gains under the new category-independent AP evaluation, indicating they stem from changes in cross-category ranking rather than actual detection quality.
- Explicit calibration of detection scores improves state-of-the-art performance on AP${}^\text{Pool}$ by 1.7 points, demonstrating the value of the new metric.
- The proposed AP${}^\text{Pool}$ metric effectively measures cross-category ranking and rewards detectors that rank true positives ahead of false positives across all classes.
- The use of a normalized classifier head with temperature scaling and proper retraining schedules leads to improved calibration and better generalization on long-tailed LVIS.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.