Object as Query: Equipping Any 2D Object Detector with 3D Detection Ability

Zitian Wang, Zehao Huang, Jiahui Fu, Naiyan Wang, Si Liu · DOI

Introduction

Camera-based 3D object detection is a cornerstone of autonomous driving, yet it remains inherently challenging due to the loss of depth information in 2D images. Current state-of-the-art methods generally fall into two categories: dense methods that project image features into a 3D Bird’s-Eye-View (BEV) or voxel space, and sparse query methods that utilize a fixed set of learnable 3D anchor points. While dense methods are computationally intensive, fixed-query methods often struggle to locate objects in dynamic, unpredictable scenarios.

MV2D (Multi-View 2D Objects guided 3D Object Detector) proposes a novel solution: leveraging mature 2D object detection technology as a strong prior. By "lifting" standard 2D detections into the 3D realm, MV2D generates dynamic, image-conditioned queries that tell the 3D detector exactly where to look, improving both accuracy and computational efficiency.

Methodology

The MV2D framework is designed to be detector-agnostic, meaning it can be integrated with various off-the-shelf 2D detectors such as Faster R-CNN or YOLOX. The pipeline consists of three primary stages.

Overview of the MV2D framework, illustrating the flow from multi-view images to 3D predictions via 2D detection and sparse cross-attention.

1. Dynamic Query Generation

Instead of starting with static or random 3D points, MV2D runs a 2D detector on each camera view. The resulting 2D boxes are processed by a Dynamic Query Generator. This component combines Region of Interest (RoI) features with camera intrinsics and extrinsics to "unproject" the 2D box into a 3D reference point ($p_{ref}$).

The Dynamic Query Generator architecture, showing how RoI features and camera parameters are transformed into a 3D reference point.

2. Relevant Feature Selection

To maintain object consistency across multiple views, MV2D creates a 3D meshgrid (frustum) for each 2D box. This grid is projected into other camera views to identify relevant regions. This ensures that a query for an object seen in one camera also incorporates corresponding features from adjacent views.

3. Sparse Cross Attention

MV2D employs a sparse decoder where each query interacts only with its identified "relevant" features. This approach suppresses background noise and forces the model to focus on the specific object it is attempting to localize, significantly reducing the computational cost compared to dense attention mechanisms.

Key Insights

  • 2D as a Strong Prior: 2D detections provide nearly perfect "existence" priors. Using these to seed 3D queries drastically improves the recall of small or distant objects that fixed-query methods might miss.
  • Geometry-Guided Association: By using 3D meshgrids to link boxes across views, the model solves the multi-view association problem geometrically rather than relying solely on the neural network to learn visual similarities.
  • Flexibility: The framework is highly versatile. Users can swap out the 2D backbone for a faster or more accurate model depending on hardware constraints, and the 3D performance scales accordingly.

Results and Evaluation

The model was trained and evaluated on the nuScenes dataset, a massive real-world autonomous driving benchmark. MV2D achieved state-of-the-art performance, reaching 59.6% NDS (NuScenes Detection Score) and 51.1% mAP with a VoVNetV2 backbone, outperforming established models like PETRv2 and BEVFormer. Furthermore, the framework demonstrated its generalizability by producing competitive results across three different 2D detector configurations (Faster R-CNN, RetinaNet, and YOLOX).

Limitations and Future Work

The primary limitation of MV2D is the "2D bottleneck": the 3D detector is dependent on the 2D detector's performance. If the 2D model misses an object due to extreme occlusion or weather conditions, the 3D model will likely fail to generate a query. Additionally, qualitative analysis showed that the model occasionally splits single large objects, like trucks with trailers, into separate detections. Future research will focus on improving robustness to 2D failures and refining multi-frame temporal fusion to enhance velocity estimation and tracking.

Summary updated

BibTeX
@inproceedings{wang2023object,
  author = {Zitian Wang and Zehao Huang and Jiahui Fu and Naiyan Wang and Si Liu},
  title = {{Object as Query: Equipping Any 2D Object Detector with 3D Detection Ability}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.00351},
}
Figure