Abstract
Multi-view 3D object detection is a critical task for autonomous driving, requiring the mapping of 2D image features from multiple cameras into a unified 3D space. Traditional methods often utilize 3D position embeddings (PE) defined in a global coordinate system, which forces the network to learn complex, view-dependent transformations. We present CAPE (CAmera view Position Embedding), a novel framework that simplifies this task by encoding 3D position embeddings in local camera coordinates. This "view-normalization" decouples image features from camera extrinsics, making the model more robust and easier to train. CAPE achieves state-of-the-art results on the nuScenes benchmark, demonstrating significant improvements in detection accuracy and robustness to calibration errors.
Introduction: The Challenge of Global Coordinates
In autonomous driving, a vehicle typically carries several cameras providing a 360-degree view. The goal of multi-view 3D object detection is to predict object locations in a single, unified "global" 3D space. Modern Transformer-based architectures address this by assigning 3D Position Embeddings (PE) to image pixels, helping the model understand the spatial context of each pixel.
However, most existing methods define these embeddings in a global coordinate system. This approach is inherently difficult because every camera has a unique position and orientation (extrinsics). Consequently, the network must learn a different 2D-to-3D transformation for every view. For example, an object 10 meters away will have vastly different global PEs depending on whether it appears in the front or side camera, even if the visual features are identical. This coupling of image features with camera extrinsics hinders generalization and learning efficiency.
Methods: Shifting to Local Camera Views
The core innovation of CAPE is the shift from a global to a local camera-view coordinate system for 3D position embeddings. This transformation effectively "normalizes" the input across different camera views.
Local Position Embeddings (K-FPE)
Instead of projecting pixels into the global world, CAPE projects them into a 3D frustum relative to each specific camera. This makes the embeddings "view-invariant," allowing the network to learn geometric interpretations within a single camera's perspective without being affected by the camera's mounting position on the vehicle.
Query Position Encoding (Q-FPE) and Bilateral Cross-Attention
To detect objects, the model uses global 3D queries. CAPE transforms these global queries back into local camera coordinates to interact with the image features. A "bilateral" cross-attention mechanism is employed to compute attention weights in both local and global systems independently, preventing coordinate space confusion.
Temporal Modeling (CAPE-T)
CAPE extends to temporal modeling by incorporating previous frames. By using the vehicle's ego-motion to align past object queries with the current frame, CAPE-T significantly improves velocity estimation and overall detection accuracy.
Key Insights and Results
The primary advantage of CAPE is the decoupling of geometric learning from rigid transformations. By focusing the network on the 2D-to-local-3D mapping, the learning task becomes consistent across all cameras. Furthermore, CAPE is notably more resilient to camera calibration errors or vehicle jitter. Since it relies on local geometry, it maintains better internal consistency even when global alignment is slightly off.
Performance on nuScenes
CAPE was evaluated on the nuScenes dataset, a standard benchmark for autonomous driving. It achieved top-tier performance among camera-only methods:
- Detection Score: Reached 61.0% NDS (nuScenes Detection Score) and 52.5% mAP (mean Average Precision).
- Comparative Gains: CAPE outperformed established models like PETRv2 and BEVFormer. An ablation study showed that simply switching from global to local embeddings improved NDS by 1.4% and mAP by 2.4%.
- Robustness: The model demonstrated superior performance even compared to some methods utilizing extra LiDAR data for depth supervision, such as BEVDepth.
Conclusion
CAPE simplifies multi-view 3D object detection by leveraging local camera-view position embeddings. This approach decouples visual features from camera extrinsics, leading to a more robust and efficient learning process. While temporal fusion remains computationally demanding for long-term dependencies, CAPE sets a new standard for LiDAR-free 3D detection. Future research will focus on optimizing spatial and temporal interactions for more efficient deployment.
Summary updated