Interactive 3D Object Detection with Prompts

Rui Zhang, Xiangru Lin, Wei Zhang, Jincheng Lu, Xuekuan Wang, Xiao Tan, Yingying Li, Errui Ding, Jingdong Wang, Guanbin Li

Introduction

High-quality 3D datasets are essential for the development of robust autonomous driving systems. However, generating these datasets is a significant bottleneck. Annotating just one hour of driving data can require hundreds of human hours. The primary difficulty stems from the "dimensionality gap": while humans are adept at identifying objects in 2D images, precisely localizing, sizing, and orienting 3D bounding boxes within sparse and complex LiDAR point clouds is a mentally taxing and slow process.

Existing automated 3D detectors, while helpful, often fail to capture "open-set" or rare objects and frequently produce boxes that require tedious manual refinement. This paper introduces a novel interactive framework designed to bridge this gap, making 3D annotation as intuitive as 2D interaction.

Comparison between traditional 3D annotation and the proposed interactive workflow.

The Interactive Framework

The proposed system moves away from purely manual or purely automated approaches toward a multi-modal interactive pipeline. The framework operates in two distinct phases:

1. Prompt in 2D, Detect in 3D

Instead of navigating a 3D point cloud to find objects, an annotator provides a simple 2D prompt—such as a click or a bounding box—on a camera image or a Bird’s Eye View (BEV) map. The system utilizes 3D Position Encoding to map these 2D coordinates into 3D space, which then initializes "object queries" for a Transformer-based decoder. This leverages human intuition in 2D to guide the 3D detection process.

2. Detect in 3D, Refine in 3D

If the initial 3D box generated by the model is not perfectly aligned, the user can provide feedback by adjusting a single attribute, such as dragging the center point. The model then performs self-correction, automatically recalculating other dependent attributes like orientation (yaw), width, and length based on this new hint. This iterative process allows for rapid convergence to a high-quality annotation.

The detailed architecture of the interactive system, illustrating the prompt-guided query generation and the iterative refinement loop.

Technical Innovations

The efficiency of this system is driven by two key technical components:

  • Global-to-Local Enhancement: The model initially processes the entire scene (global) to understand the context. It then employs RoI (Region of Interest) Align to focus on the specific area indicated by the user prompt (local), enabling fine-grained accuracy in the 3D box prediction.
  • 3D Attribute Encoding: This mechanism allows the model to treat human corrections as new "prompts." These corrections are re-injected into the decoder, allowing the system to refine the final output iteratively based on user feedback.

Experimental Results

The researchers evaluated the framework using the nuScenes dataset, a large-scale real-world autonomous driving dataset. The experiments focused on both simulated interactions and human-annotated trials.

Efficiency and Accuracy

In human trials, the proposed method achieved a 56% speedup compared to traditional manual annotation and was 40% faster than using a state-of-the-art (SOTA) model followed by manual tweaks.

The system also demonstrated impressive accuracy gains through iteration. Starting from a raw 2D box prompt, the model achieved an initial 75.0 NDS (nuScenes Detection Score). After five rounds of iterative refinement, this score rose to 90.5 NDS, proving that the model effectively incorporates and learns from user feedback.

Open-Set Generalization

A significant advantage of this prompt-driven approach is its ability to handle "open-set" objects—categories the model was not specifically trained on, such as strollers or police cars. Because the system relies on user prompts rather than fixed category labels, it maintains high accuracy (up to 99.2 mAP after refinement) even on novel object classes, making it highly versatile for real-world edge cases.

Conclusion

By leveraging the strengths of human 2D perception and the spatial precision of 3D deep learning models, this interactive framework significantly reduces the cost and time associated with 3D data annotation. The "self-correction" capability and the intuitive 2D-to-3D interface represent a major step forward in creating the massive datasets required for safe autonomous driving.

Summary updated

BibTeX
@inproceedings{zhang2024interactive,
  author = {Rui Zhang and Xiangru Lin and Wei Zhang and Jincheng Lu and Xuekuan Wang and Xiao Tan and Yingying Li and Errui Ding and Jingdong Wang and Guanbin Li},
  title = {{Interactive 3D Object Detection with Prompts}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72643-9\_9},
}
Figure