Points to Patches: Enabling the Use of Self-Attention for 3D Shape Recognition

Axel Berg, Magnus Oskarsson, Mark O'Connor
4/8/2022
cs.CV
transformer-attention

Official code: axeber01/point-tnt (19 stars, Python, MIT, PyTorch, last commit 2022-04-11).

Abstract

While the Transformer architecture has become ubiquitous in the machine learning field, its adaptation to 3D shape recognition is non-trivial. Due to its quadratic computational complexity, the self-attention operator quickly becomes inefficient as the set of input points grows larger.

Show full abstract

Furthermore, we find that the attention mechanism struggles to find useful connections between individual points on a global scale. In order to alleviate these problems, we propose a two-stage Point Transformer-in-Transformer (Point-TnT) approach which combines local and global attention mechanisms, enabling both individual points and patches of points to attend to each other effectively. Experiments on shape classification show that such an approach provides more useful features for downstream tasks than the baseline Transformer, while also being more computationally efficient. In addition, we also extend our method to feature matching for scene reconstruction, showing that it can be used in conjunction with existing scene reconstruction pipelines.

View on arXivView PDF

Code Implementations(1)

axeber01/point-tntOfficial100%
PyTorchMIT

Official implementation of the Point Transformer-in-Transformer: https://arxiv.org/abs/2204.03957

192Python, ShellApr 7, 20224 years agoMIT
point-cloudpytorchtransformer

Similar Papers

Cite this paper

@article{berg2022points,
  title  = {Points to Patches: Enabling the Use of Self-Attention for 3D Shape Recognition},
  author = {Axel Berg and Magnus Oskarsson and Mark O'Connor},
  year   = {2022},
  eprint = {2204.03957},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.03957}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.03957.svg)](https://codeofpaper.com/paper/2204.03957)

Discussion