[论文解读] Evaluating Large-Vocabulary Object Detectors: The Devil is in the Details
本文揭示了大规模词汇量目标检测中标准平均精度(AP)评估的关键缺陷:每张图像的检测数量限制使得通过反直觉的重排序策略可以‘操纵’AP,从而在不提升校准能力的情况下虚增AP。为解决此问题,作者提出一种与类别无关的AP变体以及一个直接衡量跨类别校准能力的聚合AP${}^\text{Pool}$指标,实验证明显式校准可使SOTA性能提升1.7个AP${}^\text{Pool}$点。
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
研究动机与目标
- 揭示由于每张图像检测数量限制,标准AP评估指标可通过反直觉的重排序策略被‘操纵’的原因。
- 提出一种经过校正的、与类别无关的AP实现方式,以确保评估中真正的类别独立性。
- 引入AP${}^\text{Pool}$作为一项合理度量,直接衡量跨类别的置信度校准能力。
- 证明显式模型校准可显著提升新AP${}^\text{Pool}$指标上的性能。
- 在新度量标准下重新评估近期检测方法的进展,揭示许多报告的性能提升实则源于跨类别排序变化,而非真正的性能改进。
提出的方法
- 将每张图像的检测数量限制替换为在整个评估集中按类别进行的检测数量限制,以确保AP计算中的类别独立性。
- 通过将所有类别中的检测结果合并,计算单一的精确率-召回率曲线,从而引入AP${}^\text{Pool}$,其原理类似于信息检索中的微平均法。
- 在分类头中使用归一化线性层,并引入可学习的温度参数以提升校准能力和泛化性能。
- 在推理阶段通过将目标性分数与类别概率分数相乘,实现目标性与分类分数的联合评分机制。
- 对最终的检测分数应用分数校准技术,以改善跨类别排序和AP${}^\text{Pool}$性能。
- 通过重新初始化权重和采用两阶段训练策略,微调分类头,以提升在长尾分布上的泛化能力。
实验结果
研究问题
- RQ1是否可以通过重排序策略,通过舍弃高置信度真正正例而优先保留低置信度检测,来操纵标准AP指标?
- RQ2近期在LVIS上报告的检测性能提升,有多少程度源于更好的跨类别排序,而非真正的类别内性能提升?
- RQ3如何重新定义AP,以确保评估中真正的类别独立性,消除意外的跨类别交互影响?
- RQ4聚合AP指标(AP${}^\text{Pool}$)能否作为衡量大规模词汇量检测中跨类别置信度校准的合理指标?
- RQ5显式模型校准是否能在新AP${}^\text{Pool}$指标上带来可测量的性能提升?是否可实现SOTA性能?
主要发现
- 一种简单的重排序策略,即减少常见类别的检测数量、增加罕见类别的检测数量,可显著提升标准AP,即使在此过程中舍弃了更高置信度的真正正例,并引入了更低置信度的假正例。
- 由于每张图像的检测数量限制,标准AP实现并非真正类别独立,该限制引入了意外的跨类别依赖关系。
- 许多近期在LVIS上基于标准AP报告的性能提升,在新的类别独立AP评估下并未体现为实际增益,表明这些提升主要源于跨类别排序的变化,而非检测质量的真实提升。
- 对检测分数进行显式校准,可使SOTA性能在AP${}^\text{Pool}$指标上提升1.7个点,充分证明了新指标的有效性。
- 所提出的AP${}^\text{Pool}$指标能有效衡量跨类别排序能力,并奖励那些在所有类别中均将真正正例排在假正例之前的检测器。
- 使用带温度缩放的归一化分类头,并配合恰当的再训练策略,可显著提升校准能力,并在长尾LVIS分布上实现更好的泛化性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。