GTNet: Graph Transformer Network for 3D Point Cloud Classification and Semantic Segmentation

Wei Zhou, Qian Wang, Weiwei Jin, Xinzhe Shi, Dekui Wang, Xingxing Hao, Yongxiang YuarXiv 2023

Introduction

Processing 3D point clouds presents unique challenges due to the irregular, unordered nature of the data, which lacks the grid structure found in 2D images. Current methodologies generally fall into two categories: graph-based methods and Transformer-based methods. While graph-based approaches are effective at capturing local geometric structures, they often rely on static graphs or simplistic aggregation functions like max-pooling, which can overlook subtle correlations. Conversely, Transformer-based methods excel at capturing global context but often struggle with fine-grained local details or high computational costs on dense point sets.

To address these limitations, we present GTNet, a novel deep learning architecture that integrates the local geometric sensitivity of dynamic graphs with the global contextual capabilities of Transformers.

Methodology

The core of GTNet is the Graph Transformer block, which is utilized four times throughout the network. This block consists of two primary sub-modules designed to capture multi-scale features:

Local Transformer

The Local Transformer operates on a dynamic graph, where point neighborhoods are re-calculated in the feature space at each layer using K-Nearest Neighbors (K-NN). Instead of traditional pooling, it employs intra-domain cross-attention to assign unique weights to each neighbor. This allows the model to learn which neighboring features are most relevant to the centroid, preserving more nuanced geometric information than standard max-pooling.

Global Transformer

Following local feature extraction, the Global Transformer applies global self-attention. This ensures that every point in the cloud incorporates information from all other points, capturing long-range dependencies and the overall structure of the scene or object.

Feature Encoding and Coordinate Alignment

To enhance shape perception, GTNet uses a specific edge encoding: $concat(f_j - f_i, f_i)$, where $f_j$ is a neighbor and $f_i$ is the centroid. This explicitly captures relative local geometry. Additionally, a Coordinate Alignment Network (CAN) is implemented as an input transformation block to ensure the model remains invariant to rotations and translations.

Experimental Results

GTNet was evaluated on three standard benchmarks: ModelNet40 for shape classification, ShapeNet Part for part segmentation, and S3DIS for large-scale semantic segmentation.

Performance Metrics

  • ModelNet40: GTNet achieved 93.2% Overall Accuracy (OA), outperforming established models such as DGCNN (92.2%) and PointNet++ (92.5%).
  • S3DIS: The model reached 64.3% mIoU, a significant improvement over DGCNN (56.1%) and the Transformer-based A-SCN (52.8%).
  • ShapeNet Part: GTNet achieved 85.1% mIoU, maintaining competitiveness with state-of-the-art specialized models.

Key Insights

Ablation studies highlighted the importance of the feature encoding mechanism; removing the vector difference calculation ($f_j - f_i$) led to a 1.48% drop in mIoU on segmentation tasks. Furthermore, the model is relatively efficient, with only 2.1M parameters for the classification task, making it more lightweight than several hierarchical alternatives.

Conclusion and Future Work

GTNet successfully bridges the gap between local geometric modeling and global context reasoning. While the model demonstrates state-of-the-art performance, future work could explore adaptive neighborhood scales (varying $K$ for different object complexities) and multi-scale hierarchical architectures. Additionally, extending GTNet to tasks such as 3D point cloud registration and reconstruction remains a promising direction.

Summary updated

BibTeX
@misc{zhou2023gtnet,
  author = {Wei Zhou and Qian Wang and Weiwei Jin and Xinzhe Shi and Dekui Wang and Xingxing Hao and Yongxiang Yu},
  title = {{GTNet: Graph Transformer Network for 3D Point Cloud Classification and Semantic Segmentation}},
  year = {2023},
  url = {https://openreview.net/forum?id=ZAbwbMw9tf},
}
Figure