Skip to main content
QUICK REVIEW

[Paper Review] Voxel Transformer for 3D Object Detection

Jiageng Mao, Yujing Xue|arXiv (Cornell University)|Sep 6, 2021
Advanced Neural Network ApplicationsComputer Science50 references4 citations
TL;DR

This paper proposes Voxel Transformer (VoTr), a sparse, efficient Transformer backbone for 3D object detection that replaces conventional 3D convolutional networks by leveraging self-attention to capture long-range context across sparse voxels. By introducing Local and Dilated Attention mechanisms and Fast Voxel Query, VoTr achieves state-of-the-art performance on KITTI and Waymo Open datasets with only a 20ms latency increase, while reducing model parameters and maintaining high inference speed.

ABSTRACT

We present Voxel Transformer (VoTr), a novel and effective voxel-based Transformer backbone for 3D object detection from point clouds. Conventional 3D convolutional backbones in voxel-based 3D detectors cannot efficiently capture large context information, which is crucial for object recognition and localization, owing to the limited receptive fields. In this paper, we resolve the problem by introducing a Transformer-based architecture that enables long-range relationships between voxels by self-attention. Given the fact that non-empty voxels are naturally sparse but numerous, directly applying standard Transformer on voxels is non-trivial. To this end, we propose the sparse voxel module and the submanifold voxel module, which can operate on the empty and non-empty voxel positions effectively. To further enlarge the attention range while maintaining comparable computational overhead to the convolutional counterparts, we propose two attention mechanisms for multi-head attention in those two modules: Local Attention and Dilated Attention, and we further propose Fast Voxel Query to accelerate the querying process in multi-head attention. VoTr contains a series of sparse and submanifold voxel modules and can be applied in most voxel-based detectors. Our proposed VoTr shows consistent improvement over the convolutional baselines while maintaining computational efficiency on the KITTI dataset and the Waymo Open dataset.

Motivation & Objective

  • To address the limited receptive field of 3D convolutional backbones in voxel-based detectors, which hampers detection of sparse or incomplete 3D objects.
  • To enable effective self-attention over sparse, non-uniformly distributed voxels in point cloud data without incurring prohibitive computational costs.
  • To design a general-purpose Transformer-based backbone that can be seamlessly integrated into existing voxel-based 3D detectors for performance gains.
  • To maintain computational efficiency and low latency compared to convolutional counterparts while significantly improving detection accuracy.

Proposed method

  • Proposes the sparse voxel module and submanifold voxel module to operate efficiently on empty and non-empty voxel positions, respectively, enabling sparse attention operations.
  • Introduces Local Attention and Dilated Attention mechanisms to expand the effective receptive field of each voxel while limiting the number of attending voxels per query.
  • Employs Fast Voxel Query to accelerate multi-head attention by efficiently retrieving relevant voxel features using sparse tensor operations.
  • Uses linear projection layers in VoTr modules to minimize model parameters, reducing the number of parameters by 0.5M compared to 3D convolutional backbones.
  • Applies multi-head self-attention with dynamic attention weights to allow each voxel to attend to distant, contextually relevant voxels across large spatial ranges.
  • Designs the architecture to be plug-and-play in most existing voxel-based detectors, such as SECOND and PV-RCNN, enabling consistent performance gains.
Figure 2: The overall architecture of Voxel Transformer (VoTr). VoTr is a Transformer-based 3D backbone that can be applied in most voxel-based 3D detection frameworks. It contains a series of sparse and submanifold voxel modules. Submanifold voxel modules perform multi-head self-attention strictly
Figure 2: The overall architecture of Voxel Transformer (VoTr). VoTr is a Transformer-based 3D backbone that can be applied in most voxel-based 3D detection frameworks. It contains a series of sparse and submanifold voxel modules. Submanifold voxel modules perform multi-head self-attention strictly

Experimental results

Research questions

  • RQ1Can a Transformer-based backbone effectively capture long-range spatial dependencies in sparse 3D voxel grids where 3D convolutions fail due to limited receptive fields?
  • RQ2How can self-attention be efficiently applied to sparse voxel data without incurring the computational cost of standard Transformers on dense grids?
  • RQ3What attention mechanisms (e.g., local vs. dilated) best balance receptive field expansion and computational efficiency in 3D voxel-based detection?
  • RQ4To what extent does incorporating self-attention improve detection performance on long-range and sparse 3D objects, especially in challenging scenarios like far-distance or small-object detection?
  • RQ5Can a Transformer-based backbone maintain high inference speed and low parameter count compared to 3D convolutional backbones while outperforming them?

Key findings

  • On the KITTI dataset, VoTr-SSD improves moderate car mAP by 2.29% and hard car mAP by 1.79% over the 3D convolutional baseline.
  • On the Waymo Open dataset, VoTr-SSD achieves a 1.05% mAP gain over SECOND and a 3.26% gain over PV-RCNN, with significant improvements in far-distance detection (up to 4.83% in 50m-Inf range).
  • Using Dilated Attention instead of Local Attention alone yields a 2.79% mAP improvement on the KITTI validation set, demonstrating its effectiveness in expanding context capture.
  • Adding dropout layers to VoTr modules degrades performance by 8.52% mAP when dropout rate is 0.3, indicating that dropout is detrimental in this architecture.
  • VoTr reduces model parameters by 0.5M compared to 3D convolutional backbones due to parameter-efficient linear projections, and maintains high inference speed (14.65 Hz for single-stage detector).
  • Visualization confirms that querying voxels dynamically attend to distant, contextually relevant voxels across large spatial ranges, supporting the model’s ability to model long-range dependencies.
Figure 3: Illustration of Local and Dilated Attention. We note that this is a 2D example and can be easily extended to 3D cases. For each query (red), Local Attention (yellow) focuses on the local region while Dilated Attention (green) searches the whole space with gradually enlarged steps. The non-
Figure 3: Illustration of Local and Dilated Attention. We note that this is a 2D example and can be easily extended to 3D cases. For each query (red), Local Attention (yellow) focuses on the local region while Dilated Attention (green) searches the whole space with gradually enlarged steps. The non-

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.