← 返回论文库
ICCV 2025   Finalist

Automated Model Evaluation for Object Detection via Prediction Consistency and Reliability

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

摘要 Abstract

见上方 arXiv / CVF 链接。

📝 精读笔记

灵魂一句
给一个目标检测器在没有标注的新测试集上估算它的 mAP(AutoEval / 无标签性能预测)。核心 idea:充分利用检测器在 NMS 之前就产出的大量候选框。提两个免标签分数——Consistency(一致性):低置信框与其周边 pre-NMS 框"合并框"的空间吻合度高 → 反复定位到没有物体的区域 → mAP 低(负相关);Reliability(可靠性):高置信框周边 pre-NMS 框里高置信框的占比高 → 分类+定位强共识 → mAP 高(正相关)。两个分数 + 线性回归即可预测 mAP。再配一个用 ImageNet-C corruption 造的、更真实且覆盖更广 mAP 区间的 meta-dataset。
问题 & 动机
部署前要评估模型,但标注新环境测试数据贵且慢;AutoEval[6] 就是在无 GT 标签下估性能。但已有 AutoEval 几乎都做图像分类(靠 covariate shift / 特征分布距离)。检测性能还受 object scale、遮挡、背景杂乱、物体交互影响,covariate shift 抓不住这些空间关系。已有唯一检测 AutoEval(Yang 等的 BoS[45])用 MC-dropout 扰动测"框稳定性",三大缺陷:① 测试时随机→多次结果不一致;② 要额外一次前向→推理翻倍;③ 不用置信度→高估不可靠预测。PCR 改用单次前向就有的 pre-NMS 框 + 显式 confidence。
核心方法(PCR:Consistency + Reliability + 回归,含关键公式)
关键观察(Fig 2):最终预测与 GT 的 IoU 与其 confidence 正相关——低置信预测 IoU 低 → confidence 不只代表分类、也指示定位质量;而某最终框关联的 pre-NMS 框 confidence 总更低。① Consistency S^C(针对低置信框):把第 i 个最终框 overlap 的所有 pre-NMS 框合并成一个紧包围框 B_merge(式1:中心取包围范围中点、宽高取全范围),算 S^C(i)=[IoU(B_final,B_merge)+CC]/2,其中 CC=1−中心距/(最终框半对角线)(式2-3,尺度不变的中心接近度);图像级 S^C=各框加权平均、权重 σ_C(confidence) 是负 scale 的 sigmoid→低置信≈1、高置信≈0(强调低置信框,式4)。S^C 越高=反复锁定无物体区域→mAP 低(r=0.836 负相关)。② Reliability S^R(针对高置信框):=高置信最终框周边 pre-NMS 框中"高置信框"的占比(式5),σ_R 是正 scale + floor α 的 sigmoid→高置信≈1、低置信≈α。S^R 越高=同位置反复高置信→分类+定位强共识→mAP 高(r=0.858 正相关)。③ AutoEval:在 meta-dataset 各子集上对 S̄^C、S̄^R 做最小二乘线性回归预测 mAP̂=w0+w1·S̄^C+w2·S̄^R(式6-7),留一交叉验证。
关键结果
4 个检测器(RetinaNet/Faster R-CNN × ResNet-50/Swin-T)、两类任务。车辆检测(10 源数据集)PCR 平均 RMSE 5.03、平均排名 1.13;行人检测(9 源数据集)PCR RMSE 3.60、排名 1.00——均全面超 PS/ES/AC/ATC/BoS(BoS 车辆 6.94、行人 6.22)。随 corruption 严重度升高,PCR RMSE 3.57→12.32 远比 BoS 4.80→23.30 鲁棒(Fig 6)。消融:S^C 单用 6.67 / S^R 单用 6.52 / 合用 6.43(互补)。PCR 与 BoS 的"一致性"几乎不相关(r=0.046),PCR+BoS 联合进一步降到 5.04。mAP50/mAP75 估计 PCR 同样最佳。
亮点
① 免费信号:pre-NMS 候选框本是 NMS 要丢的"废料",PCR 单次前向就能用——比 BoS 省一半推理、且确定性(无随机 dropout)。② confidence 既测分类又测定位这个观察(Fig 2)是整个方法的地基,两个分数都由它派生。③ corruption-based meta-dataset(ImageNet-C 10 腐蚀 × 5 严重度 = 50 子集)比强增广更真实、mAP 覆盖从 ~0% 到 40% 更宽,AutoEval 评测更可信。④ 对自驾感知有直接价值:上线后无需人工标注即可监控车辆/行人检测器在新场景的掉点。
疑问 / 待查
① 超参 k_C=−60、k_R=10、α=0.2、c=0.5 的调参过程与敏感性原文说"in the supplementary"——正文未给全。② 线性回归依赖 meta-dataset 的覆盖;若真实部署分布超出 corruption 模拟范围,外推可靠性原文未验证。③ 方法依赖"检测器产出 pre-NMS 候选框",对无 NMS 的 DETR 类检测器是否适用、如何适配,原文未讨论(实验只含 RetinaNet/Faster R-CNN)。

