Weakly Supervised Monocular 3D Detection with a Single-View Image

Xueying Jiang, Sheng Jin, Lewei Lu, Shijian LuOpenReview 2024 · Submission to ICLR 2024 · Withdrawn

Abstract

Monocular 3D detection (M3D) aims for precise 3D object localization from a single-view image which usually involves labor-intensive annotation of 3D detection boxes. Weakly supervised M3D has recently been studied to obviate the 3D annotation process by leveraging many existing 2D annotations, but it often requires extra training data such as LiDAR point clouds or multi-view images which greatly degrades its applicability and usability in various applications. We propose SKD-WM3D, a weakly supervised monocular 3D detection framework that exploits depth information to achieve M3D with a single-view image exclusively without any 3D annotations or other training data. One key design in SKD-WM3D is a self-knowledge distillation framework, which transforms image features into 3D-like representations by fusing depth information and effectively mitigates the inherent depth ambiguity in monocular scenarios with little computational overhead in inference. In addition, we design an uncertainty-aware distillation loss and a gradient-targeted transfer modulation strategy which facilitate knowledge acquisition and knowledge transfer, respectively. Extensive experiments show that SKD-WM3D surpasses the state-of-the-art clearly and is even on par with many fully supervised methods.

Introduction

Monocular 3D detection (M3D)—the ability to locate objects in 3D space using only a single 2D image—is often considered a "holy grail" for low-cost autonomous driving and robotics. While highly desirable, training these models typically requires massive datasets of 3D bounding boxes, which are notoriously labor-intensive and expensive to annotate.

Existing weakly supervised methods have attempted to bypass 3D labels by utilizing auxiliary signals like LiDAR point clouds or multi-view video sequences. However, these requirements introduce their own set of challenges: LiDAR is expensive, and multi-view data is complex to collect and process. The fundamental challenge remains: how to resolve the inherent depth ambiguity of a flat 2D image using only 2D annotations. This paper introduces SKD-WM3D, a framework that achieves high-performance 3D detection using only single-view 2D images, breaking the reliance on specialized sensors and 3D ground-truth boxes.

The SKD-WM3D Framework

The core of the SKD-WM3D approach is a Self-Knowledge Distillation (SKD) framework. This architecture is designed to "bake" 3D spatial intuition into a standard 2D detection pipeline without requiring depth information during the final inference stage. The framework consists of two primary components:

  1. Depth-guided Self-teaching Network (DSN): Serving as the "teacher," the DSN processes global image features alongside "pseudo-depth" maps. These maps are generated by a pre-trained, frozen, off-the-shelf depth estimator. By fusing these inputs, the DSN creates 3D-like representations that allow it to predict 3D boxes with higher accuracy than a standard 2D network.
  2. Monocular 3D Detection Network (MDN): Serving as the "student," the MDN only has access to 2D image features. Through the distillation process, it learns to mimic the 3D localization capabilities of the DSN, effectively internalizing the spatial relationships that the teacher derived from the depth maps.

Crucially, once training is complete, the DSN and the depth estimator are discarded. The final system uses only the lightweight MDN, ensuring high inference speeds and low computational overhead.

Methodological Innovations

To ensure the effective transfer of knowledge from the depth-aware teacher to the depth-blind student, the authors introduced two specific optimization strategies:

  • Uncertainty-Aware Distillation Loss: Monocular depth estimation is inherently noisy. To prevent the student from learning incorrect spatial cues, this loss function weights the transferred knowledge based on confidence. It prioritizes high-confidence predictions from the teacher while down-weighting uncertain ones, ensuring a cleaner learning signal.
  • Gradient-Targeted Transfer Modulation: Because the teacher (DSN) and student (MDN) operate on different feature complexities, they often learn at different paces. This strategy dynamically adjusts gradients to synchronize their learning, preventing the student from becoming overwhelmed early in the training process or lagging behind the teacher's progress.

Experimental Evaluation

The SKD-WM3D framework was evaluated on two industry-standard benchmarks: KITTI 3D and nuScenes. Despite only using 2D bounding box labels for supervision, the model demonstrated remarkable performance:

  • State-of-the-Art Performance: On the KITTI test set, SKD-WM3D significantly outperformed previous weakly supervised leaders. In the "Moderate" car category, it achieved 10.15% AP, a notable improvement over the 8.80% AP of previous methods like WeakMono3D.
  • Parity with Full Supervision: The method proved to be competitive with several older fully supervised models that had access to 100% of the 3D ground truth labels during training.
  • Real-Time Efficiency: The model achieves an inference speed of 30.3 FPS on an NVIDIA V100 GPU. This makes it significantly faster than methods that require active depth estimation or point cloud processing during deployment.

Conclusion

SKD-WM3D demonstrates that high-quality 3D detection does not strictly require 3D annotations or expensive sensors. By leveraging off-the-shelf depth estimators as a source of "pseudo-labels" and employing a sophisticated self-distillation strategy, the framework effectively bridges the gap between 2D images and 3D space. While challenges remain regarding heavily occluded or distant objects, SKD-WM3D represents a significant step forward in making 3D perception more accessible and efficient for real-world applications.

Summary updated

BibTeX
@misc{jiang2024weakly,
  author = {Xueying Jiang and Sheng Jin and Lewei Lu and Shijian Lu},
  title = {{Weakly Supervised Monocular 3D Detection with a Single-View Image}},
  year = {2024},
  eprint = {2402.19144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.19144},
}
Figure