TL;DR
Standard Transformers often treat 3D point clouds as if they exist in a flat Euclidean vacuum, ignoring the actual "flow" of an object's surface. This paper introduces Geodesic Self-Attention (GSA), which replaces traditional dot-product attention with a metric that follows the underlying manifold of the shape. This approach achieves state-of-the-art results in 3D classification and segmentation while maintaining high computational efficiency.
What Problem Does This Paper Address?
While Transformers have revolutionized 3D point cloud processing, they carry a "Euclidean bias" inherited from 2D vision. In standard self-attention, the relationship between two points is determined by a dot product in Euclidean space.
However, 3D objects are better described as Riemannian manifolds—geometric surfaces embedded in 3D space. The authors highlight a "geometric semantics confusion scenario." For instance, two points on different intersecting parts of an object (like the wings and fuselage of an airplane) might be very close in Euclidean terms (a straight line through the air). In reality, they belong to entirely different structural components. Standard attention would incorrectly assign these points high similarity. To truly understand a 3D shape, the model needs to measure distance along the surface (geodesic distance), rather than through the empty space between points.
Methods
The authors propose the Point Geodesic Transformer (Point-GT), featuring a novel Geodesic Self-Attention (GSA) module designed to capture these surface-aware distances.
They offer two distinct ways to calculate geodesic distances within the network:
- Graph-based Geodesic: The model constructs a dynamic $k$-Nearest Neighbor ($k$-NN) graph of the points. It then uses Floyd’s shortest path algorithm to estimate the geodesic distance between any two points on the graph. To make this computationally feasible, the authors implemented a custom CUDA operator using Numba, achieving a 100x speedup over standard CPU implementations.
- Data Manifold-based Geodesic: This is a more continuous, mathematically elegant approach. The authors project point features onto an Oblique Manifold (OM)—a space where each feature vector is constrained to a unit norm. In this space, the "distance" is calculated using the arc-cosine of the inner product, effectively capturing the topological relationships of the underlying geometry without the heavy overhead of graph searching.
Interestingly, the authors found that removing the standard linear transformations ($W_Q, W_K$) before the attention calculation actually improved performance. These projections can sometimes "scramble" the delicate geometric structure of the raw coordinates, so operating directly on the manifold proved superior.
Datasets
The model was rigorously evaluated on the "Triple Crown" of 3D benchmarks:
- ModelNet40: The standard for synthetic 3D object classification.
- ScanObjectNN: A more challenging dataset featuring real-world, noisy, and occluded scans.
- ShapeNetPart: Used for fine-grained part segmentation (e.g., identifying the wings vs. the fuselage of an airplane).
- Few-shot Learning: Evaluated on ModelNet40 to test the model's ability to generalize from very few examples.
Key Insights and Ideas
- The "Surface" Matters: The core insight is that for 3D data, the shortest path is rarely a straight line. By forcing the attention mechanism to respect the manifold, the model gains a much stronger inductive bias for 3D shapes.
- Simplicity is Better: When converting geodesic distances into attention weights, the authors found that a simple negative distance followed by a softmax worked best. Complex normalizations or inversions actually hurt the representation.
- Efficiency Gains: By moving away from standard dot-product attention and removing redundant linear layers, the GSA-DM (Data Manifold) variant actually uses fewer parameters (18.5M vs 22.1M) and fewer FLOPs than standard Transformer baselines while delivering superior performance.
Key Results
- State-of-the-Art Classification: On ModelNet40, Point-GT achieved 94.1% accuracy (with MAE pre-training), outperforming major competitors like Point-MAE and PCT.
- Robustness on Real Data: On the difficult ScanObjectNN (PB-T50-RS variant), the model reached 85.7% accuracy, marking a significant jump over standard Transformer architectures.
- Segmentation: In part segmentation, the model outperformed Point-BERT, demonstrating that geodesic information is particularly useful for identifying where one part of an object ends and another begins.
- Few-Shot Performance: The model showed remarkable gains in low-data regimes, suggesting that the geodesic prior helps the model learn the "essence" of a shape much faster than Euclidean models.
Limitations and Future Work
- Computational Complexity: While the Data Manifold approach is highly efficient, the Graph-based approach relies on Floyd’s algorithm, which has an $O(N^3)$ complexity. Even with CUDA acceleration, scaling this to very large point clouds (e.g., full outdoor scenes) remains a challenge.
- Manifold Assumption: The method assumes the point cloud represents a relatively smooth, continuous manifold. It might struggle with extremely sparse or disconnected data where a "surface" is hard to define.
- Pre-training Strategies: The authors noted that BERT-style pre-training (masking tokens) didn't work well with GSA, requiring them to use an MAE-style (Masked Autoencoder) approach instead. Exploring why certain pre-training tasks clash with geodesic metrics is a clear path for future research.
Summary updated