[Paper Review] Swin3D: A Pretrained Transformer Backbone for 3D Indoor Scene Understanding
Swin3D introduces a pretrained 3D transformer backbone for indoor scene understanding with memory-efficient sparse self-attention and contextual relative signal encoding, pretrained on a large synthetic Structured3D dataset and fine-tuned on real 3D datasets.
The use of pretrained backbones with fine-tuning has been successful for 2D vision and natural language processing tasks, showing advantages over task-specific networks. In this work, we introduce a pretrained 3D backbone, called {\SST}, for 3D indoor scene understanding. We design a 3D Swin transformer as our backbone network, which enables efficient self-attention on sparse voxels with linear memory complexity, making the backbone scalable to large models and datasets. We also introduce a generalized contextual relative positional embedding scheme to capture various irregularities of point signals for improved network performance. We pretrained a large {\SST} model on a synthetic Structured3D dataset, which is an order of magnitude larger than the ScanNet dataset. Our model pretrained on the synthetic dataset not only generalizes well to downstream segmentation and detection on real 3D point datasets, but also outperforms state-of-the-art methods on downstream tasks with +2.3 mIoU and +2.2 mIoU on S3DIS Area5 and 6-fold semantic segmentation, +1.8 mIoU on ScanNet segmentation (val), +1.9 mAP@0.5 on ScanNet detection, and +8.1 mAP@0.5 on S3DIS detection. A series of extensive ablation studies further validate the scalability, generality, and superior performance enabled by our approach. The code and models are available at https://github.com/microsoft/Swin3D .
Motivation & Objective
- Motivate the need for scalable pretrained backbones in 3D indoor scene understanding.
- Propose a 3D Swin transformer backbone (Swin3D) operating on sparse voxels with linear memory complexity.
- Address memory and signal irregularity challenges in 3D self-attention.
- Pretrain Swin3D on a large synthetic Structured3D dataset and validate generalization to downstream tasks.
- Demonstrate superior performance on 3D segmentation and detection after fine-tuning.
Proposed method
- Design a 3D Swin transformer backbone operating on sparse voxels with local window self-attention.
- Implement a memory-efficient self-attention by delaying SoftMax normalization to reduce quadratic memory cost.
- Generalize contextual relative positional encoding to a Contextual Relative Signal Encoding (cRSE) for multiple signals (position, color, normals).
- Use a 5-level hierarchical sparse voxel grid to multiscale feature encoding.
- Pretrain Swin3D-S and Swin3D-L on Structured3D for semantic segmentation, then fine-tune with task-specific decoders on downstream datasets.
- Evaluate both segmentation and detection on ScanNet and S3DIS, comparing to state-of-the-art.
Experimental results
Research questions
- RQ1Can a pretrained 3D backbone trained on synthetic data generalize to real 3D indoor scene understanding tasks?
- RQ2Does memory-efficient self-attention enable larger 3D backbones with scalable training?
- RQ3How does generalized contextual relative signal encoding affect performance with irregular point signals?
- RQ4What benefits do pretrained 3D backbones provide for segmentation and detection tasks compared to training from scratch?
- RQ5How does Swin3D fare across multiple benchmarks (ScanNet, S3DIS) for both segmentation and detection?
Key findings
- Pretraining Swin3D on Structured3D yields superior performance on downstream tasks compared with state-of-the-art methods.
- On S3DIS Area5 and 6-fold segmentation, Swin3D improves mIoU by 2.3 points.
- On S3DIS segmentation (6-fold), mIoU improves by 2.2 points.
- On ScanNet segmentation (validation), mIoU improves by 1.8 points.
- For ScanNet detection, AP@0.5 improves by 1.9 points.
- For S3DIS detection, AP@0.5 improves by 8.1 points.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.