[Paper Review] Voxel Set Transformer: A Set-to-Set Approach to 3D Object Detection from Point Clouds
This paper proposes Voxel Set Transformer (VoxSeT), a novel set-to-set 3D object detection framework that uses a voxel-based set attention (VSA) module to enable efficient, parallel, and high-capacity self-attention on irregularly distributed point clouds. By employing learnable latent codes to compress voxel features and decompose self-attention into two cross-attention modules, VoxSeT achieves linear complexity and competitive performance on KITTI and Waymo benchmarks, outperforming prior CNN and point-based models in generalization and efficiency.
Transformer has demonstrated promising performance in many 2D vision tasks. However, it is cumbersome to compute the self-attention on large-scale point cloud data because point cloud is a long sequence and unevenly distributed in 3D space. To solve this issue, existing methods usually compute self-attention locally by grouping the points into clusters of the same size, or perform convolutional self-attention on a discretized representation. However, the former results in stochastic point dropout, while the latter typically has narrow attention fields. In this paper, we propose a novel voxel-based architecture, namely Voxel Set Transformer (VoxSeT), to detect 3D objects from point clouds by means of set-to-set translation. VoxSeT is built upon a voxel-based set attention (VSA) module, which reduces the self-attention in each voxel by two cross-attentions and models features in a hidden space induced by a group of latent codes. With the VSA module, VoxSeT can manage voxelized point clusters with arbitrary size in a wide range, and process them in parallel with linear complexity. The proposed VoxSeT integrates the high performance of transformer with the efficiency of voxel-based model, which can be used as a good alternative to the convolutional and point-based backbones. VoxSeT reports competitive results on the KITTI and Waymo detection benchmarks. The source codes can be found at \url{https://github.com/skyhehe123/VoxSeT}.
Motivation & Objective
- To address the quadratic complexity and inefficiency of standard self-attention on large, sparse 3D point clouds.
- To overcome the limitations of grouping-based methods that suffer from stochastic point dropout and the narrow receptive fields of convolutional attention in voxelized representations.
- To enable full-resolution feature learning in 3D object detection by modeling point cloud processing as a set-to-set translation.
- To improve modeling capacity and generalization across diverse 3D detection benchmarks like KITTI and Waymo.
- To provide an efficient, parallelizable alternative to sparse CNNs and point-based transformers in real-time 3D detection.
Proposed method
- The Voxel Set Attention (VSA) module uses non-overlapping 3D voxels to group point clouds and applies a two-stage cross-attention mechanism via learnable latent codes to replace full self-attention.
- Each voxel's features are compressed into a fixed-size hidden space using latent codes, which serve as queries to attend to key-value projections of input point features.
- The hidden features are refined by a convolutional feed-forward network (ConvFFN) that enables spatial feature exchange across voxels with local connectivity.
- The final output is produced by fusing the refined hidden features with the original input features, preserving resolution and context.
- The entire VSA module achieves O(nkd) complexity, where n is input point count, k is number of latent codes, and d is feature dimension, enabling vectorized, parallel computation.
- The VoxSeT framework integrates multiple VSA modules with MLPs and a shallow CNN, forming a single-stage detector that processes raw point clouds end-to-end.
Experimental results
Research questions
- RQ1Can a set-to-set translation framework preserve full-resolution features while enabling efficient attention computation on sparse 3D point clouds?
- RQ2Can a voxel-based attention mechanism with learnable latent codes achieve both high modeling capacity and linear complexity in 3D object detection?
- RQ3Does the proposed VSA module outperform grouping-based and convolutional attention mechanisms in terms of accuracy and generalization across diverse datasets?
- RQ4How does the number of latent codes affect the performance and expressiveness of the VSA module?
- RQ5Can the VoxSeT framework achieve real-time inference with lower memory and latency than existing 3D detectors?
Key findings
- VoxSeT achieves state-of-the-art performance on the KITTI dataset, with mAP of 89.61 on the 'Easy' level, 80.14 on 'Moderate', and 78.69 on 'Hard'—surpassing PointRCNN with a PointNet++ backbone.
- On the Waymo dataset, VoxSeT achieves competitive mAP scores, demonstrating strong generalization across different point cloud distributions.
- The ablation study shows that replacing the ConvFFN with a standard FFN reduces mAP by over 10 points on the 'Hard' set, proving the importance of local connectivity.
- Increasing the number of latent codes from 4 to 16 improves mAP from 76.63 to 78.74 on KITTI, indicating better context modeling with more codes.
- VoxSeT runs in 34ms with 2381MB memory on KITTI using a 2080Ti GPU, outperforming SECOND (48ms, 6093MB) and matching the speed of PointPillars (22ms) with higher accuracy.
- Visualization confirms that different latent codes attend to distinct object regions, demonstrating the model’s expressiveness and attention diversity.
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.