TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/OctFormer: Octree-based Transformers for 3D Point Clouds

OctFormer: Octree-based Transformers for 3D Point Clouds

Peng-Shuai Wang

2023-05-04Semantic SegmentationPoint Cloud Segmentation3D Semantic Segmentationobject-detection3D Object DetectionObject Detection
PaperPDFCode(official)CodeCodeCode

Abstract

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.

Results

TaskDatasetMetricValueModel
Semantic SegmentationScanNettest mIoU76.6OctFormer
Semantic SegmentationScanNetval mIoU75.7OctFormer
Semantic SegmentationScanNet200test mIoU32.5OctFormer
Semantic SegmentationScanNet200val mIoU32.6OctFormer
Semantic SegmentationScanNet++Top-1 IoU0.46OctFormer
Semantic SegmentationScanNet++Top-3 IoU0.691OctFormer
Object DetectionSUN-RGBD valmAP@0.2566.2OctFormer
Object DetectionSUN-RGBD valmAP@0.550.6OctFormer
3DSUN-RGBD valmAP@0.2566.2OctFormer
3DSUN-RGBD valmAP@0.550.6OctFormer
3D Semantic SegmentationScanNet200test mIoU32.5OctFormer
3D Semantic SegmentationScanNet200val mIoU32.6OctFormer
3D Semantic SegmentationScanNet++Top-1 IoU0.46OctFormer
3D Semantic SegmentationScanNet++Top-3 IoU0.691OctFormer
3D Object DetectionSUN-RGBD valmAP@0.2566.2OctFormer
3D Object DetectionSUN-RGBD valmAP@0.550.6OctFormer
2D ClassificationSUN-RGBD valmAP@0.2566.2OctFormer
2D ClassificationSUN-RGBD valmAP@0.550.6OctFormer
2D Object DetectionSUN-RGBD valmAP@0.2566.2OctFormer
2D Object DetectionSUN-RGBD valmAP@0.550.6OctFormer
10-shot image generationScanNettest mIoU76.6OctFormer
10-shot image generationScanNetval mIoU75.7OctFormer
10-shot image generationScanNet200test mIoU32.5OctFormer
10-shot image generationScanNet200val mIoU32.6OctFormer
10-shot image generationScanNet++Top-1 IoU0.46OctFormer
10-shot image generationScanNet++Top-3 IoU0.691OctFormer
16kSUN-RGBD valmAP@0.2566.2OctFormer
16kSUN-RGBD valmAP@0.550.6OctFormer

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17SCORE: Scene Context Matters in Open-Vocabulary Remote Sensing Instance Segmentation2025-07-17Unified Medical Image Segmentation with State Space Modeling Snake2025-07-17A Privacy-Preserving Semantic-Segmentation Method Using Domain-Adaptation Technique2025-07-17A Real-Time System for Egocentric Hand-Object Interaction Detection in Industrial Domains2025-07-17RS-TinyNet: Stage-wise Feature Fusion Network for Detecting Tiny Objects in Remote Sensing Images2025-07-17Decoupled PROB: Decoupled Query Initialization Tasks and Objectness-Class Learning for Open World Object Detection2025-07-17