Learning an Uncertainty-Aware Object Detector for Autonomous Driving

Gregory P. Meyer, Niranjan Thakurdesai

Abstract

The capability to detect objects is a core part of autonomous driving. Due to sensor noise and incomplete data, perfectly detecting and localizing every object is infeasible. Therefore, it is important for a detector to provide the amount of uncertainty in each prediction. Providing the autonomous system with reliable uncertainties enables the vehicle to react differently based on the level of uncertainty. Previous work has estimated the uncertainty in a detection by predicting a probability distribution over object bounding boxes. In this work, we propose a method to improve the ability to learn the probability distribution by considering the potential noise in the ground-truth labeled data. Our proposed approach improves not only the accuracy of the learned distribution but also the object detection performance.

Introduction

In autonomous driving, knowing how much to trust a detection is as critical as the detection itself. A vehicle's response—whether braking sharply or merely adjusting lanes—depends on the confidence level of its predictions. Most modern detectors estimate this uncertainty by predicting a probability distribution (e.g., a Laplace distribution) for an object's bounding box.

However, these models are typically trained using Negative Log Likelihood (NLL), which assumes human-provided labels are perfect "ground truth." This assumption leads to two major issues: numerical instability, where the loss function encourages infinitely sharp distributions that cause gradient explosions, and overfitting to noise, where the model is forced to be 100% confident in slightly misplaced or ambiguous labels.

Methodology

This work builds upon LaserNet, a LiDAR-based probabilistic detector, introducing two key innovations to handle label noise and improve uncertainty estimation.

From NLL to KL Divergence

Instead of treating labels as single points, the proposed method treats each label as its own probability distribution. The model is trained to minimize the Kullback-Leibler (KL) divergence between the predicted distribution and the label distribution.

Comparison of NLL and KL Divergence loss surfaces. KL divergence (b, c) avoids the singularity at zero present in NLL (a), leading to more stable training.

As shown in the loss surface visualizations, KL divergence naturally regularizes the model. Unlike NLL, which goes to negative infinity as the prediction approaches a point estimate, KL divergence remains well-behaved, preventing the need for aggressive gradient clipping.

Estimating Label Uncertainty

To treat a label as a distribution, its inherent "noisiness" must be estimated. The authors propose a heuristic using multi-sweep LiDAR data:

  1. Aggregation: LiDAR points for an object are aggregated across multiple time-steps to create a more complete geometric representation.
  2. Convex Hull IoU: The Intersection-over-Union (IoU) is calculated between the human-annotated box and the convex hull of these aggregated points.
  3. Noise Mapping: A low IoU suggests the label is ambiguous or poorly supported by data (high noise), while a high IoU suggests a high-quality label. This score is mapped to a scale parameter for the label's distribution.
Examples of varying IoU between human labels (blue) and the convex hull of aggregated LiDAR points (orange). Lower IoU indicates higher label uncertainty.

Experimental Results

The model was evaluated on the ATG4D dataset, a massive benchmark containing 1.2 million LiDAR sweeps. By acknowledging that labels are noisy, the loss function encourages the model's predicted uncertainty to match the label's actual ambiguity.

Detection Performance

The proposed method outperformed the baseline LaserNet and other state-of-the-art LiDAR-only detectors across all primary classes:

  • Bikes: Average Precision (AP) improved from 61.93% to 64.82%.
  • Pedestrians: AP improved from 80.37% to 82.61%.
  • Vehicles: AP improved from 85.34% to 85.74%.

The most significant gains were observed in rare or smaller classes (bikes and pedestrians), suggesting the KL divergence approach effectively mitigates overfitting to noisy individual examples in data-sparse regimes.

Discussion and Conclusion

The core insight of this work is that "ground truth" in complex robotics is often a misnomer. By adopting a "soft" ground truth approach, the model becomes better calibrated—meaning its predicted confidence levels more accurately reflect its actual likelihood of being correct.

While the method currently relies on multi-sweep data to estimate label noise, which may be challenging for extremely fast-moving objects, it demonstrates that accounting for aleatoric uncertainty (data noise) significantly boosts both safety-critical uncertainty awareness and raw detection accuracy. Future work may explore integrating this with epistemic uncertainty (model weight uncertainty) through Bayesian frameworks.

Summary updated

BibTeX
@inproceedings{meyer2020learning,
  author = {Gregory P. Meyer and Niranjan Thakurdesai},
  title = {{Learning an Uncertainty-Aware Object Detector for Autonomous Driving}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=aFklqw-izq},
}
Figure