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

OctFormer: Octree-based Transformers for 3D Point Clouds

4 May 2023arXiv:2305.03045archive 2025-07-28

Peng-Shuai Wang

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.03045")

Code

Syntology Ran 2 of 9 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: official repository: 3 samples from 1 repository, 2 ran; community (archive-listed): 6 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

octree-nn/octformer officialpytorchMIT report
irmvlab/point-mamba mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 2 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran
7unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

elastic_distort octree-nn/octformer/datasets/scannet.py official repository ran MIT (permissive) · e88553cf36ba696f · report
read_file octree-nn/octformer/datasets/modelnet40.py official repository ran MIT (permissive) · 1ddbad7728b2f62f · report
color_distort octree-nn/octformer/datasets/scannet.py official repository unverified MIT (permissive) · c3dc89be963fbdf9 · report
anet1 MindSpore-scientific-2/code-3/Two-Layer-ReLU-Network-Analytically/anmin.py community (archive-listed) unverified Apache-2.0 (permissive) · 9a0dfd5a0f02da54 · report
extract_example MindSpore-scientific-2/code-3/The_RefinedWeb_Dataset_for_Falcon/eval_factuality_mindspore.py community (archive-listed) unverified Apache-2.0 (permissive) · 080c898be81e46d0 · report
labels2cat MindSpore-scientific-2/code-3/Three-Dimensional-Lip-Motion-Network-for-Text-Independent-Speaker-Recognition-master/3LMNet_ms.py community (archive-listed) unverified Apache-2.0 (permissive) · fc721854c3bf3762 · report
labels2onehot MindSpore-scientific-2/code-3/Three-Dimensional-Lip-Motion-Network-for-Text-Independent-Speaker-Recognition-master/3LMNet_ms.py community (archive-listed) unverified Apache-2.0 (permissive) · 962937e4c560ebb3 · report
onehot2labels MindSpore-scientific-2/code-3/Three-Dimensional-Lip-Motion-Network-for-Text-Independent-Speaker-Recognition-master/3LMNet_ms.py community (archive-listed) unverified Apache-2.0 (permissive) · 9c1b2df7fb7a5f6f · report
read_data MindSpore-scientific-2/code-3/The_RefinedWeb_Dataset_for_Falcon/eval_factuality_mindspore.py community (archive-listed) unverified Apache-2.0 (permissive) · fe0f3b2b7badf758 · report

Tasks

3D Object Detection3D Semantic SegmentationObject DetectionPoint Cloud SegmentationSemantic Segmentationobject-detection

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
3D Object Detection SUN-RGBD val OctFormer mAP@0.25 66.2 #9 of 32 Archive leaderboard report
3D Object Detection SUN-RGBD val OctFormer mAP@0.5 50.6 #9 of 32 Archive leaderboard report
3D Semantic Segmentation ScanNet++ OctFormer Top-1 IoU 0.460 #6 of 8 Archive leaderboard report
3D Semantic Segmentation ScanNet++ OctFormer Top-3 IoU 0.691 #6 of 8 Archive leaderboard report
3D Semantic Segmentation ScanNet200 OctFormer test mIoU 32.5 #10 of 16 Archive leaderboard report
3D Semantic Segmentation ScanNet200 OctFormer val mIoU 32.6 #10 of 16 Archive leaderboard report
Semantic Segmentation ScanNet OctFormer test mIoU 76.6 #17 of 45 Archive leaderboard report
Semantic Segmentation ScanNet OctFormer val mIoU 75.7 #17 of 45 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections