[Paper Review] Interactive Segment Anything NeRF with Feature Imitation
The paper introduces semantic feature imitation to inject 2D perception model semantics into NeRF, enabling zero-shot 3D segmentation with lightweight decoders and real-time interaction, achieving up to 16x faster segmentation with SAM.
This paper investigates the potential of enhancing Neural Radiance Fields (NeRF) with semantics to expand their applications. Although NeRF has been proven useful in real-world applications like VR and digital creation, the lack of semantics hinders interaction with objects in complex scenes. We propose to imitate the backbone feature of off-the-shelf perception models to achieve zero-shot semantic segmentation with NeRF. Our framework reformulates the segmentation process by directly rendering semantic features and only applying the decoder from perception models. This eliminates the need for expensive backbones and benefits 3D consistency. Furthermore, we can project the learned semantics onto extracted mesh surfaces for real-time interaction. With the state-of-the-art Segment Anything Model (SAM), our framework accelerates segmentation by 16 times with comparable mask quality. The experimental results demonstrate the efficacy and computational advantages of our approach. Project page: \url{https://me.kiui.moe/san/}.
Motivation & Objective
- Motivate adding explicit semantic information to NeRF for interactive 3D applications.
- Propose a plug-and-play semantic feature imitation module that renders semantic features during NeRF rendering.
- Demonstrate compatibility with off-the-shelf perception models like SAM to achieve fast, zero-shot segmentation in 3D.
- Show that projecting learned semantics onto mesh surfaces enables real-time interaction and downstream mesh editing.
Proposed method
- Render semantic features directly from NeRF by imitating backbone features with a learnable semantic feature grid E^{sem}.
- Use a lightweight MLP after quadrature to predict imitated features 0 F^hat(r) from ray-aggregated semantic features, enabling decoding by existing perception backbones.
- Train with single-scale loss (MSE between imitated and ground-truth semantic features) or multi-scale loss including cross-scale correlation to encourage inter-scale consistency.
- Introduce camera augmentation to diversify viewpoints and a FIFO caching mechanism to reduce backbone computation during training.
- Allow interaction by using a GUI to click or text-prompt segmentation in 3D space and project 2D masks onto 3D meshes for real-time manipulation.

Experimental results
Research questions
- RQ1Can NeRF be endowed with semantic information without retraining heavy backbones by via semantic feature imitation?
- RQ2Does replacing segmentation backbones with a feature imitation module preserve rendering quality while enabling fast 3D segmentation?
- RQ3How well does the approach generalize to different perception backbones (e.g., SAM vs X-Decoder) and to mesh extraction for interactive use?
- RQ4What training strategies (camera augmentation, caching, cross-scale loss) improve imitation quality and convergence?
- RQ5Is 3D interaction feasible in real time with the proposed pipeline and GUI?
Key findings
- The method achieves real-time interaction with 5120x512 resolution using a modern GPU, delivering up to 24.39 FPS for feature encoding (SAM backend shows 16x speedup over the backbone).
- Imitated semantic features yield mask IoU of 0.822 for SAM and 0.749 for X-Decoder on evaluation prompts, with competitive mask quality to pretrained models.
- Cross-scale correlation loss and camera augmentation improve imitation quality and convergence, particularly for multi-scale backbones like X-Decoder.
- Caching reduces training time significantly, especially for heavy backbones like SAM, without materially hurting feature imitation quality.
- Mesh segmentation is enabled by projecting 2D masks onto 3D surfaces, enabling ready-to-use single-object meshes for texture editing and model composition.
- The framework is model-agnostic to NeRF and perception models and preserves rendering quality while bypassing expensive backbones.

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.