Self-Supervised Pre-Training with Masked Shape Prediction for 3D Scene Understanding

Li Jiang, Zetong Yang, Shaoshuai Shi, Vladislav Golyanik, Dengxin Dai, Bernt Schiele

Introduction

In the realms of 2D computer vision and natural language processing, masked signal modeling—the process of hiding portions of input data and tasking a network with its reconstruction—has fundamentally changed self-supervised learning. However, extending this success to 3D point clouds of entire scenes presents unique challenges. Unlike 2D pixels, 3D point clouds are defined by their coordinates, creating a "leakage" problem: if a model is given the coordinates of masked points to predict their properties, it can often "cheat" by inferring the shape directly from those coordinates. Furthermore, defining an appropriate reconstruction target that captures both local geometry and global context is complex.

Methodology: Masked Shape Prediction (MSP)

The proposed Masked Shape Prediction (MSP) framework addresses these challenges by focusing on geometric shape as the primary learning signal. The architecture consists of two main components designed to provide a rich, context-aware learning target while preventing information leakage.

1. Context-Enhanced Shape Target

Instead of simple occupancy prediction, MSP utilizes a dual-target approach for masked regions:

  • Explicit Shape Context: A geometric descriptor that partitions local space into a 3D polar grid (bins) to record occupancy. This method is robust against the varying point densities common in real-world scans.
  • Implicit Deep Shape Feature: High-level representations extracted from a "teacher" network, which is updated via Exponential Moving Average (EMA). This forces the model to learn semantic shape features beyond raw geometry.
Overview of the MSP framework showing the reconstruction and target branches along with the 3D shape context target.

2. Mitigating Shape Leakage

To prevent the network from exploiting masked coordinates, the authors developed specialized attention mechanisms. The most effective variant, MSP-SA (Self-Attention), allows interaction between masked points but restricts this interaction to a sparse subset of keypoints. This provides sufficient context to bridge distant scene elements without revealing fine-grained geometric details that would allow the model to bypass semantic learning.

Experimental Results

The MSP framework was evaluated across major 3D benchmarks, including ScanNet v2, S3DIS, and SUN RGB-D. The results consistently demonstrate that masked reconstruction is a superior pretext task for 3D understanding compared to traditional contrastive learning methods.

Data Efficiency and Performance

MSP particularly excels in low-data regimes. On the ScanNet v2 semantic segmentation task, pre-training with MSP provided a significant boost over training from scratch. Most notably, when only 1% of the labeled data was available, MSP outperformed the baseline by +4.4% mIoU. This indicates that the self-supervised phase successfully teaches the model fundamental 3D geometric laws before human labels are introduced.

Performance comparison on ScanNet v2 showing significant gains in semantic segmentation, particularly in limited data scenarios.

In object detection, MSP achieved a state-of-the-art 47.5% AP50 on the SUN RGB-D dataset, surpassing previous self-supervised methods like Contrastive Scene Contexts (CSC). Additionally, the model showed strong cross-domain transferability; pre-training on indoor ScanNet data significantly improved performance on outdoor driving scenes in the Waymo Open Dataset.

Conclusion

Masked Shape Prediction establishes geometric shape as the "color" of 3D vision. By combining context-enhanced targets with architectural constraints to prevent coordinate leakage, MSP provides a robust framework for 3D self-supervised learning. Future work may involve scaling this approach to even larger, more diverse datasets to develop more generalized 3D backbones.

Summary updated

BibTeX
@inproceedings{jiang2023self,
  author = {Li Jiang and Zetong Yang and Shaoshuai Shi and Vladislav Golyanik and Dengxin Dai and Bernt Schiele},
  title = {{Self-Supervised Pre-Training with Masked Shape Prediction for 3D Scene Understanding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure