PlaneSAM: Multimodal Plane Instance Segmentation Using the Segment Anything Model

Zhongchen Deng, Zhechen Yang, Chi Chen, Cheng Zeng, Yan Meng, Bisheng YangarXiv 2024 · DOI

Abstract

Plane instance segmentation is critical for 3D scene understanding, yet existing methods often underutilize geometric depth information or struggle to adapt large-scale foundation models like the Segment Anything Model (SAM) to specialized indoor datasets. We present PlaneSAM, a multimodal framework that integrates RGB and depth data through a dual-complexity backbone. By combining a complex Transformer for RGB features with a lightweight CNN for depth, and employing a self-supervised pretraining strategy with pseudo-labels, PlaneSAM achieves state-of-the-art performance on indoor benchmarks while maintaining high computational efficiency.

Introduction

Identifying planar surfaces—such as walls, floors, and ceilings—is a foundational task for indoor reconstruction, robotics, and augmented reality. While deep learning has significantly advanced instance segmentation, many current models rely primarily on RGB images, ignoring the direct geometric "truth" provided by depth (D) sensors. Adapting powerful foundation models like SAM to this task faces three primary hurdles: the scarcity of annotated RGB-D plane data, scale imbalances in SAM's original loss functions (which favor small objects), and the requirement for fully automatic operation without manual prompts.

Methods

PlaneSAM is built upon EfficientSAM, a lightweight variant of the original SAM, and introduces several architectural innovations to handle multimodal data effectively.

The PlaneSAM architecture features a dual-complexity backbone where RGB data is processed by a Transformer branch and depth data by a lightweight CNN (LWCNN) branch.

The core of the architecture is the Dual-Complexity Backbone. Instead of a single network for both modalities, PlaneSAM uses a complex Transformer branch for RGB data and a simpler, lightweight CNN (LWCNN) branch for depth. This design prevents the model from overfitting on limited depth data while allowing the CNN to quickly capture geometric features.

To address data scarcity, the authors employed Self-supervised Pretraining on a mix of 100,000 RGB-D images using pseudo-labels generated by a high-end SAM-H model. Furthermore, the Loss Function was rebalanced to a 1:1 ratio of Focal Loss to Dice Loss, preventing the model from over-focusing on small details and improving its ability to capture large-scale planes. Finally, Automatic Prompting is achieved via an integrated Faster R-CNN detector that identifies potential planes and feeds bounding boxes into the mask generator.

Results and Discussion

PlaneSAM was evaluated on the ScanNet dataset and tested for zero-shot transfer on Matterport3D, ICL-NUIM, and 2D-3D-S benchmarks.

Qualitative comparison showing PlaneSAM's superior ability to segment planes compared to PlaneTR, particularly in complex indoor scenes where depth information resolves RGB ambiguities.

On the ScanNet dataset, PlaneSAM achieved a Variation of Information (VOI) score of 0.550, significantly outperforming the previous state-of-the-art, PlaneAC (0.658). Qualitative results demonstrate that the inclusion of depth allows the model to succeed in poorly lit or uniform-color environments where RGB-only models like PlaneTR often fail. Despite the dual-branch architecture, computational overhead increased by only 10% compared to the base EfficientSAM model, making it suitable for real-time applications.

Conclusion

PlaneSAM demonstrates that integrating depth into foundation models via a dual-complexity approach significantly improves plane instance segmentation. While the model remains sensitive to high sensor noise in certain datasets, it provides a robust and efficient solution for 3D scene understanding. Future work will focus on enhancing robustness to depth noise and improving the accuracy of the initial detection stage.

Summary updated

BibTeX
@misc{deng2024planesam,
  author = {Zhongchen Deng and Zhechen Yang and Chi Chen and Cheng Zeng and Yan Meng and Bisheng Yang},
  title = {{PlaneSAM: Multimodal Plane Instance Segmentation Using the Segment Anything Model}},
  year = {2024},
  eprint = {2410.16545},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.16545},
}
Figure