Uncertainty-Aware Voxel based 3D Object Detection and Tracking with von-Mises Loss

Yuanxin Zhong, Minghan Zhu, Huei PengarXiv 2020

Abstract

Object detection and tracking are fundamental components of autonomous perception systems. While 3D object detection has seen significant progress, the role of uncertainty in these tasks remains relatively under-explored. Uncertainty estimation is crucial for managing errors and enhancing system robustness. This paper proposes a method to improve target tracking performance by integrating uncertainty regression into the SECOND detector, a prominent 3D object detection algorithm. We estimate positional and dimensional uncertainties using Gaussian Negative Log-Likelihood (NLL) loss and introduce a novel von-Mises NLL loss for angular (yaw) uncertainty. These uncertainty estimates are then utilized within a classical tracking framework. Our results demonstrate that this uncertainty-aware approach significantly outperforms vanilla trackers that rely on constant covariance assumptions.

Introduction

In autonomous driving, 3D object detectors typically provide a "best guess" bounding box characterized by position, size, and orientation. However, standard detectors rarely quantify the confidence of these geometric parameters. This lack of uncertainty information leads to two primary issues:

  1. Localization Quality: High classification scores do not always correlate with precise localization. Uncertainty can help filter jittery boxes during Non-Maximum Suppression (NMS).
  2. Tracking Reliability: Traditional trackers, such as Kalman Filters, often assume constant observation noise. In reality, detection noise varies significantly based on distance, occlusion, and environmental conditions.

Furthermore, orientation (yaw) is periodic ($-\pi$ to $\pi$). Standard Gaussian models fail to account for this wrap-around, leading to mathematical inconsistencies at the boundary.

System Architecture

The proposed method extends the SECOND detector, a voxel-based 3D detection framework. The core modification is the addition of an Uncertainty Branch within the detection heads to predict the variance for each bounding box parameter.

The proposed 3D object detection and tracking pipeline, highlighting the variance regression head and its integration into the tracking buffer.

As shown in the pipeline above, the point cloud is processed through voxel feature extraction and convolutional layers. The Region Proposal Network (RPN) feeds into multiple heads: Box Regression, Classification, and the newly introduced Variance Regression. The detected objects, along with their predicted uncertainties, are then passed to the 3D Object Tracking module, which utilizes an Object Buffer and State Filtering (Kalman Filter) for temporal consistency.

Uncertainty Estimation and Loss Functions

We employ heteroscedastic regression, where the network predicts both a value $v$ and a log-variance $s$.

Gaussian and von-Mises Losses

For linear parameters ($x, y, z, w, l, h$), we utilize a Gaussian NLL loss. This loss balances the residual error against the predicted uncertainty; high errors incentivize the model to predict higher uncertainty to minimize the total loss.

For angular parameters (yaw), we introduce the von-Mises NLL loss. The von-Mises distribution acts as a circular analogue to the Gaussian distribution, naturally handling the periodic nature of orientation. To ensure stability during optimization when angular errors are large, an ELU regularization term is included.

Visualization of Gaussian and von-Mises uncertainty loss curves under varying parameters, demonstrating how the loss behaves relative to error and predicted uncertainty.

Tracking and NMS Integration

The predicted uncertainties are applied in two key areas:

  • Uncertainty-Aware NMS: We implement scoring strategies (Linear, Exponential, and Sigmoid) that penalize boxes with high uncertainty. This ensures that the most "certain" detections are prioritized.
  • Dynamic Tracking: In the tracking phase, predicted variances are fed directly into an Unscented Kalman Filter (UKF) as the observation noise covariance matrix ($R$). This allows the tracker to dynamically adjust its "trust" in each detection frame-by-frame.

Experimental Results

The model was evaluated on the KITTI Object Detection and Tracking benchmarks.

  • Detection Performance: On the KITTI validation set, the uncertainty-aware model improved 3D AP for "Easy" car samples from 87.83% to 89.30% over the baseline.
  • Tracking Performance: The impact on tracking was substantial. Using a constant observation noise ($\sigma=1$) yielded a tracking AP of only 13.0%. By incorporating the model's predicted variance as dynamic noise, the tracking AP increased to 42.3%.
  • NMS Strategy: The Exponential mapping for uncertainty re-scoring was particularly effective for "Hard" samples, where localization is most challenging.

Conclusion

By introducing a dedicated uncertainty regression branch and a novel von-Mises loss for orientation, we have demonstrated that quantifying "certainty" significantly enhances 3D object tracking. The model learns to identify difficult scenarios—such as distant or occluded objects—as inherently uncertain. This aleatoric uncertainty provides a more robust foundation for temporal data association and state filtering in autonomous perception stacks.

Summary updated

BibTeX
@misc{zhong2020uncertainty,
  author = {Yuanxin Zhong and Minghan Zhu and Huei Peng},
  title = {{Uncertainty-Aware Voxel based 3D Object Detection and Tracking with von-Mises Loss}},
  year = {2020},
  eprint = {2011.02553},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.02553},
}
Figure