Geometry-based Distance Decomposition for Monocular 3D Object Detection

Xuepeng Shi, Qi Ye, Xiaozhi Chen, Chuangrong Chen, Zhixiang Chen, Tae-Kyun Kim

TL;DR

MonoRCNN tackles the "black box" problem of distance estimation in monocular 3D object detection by decomposing distance into two stable geometric factors: physical height and projected visual height. By leveraging pinhole camera geometry ($Z = fH/h$), the method achieves state-of-the-art accuracy on the KITTI benchmark while remaining interpretable, robust to noise, and adaptable to different camera setups.

What Problem Does This Paper Address?

Monocular 3D object detection—identifying 3D bounding boxes from a single RGB image—is a "holy grail" for low-cost autonomous driving. Unlike LiDAR-based systems, monocular cameras lack explicit depth information.

The core challenge is predicting the distance ($Z$) of an object. Most existing methods treat distance as a single variable to be regressed directly by a neural network. This approach has three major drawbacks:

  1. Lack of Interpretability: It’s unclear why a model predicts a specific distance.
  2. Brittleness: Small errors in feature extraction can lead to wild swings in distance prediction.
  3. Poor Generalization: Models often overfit to the specific camera intrinsics (like focal length) of their training dataset, failing when deployed on different vehicles.

Methods

The authors introduce MonoRCNN, which is built upon the standard Faster R-CNN framework but adds a specialized 3D Distance Head.

Geometry-based Distance Decomposition

Instead of predicting $Z$ directly, the model predicts the object's physical height ($H$) and the reciprocal of its projected visual height ($h_{rec} = 1/h$). Based on the pinhole camera model, distance is calculated as: $$Z = f \cdot H \cdot h_{rec}$$ where $f$ is the camera's focal length.

Figure 1. Our distance decomposition is based on the imaging ge- ometry [14] of a pinhole camera. The distance from the center of an object to the camera, denoted as Z, can be calculated by Z = fH

Architecture

MonoRCNN uses a ResNet-50 backbone with a Feature Pyramid Network (FPN). After RoIAlign, the features are passed to three parallel heads:

  • 2D Head: Predicts class and 2D bounding boxes.
  • 3D Attribute Head: Predicts physical size (width, length), yaw angle, and 2D projected keypoints.
  • 3D Distance Head: Predicts $H$, $h_{rec}$, and their associated uncertainties ($\sigma_H, \sigma_h$).
The main architecture of MonoRCNN featuring the 3D Distance Head.

Uncertainty-Aware Regression

The model uses an uncertainty-aware loss function. This allows the network to "trace" the cause of distance errors. For example, at close range, uncertainty is often high due to object truncation, while at long range, it stems from the coarse resolution of distant objects.

Datasets

  • KITTI: The primary benchmark for training and evaluation, focusing on the 3D Object Detection and Bird’s Eye View (BEV) tasks.
  • nuScenes: Used for cross-dataset testing. The authors trained on KITTI and tested on nuScenes to prove that their geometric decomposition allows the model to generalize to different camera intrinsics without retraining.

Key Insights and Ideas

  • Height is the Most Stable Factor: The authors observed that physical height is much easier for a network to predict accurately than length or width, which suffer from "single-view ambiguity" depending on the car's orientation (see Table 1 in the paper).
  • Self-Consistency: Because $H$ and $h$ are physically linked, the network learns a correlation between them. If the model predicts an inaccurate physical height, the learned correlation helps "nudge" the visual height prediction to maintain a consistent distance, making the system more robust to noise.
  • Decoupling Focal Length: By explicitly including $f$ in the distance equation rather than letting the network "absorb" it into its weights, the model becomes inherently more generalizable to new cameras.

Key Results

  • State-of-the-Art Performance: MonoRCNN outperformed all other image-only methods on the KITTI test set, achieving $12.65\%$ $AP_{3D}$ at the moderate difficulty level. It even outperformed several methods that use extra depth information (like pseudo-LiDAR).
  • Efficiency: The model is highly efficient, with an inference time of 70ms, making it 3 to 5 times faster than many depth-based competitors.
  • Robust Generalization: In cross-dataset tests on nuScenes, MonoRCNN achieved significantly lower distance prediction errors compared to established baselines like M3D-RPN, particularly for faraway objects.
Qualitative results on KITTI showing accurate 3D box projections and BEV localizations.

Limitations and Future Work

  • Simplified Geometry: The current model assumes the camera has zero roll and pitch relative to the ground plane. While common in datasets like KITTI, real-world driving involves hills and uneven terrain that could violate this assumption.
  • 2D Dependency: As a two-stage detector, the 3D performance is heavily capped by the quality of the initial 2D proposals.
  • Future Directions: The authors suggest that incorporating temporal information (video sequences) could further refine distance estimation and help resolve ambiguities in dynamic scenes.

Summary updated

BibTeX
@misc{shi2021geometry,
  author = {Xuepeng Shi and Qi Ye and Xiaozhi Chen and Chuangrong Chen and Zhixiang Chen and Tae-Kyun Kim},
  title = {{Geometry-based Distance Decomposition for Monocular 3D Object Detection}},
  year = {2021},
  eprint = {2104.03775},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.03775},
}
Figure