Skip to main content
QUICK REVIEW

[Paper Review] DSVT: Dynamic Sparse Voxel Transformer with Rotated Sets

Haiyang Wang, Shi Chen|arXiv (Cornell University)|Jan 15, 2023
Advanced Image and Video Retrieval TechniquesComputer Science6 citations
TL;DR

DSVT proposes a deployment-friendly, single-stride Transformer backbone for 3D point cloud perception that uses dynamic sparse window attention to efficiently process sparsity through parallel, size-equivalent subset partitioning and rotated set partitioning for cross-set connectivity. It achieves state-of-the-art performance with real-time inference (27 Hz) via TensorRT acceleration, outperforming prior methods in both accuracy and latency.

ABSTRACT

Designing an efficient yet deployment-friendly 3D backbone to handle sparse point clouds is a fundamental problem in 3D perception. Compared with the customized sparse convolution, the attention mechanism in Transformers is more appropriate for flexibly modeling long-range relationships and is easier to be deployed in real-world applications. However, due to the sparse characteristics of point clouds, it is non-trivial to apply a standard transformer on sparse points. In this paper, we present Dynamic Sparse Voxel Transformer (DSVT), a single-stride window-based voxel Transformer backbone for outdoor 3D perception. In order to efficiently process sparse points in parallel, we propose Dynamic Sparse Window Attention, which partitions a series of local regions in each window according to its sparsity and then computes the features of all regions in a fully parallel manner. To allow the cross-set connection, we design a rotated set partitioning strategy that alternates between two partitioning configurations in consecutive self-attention layers. To support effective downsampling and better encode geometric information, we also propose an attention-style 3D pooling module on sparse points, which is powerful and deployment-friendly without utilizing any customized CUDA operations. Our model achieves state-of-the-art performance with a broad range of 3D perception tasks. More importantly, DSVT can be easily deployed by TensorRT with real-time inference speed (27Hz). Code will be available at \url{https://github.com/Haiyang-W/DSVT}.

Motivation & Objective

  • To design an efficient, deployment-friendly 3D Transformer backbone that avoids custom CUDA operations for sparse point clouds.
  • To address the challenge of applying standard attention mechanisms to sparse, irregularly distributed 3D point clouds.
  • To enable parallel, low-latency computation on sparse voxels without dummy padding or token sampling.
  • To improve modeling capacity through inter-subset connectivity via rotated set partitioning across layers.
  • To develop an attention-style 3D pooling module that enhances geometric encoding without custom kernels.

Proposed method

  • Dynamic sparse window attention partitions each sparse window into non-overlapping, size-equivalent subsets based on local sparsity, enabling fully parallel computation.
  • Rotated set partitioning alternates the partitioning axis (X- or Y-axis) between consecutive self-attention layers to enable cross-set feature fusion.
  • A hybrid window partitioning strategy alternates window shapes across transformer blocks to reduce padding cost and improve multi-scale feature learning.
  • An attention-style 3D pooling module downsamples feature maps by attending over sparse voxel sets, preserving geometric structure without custom CUDA kernels.
  • The model is optimized for inference using NVIDIA TensorRT, achieving real-time performance on standard hardware.
  • All components are implemented using standard deep learning frameworks (e.g., PyTorch), avoiding the need for custom CUDA code.

Experimental results

Research questions

  • RQ1Can a standard Transformer backbone be efficiently and effectively applied to sparse 3D point clouds without custom CUDA operations?
  • RQ2How can attention mechanisms be adapted to handle variable sparsity in local 3D windows while maintaining parallelism and low latency?
  • RQ3What is the impact of inter-subset connectivity across sparse voxel subsets on 3D perception performance?
  • RQ4Can an attention-based pooling module outperform traditional pooling methods in sparse 3D feature learning?
  • RQ5To what extent can a pure Transformer backbone achieve real-time inference speed with high accuracy on 3D perception benchmarks?

Key findings

  • DSVT achieves 61.40 mAPH on the Waymo validation set, a +0.54 gain over the baseline with 29ms inference latency, outperforming bucketing-based methods in both speed and accuracy.
  • The rotated set partitioning strategy improves performance by +0.83 mAPH over random sampling and +0.54 over non-rotated regional partitioning.
  • After deployment with TensorRT, DSVT runs at 27Hz (37ms latency), matching the speed of Centerpoint-Pillar while achieving 8.8 higher mAPH.
  • The attention-style 3D pooling module outperforms all baseline pooling strategies, including those with key masking on empty voxels, indicating that empty voxels carry geometric information.
  • The model achieves state-of-the-art performance across multiple 3D perception tasks, including detection and segmentation, with minimal computational overhead.
  • The dynamic sparse window attention mechanism reduces latency by nearly 2× compared to previous bucketing-based approaches while maintaining or improving modeling capacity.

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.