[Paper Review] VoxelFormer: Bird's-Eye-View Feature Generation based on Dual-view Attention for Multi-view 3D Object Detection
This paper proposes VoxelFormer, a multi-view 3D object detection framework that introduces dual-view attention for bird's-eye-view (BEV) feature generation, enabling joint supervision from LiDAR points and full feature encoding from camera views. By generating attention weights from both BEV and camera views, VoxelFormer improves feature quality and achieves 4.9% higher NDS on nuScenes than BEVFormer under identical training settings, even with only 3 encoders and no historical frame fusion.
In recent years, transformer-based detectors have demonstrated remarkable performance in 2D visual perception tasks. However, their performance in multi-view 3D object detection remains inferior to the state-of-the-art (SOTA) of convolutional neural network based detectors. In this work, we investigate this issue from the perspective of bird's-eye-view (BEV) feature generation. Specifically, we examine the BEV feature generation method employed by the transformer-based SOTA, BEVFormer, and identify its two limitations: (i) it only generates attention weights from BEV, which precludes the use of lidar points for supervision, and (ii) it aggregates camera view features to the BEV through deformable sampling, which only selects a small subset of features and fails to exploit all information. To overcome these limitations, we propose a novel BEV feature generation method, dual-view attention, which generates attention weights from both the BEV and camera view. This method encodes all camera features into the BEV feature. By combining dual-view attention with the BEVFormer architecture, we build a new detector named VoxelFormer. Extensive experiments are conducted on the nuScenes benchmark to verify the superiority of dual-view attention and VoxelForer. We observe that even only adopting 3 encoders and 1 historical frame during training, VoxelFormer still outperforms BEVFormer significantly. When trained in the same setting, VoxelFormer can surpass BEVFormer by 4.9% NDS point. Code is available at: https://github.com/Lizhuoling/VoxelFormer-public.git.
Motivation & Objective
- To address the performance gap between transformer-based and CNN-based detectors in multi-view 3D object detection.
- To investigate the limitations of existing BEV feature generation methods, particularly in feature encoding and supervision from LiDAR points.
- To improve BEV feature quality by enabling full utilization of camera view features and direct LiDAR supervision.
- To develop a new detector architecture that integrates dual-view attention into the BEVFormer framework for better detection accuracy.
Proposed method
- Proposes dual-view attention, a novel BEV feature generation mechanism that computes attention weights from both the BEV feature and camera view features.
- Projects all camera view features into 3D voxels and uses voxel coordinates to align features with BEV space.
- Integrates 3D occupancy confidence predictions from a learnable head to modulate feature aggregation, enabling LiDAR-based depth supervision.
- Uses a single-level FPN representation and avoids iterative historical fusion to reduce computational cost.
- Implements dual-view attention efficiently in CUDA, achieving fast inference and low GPU memory usage by avoiding intermediate 5D tensor operations.
- Combines dual-view attention with the BEVFormer architecture to build VoxelFormer, a new end-to-end detector for multi-view 3D object detection.
Experimental results
Research questions
- RQ1Why do transformer-based detectors underperform compared to CNN-based detectors in multi-view 3D object detection?
- RQ2How do the limitations of spatial cross-attention (SC) in BEVFormer—specifically, lack of LiDAR supervision and partial feature aggregation—affect detection performance?
- RQ3Can a dual-view attention mechanism that leverages both BEV and camera view features improve BEV feature quality and detection accuracy?
- RQ4To what extent can a simplified VoxelFormer with only 3 encoders and no historical fusion outperform BEVFormer under fair training conditions?
- RQ5Does efficient CUDA implementation of dual-view attention maintain high inference speed and low memory consumption while enabling full feature encoding?
Key findings
- VoxelFormer achieves 57.4% NDS on the nuScenes test set with only 3 encoders and no historical frame fusion, outperforming BEVFormer by 0.5% NDS.
- Under identical training settings, VoxelFormer surpasses BEVFormer by 4.9% in NDS, demonstrating the effectiveness of dual-view attention.
- The ablation study confirms that dual-view attention significantly outperforms both SC and LSS in BEV feature generation when integrated into the same detection architecture.
- Even with limited computational resources, VoxelFormer's performance can be further improved by increasing the number of encoders, suggesting scalability.
- The CUDA implementation of dual-view attention enables fast inference and low GPU memory usage, avoiding expensive 5D tensor operations.
- Visualization results show VoxelFormer successfully detects challenging objects that BEVFormer fails to localize or classify correctly.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.