Gaussian YOLOv3: An Accurate and Fast Object Detector Using Localization Uncertainty for Autonomous Driving

Jiwoong Choi, Dayoung Chun, Hyun Kim, Hyuk-Jae Lee

This paper presents Gaussian YOLOv3, a modification to the popular YOLOv3 object detection architecture designed specifically for the high-stakes environment of autonomous driving. By shifting from deterministic bounding box predictions to probabilistic ones, the authors provide a way for the model to say not just "there is a car here," but also "I am this certain about the car's exact boundaries."

TL;DR

Gaussian YOLOv3 improves object detection accuracy and safety by modeling bounding box coordinates as Gaussian distributions. This allows the model to estimate "localization uncertainty," which significantly reduces dangerous false positives while maintaining the real-time inference speeds required for autonomous vehicles.

What Problem Does This Paper Address?

In autonomous driving, two metrics are king: speed and accuracy. One-stage detectors like YOLOv3 are favored for their real-time performance, but they traditionally lag behind two-stage detectors (like Faster R-CNN) in accuracy.

A critical weakness of standard detectors is their deterministic nature. They output a single set of coordinates for a bounding box (bbox) without any measure of reliability. In a driving context, a "False Positive" (FP)—detecting an object where none exists or mis-localizing a real one—can trigger unnecessary emergency braking or lead to fatal collisions. The authors argue that for a vehicle to make safe decisions, it needs to know the localization uncertainty of its detections.

Methods

The core innovation is the transformation of the YOLOv3 detection layer into a probabilistic model.

  1. Gaussian Modeling: Instead of predicting four deterministic values for the bounding box ($t_x, t_y, t_w, t_h$), the network is modified to predict a mean ($\mu$) and a variance ($\Sigma$) for each coordinate. As shown in Figure 2, this treats each boundary as a probability distribution. Components in the prediction box of proposed algorithm.

  2. Redesigned Loss Function: The standard sum-of-squared-error loss is replaced with a Negative Log Likelihood (NLL) loss. This allows the model to "attenuate" loss; if the ground truth is noisy or ambiguous, the model can learn to increase the predicted variance, effectively reducing the penalty for that specific instance during training.

  3. New Detection Criterion: The authors introduce a new scoring mechanism for final detections. The final confidence score now incorporates the average localization uncertainty: $$Cr. = \sigma(Object) \times \sigma(Class_i) \times (1 - Uncertainty_{aver})$$ This ensures that boxes with high boundary uncertainty are filtered out, even if the "objectness" score is high.
Figure 2: Components in the prediction box of proposed algo- rithm.

Datasets

The model was evaluated on three major benchmarks:

  • KITTI: A standard dataset for autonomous driving featuring cars, cyclists, and pedestrians.
  • Berkeley Deep Drive (BDD): A large-scale, diverse dataset with ten classes, capturing various weather and lighting conditions.
  • COCO: Used to validate the model's performance on general object detection tasks.

Key Insights and Ideas

  • Uncertainty as a Proxy for Quality: The authors discovered a strong inverse correlation between predicted uncertainty and Intersection over Union (IoU). As uncertainty decreases, the predicted box becomes significantly more accurate relative to the ground truth (see Figure 3). IOU versus localization uncertainty on KITTI and BDD validation sets.

  • Minimal Computational Overhead: Because the changes are confined to the final detection layer, the computational cost is negligible. The model's FLOPs increased by only 0.04%, allowing it to maintain its real-time edge.

  • Visual Reliability: Qualitative results (Figures 4 and 5) demonstrate that Gaussian YOLOv3 can detect objects that the baseline misses and, more importantly, correctly ignores overlapping or poorly localized boxes that would otherwise count as false positives.
Figure 3: IOU versus localization uncertainty on KITTI and BDD validation sets.

Key Results

Gaussian YOLOv3 outperforms the baseline YOLOv3 across the board while remaining faster than most competitors:

  • Accuracy Boost: Improved Mean Average Precision (mAP) by 3.09 on KITTI and 3.5 on BDD.
  • Safety Improvement: Reduced False Positives by 41.40% on KITTI and 40.62% on BDD.
  • Real-Time Speed: Maintained a detection speed of over 42 FPS on an NVIDIA GTX 1080 Ti.
  • Generalization: On the COCO dataset, it achieved an AP of 36.1 (+3.1 over baseline) and a significant +4.6 boost in the stricter $AP_{75}$ metric.

Limitations and Future Work

While the paper demonstrates significant gains, a few areas remain for exploration:

  • Backbone Agnostic: The study focuses specifically on YOLOv3. While the Gaussian approach is likely applicable to other one-stage detectors (like SSD or RetinaNet), this wasn't explicitly tested.
  • Single-Stage Focus: The method narrows the gap between one-stage and two-stage detectors but does not entirely eliminate the inherent accuracy advantages of more complex, slower architectures.
  • Future Directions: The authors suggest that this localization uncertainty could be further utilized in downstream tasks like sensor fusion (combining camera data with Lidar/Radar) or temporal tracking in video sequences.

Summary updated

Abstract

The use of object detection algorithms is becoming increasingly important in autonomous vehicles, and object detection at high accuracy and a fast inference speed is essential for safe autonomous driving. A false positive (FP) from a false localization during autonomous driving can lead to fatal accidents and hinder safe and efficient driving. Therefore, a detection algorithm that can cope with mislocalizations is required in autonomous driving applications. This paper proposes a method for improving the detection accuracy while supporting a real-time operation by modeling the bounding box (bbox) of YOLOv3, which is the most representative of one-stage detectors, with a Gaussian parameter and redesigning the loss function. In addition, this paper proposes a method for predicting the localization uncertainty that indicates the reliability of bbox. By using the predicted localization uncertainty during the detection process, the proposed schemes can significantly reduce the FP and increase the true positive (TP), thereby improving the accuracy. Compared to a conventional YOLOv3, the proposed algorithm, Gaussian YOLOv3, improves the mean average precision (mAP) by 3.09 and 3.5 on the KITTI and Berkeley deep drive (BDD) datasets, respectively. Nevertheless, the proposed algorithm is capable of real-time detection at faster than 42 frames per second (fps) and shows a higher accuracy than previous approaches with a similar fps. Therefore, the proposed algorithm is the most suitable for autonomous driving applications.
BibTeX
@inproceedings{choi2019gaussian,
  author = {Jiwoong Choi and Dayoung Chun and Hyun Kim and Hyuk-Jae Lee},
  title = {{Gaussian YOLOv3: An Accurate and Fast Object Detector Using Localization Uncertainty for Autonomous Driving}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00059},
}
Figure