Point Cloud Recognition with Position-to-Structure Attention Transformers

Zheng Ding, James Hou, Zhuowen TuarXiv 2022 · DOI

Abstract

Recognizing 3D point clouds is challenging due to their unordered and sparse nature. Traditional methods often rely on handcrafted heuristics for feature grouping and downsampling. This paper introduces PS-Former, a Transformer-based architecture that replaces these rigid components with learnable layers. By utilizing a Condensation Layer for intelligent sampling and a Position-to-Structure (P2S) attention mechanism, PS-Former effectively captures geometric relationships. Evaluated on benchmarks like ModelNet40 and ShapeNet, PS-Former achieves state-of-the-art performance, demonstrating the power of learnable spatial-structural decoupling.

Introduction

3D point clouds, unlike 2D images, lack a regular grid structure. They consist of scattered $(x, y, z)$ coordinates without inherent connectivity. To understand the shape of an object, models must extract local geometric structures. This typically involves a "chicken-and-egg" dilemma: informative features are needed to build a local graph, but a local graph is needed to extract those features. Most current approaches bypass this using fixed heuristics like Farthest Point Sampling (FPS) or K-Nearest Neighbors (KNN). PS-Former addresses this by making grouping and feature extraction entirely learnable and mutually reinforcing.

Methodology

The PS-Former architecture introduces several key innovations to the standard Transformer pipeline to better handle 3D spatial data.

The overall architecture of PS-Former, highlighting the Condensation Layer and the sequence of Structure Aware Attention Blocks.

Condensation Layer

Instead of relying on spatial distance alone (as in FPS), the Condensation Layer leverages the Transformer's internal attention mechanism. By analyzing the attention matrix, the model identifies "points of interest" that contribute most significantly to the overall shape representation. The cloud is then "condensed" into these key centers, while structural features are extracted from the points that are discarded, ensuring no critical geometric information is lost during downsampling.

Position-to-Structure (P2S) Attention

Standard self-attention treats all features uniformly. PS-Former decouples features into two distinct branches: Position (raw spatial coordinates) and Structure (learned geometric context). The P2S mechanism recursively uses the position branch to enrich the structure branch.

Illustration of the three attention types: (a) position-to-position, (b) position-to-structure, and (c) structure-to-structure.

As shown in Figure 5, the model employs different attention modes to refine features. The P2S attention specifically grounds abstract geometric understanding in spatial reality, preventing raw coordinates from overwhelming subtle structural features. Additionally, the model utilizes Euclidean distance-based attention, which is more natural for 3D space than standard dot-product attention.

Experimental Results

The model was rigorously evaluated across three major benchmarks:

  • ModelNet40 (Classification): PS-Former achieved a state-of-the-art accuracy of 93.9%, surpassing other Transformer-based models like PCT (93.2%) and Point Transformer (92.8%).
  • ShapeNet (Part Segmentation): It reached a mean Intersection over Union (mIOU) of 86.4, matching top specialized models.
  • S3DIS (Semantic Scene Segmentation): The model showed competitive performance in large-scale indoor scene analysis, though its P2S logic is primarily optimized for geometric coordinates rather than multi-modal data like RGB.

Conclusion

PS-Former demonstrates that replacing handcrafted heuristics with learnable, attention-driven components significantly improves 3D point cloud recognition. By decoupling position and structure, the model achieves a more nuanced understanding of geometry. While currently optimized for spatial coordinates, future iterations could extend this decoupled attention to multi-modal data like color and texture, further enhancing its versatility in complex scene segmentation tasks.

Summary updated

BibTeX
@misc{ding2022point,
  author = {Zheng Ding and James Hou and Zhuowen Tu},
  title = {{Point Cloud Recognition with Position-to-Structure Attention Transformers}},
  year = {2022},
  eprint = {2210.02030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.02030},
}
Figure