arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.03045cs.CVcs.GR
收藏

OctFormer:用于3D点云的基于八叉树的Transformer

OctFormer: Octree-based Transformers for 3D Point Clouds

Peking University(北京大学)

Peng-Shuai Wang

AI总结:

提出基于八叉树的Transformer(OctFormer),通过八叉树注意力实现线性复杂度,高效处理大规模点云,在3D分割和检测基准上达到最先进性能。

摘要:

我们提出了基于八叉树的Transformer,命名为OctFormer,用于3D点云学习。OctFormer不仅可作为3D点云分割和目标检测的通用且有效的骨干网络,而且具有线性复杂度,可扩展到大规模点云。将Transformer应用于点云的关键挑战是降低注意力机制二次方且过高的计算复杂度。为解决此问题,几项工作将点云划分为非重叠窗口,并在每个局部窗口内限制注意力。然而,每个窗口内的点数变化很大,阻碍了在GPU上的高效执行。观察到注意力对局部窗口的形状具有鲁棒性,我们提出了一种新颖的八叉树注意力,利用八叉树的排序洗牌键将点云划分为包含固定数量点的局部窗口,同时允许窗口形状自由变化。我们还引入了膨胀八叉树注意力以进一步扩大感受野。我们的八叉树注意力可以用开源库在10行代码中实现,当点数超过20万时,运行速度比其他点云注意力快17倍。基于八叉树注意力,OctFormer可以轻松扩展,并在多个3D分割和检测基准上达到最先进性能,在效率和有效性方面均优于先前的基于稀疏体素的CNN和点云Transformer。值得注意的是,在具有挑战性的ScanNet200数据集上,OctFormer在mIoU上比基于稀疏体素的CNN高出7.3。我们的代码和训练模型可在https://wang-ps.github.io/octformer获取。

英文摘要:

We propose octree-based transformers, named OctFormer, for 3D point cloud learning. OctFormer can not only serve as a general and effective backbone for 3D point cloud segmentation and object detection but also have linear complexity and is scalable for large-scale point clouds. The key challenge in applying transformers to point clouds is reducing the quadratic, thus overwhelming, computation complexity of attentions. To combat this issue, several works divide point clouds into non-overlapping windows and constrain attentions in each local window. However, the point number in each window varies greatly, impeding the efficient execution on GPU. Observing that attentions are robust to the shapes of local windows, we propose a novel octree attention, which leverages sorted shuffled keys of octrees to partition point clouds into local windows containing a fixed number of points while permitting shapes of windows to change freely. And we also introduce dilated octree attention to expand the receptive field further. Our octree attention can be implemented in 10 lines of code with open-sourced libraries and runs 17 times faster than other point cloud attentions when the point number exceeds 200k. Built upon the octree attention, OctFormer can be easily scaled up and achieves state-of-the-art performances on a series of 3D segmentation and detection benchmarks, surpassing previous sparse-voxel-based CNNs and point cloud transformers in terms of both efficiency and effectiveness. Notably, on the challenging ScanNet200 dataset, OctFormer outperforms sparse-voxel-based CNNs by 7.3 in mIoU. Our code and trained models are available at https://wang-ps.github.io/octformer.

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

↑