Bridging Precision and Confidence: A Train-Time Loss for Calibrating Object Detection
Not on the map. Why?
Abstract (arXiv)
Deep neural networks (DNNs) have enabled astounding progress in several vision-based problems. Despite showing high predictive accuracy, recently, several works have revealed that they tend to provide overconfident predictions and thus are poorly calibrated. The majority of the works addressing the miscalibration of DNNs fall under the scope of classification and consider only in-domain predictions. However, there is little to no progress in studying the calibration of DNN-based object detection models, which are central to many vision-based safety-critical applications. In this paper, inspired by the train-time calibration methods, we propose a novel auxiliary loss formulation that explicitly aims to align the class confidence of bounding boxes with the accurateness of predictions (i.e. precision). Since the original formulation of our loss depends on the counts of true positives and false positives in a minibatch, we develop a differentiable proxy of our loss that can be used during training with other application-specific loss functions. We perform extensive experiments on challenging in-domain and out-domain scenarios with six benchmark datasets including MS-COCO, Cityscapes, Sim10k, and BDD100k. Our results reveal that our train-time loss surpasses strong calibration baselines in reducing calibration error for both in and out-domain scenarios. Our source code and pre-trained models are available at https://github.com/akhtarvision/bpc_calibration
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 31 of its 40 references that are in the map. First posted on arXiv 25 Mar 2023.
Builds on
31 of 40 references.
References · 31
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
19 more
- 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,573
- 2018BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learningcited by 1,282
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2017Semantic Foggy Scene Understanding with Synthetic Datacited by 401
- 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 401
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2016Driving in the Matrix: Can Virtual Worlds Replace Human-Generated Annotations for Real World Tasks?cited by 194
- 2020Improving model calibration with accuracy versus uncertainty optimizationcited by 123
- 2020Multivariate Confidence Calibration for Object Detectioncited by 98
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
- 2020Post-hoc Uncertainty Calibration for Domain Drift Scenarioscited by 61
- 2022A Stitch in Time Saves Nine: A Train-Time Regularizing Loss for Improved Neural Network Calibrationcited by 49
- 2019Analyzing the Role of Model Uncertainty for Electronic Health Recordscited by 41
- 2020Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classificationcited by 37
- 2019Bin-wise Temperature Scaling (BTS): Improvement in Confidence Calibration Performance through Simple Scaling Techniquescited by 23
- 2021Class-Distribution-Aware Calibration for Long-Tailed Visual Recognitioncited by 19
Built on by
Citing papers per year: 2023: 3; 2024: 5; 2025: 2; 2026: 2.
12 papers.
- 2023MoCaE: Mixture of Calibrated Experts Significantly Improves Object Detectioncited by 17
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Modelscited by 14
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselinescited by 11
- 2023Beyond Classification: Definition and Density-based Estimation of Calibration in Object Detectioncited by 9
- 2025A-TPT: Angular Diversity Calibration Properties for Test-Time Prompt Tuning of Vision-Language Modelscited by 3
- 2024Uncertainty Quantification in Detection Transformers: Object-Level Calibration and Image-Level Reliabilitycited by 2
- 2023A Theoretical and Practical Framework for Evaluating Uncertainty Calibration in Object Detectioncited by 1
- 2024Cross Domain Object Detection via Multi-Granularity Confidence Alignment based Mean Teachercited by 1
- 2024A Decision-driven Methodology for Designing Uncertainty-aware AI Self-Assessmentcited by 1
- 2024Pseudo-label Learning with Calibrated Confidence Using an Energy-based Modelcited by 0
- 2026Calibrating Probabilistic Object Detectors with Annotator Disagreementcited by 0
- 2026Rethinking Detection Calibration: A Coordinate and Direction Perspectivecited by 0
- 2026Rethinking Detection Calibration: A Coordinate and Direction Perspective31 Jul 2026
- 2026Calibrating Probabilistic Object Detectors with Annotator Disagreement23 May 2026
- 2025A-TPT: Angular Diversity Calibration Properties for Test-Time Prompt Tuning of Vision-Language Models30 Oct 2025
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Models15 Mar 2025
- 2024Uncertainty Quantification in Detection Transformers: Object-Level Calibration and Image-Level Reliability2 Dec 2024
- 2024A Decision-driven Methodology for Designing Uncertainty-aware AI Self-Assessment2 Aug 2024
- 2024Cross Domain Object Detection via Multi-Granularity Confidence Alignment based Mean Teacher10 Jul 2024
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselines30 May 2024
- 2024Pseudo-label Learning with Calibrated Confidence Using an Energy-based Model15 Apr 2024
- 2023Beyond Classification: Definition and Density-based Estimation of Calibration in Object Detection11 Dec 2023
- 2023MoCaE: Mixture of Calibrated Experts Significantly Improves Object Detection26 Sep 2023
- 2023A Theoretical and Practical Framework for Evaluating Uncertainty Calibration in Object Detection1 Sep 2023