[Paper Review] Segment Anything in 3D with Radiance Fields
SA3D uses NeRF as a 3D prior to lift SAM’s 2D segmentation into 3D by iteratively mask inverse rendering and cross-view self-prompting, achieving 3D segmentations in minutes without retraining SAM or NeRF.
The Segment Anything Model (SAM) emerges as a powerful vision foundation model to generate high-quality 2D segmentation results. This paper aims to generalize SAM to segment 3D objects. Rather than replicating the data acquisition and annotation procedure which is costly in 3D, we design an efficient solution, leveraging the radiance field as a cheap and off-the-shelf prior that connects multi-view 2D images to the 3D space. We refer to the proposed solution as SA3D, short for Segment Anything in 3D. With SA3D, the user is only required to provide a 2D segmentation prompt (e.g., rough points) for the target object in a single view, which is used to generate its corresponding 2D mask with SAM. Next, SA3D alternately performs mask inverse rendering and cross-view self-prompting across various views to iteratively refine the 3D mask of the target object. For one view, mask inverse rendering projects the 2D mask obtained by SAM into the 3D space with guidance of the density distribution learned by the radiance field for 3D mask refinement; Then, cross-view self-prompting extracts reliable prompts automatically as the input to SAM from the rendered 2D mask of the inaccurate 3D mask for a new view. We show in experiments that SA3D adapts to various scenes and achieves 3D segmentation within seconds. Our research reveals a potential methodology to lift the ability of a 2D segmentation model to 3D. Our code is available at https://github.com/Jumpat/SegmentAnythingin3D.
Motivation & Objective
- Motivate extending 2D vision foundation models (SAM) to 3D without heavy 3D model training.
- Propose a NeRF-based framework to connect 2D SAM prompts to 3D voxel masks.
- Develop an iterative pipeline of mask inverse rendering and cross-view self-prompting to complete 3D masks.
- Maintain a lightweight approach by updating only the 3D mask grids, not SAM or NeRF parameters.
Proposed method
- Render a view with a pretrained NeRF and obtain a 2D SAM mask using prompts in that view.
- Project the 2D SAM mask onto a 3D voxel grid via density-guided mask inverse rendering.
- Render a novel view from the current 3D mask and generate automatic prompts from the rendered mask for SAM (cross-view self-prompting).
- Update the 3D mask by gradient descent on a mask-projection loss that aligns SAM masks with the projected 3D mask and includes a negative refinement term for multi-view consistency.
- Iterate across views until the 3D mask is complete, without retraining SAM or NeRF.
Experimental results
Research questions
- RQ1Can a 2D segmentation foundation model (SAM) be effectively lifted to 3D using a NeRF as a 3D prior?
- RQ2Does a mask inverse rendering plus cross-view self-prompting framework produce accurate 3D segmentations across diverse scenes?
- RQ3How many views are needed to achieve reliable 3D masks, and how do hyperparameters affect quality and stability?
- RQ4What is the impact of an IoU-based view rejection mechanism on segmentation quality?
- RQ5How does SA3D compare to existing 3D segmentation approaches on NVOS, SPIn-NeRF, and Replica datasets?
Key findings
- SA3D outperforms prior methods on NVOS with mIoU 90.3% and mAcc 98.2%.
- SA3D achieves higher mIoU (70.1% vs 39.4%) and mAcc (92.0% vs 73.6%) than Graph-cut (3D) on NVOS.
- On SPIn-NeRF, SA3D attains IoU up to 97.7–98.3% and high accuracy across scenes.
- On Replica, SA3D significantly improves mean IoU to 83.0% compared to single-view and MVSeg baselines.
- Ablation shows using 3 prompts (n_p ≈ 3) balances performance and reliability across scenes.
- SA3D enables 3D segmentation within minutes without re-training.
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.