📖 逐段精读 · 笔记

批量精读初稿(基于本地 PDF 全文 49.6k 字符 / 10 页提取)。最后更新 2026-06-21。
① Abstract(摘要)— 逐句精讲
原文逐句 + 中文指路:
1) “assessing their performance in real-world applications still relies on costly manual annotation.” → 痛点:评估检测器要昂贵的人工标注。
2) “we develop an automated model evaluation (AutoEval) framework for object detection.” → 目标=检测的 AutoEval。
3) “We propose Prediction Consistency and Reliability (PCR), which leverages the multiple candidate bounding boxes that conventional detectors generate before non-maximum suppression (NMS).” → 方法 PCR,核心资源=NMS 前的候选框。
4) “jointly measuring 1) the spatial consistency between boxes before and after NMS, and 2) the reliability of the retained boxes via the confidence scores of overlapping boxes.” → 两个分数=一致性 + 可靠性。
5) “we construct a meta-dataset by applying image corruptions of varying severity.” → 配套 corruption-based meta-dataset。
6) “PCR yields more accurate performance estimates than existing AutoEval methods, and the proposed meta-dataset covers a wider range of detection performance.”
一句话抓 Abstract:用检测器 NMS 前的候选框算“一致性(低置信)+可靠性(高置信)”两个无标签分数,线性回归出 mAP;再用真实 corruption 造覆盖更广的评测集。代码 github.com/YonseiML/autoeval-det。
📚 背景知识①(外部):AutoEval + covariate shift
AutoEval(Deng & Zheng 2021)[6]:“estimating performance on unlabeled test datasets”——无 GT 下先算与性能相关的标量分数,再用回归映射到精度。早期分类法用 confidence-based(max softmax、predictive entropy)、prediction disagreement、self-supervised surrogate(rotation/contrastive)、dataset-level 特征统计(Fréchet 距离、average feature energy)。covariate shift=源/目标域在特征提取阶段的分布差异。作者论点:“covariate shift cannot capture these intricate spatial relationships”——检测性能还受 object scale、occlusion、background clutter、object interactions 影响,光看特征分布距离抓不住。
📚 背景知识②:NMS 与 pre-NMS 候选框
NMS(Non-Maximum Suppression):检测器先在各处回归出大量重叠候选框 + 各自 confidence,NMS 按 confidence 保留局部最高、抑制与其高 IoU 的其余框→得最终预测。pre-NMS 框=被抑制掉的那些候选。本文变废为宝的依据:“discarded pre-NMS boxes still contain valuable information about localization”(Soft-NMS [2])。关键事实:“the associated pre-NMS boxes have even lower confidence than nearby post-NMS boxes”——某最终框关联的 pre-NMS 框 confidence 总更低,这是 Consistency 设计的前提。
📚 背景知识③:BoS(主要对手)+ ImageNet-C + DIoU
BoS(Box Stability, Yang 等 2024)[45]:唯一已有检测 AutoEval——“compares bounding boxes generated by a detector with and without Monte Carlo dropout perturbations applied to feature maps”,框越稳=性能越好。三大缺陷(原文):“First, it is stochastic at test time … Second, it requires an additional forward pass … effectively doubling the inference cost. Third, it does not incorporate model confidence … leading to an overestimation of unreliable predictions.” ImageNet-C(Hendrycks 2019)[19]:模拟真实退化的 corruption(噪声/模糊/天气/数字),各 5 级严重度。DIoU [48]:把中心归一化距离加进 IoU 的检测损失;本文 CC 思路类似但“differing in several aspects, e.g., the normalization factor”。
② §1 Introduction — problem
problem:部署前评估关键,但“annotating test data is often costly and time-consuming”。“Research on AutoEval has primarily focused on image classification”,靠 covariate shift。但 “object detection performance is sensitive to various factors such as variations in object scales, occlusion, background clutter, and object interactions; covariate shift cannot capture these intricate spatial relationships”——作者据此判断 “estimating covariate shift alone cannot address the full spectrum of challenges in object detection.”
②b §1 — solution(bottom-up)+ why 用 pre-NMS 框
solution(bottom-up 三步,Intro 自包含):“1) collecting several measures from model outputs, 2) analyzing their correlations with performance variations, and 3) developing a method based on these insights.” 聚焦“检测器先产很多候选框、NMS 留高置信丢重叠低置信”这一事实,“examine relationships between pre- and post-NMS boxes by measuring their geometric proximity and confidence scores, capturing both localization and classification aspects.” 两条直觉:“For low-confidence boxes, the high spatial consistency between pre- and post-NMS boxes indicates repeated mislocalization”(→低 mAP);“for high-confidence boxes … Pre-NMS boxes with high confidence imply that the model is confident in both aspects, thereby promoting correct detection results”(→高 mAP)。
why 不用 BoS 的 dropout:pre-NMS 框单次前向就有、确定性、且显式用 confidence,省一半算力。
②c §1 — 三大贡献
(i) PCR——“an effective AutoEval method for object detection that leverages the spatial alignment and confidence scores of the bounding boxes before and after NMS”;(ii) Corruption-based meta-dataset——“a realistic and scalable benchmark”;(iii) Extensive empirical validation——在 RetinaNet/Faster R-CNN × ResNet-50/Swin-T 四检测器、两类 meta-dataset 上一致超 SOTA。
③ §2 Related Work — 四条线
Object Detection:两阶段(R-CNN 系,先生成再精修 region proposal)vs 一阶段(YOLO/RetinaNet 单次);真实部署的 distribution shift 致 benchmark 与实际掉点。AutoEval:分类上很成熟(confidence/disagreement/surrogate/feature-statistics),但 “the extension to other computer vision tasks, such as object detection, remains underexplored”。AutoEval for Detection:仅 BoS[45](MC-dropout 框稳定性),三缺陷如前述。Model Confidence:以往多把 confidence 当分类概率去校准,“the explicit relationship between confidence scores and localization quality remains unexplored”——本文正是抓住“confidence 也指示定位质量”这一观察。
④ §3 关键观察(Fig.2:confidence ↔ 定位质量)
整个方法的地基:“the Intersection over Union (IoU) between a final prediction and its ground-truth box is correlated with the confidence score, i.e., predictions with low confidence tend to exhibit low IoU with ground-truth boxes.” 推论:“model confidence, which is often used as a proxy for classification accuracy, also serves as an indicator of localization performance.” Fig.2 在 10 个数据集上按 confidence>0.5 分组,低置信组 IoU 明显低于高置信组——故 confidence 同时编码分类与定位质量,Consistency/Reliability 两个分数都由它派生。
④b §3.1 Consistency — 式(1)-(4)
合并框(式1):对第 \(i\) 个最终框 overlap 的 pre-NMS 框集,取中点为中心、全范围为宽高: \[ x_{merge}=\tfrac{1}{2}\big(\min_j x_{min}^{(ij)}+\max_j x_{max}^{(ij)}\big),\quad w_{merge}=\max_j x_{max}^{(ij)}-\min_j x_{min}^{(ij)} \tag{1} \] (\(y,h\) 同理)→ \(B_{merge}\) 紧紧包住所有 pre-NMS 框。中心接近度(式2)补 IoU 在合并框细长时失真的问题: \[ \mathrm{CC}(B_{final},B_{merge})=1-\frac{\sqrt{(x_{final}-x_{merge})^2+(y_{final}-y_{merge})^2}}{\sqrt{w_{final}^2+h_{final}^2}\,/\,2} \tag{2} \] 归一化因子=最终框半对角线,尺度不变,=1 表示中心完全重合。per-框分数 \(S^{C(i)}=\tfrac12(\mathrm{IoU}+\mathrm{CC})\)(式3);图像级(式4)按 confidence 负 scale sigmoid 加权(强调低置信框): \[ S^C=\tfrac{1}{N}\sum_{i=1}^N S^{C(i)}\cdot\sigma_C\!\big(h(B_{final}^{(i)})\big),\quad \sigma_C(x)=\tfrac{1}{1+\exp(-k_C(x-c))} \tag{4} \] \(k_C\)负→低置信≈1、高置信≈0。直觉+证据:“A high consistency score indicates that the detector consistently focuses on a region without a ground-truth object, which is associated with low mAP”——Fig.4(a) 显示 \(S^C\) 与 mAP 强负相关 r=0.836(ρ=0.850)。且 \(S^C\) 与 BoS 分数无相关,概念正交。
④c §3.2 Reliability — 式(5)
聚焦高置信最终框:“A concentration of pre-NMS boxes with high confidence indicates that both the classification and regression heads repeatedly identify an object at the same location, thereby promoting the reliability of the prediction.” 定义为“高置信最终框周边 pre-NMS 框中高置信框的占比”: \[ S^R=\frac{\sum_{i=1}^N\sum_{j=1}^{K_i}\mathbb{1}[h(B_{final}^{(i)})>c]\,\sigma_R\!\big(h(B^{(ij)})\big)}{\sum_{B^{(ij)}\in\mathcal{P}}\sigma_R\!\big(h(B^{(ij)})\big)},\quad \sigma_R(x)=\alpha+\tfrac{1-\alpha}{1+\exp(-k_R(x-c))} \tag{5} \] \(k_R\)正 + floor \(\alpha\)→高置信≈1、低置信≈\(\alpha\)(保留少量贡献);\(\mathcal{P}=\bigcup_i\mathcal{B}^{(i)}\) 取并集确保每个 pre-NMS 框只计一次。直觉+证据:“A high reliability score indicates that the detector repeatedly assigns high confidence to a region, suggesting strong consensus in both classification and localization, which is associated with high mAP”——Fig.4(c) 显示 \(S^R\) 与 mAP 强正相关 r=0.858(ρ=0.858)。
④d §3.3 PCR for AutoEval — 式(6)-(7) + 留一 CV
在 meta-dataset \(\mathcal{D}=\{\mathcal{D}_m\}_{m=1}^M\) 上对每个子集算平均分(式6)\(\bar S^C(f,\mathcal{D}_m)=\tfrac{1}{|\mathcal{D}_m|}\sum_{\mathcal{I}}S^C(f,\mathcal{I})\)(\(\bar S^R\) 同理),再最小二乘线性回归预测 mAP: \[ \widehat{\mathrm{mAP}}(f,\mathcal{D}_m)=w_0+w_1\,\bar S^C(f,\mathcal{D}_m)+w_2\,\bar S^R(f,\mathcal{D}_m) \tag{7} \] 训练/评测用 leave-one-out cross-validation:“a meta-dataset is constructed using all source datasets except one for training, while the remaining source dataset is held out for evaluation and used without any transformations.”
⑤ §4 Corruption-Based Meta-Dataset
动机:prior[45] 用强增广(sharpness/equalize/solarize/rotation 等)→“such strong augmentations may not adequately reflect the environmental shifts … and that such a meta-dataset may fail to capture the full range of detection performance.” 本文改用 ImageNet-C corruption:10 类{gaussian/shot/impulse noise, defocus blur, snow, frost, fog, contrast, pixelate, jpeg} × 5 级 severity = 50 子集;“We exclude corruptions that alter the coordinates of bounding boxes, e.g., zoom blur, elastic transformation.” 结果(Fig.5d):增广版 mAP 分布窄、偏(<15% 几乎没有、集中 25%/35%),“our corruption-based meta-dataset covers a broader range of mAP, spanning from near 0% to 40% with a smoother distribution.”
⑤b §5.1 实验设置
检测器:RetinaNet / Faster R-CNN × ResNet-50 / Swin-T(四组合)。数据:每子集 250 图;车辆 10 源(COCO/BDD/Cityscapes/DETRAC/ExDark/KITTI/Self-driving/Roboflow/Udacity/Traffic,训于 COCO “car”),行人 9 源(COCO/Caltech/CrowdHuman/Cityscapes/Self-driving/ExDark/EuroCity/KITTI/CityPersons,训于 CrowdHuman)。基线:PS、ES、AC、ATC(前四为分类法适配)、BoS(取 3 次平均消随机性)。超参:\(c=0.5,\ k_C=-60,\ k_R=10,\ \alpha=0.2\)。指标:估计 mAP 与真 mAP 的 RMSE↓。
⑤c §5.2/5.3 主结果(Table 1/2 真数字)
方法车辆 Avg RMSE↓车辆 Rank行人 Avg RMSE↓行人 Rank
PS7.743.137.444.50
ES8.624.757.535.00
AC9.275.136.033.13
ATC9.174.386.624.13
BoS(前检测法)6.942.506.223.25
PCR (Ours)5.031.133.601.00
读表:车辆 PCR Avg RMSE 5.03/rank 1.13、行人 3.60/rank 1.00,全面超 PS/ES/AC/ATC/BoS。原文:“PCR achieves the lowest average RMSE … consistently outperforming all baselines.” 在更真实的 corruption-based meta-dataset 上优势尤其明显(如 RetinaNet-R50 车辆:BoS 13.50 → PCR 6.43)。
⑤d §5.4 消融(Table 3/4/5)
S^C / S^R(Table 3):\(S^C\) 单用 6.67 / \(S^R\) 单用 6.52 / 合用 6.43——“these two scores capture complementary aspects: while the consistency score focuses on low-confidence predictions, the reliability score focuses on high-confidence predictions.” 一个抓 failure、一个抓 success。Consistency 组件(Table 4):IoU only 6.76 → +Closeness 6.67(CC 有效补 IoU)。confidence 加权(Table 5):不加权 \(S^C_{all}\) 8.24 → 低置信加权 \(S^C\) 6.67——验证“强调低置信框”的设计正确。
⑤e §5.4 mAP50/75(Table 6)+ severity(Fig.6)+ PCR+BoS(Table 7)
mAP50/75(Table 6, RetinaNet+R50, RMSE↓):PCR 6.43 / 9.89 / 7.78(mAP/mAP50/mAP75)全面碾压 BoS 13.50/22.75/14.43、ES 14.87/25.12/15.63——“PCR achieves the best estimate for both mAP50 and mAP75.” severity 鲁棒(Fig.6, RMSE):PCR 1→5 级 3.57/4.90/6.47/9.71/12.32,BoS 4.80/7.88/12.43/17.98/23.30——“PCR consistently achieves a lower RMSE and demonstrates robustness across different severity levels.” 越难越占优。PCR+BoS(Table 7):BoS 8.96 / PCR 5.66 / PCR+BoS 5.04——两者一致性概念几乎不相关(r=0.046, ρ=−0.020, Fig.7),正交故可叠加。
Q&A · 追问 why
Q:为什么“低置信框 + 高一致性”反而预示低 mAP(反直觉)? 关键在低置信这个条件。某最终框的 pre-NMS 框 confidence 总更低;若这些更低置信的框还高度一致地聚在同一处,说明检测器“固执地反复”在一个大概率没真物体的区域刷框——这种 confident-but-wrong 的一致性对应错检、低 mAP。反之低置信 + 低一致性只是信息不足、不下判断(Fig.4b)。
Q:S^C 和 S^R 不是冗余吗? 不冗余:\(S^C\) 用 \(\sigma_C\)(负 scale)只看低置信最终框、测空间一致性(定位);\(S^R\) 用 \(\sigma_R\)(正 scale)只看高置信最终框、测周边高置信框占比(分类+定位共识)。消融 6.67/6.52→6.43 证明互补。
Q:相比 BoS 的根本优势? ① 确定性(BoS MC-dropout 随机、要跑 3 次);② 单次前向(BoS 要额外加扰动前向、推理翻倍);③ 显式用 confidence(BoS 不用、会高估不可靠预测)。结果全任务 RMSE/排名更优,severity 越高越稳,且与 BoS 正交可叠加。
⑥ 疑问 / 待查([推测] 已标注)
① 超参 \(k_C=-60,\ k_R=10,\ \alpha=0.2,\ c=0.5\) 的调参过程与敏感性原文说 “provided in the supplementary material”——正文未给全。② 线性回归依赖 meta-dataset 覆盖;若真实部署分布超出 corruption 模拟范围,外推可靠性原文未验证([推测] 这是 regression-based AutoEval 的共性风险)。③ 方法依赖“检测器产 pre-NMS 候选框”,对无 NMS 的 DETR 类检测器是否适用、如何适配,原文未讨论(实验只含 RetinaNet/Faster R-CNN)。④ [推测] \(S^C\) 和 \(S^R\) 都以 confidence 阈值 \(c=0.5\) 切“高/低置信”,对校准很差的检测器,这个硬阈值可能需重调。
📌 全文一页总结(≥3 takeaway)
problem:检测器上线前评估要昂贵标注;已有 AutoEval 偏分类、covariate shift 抓不住检测的空间关系;唯一检测法 BoS 随机、费算力、不用 confidence。
method:PCR 用 NMS 前候选框算两个免标签分数——Consistency(合并 pre-NMS 框与最终框的 IoU+中心接近度 CC,对低置信框加权,式1-4)+ Reliability(高置信最终框周边高置信 pre-NMS 框占比,式5),最小二乘线性回归预测 mAP(式7);配 ImageNet-C corruption meta-dataset(10×5=50 子集)。
experiment:车辆 RMSE 5.03/rank 1.13、行人 3.60/rank 1.00,全面超 PS/ES/AC/ATC/BoS;\(S^C\) vs mAP r=0.836、\(S^R\) vs mAP r=0.858;severity 越高越稳(5 级 12.32 vs BoS 23.30);\(S^C\)+\(S^R\) 互补(6.43);mAP50/75 同最佳;与 BoS 正交可叠加(5.04)。
takeaways:① 被 NMS 丢弃的 pre-NMS 候选框是免费的性能信号,单次前向即可无标签估 mAP,比 BoS 省一半算力且确定性;② confidence 同时编码分类与定位质量(Fig.2)是 PCR 的地基,两个分数都由它派生;③ 评测 AutoEval 该用真实 corruption(更真实、mAP 覆盖更广)而非强增广。对自驾感知尤其有用——无标注即可监控部署后车辆/行人检测器的掉点。

