Abstract
Deep neural networks are widely used for understanding 3D point clouds. At each point convolution layer, features are computed from local neighborhoods of 3D points and combined for subsequent processing in order to extract semantic information. Existing methods adopt the same individual point neighborhoods throughout the network layers, defined by the same metric on the fixed input point coordinates. This common practice is easy to implement but not necessarily optimal. Ideally, local neighborhoods should be different at different layers, as more latent information is extracted at deeper layers. We propose a novel end-to-end approach to learn different non-rigid transformations of the input point cloud so that optimal local neighborhoods can be adopted at each layer. We propose both linear (affine) and non-linear (projective and deformable) spatial transformers for 3D point clouds. With spatial transformers on the ShapeNet part segmentation dataset, the network achieves higher accuracy for all categories, with 8% gain on earphones and rockets in particular. Our method also outperforms the state-of-the-art on other point cloud tasks such as classification, detection, and semantic segmentation. Visualizations show that spatial transformers can learn features more efficiently by dynamically altering local neighborhoods according to the geometry and semantics of 3D shapes in spite of their within-category variations.
Introduction
In 3D point cloud analysis, defining local neighborhoods is a fundamental step for feature extraction. Traditional architectures like PointNet++ or DGCNN typically rely on fixed Euclidean distances in the original coordinate space to determine $k$-nearest neighbors. However, this static approach faces two significant challenges. First, physical proximity does not always imply semantic similarity; for instance, a table leg and the floor may be close in space but belong to different semantic classes. Second, as a network progresses through layers, it captures increasingly abstract features. A fixed neighborhood metric fails to adapt to these changing levels of abstraction, limiting the model's ability to refine its focus on specific geometric or semantic structures.
Methodology: Spatial Transformer Blocks
To address these limitations, we introduce the Spatial Transformer Block, a modular component that can be integrated into existing point cloud networks. Instead of performing neighborhood searches on fixed input coordinates $P$, the block learns a transformation $\Phi$ to map $P$ into a new latent coordinate space $G$. The neighborhood search is then conducted in this transformed space.
We explore three distinct families of transformations:
- Affine: A linear transformation (rotation, scaling, shearing) that preserves collinearity.
- Projective: A non-linear transformation in 3D (linear in homogeneous coordinates) providing more degrees of freedom.
- Deformable: The most flexible approach, learning per-point offsets based on both coordinates and learned features. This allows the network to "warp" shapes semantically—for example, stretching a chair's legs in latent space to align with a canonical template.
Experimental Results
The proposed method was evaluated across several benchmarks, including ModelNet40 (classification), ShapeNet (part segmentation), S3DIS (semantic segmentation), and KITTI (3D object detection).
Part Segmentation and Classification
On the ShapeNet dataset, the deformable transformer provided a substantial performance boost. Notably, it achieved an 8% mIOU gain on complex categories such as earphones and rockets. In classification tasks on ModelNet40, adding spatial transformers to a DGCNN baseline resulted in a ~1% improvement, which increased to ~2% when paired with sampling-based methods like SplatNet.
Semantic Alignment and Visualization
Visualizations reveal that the transformers learn to "align" different instances within a category. Regardless of an object's initial orientation or specific geometry, the transformer warps it so that specific semantic parts (e.g., a rocket's wing) are consistently captured by the same sub-graph.
Detection and Large-Scale Segmentation
When integrated into VoxelNet for the KITTI dataset, the method improved car detection accuracy by 2% in both bird’s-eye view and full 3D detection. On the S3DIS dataset, the model outperformed state-of-the-art methods by 1.1% mIOU, demonstrating improved robustness in occluded indoor environments.
Discussion and Conclusion
The success of spatial transformers in 3D point clouds stems from their ability to dynamically alter local neighborhoods based on geometry and semantics. The deformable variant is particularly effective as it uses learned features to guide the transformation.
However, some challenges remain. Currently, there are few constraints on deformable transformers, which can lead to highly distorted latent spaces. Future work could explore smoothness or topology-preserving constraints. Additionally, combining global transformations with local, per-point deformations (akin to 2D deformable convolutions) may further enhance the model's capacity to handle complex 3D structures. Despite these open questions, the spatial transformer offers a powerful, efficient (adding only ~0.1% more parameters), and end-to-end trainable solution for more flexible 3D scene understanding.
Summary updated