Delving Into Localization Errors for Monocular 3D Object Detection

Xinzhu Ma, Yinmin Zhang, Dan Xu, Dongzhan Zhou, Shuai Yi, Haojie Li, Wanli Ouyang

Abstract

Monocular 3D object detection is a challenging task due to the inherent ambiguity in depth estimation from a single image. This paper identifies localization error—specifically depth estimation and 3D center projection—as the primary bottleneck in current systems. We propose MonoDLE, a baseline model enhanced with three targeted strategies: direct 3D center projection, filtering of distant "impossible" samples during training, and a 3D IoU-oriented loss for dimension estimation. Our approach achieves state-of-the-art performance on the KITTI benchmark while maintaining real-time efficiency.

Introduction

While LiDAR-based 3D detection has reached high levels of maturity, monocular 3D detection remains significantly less accurate. To understand this performance gap, we conducted a diagnostic study by progressively replacing predicted components (depth, size, orientation) with ground-truth values. The results, illustrated in Figure 1, reveal that errors in 3D localization (depth and projected center) are the dominant factors limiting performance. Even minor inaccuracies in these parameters lead to substantial failures in 3D space, whereas errors in size or orientation have a comparatively smaller impact.

Figure 1: Impact of ground-truth localization on AP40 across different depths. Replacing predicted localization with ground truth (red line) yields a massive performance leap compared to the baseline (blue line).

Methodology

We introduce MonoDLE (Monocular Direct Localization Error), an end-to-end detector based on the CenterNet architecture, incorporating three key improvements to address localization errors.

1. 3D-Aware Center Detection

Standard 2D detectors typically predict the center of a 2D bounding box. However, due to perspective effects and object truncation, the projected 3D center of an object often deviates from its 2D box center. MonoDLE is trained to directly predict the projected 3D center, ensuring a tighter coupling between 2D features and 3D geometry. This alignment is critical for accurate depth inference.

Figure 2: Geometric definitions for 2D/3D center alignment and 3D bounding box parameters.

2. Training with "Impossible" Samples

Our analysis showed that localizing objects beyond 60 meters is highly unreliable with monocular data. These distant samples introduce noise that degrades the model's ability to learn from more reliable, closer samples. We propose two strategies: Hard Coding, which removes samples beyond a specific distance threshold, and Soft Coding, which uses a reverse sigmoid function to down-weight the loss contribution of distant objects.

3. 3D IoU Oriented Loss

Traditional L1 loss for dimensions (height, width, length) treats all errors equally. However, different dimensions contribute differently to the final 3D Intersection over Union (IoU). We developed a dynamic loss function that weights dimension errors based on their impact on the 3D IoU, forcing the network to prioritize the most critical geometric features.

Results and Discussion

MonoDLE was evaluated on the KITTI Object Detection Benchmark. Our findings confirm that addressing localization errors is the most effective way to improve monocular detection.

  • Performance: MonoDLE achieved 17.23% AP for the "Car" category (Easy) on the KITTI test set, outperforming previous state-of-the-art methods by +2.47%.
  • Efficiency: The system is highly optimized for real-time use, running at 25 FPS on a single GPU.
  • Ablation Insights: The diagnostic experiment showed that using ground-truth 3D locations can boost performance from ~11% to nearly 79% AP. This highlights that while depth estimation is "ill-posed," improving it remains the highest-leverage task for future research.

Conclusion

This work identifies localization as the "vital factor" in monocular 3D object detection. By focusing on 3D center alignment and filtering noisy distant samples, MonoDLE significantly narrows the gap with more complex systems. Future work will explore temporal cues and stronger geometric constraints to further mitigate the inherent depth ambiguity of single-image systems.

Summary updated

BibTeX
@inproceedings{ma2021delving,
  author = {Xinzhu Ma and Yinmin Zhang and Dan Xu and Dongzhan Zhou and Shuai Yi and Haojie Li and Wanli Ouyang},
  title = {{Delving Into Localization Errors for Monocular 3D Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00469},
}
Figure