Abstract
The recent success of neural networks enables a better interpretation of 3D point clouds, but processing a large-scale 3D scene remains a challenging problem. Most current approaches divide a large-scale scene into small regions and combine the local predictions together. However, this scheme inevitably involves additional stages for pre- and post-processing and may also degrade the final output due to predictions in a local perspective. This paper introduces Fast Point Transformer that consists of a new lightweight self-attention layer. Our approach encodes continuous 3D coordinates, and the voxel hashing-based architecture boosts computational efficiency. The proposed method is demonstrated with 3D semantic segmentation and 3D detection. The accuracy of our approach is competitive to the best voxel-based method, and our network achieves 129 times faster inference time than the state-of-the-art, Point Transformer, with a reasonable accuracy trade-off in 3D semantic segmentation on S3DIS dataset.
Introduction
Understanding large-scale 3D scenes, such as indoor rooms or outdoor environments, typically involves a trade-off between accuracy and computational efficiency. Point-based methods maintain high precision by treating points as continuous coordinates but suffer from high computational costs due to $k$-nearest neighbor ($k$-NN) searches. To handle large scenes, these methods often resort to "crop-and-stitch" strategies, which can introduce artifacts and lose global context. Conversely, voxel-based methods discretize space into a regular grid, enabling efficient sparse convolutions but at the cost of "quantization artifacts" where fine geometric details are lost.
The Fast Point Transformer (FPT) aims to bridge this gap. It provides a transformer architecture that is as fast as voxel-based methods while retaining the precision of point-based approaches. By leveraging voxel hashing and a novel lightweight self-attention mechanism, FPT enables "one-shot" inference on large-scale scenes without expensive neighbor searches.
Methodology
The FPT architecture introduces several key innovations to optimize both speed and geometric fidelity.
Centroid-Aware Voxelization and Devoxelization
Standard voxelization typically averages point features within a cell, losing precise spatial information. FPT employs Centroid-Aware Voxelization, which encodes the relative position of each point to its voxel's centroid. This "centroid-to-point" encoding preserves the underlying continuous geometry during the transition between point and voxel representations.
Lightweight Self-Attention (LSA)
To avoid the $O(N \log N)$ bottleneck of $k$-NN searches, FPT uses voxel hashing to find neighbors in $O(1)$ time. The attention mechanism is further optimized through Coordinate Decomposition. The relative position between points is split into three components: local offset within the source voxel, local offset within the target voxel, and the discrete distance between voxels. This reduces memory complexity from $O(IKD)$ to $O(ID + KD)$, making the model scalable to massive scenes.
Furthermore, FPT utilizes Cosine Similarity Attention instead of the standard Softmax. This approach is more robust for sparse 3D data, as it handles neighborhoods with very few neighbors more gracefully than Softmax, leading to more stable learning.
Experiments and Results
The model was evaluated on the S3DIS and ScanNet datasets for semantic segmentation and object detection.
Performance and Efficiency
On the S3DIS dataset, FPT achieved a remarkable 129x speedup over the original Point Transformer, reducing inference time from 18.07s to just 0.14s per scene. Despite this speed, it maintains competitive accuracy, achieving a 72.1% mIoU on ScanNet, matching or exceeding heavy-duty voxel-based baselines like MinkowskiNet.
3D Object Detection
When integrated as a backbone for VoteNet on the ScanNet dataset, FPT improved the mean Average Precision ([email protected]) from 53.8% to 59.1%. This demonstrates that the geometric features learned by FPT are highly effective for identifying and localizing objects in complex 3D environments.
Conclusion
Fast Point Transformer represents a significant step forward in efficient 3D scene understanding. By combining voxel-based efficiency with point-based geometric awareness, it achieves state-of-the-art inference speeds with minimal accuracy loss. While performance gaps narrow at extremely small voxel sizes, the current architecture's ability to process large scenes in a single pass makes it a powerful tool for real-time 3D applications.
Summary updated