🖼 论文原图(本地 PDF 截图,原文 caption 未改写)

Figure 1. Visual example of PCR. Green boxes represent the ground-truth bounding boxes, and red and blue boxes denote an incorrect detection with low confidence and a correct detection with high confidence, respectively. Orange boxes show the pre- NMS candidate boxes, where the overlaid numbers indicate their confidence scores. (a) Consistency. The red box overlaps many pre-NMS boxes, yielding hig
Figure 2. The average IoU between ground-truth boxes and final predictions, grouped by confidence level using a threshold of 0.5 across datasets. Predictions with low confidence generally exhibit lower IoU than those with high confidence, indicating a correlation between confidence and localization quality.
Figure 3. (a) A merged box tightly encloses all pre-NMS boxes as- sociated with a post-NMS box. (b) Consistency is computed based on IoU and a closeness term measured by the normalized distance between the center points of a post-NMS box and its correspond- ing merged box.
Figure 5. (a–c) Sample images from: (a) the original DE- TRAC [44] dataset, (b) the augmentation-based meta-dataset, and (c) the corruption-based meta-dataset. (d) Histogram of mAP dis- tributions for the augmentation-based meta-dataset [45] and our proposed corruption-based meta-dataset.
Figure 5 compares the augmentation-based meta-dataset from prior work [45] and our proposed corruption-based meta-dataset. As shown in Figure 5(b), images generated by strong augmentations often appear artificial, whereas those generated by corruptions are more realistic, as shown in Figure 5(c). In terms of performance coverage, Figure 5(d) shows that the augmentation-based meta-dataset exhibits
Figure 6. Severity vs. RMSE.
Figure 6 compares the average RMSE of BoS [45] and PCR. While the average RMSE increases with the sever- ity level for both methods, PCR consistently achieves a lower RMSE and demonstrates robustness across different severity levels. This suggests that PCR not only performs well within a specific range of mAP, but also generalizes across diverse conditions, enabling reliable AutoEval across a wide
Figure 7. Consistency scores of PCR and BoS [45].