Transfer Learning from Simulated to Real Scenes for Monocular 3D Object Detection

Sondos Mohamed, Walter Zimmer, Ross Greer, Ahmed Alaaeldin Ghita, Modesto Castrillón Santana, Mohan M. Trivedi, Alois Knoll, Salvatore M. Carta, Mirko Marras

Introduction

Monocular 3D object detection—the task of identifying and localizing objects in 3D space using a single 2D camera—is a cornerstone of modern intelligent transportation systems. Unlike vehicle-mounted cameras, roadside infrastructure cameras (e.g., those mounted on traffic poles) face unique challenges, including significant perspective shifts (pitch and roll) and a severe lack of high-quality, 3D-annotated real-world data. This paper addresses these hurdles by proposing a robust Sim-to-Real transfer learning strategy.

Methodology: Sim-to-Real Pipeline

The researchers developed a two-stage training approach to bridge the gap between synthetic and real-world domains.

  1. Synthetic Pre-training: The model is initially trained on the RoadSense3D dataset. This large-scale synthetic environment allows the model to learn fundamental 3D geometric features, such as object dimensions and orientation, from millions of perfectly labeled examples. The authors utilized Cube R-CNN, an architecture that extends Faster R-CNN with specialized "cube" heads designed to predict 3D properties.
  2. Real-world Fine-tuning: Following pre-training, the model is fine-tuned on smaller, real-world datasets. By freezing the backbone features and focusing on the prediction heads, the model retains its geometric "prior" while adapting to the specific visual textures and noise of real-world sensors.

Data Foundation

The success of this approach relies on the massive scale of synthetic data compared to existing real-world benchmarks.

Comparison of 3D object detection datasets, highlighting the scale of RoadSense3D.

As shown in the dataset comparison above, RoadSense3D provides 1.4 million images and 9 million labeled boxes, dwarfing most real-world roadside datasets. This scale is critical for teaching the model to handle the six degrees of freedom (6DoF) required for accurate localization from elevated roadside perspectives.

Key Results and Insights

The quantitative impact of transfer learning is profound. On the TUMTraf-A9 highway dataset, the mean Average Precision (mAP) increased from a baseline of 0.26 (trained from scratch) to 12.76—a 4,800% improvement. Similar gains were observed on the DAIR-V2X-I dataset, where performance tripled.

Visual results of 3D object detection across diverse simulated and real-world environments.

Beyond the numbers, the model demonstrated remarkable robustness. Qualitative analysis shows accurate 3D bounding box predictions across various conditions, including nighttime, rainy weather, and complex urban intersections. A key insight from the study is that incorporating pitch and roll into the model's coordinate system is essential for infrastructure-based detection, as standard "flat-world" assumptions lead to significant localization errors.

Conclusion

This research demonstrates that synthetic data is not merely a supplement but a necessary foundation for monocular 3D detection in data-scarce domains like roadside infrastructure. While absolute mAP scores indicate that monocular methods still trail LiDAR-based systems, the massive improvements gained through Sim-to-Real transfer learning mark a significant step toward viable, camera-only traffic monitoring systems. Future work will explore active learning and knowledge distillation to further narrow the performance gap.

Summary updated

BibTeX
@inproceedings{mohamed2024transfer,
  author = {Sondos Mohamed and Walter Zimmer and Ross Greer and Ahmed Alaaeldin Ghita and Modesto Castrillón Santana and Mohan M. Trivedi and Alois Knoll and Salvatore M. Carta and Mirko Marras},
  title = {{Transfer Learning from Simulated to Real Scenes for Monocular 3D Object Detection}},
  booktitle = {Workshops @ ECCV},
  year = {2024},
  doi = {10.1007/978-3-031-91813-1\_20},
}
Figure