Abstract
Monocular 3D object detection has seen significant advancements with the incorporation of depth information. However, there remains a considerable performance gap compared to LiDAR-based methods, largely due to inaccurate depth estimation. We argue that this issue stems from the commonly used pixel-wise depth map loss, which inherently creates an imbalance of loss weighting between near and distant objects. To address these challenges, we propose MonoHBD (Monocular Hierarchical Balanced Depth), a comprehensive solution with a hierarchical mechanism. We introduce the Hierarchical Depth Map (HDM) structure that incorporates depth bins and depth offsets to enhance localization accuracy. Leveraging RoIAlign, our Balanced Depth Extractor (BDE) module captures both scene-level depth relationships and object-specific characteristics while considering geometric properties through camera calibration parameters. Our model reaches state-of-the-art results on the KITTI 3D object detection benchmark while supporting real-time detection.
The Challenge of Monocular Depth
Monocular 3D object detection—identifying the position, size, and orientation of objects from a single 2D image—is a "holy grail" for low-cost autonomous driving. However, it significantly lags behind LiDAR-based methods because depth is notoriously difficult to estimate from a single viewpoint. Current depth-guided methods suffer from two critical flaws:
- Imbalanced Loss Weighting: Standard models use pixel-wise depth losses. A car close to the camera might occupy 10,000 pixels, while a distant car occupies only 100. Consequently, the loss function "cares" 100 times more about the near object, leading to poor localization for distant traffic.
- Ambiguous Discretization: Most models divide depth into "bins." As distance increases, these bins become wider and less precise, making it impossible to pinpoint a distant object's exact location.
Methodology: MonoHBD
To address these issues, MonoHBD introduces a hierarchical approach that shifts from pixel-wise depth estimation to an object-centric framework.
Balanced Depth Extractor (BDE)
The BDE module is designed to mitigate the loss imbalance between near and far objects. Instead of calculating loss over the whole image, the BDE uses RoIAlign to extract depth features for each detected object and resize them to a fixed-size grid. This ensures that every object, regardless of its 2D size or distance, contributes equally to the training process.
Hierarchical Depth Map (HDM) and Regression Focal Loss (RFL)
To solve the "wide bin" problem at long ranges, MonoHBD employs a coarse-to-fine strategy. The Hierarchical Depth Map (HDM) predicts a depth bin (coarse) and a specific depth offset (fine) within that bin, allowing for much higher precision at long ranges. This is supervised by a novel Regression Focal Loss (RFL), which simultaneously regularizes depth bins and offsets, penalizing the model more heavily when it fails to accurately predict the distribution of depth offsets.
Evaluation and Results
The model was trained and evaluated on the KITTI 3D Object Detection Benchmark. MonoHBD achieved state-of-the-art results for the Car category, outperforming the previous best method (MonoCon) by approximately 4.0% in Bird’s-Eye View (BEV) accuracy for "Easy" objects.
A standout feature of MonoHBD is its performance at long ranges. In the "Far" range (40m–60m), MonoHBD outperformed competitive models like MonoCon or MonoDETR by a significant 30% (0.52 AP vs 0.40 AP).
Despite the added complexity of the hierarchical mechanism, the model maintains real-time performance, running at 24.4 FPS on a single NVIDIA 3090 GPU, making it viable for actual deployment on autonomous platforms.
Conclusion
MonoHBD demonstrates that object-centric depth supervision and hierarchical discretization are key to closing the gap between monocular and LiDAR-based 3D detection. While challenges like heavy occlusion remain, the shift toward size-invariant depth features allows for significantly better generalization across varying distances. Future work may involve incorporating temporal information from video sequences to further improve scene geometry understanding.
Summary updated