MonoDGP: Monocular 3D Object Detection with Decoupled-Query and Geometry-Error Priors

Fanqi Pu, Yifan Wang, Jiru Deng, Wenming Yang

Abstract

Monocular 3D object detection is a challenging task due to the inherent ambiguity of depth in 2D images. We present MonoDGP, a Transformer-based framework that improves detection accuracy by predicting geometry-error priors rather than raw depth. By decoupling 2D and 3D detection queries and incorporating a Region Segmentation Head for enhanced feature representation, MonoDGP achieves state-of-the-art performance on the KITTI benchmark without requiring auxiliary data like LiDAR or stereo imagery.

Introduction

Detecting 3D objects from a single 2D image is an "ill-posed" problem because depth information is lost during projection onto the camera sensor. While geometric priors—calculating depth based on the ratio of an object's known 3D height to its observed 2D height—are commonly used, they are prone to error. The primary issue is that the 2D bounding box height ($h_{bbox}$) often fails to represent the actual projected central height ($h_c$) due to object orientation and visual occlusion.

Comparison of MonoDGP with the baseline MonoDETR and the distribution shift from raw depth to geometry error.

MonoDGP simplifies and stabilizes this process by shifting the learning target from absolute depth to a perspective-invariant geometry error. As shown in the figure above, while raw depth has a "long-tail" distribution that is difficult to learn, the geometry error is much more concentrated and symmetrical, making it significantly easier for the network to optimize.

Methods

The MonoDGP framework introduces three primary architectural innovations to the standard Transformer-based detection pipeline.

Detailed architecture of the MonoDGP framework, highlighting the decoupled decoders and the Region Segmentation Head.

1. Geometry-Error Priors

Instead of predicting raw depth, the model predicts a perspective-invariant geometry error ($Z_{err}$). The final depth is calculated as $Z = Z_{geo} + Z_{err}$, where $Z_{geo}$ is the initial geometric estimate derived from the 2D bounding box and 3D height. This error term acts as a stable correction factor.

2. Decoupled-Query Decoder

MonoDGP separates 2D and 3D tasks into distinct stages. A 2D visual decoder first identifies objects and initializes queries based on visual features. These "warmed-up" queries are then passed to a 3D depth-guided decoder, which focuses specifically on spatial relationships and depth estimation. This decoupling prevents the noise of difficult 3D detection from destabilizing the relatively easier 2D detection task during training.

3. Region Segmentation Head (RSH)

To improve foreground-background separation, a U-Net-style RSH generates "segment embeddings." These binary indicators (0 for background, 1 for foreground) are inspired by BERT’s sentence embeddings in NLP. They are added to input tokens to refine the model's focus on target objects and improve contextual understanding.

Experimental Results

The model was evaluated on the KITTI 3D object detection benchmark, the industry standard for autonomous driving research.

  • Accuracy: MonoDGP reached a Moderate $AP_{3D}$ of 18.72% on the KITTI test set, outperforming the MonoDETR baseline by 1.55% and other recent methods like MonoDDE and FD3D.
  • Efficiency: The model maintains a practical inference speed of approximately 42ms on a single RTX 3090 GPU, making it suitable for real-time applications.
  • Ablation Studies: Removing the geometry error prediction caused the most significant performance drop, confirming it as the core driver of the model's success.

Key Insights

  • Distribution Optimization: Learning to predict a small correction (geometry error) is more efficient than learning absolute depth from scratch because the error distribution is stable and symmetrical.
  • NLP-Inspired Vision: Borrowing the concept of "segment embeddings" allows the transformer to treat the foreground and background as distinct entities, improving feature quality.

Conclusion and Future Work

MonoDGP demonstrates that geometric priors can be significantly enhanced by learning error distributions rather than raw values. While the current model assumes a flat ground and zero camera pitch, future work could extend this approach to dense depth map prediction and more diverse object categories like pedestrians and cyclists in complex urban environments.

Summary updated

BibTeX
@inproceedings{pu2025monodgp,
  author = {Fanqi Pu and Yifan Wang and Jiru Deng and Wenming Yang},
  title = {{MonoDGP: Monocular 3D Object Detection with Decoupled-Query and Geometry-Error Priors}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00611},
}
Figure