Abstract
SAM3D is a zero-shot framework that brings the power of the 2D Segment Anything Model (SAM) to 3D point clouds. By projecting 2D masks into 3D space and using a novel bidirectional merging strategy, it achieves high-quality, fine-grained 3D scene segmentation without requiring any additional training or fine-tuning on 3D data. The approach demonstrates that 2D foundation models can be effectively "lifted" into 3D to provide detailed instance segmentation that often surpasses human-labeled ground truth.
Introduction
While 2D computer vision has been revolutionized by "foundation models" trained on massive datasets, 3D scene segmentation has lagged behind. The primary bottleneck is the labor-intensive nature of labeling 3D point clouds, which leads to smaller datasets and models that often lack fine-grained detail.
The Segment Anything Model (SAM) has shown remarkable results in 2D, but it does not natively understand 3D geometry. The core challenge in applying SAM to 3D scenes lies in temporal and spatial consistency: if SAM is run on hundreds of different photos of the same room, the system must stitch those thousands of 2D masks together into a single, coherent 3D map where objects are recognized consistently from every angle.
Methodology
The authors propose a multi-stage pipeline called SAM3D to bridge the gap between 2D semantics and 3D geometry:
- 2D Mask Generation: SAM is applied to individual RGB frames from a 3D scene. To handle SAM's hierarchical output (whole, part, subpart), the system selects the mask with the highest predicted Intersection over Union (IoU) for each pixel.
- 3D Projection: Using depth maps and camera poses (intrinsic and extrinsic matrices), these 2D masks are projected into 3D point cloud coordinates.
- Bidirectional Merging (BM): This is the core innovation. To merge masks from adjacent frames, the system looks for overlapping points. If the overlap between a mask in Frame A and a mask in Frame B exceeds a threshold ($\delta = 0.5$), they are assigned the same 3D mask ID. This process is performed bidirectionally to ensure consistency.
- Bottom-up Merging: To scale to a whole scene, which might contain thousands of frames, a hierarchical approach merges pairs of frames iteratively until the entire scene is processed.
- Geometric Ensemble: Finally, the SAM-based results can be ensembled with traditional geometric over-segmentation (such as graph-cuts). This combines SAM’s semantic "intelligence" with 3D geometric edges to produce cleaner boundaries.
Results and Discussion
The researchers evaluated their approach using the ScanNet dataset, a standard benchmark for indoor 3D scene understanding containing thousands of reconstructed rooms with RGB-D video and ground-truth semantic labels.
Key Insights
- Zero-Shot 3D: The most significant insight is that complex 3D models do not necessarily need to be trained from scratch. By lifting a powerful 2D foundation model into 3D, the system inherits its performance for free.
- Beyond Ground Truth: SAM3D often produces more detailed segmentations than human-labeled ground truth. For example, in ScanNet, paintings on a wall are often ignored or labeled as part of the "wall." SAM3D successfully identifies them as distinct "picture" objects.
- Temporal Consistency via Geometry: By using the underlying 3D geometry (the point cloud) as an anchor, the model solves the problem of temporal flickering or inconsistent masking that often plagues 2D-to-3D video processing.
Performance Highlights
SAM3D generates fine-grained instance masks at multiple scales that align well with human perception. The ensembled version (SAM3D + geometric over-segmentation) shows significantly higher quality, proving that 2D semantics and 3D geometry are highly complementary. Notably, the system achieves these results without a single gradient update or any 3D-specific training data.
Limitations and Future Work
Despite its success, SAM3D's quality is strictly capped by the performance of the 2D SAM model; if SAM fails to detect an object in 2D, it will not appear in 3D. Additionally, iteratively merging thousands of frames in a bottom-up fashion can be computationally expensive for very large scenes.
Future work could involve integrating open-vocabulary models to provide text labels (e.g., "this is a chair") for the discovered 3D segments, as SAM3D currently focuses on class-agnostic instance segmentation.
Summary updated