Manuscript Offprint

arXiv:2610.01409

Localisation-Aware Uncertainty for Pretrained Object Detection

Charmaine Barker, Daniel Bethell, Simos Gerasimou

ABSTRACT

Reliable uncertainty estimation is essential for deploying object detectors when distribution/covariate shift and adversarial attacks may occur. Existing approaches often require detector retraining, architectural modification, or repeated inference, which may be infeasible or incur significant overheads. We introduce a lightweight post-hoc evidential meta-model that learns when object localisations should be considered uncertain while keeping the base detector frozen. Our approach automatically identifies localisation-relevant features and uses saliency-guided modification to construct an increasingly challenging curriculum. Detection-level targets combine localisation error, modification level, and prediction instability to guide an evidential meta-model to estimate uncertainty for each predicted bounding box. Our approach requires no changes to the detector and preserves its original localisation outputs. Across adversarial attacks and evaluated strengths, GRACE improves TP-FP AUROC by 22% relative to the strongest comparator in some cases while maintaining in-distribution detection performance.

1 INTRODUCTION

Object detection is a core component of modern computer vision systems, enabling models to localise objects in images (Liu et al., 2020b). In safety-critical applications such as autonomous driving and robotics, reliable deployment requires more than strong precision on in-distribution data (Hall et al., 2020). A detector must also indicate when its predictions are unreliable, particularly under distribution shift, image corruption, or adversarial perturbation (Ovadia et al., 2019). This is more challenging than standard classification uncertainty because detection reliability is structured: a model may assign a high class confidence to a poorly localised box, produce spurious detections on unfamiliar inputs, or generate predictions whose locations drift substantially under small perturbations. Therefore, uncertainty in object detection must be detection-level and localisation-aware, rather than only image-level or class-confidence-based.

Existing uncertainty quantification (UQ) approaches only partially address this problem (Abdar et al., 2021). Bayesian and sampling-based methods, such as Monte Carlo Dropout (Gal & Ghahramani, 2016), can provide uncertainty estimates, but often require stochastic inference, architectural assumptions, or repeated forward passes that increase deployment cost. Detection-specific approaches estimate uncertainty from detector outputs or learned auxiliary models (Schubert et al., 2021), but they generally rely on the detector's existing confidence structure, increase deployment cost, and do not explicitly guide the uncertainty model when localisation should become unreliable. More broadly, many uncertainty methods require retraining, modify the detector, or mandate access to training pipelines that may be unavailable for large, proprietary, or already deployed detectors (Franchi et al., 2024). This limits their suitability for post-hoc deployment, where the base detector should remain frozen, and uncertainty should be added without changing its predictions.

We introduce GRACE (Guided evidential Regression for Adversarial and Covariate uncertainty Estimation), a localisation-aware post-hoc evidential meta-model for object detection that provides

∗^{*}Equal contribution uncertainty estimates for each predicted object. GRACE performs saliency calibration to identify localisation-relevant detector features and input regions. It then uses these regions to construct a monotonic noise-driven curriculum, in which progressively corrupted views expose when a retained detection becomes poorly localised, heavily affected by corruption, or unstable under perturbation. This curriculum provides detection-specific uncertainty targets that guide a lightweight meta-model to estimate uncertainty. Importantly, GRACE leaves the base detector unchanged and preserves its original box predictions, learning only an uncertainty signal that indicates when each localisation output should be trusted.

References (32)

  • Techniques, applications and challenges
  • Deep evidential regression
  • Square attack: a query-efficient black-box adversarial attack via random search
  • A gentle introduction
  • Test-time data augmentation for estimation of heteroscedastic aleatoric uncertainty in deep neural networks
  • Gradual uncertainty refinement via noise-driven curriculum: A post-hoc meta-model for robust uncertainty quantification
  • Robust uncertainty quantification using conformalised monte carlo prediction
  • Variational inference: A review for statisticians
  • Tog: targeted adversarial objectness gradient attacks on real-time object detection systems (opens arXiv in a new tab)
  • Make me a bnn: A simple strategy for estimating bayesian uncertainty from pre-trained models
  • Dropout as a bayesian approximation: Representing model uncertainty in deep learning
  • Bayesian neural networks: An introduction and survey
  • Probabilistic object detection: Definition and evaluation
  • A survey on uncertainty quantification methods for deep neural networks: An uncertainty source perspective
  • What uncertainties do we need in bayesian deep learning for computer vision? Advances in Neural Information Processing Systems, 30, 2017
  • YOLOv11: An Overview of the Key Architectural Enhancements
  • Multivariate confidence calibration for object detection
  • Simple and scalable predictive uncertainty estimation using deep ensembles
  • Lightweight model uncertainty estimation for deep neural object detection
  • Toward explainable artificial intelligence for regression models: A methodological perspective
  • Microsoft coco: Common objects in context
  • Simple and principled uncertainty estimation with deterministic deep learning via distance awareness
  • Deep learning for generic object detection: A survey
  • Deep learning face attributes in the wild
  • Towards Deep Learning Models Resistant to Adversarial Attacks
  • Can you trust your model's uncertainty? evaluating predictive uncertainty under dataset shift
  • High-quality prediction intervals for deep learning: A distribution-free, ensembled approach
  • Metadetect: Uncertainty quantification and prediction quality estimates for object detection
  • Post-hoc uncertainty learning using a dirichlet meta-model
  • Single-model uncertainties for deep learning
  • Detection and tracking meet drones challenge
  • Traffic-sign detection and classification in the wild