Aug3D-RPN: Improving Monocular 3D Object Detection by Synthetic Images with Virtual Depth

Chenhang He, Jianqiang Huang, Xian-Sheng Hua, Lei ZhangarXiv 2021

Abstract

Current geometry-based monocular 3D object detection models can efficiently detect objects by leveraging perspective geometry, but their performance is limited due to the absence of accurate depth information. Though this issue can be alleviated in a depth-based model where a depth estimation module is plugged to predict depth information before 3D box reasoning, the introduction of such module dramatically reduces the detection speed. Instead of training a costly depth estimator, we propose a rendering module to augment the training data by synthesizing images with virtual-depths. The rendering module takes as input the RGB image and its corresponding sparse depth image, outputs a variety of photo-realistic synthetic images, from which the detection model can learn more discriminative features to adapt to the depth changes of the objects. Besides, we introduce an auxiliary module to improve the detection model by jointly optimizing it through a depth estimation task. Both modules are working in the training time and no extra computation will be introduced to the detection model. Experiments show that by working with our proposed modules, a geometry-based model can represent the leading accuracy on the KITTI 3D detection benchmark.

Introduction

In the field of autonomous driving, precise 3D localization is a critical safety requirement. While LiDAR sensors provide high-fidelity spatial data, their high cost often limits their use in mass-market vehicles. Monocular 3D detection—identifying 3D bounding boxes from a single 2D camera image—offers a cost-effective alternative but faces a fundamental "depth ambiguity" problem: it is mathematically difficult to determine an object's distance from a flat 2D projection.

Existing approaches generally fall into two categories:

  1. Geometry-based methods: These are computationally efficient as they utilize perspective geometry, but they often struggle to localize distant objects accurately.
  2. Depth-based methods: These incorporate explicit depth estimation modules, providing higher accuracy at the cost of significant computational overhead, often failing to meet real-time requirements.

Aug3D-RPN aims to provide the best of both worlds: the high-speed performance of geometry-based models with the spatial awareness of depth-based ones by introducing depth-aware training strategies that do not impact inference time.

Proposed Method

The core innovation of Aug3D-RPN lies in two modules used exclusively during the training phase: the Rendering Module and the Auxiliary Module. These modules ensure that the feature backbone learns to understand depth implicitly.

The Aug3D-RPN architecture featuring the Rendering Module for data augmentation and an Auxiliary Module for depth-aware feature learning.

Rendering Module and Virtual Depth

To overcome the lack of depth cues in standard 2D images, the authors developed a Rendering Module for data augmentation. This module takes an RGB image and its corresponding sparse LiDAR depth map to synthesize "virtual depth" images. By "warping" the scene, it simulates what the camera would see if it were moved forward or backward along the z-axis (e.g., +1m, +2m).

Illustration of the virtual depth rendering process, synthesizing images at various distances to teach the model perspective cues.

To handle artifacts and "holes" created during the warping process, a U-Net with partial convolutions is employed to in-paint missing pixels, resulting in photo-realistic synthetic data. This process teaches the model exactly how an object's appearance and scale change relative to its 3D position.

Auxiliary Depth Module

Complementing the synthetic data, an Auxiliary Module is attached to the ResNet-101 backbone during training. This module is tasked with pixel-wise depth prediction, supervised by a depth-wise loss. This forces the backbone to extract features that are inherently aware of distance. Crucially, both the Rendering and Auxiliary modules are discarded after training, leaving a standard, lightweight geometry-based detector for high-speed inference.

Experimental Results

The model was evaluated on the KITTI 3D Object Detection Benchmark, the industry standard for autonomous driving research. Key findings include:

  • State-of-the-Art Accuracy: Aug3D-RPN achieved leading results among single-frame monocular detectors for both 3D detection and Bird’s-Eye-View (BEV) localization.
  • Real-Time Performance: The model operates at approximately 80ms per image (~12.5 FPS), which is 4x to 5x faster than top-tier depth-based competitors like AM3D or D4LCN, which can take up to 600ms per frame.
  • Ablation Success: The inclusion of synthetic "virtual depth" images alone provided a ~3% improvement in Average Precision (AP) over the baseline model.

Conclusion

Aug3D-RPN demonstrates that explicit depth estimation at runtime is not a prerequisite for accurate monocular 3D detection. By leveraging depth as a training signal through synthetic image rendering and auxiliary tasks, the model learns robust spatial features. This approach maintains the efficiency of geometry-based methods while significantly narrowing the performance gap with more computationally expensive depth-based models.

Summary updated

BibTeX
@misc{he2021aug,
  author = {Chenhang He and Jianqiang Huang and Xian-Sheng Hua and Lei Zhang},
  title = {{Aug3D-RPN: Improving Monocular 3D Object Detection by Synthetic Images with Virtual Depth}},
  year = {2021},
  eprint = {2107.13269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.13269},
}
Figure