SAI3D: Segment Any Instance in 3D Scenes

Yingda Yin, Yuzheng Liu, Yang Xiao, Daniel Cohen-Or, Jingwei Huang, Baoquan Chen

TL;DR

SAI3D is a training-free, zero-shot framework for 3D instance segmentation that combines 3D geometric primitives with 2D masks from the Segment Anything Model (SAM). By utilizing a novel hierarchical region-growing algorithm with dynamic thresholding, it outperforms existing open-vocabulary methods and even surpasses fully-supervised models on complex, fine-grained datasets like ScanNet++.

What Problem Does This Paper Address?

Traditional 3D instance segmentation—the task of identifying and outlining every individual object in a 3D scan—is a data-hungry process. State-of-the-art models typically require massive, manually annotated datasets, which limits them to a small set of predefined object categories (e.g., "chair," "table").

While recent "open-vocabulary" methods use vision-language models like CLIP to recognize new categories, they often struggle to distinguish between different instances of the same category (like two identical bottles on a shelf). Furthermore, existing zero-shot 3D methods often suffer from noise in 2D segmentation or fail to maintain global consistency across different camera views. SAI3D aims to solve these issues by creating a robust bridge between 2D foundation models and 3D geometric structures.

Methods

The SAI3D pipeline operates in four main stages:

  1. Geometric Partitioning: Instead of working with raw, unstructured points, the system first over-segments the 3D point cloud into "superpoints" or geometric primitives. These are small clusters of points with similar geometric properties (like surface normals).
  2. 2D Mask Generation: The system runs the Segment Anything Model (SAM) on multi-view RGB images of the scene to generate dense 2D instance masks.
  3. Cross-View Affinity: 3D primitives are projected onto the 2D images. The system calculates an "affinity score" between pairs of primitives based on how often they are covered by the same SAM masks across all available views. This "voting" mechanism ensures that 2D errors in a single frame don't ruin the 3D result.
  4. Hierarchical Region Growing: This is the core innovation. Primitives are merged into full objects using a progressive algorithm.
  5. Multi-level criteria: Instead of just comparing two neighbors, the algorithm considers the affinity between a candidate primitive and the entire growing region.
  6. Progressive Growing: It uses a dynamic threshold—starting strict to ensure small, certain parts are merged correctly, and becoming more relaxed as the segments grow and become more reliable.
The SAI3D pipeline combines 3D geometry with 2D SAM masks to produce consistent 3D instance segmentations.

Datasets

The authors evaluated SAI3D on several major indoor 3D benchmarks:

  • ScanNetV2 & ScanNet200: Standard benchmarks for indoor scene understanding.
  • Matterport3D: A dataset of large-scale residential environments.
  • ScanNet++: A recently released, high-fidelity dataset with much higher resolution and more detailed, "long-tail" object annotations (e.g., tiny outlets or specific types of bottles) compared to the original ScanNet.

Key Insights and Ideas

  • Primitives over Points: Computing affinities between geometric primitives rather than individual points significantly reduces computational complexity and increases robustness against noise.
  • The Danger of "Vanilla" Growing: Simple region-growing is prone to "leakage," where one bad affinity score causes a table leg to merge with the floor. The authors' multi-level merging criteria (shown in Figure 4) effectively prevents this.
  • Dynamic Thresholding is Essential: A fixed threshold often leads to either over-segmentation (breaking objects apart) or under-segmentation (merging objects). Starting with a high threshold and gradually lowering it allows the model to build a solid foundation of "certain" segments before tackling ambiguous boundaries.
Comparison of thresholding strategies: progressive thresholding leads to much cleaner results than fixed low or high thresholds.

Key Results

  • Outperforming Supervised Models: On the challenging ScanNet++ dataset, SAI3D achieved 17.1 AP, nearly doubling the performance of the fully-supervised Mask3D (9.9 AP) which was trained on the older ScanNetV2. This demonstrates SAI3D's superior generalization to high-detail, real-world scenes.
  • Zero-Shot Superiority: On ScanNetV2, SAI3D achieved 30.8 AP, significantly outperforming the previous best zero-shot method, SAM3D (20.2 AP).
  • Long-Tail Success: Because it doesn't rely on a fixed training vocabulary, SAI3D is much better at finding rare objects. In semantic tests, it outperformed baselines on "Tail" (rare) categories by a wide margin.

Limitations and Future Work

Despite its strengths, SAI3D has two primary limitations:

  1. Dependency on 2D Accuracy: The quality of the 3D segmentation is fundamentally capped by the accuracy of the 2D SAM masks and the precision of the 2D-3D camera alignment.
  2. Processing Speed: The current implementation scales linearly with the number of images. For very large-scale scenes with thousands of views, the processing time becomes a bottleneck.

The authors suggest that future work should focus on more efficient mask aggregation techniques that don't require iterating over every single image in a scene.

Summary updated

BibTeX
@inproceedings{yin2023sai,
  author = {Yingda Yin and Yuzheng Liu and Yang Xiao and Daniel Cohen-Or and Jingwei Huang and Baoquan Chen},
  title = {{SAI3D: Segment Any Instance in 3D Scenes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=2JqfQa8V7Q},
}
Figure