Localization Uncertainty Estimation for Anchor-Free Object Detection

Youngwan Lee, Joong-Won Hwang, Hyung-Il Kim, Kimin Yun, Yongjin Kwon, Yuseok Bae, Sung Ju HwangWorkshops @ ECCV 2020 · DOI

Abstract

In safety-critical applications such as autonomous driving and surgical robotics, object detectors must provide reliable localization uncertainty alongside classification scores. This paper introduces Uncertainty-Aware Detection (UAD), an anchor-free framework that models localization as four independent directional distances. By employing a novel Negative Power Log-Likelihood (NPLL) loss and a Certainty-aware Representation Network (CRN), UAD effectively fuses localization certainty with classification scores. Evaluated on the MS COCO benchmark, UAD improves the FCOS detector by up to 1.8 AP with minimal computational cost, outperforming existing quality estimation methods.

Introduction

Most modern object detectors provide a classification score (e.g., "90% sure this is a cat"), but they are notoriously overconfident regarding localization—the exact spatial boundaries of the detected object. Existing methods for estimating localization uncertainty often suffer from three main flaws: heterogeneity (mixing center points and scale), model misspecification (using Gaussian distributions for Dirac delta ground truths), and high sensitivity to anchor hyperparameters.

To address these challenges, researchers developed Uncertainty-Aware Detection (UAD). Built on the anchor-free FCOS (Fully Convolutional One-Stage) framework, UAD shifts the focus from global box quality to directional boundary uncertainty, providing a more granular and mathematically stable estimation of where an object truly ends.

Methodology

4-Directional Uncertainty

Instead of predicting a center point and scale, UAD predicts the distances to the four sides of the bounding box (left, right, top, bottom). Because these four values are semantically similar distance measurements, modeling their uncertainty as individual distributions is more stable and intuitive than previous heterogeneous approaches.

Figure 1: Visualization of 4-directional uncertainty. Each side of the bounding box is modeled with its own mean (μ) and standard deviation (σ), allowing the model to express varying levels of confidence for different boundaries.

Architecture and Loss Functions

The UAD framework introduces two primary technical innovations to the standard detection pipeline:

  1. Negative Power Log-Likelihood (NPLL) Loss: To resolve model misspecification, the authors designed a loss function inspired by "Power Likelihood." It weights the standard likelihood loss by the Intersection-over-Union (IoU) of the box, ensuring the model prioritizes uncertainty learning for boxes that are spatially close to the ground truth.
  2. Certainty-aware Representation Network (CRN): This module fuses uncertainty features with classification features. It allows the model to adjust the final detection score based on boundary certainty, effectively "demoting" detections with blurry or ambiguous edges during the Non-Maximum Suppression (NMS) phase.
Figure 2: The UAD architecture integrated into the FCOS detection head. The CRN module (green) modulates the classification branch using uncertainty information derived from the regression branch.

Experimental Results

Datasets and Setup

The model was trained and evaluated on the MS COCO (Common Objects in Context) dataset, using train2017 for training and test-dev2017 for final benchmarking. COCO is the industry standard for object detection, featuring 80 categories across complex, real-world scenes.

Performance and Efficiency

  • Accuracy Gains: UAD improved the baseline FCOS model's Average Precision (AP) by 1.0 to 1.8 points across various backbone networks, including ResNet-50 and ResNeXt-101.
  • Computational Overhead: The uncertainty branch is remarkably lightweight. Adding UAD to FCOS increased inference time on an NVIDIA V100 GPU by only 0.001 seconds (from 0.037s to 0.038s).
  • Comparative Analysis: UAD consistently outperformed other popular "box quality" metrics such as Centerness, IoU-branch, and Generalized Focal Loss (GFL) on the COCO benchmark.

Discussion and Conclusion

Key Insights

A primary takeaway of this research is that homogeneity matters. By treating the four sides of a bounding box as similar distance measurements, the model learns uncertainty more effectively. Furthermore, directional awareness provides practical utility; for instance, if an object is partially occluded, UAD can specifically report low certainty for the hidden side while maintaining high certainty for visible boundaries.

Limitations and Future Work

While UAD excels at capturing aleatoric uncertainty (noise inherent in data like blur or occlusion), it does not explicitly address epistemic uncertainty (uncertainty in the model's parameters). Future research could explore integrating Monte Carlo Dropout or other Bayesian methods to capture both types of uncertainty. Additionally, while the principles of UAD are generalizable, further benchmarking on other anchor-free architectures like CenterNet would validate its broader applicability. Finally, integrating these 4-directional uncertainty values into the decision-making logic of autonomous systems remains a critical next step for safety-critical deployments.

Summary updated

BibTeX
@inproceedings{lee2020localization,
  author = {Youngwan Lee and Joong-Won Hwang and Hyung-Il Kim and Kimin Yun and Yongjin Kwon and Yuseok Bae and Sung Ju Hwang},
  title = {{Localization Uncertainty Estimation for Anchor-Free Object Detection}},
  booktitle = {Workshops @ ECCV},
  year = {2020},
  doi = {10.1007/978-3-031-25085-9\_2},
}
Figure