WeakM3D: Towards Weakly Supervised Monocular 3D Object Detection

Liang Peng, Senbo Yan, Boxi Wu, Zheng Yang, Xiaofei He, Deng Cai

Executive Summary

WeakM3D is a novel framework that enables monocular 3D object detection without requiring expensive, manually annotated 3D bounding box labels. By cleverly using raw LiDAR point clouds and 2D image detections as "weak" supervision, the model learns to "fit" 3D boxes to objects using geometric constraints and ray tracing. Remarkably, this weakly supervised approach outperforms several earlier fully supervised methods.

The Challenge: Monocular 3D Detection without 3D Labels

Monocular 3D object detection—identifying the 3D position, size, and orientation of objects from a single 2D image—is a highly sought-after capability for low-cost autonomous driving. However, because a 2D image inherently lacks depth information, training these models typically requires massive datasets where humans have painstakingly drawn 3D bounding boxes on top of corresponding LiDAR point clouds.

This annotation process is incredibly slow and expensive. The authors of WeakM3D aim to eliminate this bottleneck by asking a fundamental question: Can we train a 3D detector using only 2D images and raw, unlabelled LiDAR data? The primary challenge is that raw LiDAR points are merely a "cloud" of coordinates; without labels, the system does not inherently know which points belong to which vehicle, nor which side of the vehicle it is observing.

The WeakM3D Framework

WeakM3D follows a "detect-then-lift" pipeline. It begins with an off-the-shelf 2D detector to locate objects within the image. It then "lifts" these 2D regions to 3D by predicting 3D parameters. The core innovation lies in how the framework trains these 3D predictions without relying on 3D ground truth labels.

Overview of the WeakM3D pipeline, illustrating the use of 2D detections and raw LiDAR points for weak supervision.

The weakly supervised training process relies on several key components:

  1. Object-LiDAR-Points: The system selects raw LiDAR points that project into the 2D bounding boxes found in the image. These points serve as the ground truth "shape" that the predicted 3D box must contain.
  2. Geometric Alignment Loss: This loss function forces the predicted 3D box to tightly enclose the selected Object-LiDAR-points, ensuring the box matches the physical footprint of the object.
  3. Ray Tracing Loss (The "Aha" Moment): To solve the "alignment ambiguity" (e.g., determining if a point belongs to the front, side, or roof of a car), the model simulates rays originating from the camera to the LiDAR points. If a ray passes through a predicted box surface to reach a point, it creates a "collision" penalty. This effectively teaches the model about occlusions and correct surface orientation.
Illustration of the ray tracing concept used to resolve alignment ambiguity between LiDAR points and predicted box edges.
  1. Point-wise Loss Balancing: LiDAR points are unevenly distributed, often dense nearby and sparse far away. The authors implement a density-based weighting system so that a few distant, critical points aren't overshadowed by a dense cluster of points on a nearby vehicle's hood.
  2. Learning Disentanglement: To simplify the complex learning task, the authors utilize "priors." They freeze the dimensions of the boxes (since vehicles of a specific class generally share similar sizes) and estimate orientation by analyzing the distribution of point pairs in the point cloud.

Key Innovations

  • Ray Tracing as a Supervisor: Utilizing ray-box intersection tests as a loss function is a brilliant method for incorporating the physics of light and occlusion into a deep learning model. It forces the predicted box to sit logically "behind" the points from the camera's perspective.
  • Orientation from Histograms: The paper demonstrates that a vehicle's orientation can be accurately estimated by analyzing the directions of lines formed by pairs of nearby LiDAR points. The most frequent direction in a histogram typically aligns with the vehicle's primary axis.
  • The Power of Priors: By acknowledging that objects of the same class have similar dimensions, the authors significantly stabilized the training process. Attempting to learn location, size, and rotation simultaneously from weak data is often too noisy for a model to converge effectively.

Performance Highlights

WeakM3D achieves impressive results for a model trained entirely without 3D labels:

  • Outperforming Supervised Models: On the standard KITTI benchmark, WeakM3D outperformed several older fully supervised methods, such as Mono3D and FQNet.
  • State-of-the-Art in Weak Supervision: It significantly surpassed previous weakly supervised attempts. For instance, on the KITTI "Easy" car detection task, it achieved 58.20% AP (Bird's Eye View), a substantial leap from the previous best of 50.51%.
  • Efficiency: The system is lightweight, boasting an inference time of less than 80ms per frame, making it a viable candidate for real-time autonomous driving applications.

Evaluation Datasets

The authors validated WeakM3D across three major benchmarks:

  • KITTI: The standard benchmark for autonomous driving. Raw sequences were used for training to strictly avoid any 3D labels.
  • Waymo Open Dataset: A larger, more diverse dataset utilized to demonstrate the model's scalability.
  • NuScenes: Used to establish a robust baseline for future research in weakly supervised 3D detection.

Limitations and Future Directions

While WeakM3D represents a major step forward, the authors note a few areas for future improvement:

  • Localization Complexity: 3D localization remains the most difficult aspect of the task. While the geometric losses help, a performance gap still exists compared to the absolute best state-of-the-art fully supervised models.
  • Data Dependency: The model's performance scales with the amount of training data. Even though the data is unlabeled, large volumes are still required to achieve high accuracy.
  • Refined Dimensions: Currently, the model assumes fixed dimensions for all objects within a class. Future iterations could explore learning to predict subtle variations in vehicle size (e.g., distinguishing a van from a subcompact car) without relying on explicit labels.

Summary updated

BibTeX
@inproceedings{peng2022weakm,
  author = {Liang Peng and Senbo Yan and Boxi Wu and Zheng Yang and Xiaofei He and Deng Cai},
  title = {{WeakM3D: Towards Weakly Supervised Monocular 3D Object Detection}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=LYSoQZ02Pp-},
}
Figure