arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.01782cs.CVcs.AI
收藏

检测变换器中的不确定性量化:对象级校准与图像级可靠性

Uncertainty Quantification in Detection Transformers: Object-Level Calibration and Image-Level Reliability

Massachusetts Institute of Technology(麻省理工学院)

Young-Jin Park, Carson Sobolewski, Navid Azizan

AI总结:

本文研究检测变换器中预测的可靠性问题,提出对象级校准误差作为评估模型和识别可靠预测子集的新指标。

摘要:

DETR及其变体已成为物体检测中具有前景的架构,提供端到端的预测流程。然而,在实践中,DETR生成数百个预测,远多于图像中存在的实际物体数量。这提出了一个关键问题:这些预测中哪些可以被信任?这对于安全关键应用,如自动驾驶尤为重要。本文提供了实证和理论证据,表明同一图像中的预测扮演着不同的角色,导致可靠性水平不同。我们的分析揭示,DETR采用了一种最优的专家策略:每个物体的预测被训练得校准良好,而剩余的预测被训练以抑制其前景置信度接近零,即使在保持准确定位的情况下。我们证明,这种策略作为匈牙利匹配的损失最小化解决方案,从根本上塑造了DETR的输出。尽管选择校准良好的预测是理想的选择,但在推理时间无法识别。这意味着任何后处理算法都有可能输出具有混合校准水平的预测集。因此,实际部署需要同时评估模型的校准质量和后处理算法的有效性。然而,我们证明现有指标如平均精度和预期校准误差不足以完成此任务。为了解决这个问题,我们进一步引入了对象级校准误差(OCE):这种以对象为中心的设计惩罚保留被抑制的预测和遗漏的真实前景对象,使OCE适用于评估模型和识别可靠的预测子集。最后,我们提出了一个事后不确定性量化框架,预测每张图像的模型准确性。

英文摘要:

DETR and its variants have emerged as promising architectures for object detection, offering an end-to-end prediction pipeline. In practice, however, DETRs generate hundreds of predictions that far outnumber the actual objects present in an image. This raises a critical question: which of these predictions could be trusted? This is particularly important for safety-critical applications, such as in autonomous vehicles. Addressing this concern, we provide empirical and theoretical evidence that predictions within the same image play distinct roles, resulting in varying reliability levels. Our analysis reveals that DETRs employ an optimal specialist strategy: one prediction per object is trained to be well-calibrated, while the remaining predictions are trained to suppress their foreground confidence to near zero, even when maintaining accurate localization. We show that this strategy emerges as the loss-minimizing solution to the Hungarian matching, fundamentally shaping DETRs' outputs. While selecting the well-calibrated predictions is ideal, they are unidentifiable at inference time. This means that any post-processing algorithm poses a risk of outputting a set of predictions with mixed calibration levels. Therefore, practical deployment necessitates a joint evaluation of both the model's calibration quality and the effectiveness of the post-processing algorithm. However, we demonstrate that existing metrics like average precision and expected calibration error are inadequate for this task. To address this issue, we further introduce Object-level Calibration Error (OCE): This object-centric design penalizes both retaining suppressed predictions and missed ground truth foreground objects, making OCE suitable for both evaluating models and identifying reliable prediction subsets. Finally, we present a post hoc uncertainty quantification framework that predicts per-image model accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