arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.03570cs.CV
收藏

Cal-DETR:校准后的检测Transformer

Cal-DETR: Calibrated Detection Transformer

Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Information Technology University(信息技术大学);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学)

Muhammad Akhtar Munir, Salman Khan, Muhammad Haris Khan, Mohsen Ali, Fahad Shahbaz Khan

AI总结:

针对检测Transformer缺乏校准研究的问题,提出Cal-DETR机制,通过不确定性量化、不确定性引导logit调制和logit混合实现训练时校准,在多场景下有效提升校准效果且维持或优化检测性能。

摘要:

尽管深度神经网络(DNN)在多项计算机视觉任务中展现出了出色的预测性能,但它们容易做出过度自信的预测,这限制了DNN在许多安全关键型应用中的落地与更广泛应用。近期已有不少针对DNN校准的研究,但几乎全部聚焦于分类任务。令人意外的是,针对现代基于DNN的目标检测器,尤其是检测Transformer的校准研究极少,而这类模型近期已展现出优异的检测性能,在众多决策系统中发挥着重要作用。在本研究中,我们针对这一问题提出了校准检测Transformer(Cal-DETR)机制,适配Deformable-DETR、UP-DETR和DINO模型。我们采用训练时校准的技术路线,做出了以下贡献:第一,提出了一种简单且有效的方法,用于量化基于Transformer的目标检测器中的不确定性;第二,开发了不确定性引导的logit调制机制,利用不确定性来调制类别logit;第三,提出了logit混合方法,它作为检测特定损失的正则项,与不确定性引导logit调制技术互补,可进一步提升校准性能。最后,我们在3个域内和4个域外场景下开展了大量实验。结果证实,与同类训练时校准方法相比,Cal-DETR在域内和域外检测校准上均更有效,同时能保持甚至提升检测性能。我们的代码库和预训练模型可访问https://github.com/akhtarvision/cal-detr获取。

英文摘要:

Albeit revealing impressive predictive performance for several computer vision tasks, deep neural networks (DNNs) are prone to making overconfident predictions. This limits the adoption and wider utilization of DNNs in many safety-critical applications. There have been recent efforts toward calibrating DNNs, however, almost all of them focus on the classification task. Surprisingly, very little attention has been devoted to calibrating modern DNN-based object detectors, especially detection transformers, which have recently demonstrated promising detection performance and are influential in many decision-making systems. In this work, we address the problem by proposing a mechanism for calibrated detection transformers (Cal-DETR), particularly for Deformable-DETR, UP-DETR and DINO. We pursue the train-time calibration route and make the following contributions. First, we propose a simple yet effective approach for quantifying uncertainty in transformer-based object detectors. Second, we develop an uncertainty-guided logit modulation mechanism that leverages the uncertainty to modulate the class logits. Third, we develop a logit mixing approach that acts as a regularizer with detection-specific losses and is also complementary to the uncertainty-guided logit modulation technique to further improve the calibration performance. Lastly, we conduct extensive experiments across three in-domain and four out-domain scenarios. Results corroborate the effectiveness of Cal-DETR against the competing train-time methods in calibrating both in-domain and out-domain detections while maintaining or even improving the detection performance. Our codebase and pre-trained models can be accessed at \url{https://github.com/akhtarvision/cal-detr}.

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

↑