Learning Occupancy for Monocular 3D Object Detection

Liang Peng, Junkai Xu, Haoran Cheng, Zheng Yang, Xiaopei Wu, Wei Qian, Wenxiao Wang, Boxi Wu, Deng Cai

Abstract

Monocular 3D object detection is an ill-posed problem due to the inherent ambiguity of depth in 2D images. We present OccupancyM3D, a method that shifts the focus from surface-level depth estimation to volumetric occupancy learning. By utilizing sparse LiDAR data during training to supervise the identification of occupied, free, and unknown voxels, the model learns more discriminative 3D features. OccupancyM3D operates in both camera-frustum and 3D voxel spaces to capture fine-grained and geometrically consistent representations. Our approach achieves state-of-the-art results on the KITTI and Waymo Open Datasets, demonstrating the effectiveness of volumetric supervision for monocular 3D detection using only RGB images at inference.

Introduction

Identifying and locating objects in 3D using a single 2D image is a fundamental challenge in computer vision. Because a single image lacks explicit depth information, a pixel could represent a point anywhere along a ray extending from the camera. Existing monocular methods typically rely on geometric constraints or dense depth estimation. However, these approaches often focus on the surfaces of objects (2.5D) rather than the volume of the 3D scene, failing to fully exploit 3D feature extraction in complex environments.

OccupancyM3D addresses this by teaching the network to predict "occupancy"—whether a 3D volume is empty, occupied by an object, or unknown. This volumetric understanding allows the network to reason about the space an object occupies, which is vital for accurate 3D bounding box estimation.

Methodology

The core of OccupancyM3D is the explicit supervision of the network to understand the 3D structure of the scene through dual-space learning.

Dual-Space Learning

The model learns occupancy in two distinct representations:

  1. Frustum Space: Aligned with the camera's perspective, this space is ideal for high-resolution representation of near-field objects.
  2. 3D Voxel Space: A regular grid in world coordinates that better represents real-world geometry and consistent distances.
Overview of the OccupancyM3D architecture featuring dual-space occupancy learning in frustum and 3D voxel spaces.

Occupancy Label Generation and Feature Enhancement

During training, synchronized sparse LiDAR point clouds are used to generate occupancy labels. Using ray tracing from the camera to each LiDAR point, voxels are categorized as "occupied" (where points exist), "free" (empty space the ray passed through), or "unknown" (no data). By explicitly supervising "free space," the model learns to suppress features in empty regions and amplify them in occupied ones via a Hadamard product. This significantly reduces false positives and improves feature discriminability.

Evaluation and Results

OccupancyM3D was evaluated on the KITTI and Waymo Open Dataset (WaymoOD) benchmarks. While LiDAR is required for supervision during training, the model only requires a single RGB image during inference.

Quantitative Performance

  • KITTI: On the "Car" category (Moderate difficulty), OccupancyM3D achieved 17.02% AP3D, outperforming previous state-of-the-art monocular methods like DID-M3D and significantly surpassing the CaDDN baseline (13.41%).
  • Waymo: The model set a new benchmark on WaymoOD, achieving 10.61% mAP (at IoU=0.7), more than doubling the performance of the CaDDN baseline (5.03%).

Qualitative Analysis

Visualizations demonstrate that the occupancy predictions align well with the actual scene geometry, providing a robust foundation for the final 3D detection head.

Qualitative results showing input RGB images, predicted occupancy volumes, and final 3D object detections.

Discussion and Conclusion

OccupancyM3D demonstrates that volumetric occupancy is a superior supervisory signal compared to simple depth maps for monocular 3D detection. By leveraging both frustum and 3D voxel spaces, the model captures fine-grained details and stable geometry.

Despite its success, the method faces limitations common to voxel-based approaches, such as quantization errors from fixed voxel sizes and a hard detection range limit (typically ~60 meters). Future work may explore multi-camera setups and more efficient implicit 3D representations to overcome these constraints. Nonetheless, OccupancyM3D establishes a new standard for monocular 3D detection by effectively "supervising the empty."

Summary updated

BibTeX
@inproceedings{peng2023learning,
  author = {Liang Peng and Junkai Xu and Haoran Cheng and Zheng Yang and Xiaopei Wu and Wei Qian and Wenxiao Wang and Boxi Wu and Deng Cai},
  title = {{Learning Occupancy for Monocular 3D Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure