arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.00207cs.CV
收藏

PatchFormer:一种有效的点Transformer

PatchFormer: An Efficient Point Transformer with Patch Attention

Hangzhou Dianzi University(杭州电子科技大学);University College London(伦敦大学学院)

Zhang Cheng, Haocheng Wan, Xinyi Shen, Zizhao Wu

摘要:

点云学习社区见证了从CNN到Transformers的建模转变,其中纯Transformer架构在主要学习基准上实现了最高精度。然而,现有的点Transformers在计算上是昂贵的,因为它们需要生成大的注意力图,其相对于输入大小具有二次复杂度(在空间和时间两者上)。为了解决这个缺点,我们引入了补丁注意力(PAT)自适应地学习一个小得多的基础上计算的注意力地图。通过在这些基础上的加权求和,PAT不仅捕获全局形状上下文,而且实现了输入尺寸的线性复杂度。此外,我们提出了一个轻量级的多尺度注意力(MST)块,以建立不同尺度的功能之间的注意力,提供多尺度功能的模型。配备了PAT和MST,我们构建了称为PatchFormer的神经架构,将这两个模块集成到一个用于点云学习的联合框架中。大量的实验表明,我们的网络在一般点云学习任务上实现了相当的准确性,比以前的点Transformers提高了9.2倍。

英文摘要:

The point cloud learning community witnesses a modeling shift from CNNs to Transformers, where pure Transformer architectures have achieved top accuracy on the major learning benchmarks. However, existing point Transformers are computationally expensive since they need to generate a large attention map, which has quadratic complexity (both in space and time) with respect to input size. To solve this shortcoming, we introduce Patch ATtention (PAT) to adaptively learn a much smaller set of bases upon which the attention maps are computed. By a weighted summation upon these bases, PAT not only captures the global shape context but also achieves linear complexity to input size. In addition, we propose a lightweight Multi-Scale aTtention (MST) block to build attentions among features of different scales, providing the model with multi-scale features. Equipped with the PAT and MST, we construct our neural architecture called PatchFormer that integrates both modules into a joint framework for point cloud learning. Extensive experiments demonstrate that our network achieves comparable accuracy on general point cloud learning tasks with 9.2x speed-up than previous point Transformers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