SINE: Semantic-driven Image-based NeRF Editing with Prior-guided Editing Field

Chong Bao, Yinda Zhang, Bangbang Yang, Tianxing Fan, Zesong Yang, Hujun Bao, Guofeng Zhang, Zhaopeng Cui

Abstract

SINE (Semantic-driven Image-based NeRF Editing) introduces a novel framework for editing 3D scenes using a single 2D image or text prompt. By employing a Prior-guided Editing Field that leverages geometric and texture priors, SINE ensures consistent propagation of edits across all 3D views while preserving photo-realistic details. This approach overcomes common challenges in 3D scene editing, such as spatial ambiguity and global over-generalization, enabling both object-centric and 360-degree scene modifications.

Introduction

While 2D image editing has become highly accessible through tools like Photoshop or AI-driven generators, editing 3D scenes represented as Neural Radiance Fields (NeRFs) remains a significant challenge. Existing methods often suffer from three primary drawbacks: laborious manual effort (requiring 3D masks or mesh manipulation), global over-generalization (where local edits affect the entire scene), and category limitations (restricting edits to specific classes like faces).

The fundamental hurdle is spatial ambiguity: accurately projecting a 2D edit into 3D space so it remains consistent from all viewing angles. SINE addresses this by allowing users to perform complex edits—such as changing geometry or texture—via a single edited image or a text prompt.

Overview of SINE's editing capabilities, including object-centric modifications and 360-degree scene editing.

Methodology

SINE introduces a Prior-guided Editing Field that operates atop a pre-trained "Template NeRF." Rather than overwriting the original NeRF, the system learns to deform and recolor it through specialized fields.

The SINE architecture, featuring the Editing Field (Geometric and Texture Modification) and the Template NeRF.

Key Components

  • Geometric Modification Field ($F_{\Delta G}$): This field deforms the 3D space. To prevent geometric collapse during single-view editing, SINE utilizes Shape Priors. For specific categories like cars, it uses Deep Implicit Functions (DIF); for general objects, it employs "As-Rigid-As-Possible" (ARAP) deformation on a proxy mesh.
  • Texture Modification Field ($F_{\Delta T}$): This handles color changes. To ensure texture consistency (e.g., a "cookie tire" looking like a cookie from all sides), a Semantic Texture Prior based on a pre-trained Vision Transformer (ViT) is used. This allows the model to transfer high-level features rather than just raw pixel values.
  • Color Compositing Layer: A small 2D CNN blends original NeRF colors with modifications. This is vital for rendering view-dependent effects like specular highlights.
  • Feature-Cluster Regularization: To isolate edits to specific objects, SINE uses DINO-ViT features to cluster the scene into semantic regions, effectively "locking" the background.

Experimental Setup

The authors evaluated SINE across diverse datasets to demonstrate its versatility:

  • Real-world 360° Scenes: Standard benchmarks like "Pinecone," "Vasedeck," and "Garden."
  • Object Datasets: Real-world cars (CalWare 360), synthetic chairs (PhotoShape), and the DTU bird dataset.
  • Synthetic Data: Standard NeRF sets (Hotdog, Chairs) and airplane models from BlenderSwap.

Key Insights and Results

The effectiveness of SINE stems from the realization that 2D supervision alone is insufficient for 3D consistency. By anchoring edits to geometric and semantic priors, the model avoids the distortions typical of previous single-view editing attempts. Furthermore, decoupled rendering allows the system to handle fine-grained details that standard MLPs might otherwise smooth away.

Quantitative and Qualitative Performance

SINE significantly outperforms existing 3D-aware generative models and NeRF editing tools:

  • Metrics: On the PhotoShape dataset, SINE achieved a PSNR of 24.96 (vs. EditNeRF’s 21.23). On real-world cars, it reached 33.99 PSNR, nearly doubling EG3D’s 18.66.
  • User Study: In a study with 30 participants, SINE was preferred over competitors like ARF and CLIP-NeRF in over 83% of cases.
  • Flexibility: The system successfully demonstrates complex edits, such as stretching car geometry, applying "shining diamond" textures to tables, and adding "cookie tires" to vehicles, all while maintaining multi-view consistency.

Limitations and Future Work

Despite its strengths, SINE has limitations. It currently cannot handle edits that change the topology of an object (e.g., cutting a hole). Additionally, the method relies on edits being "semantically meaningful" to the underlying priors; random scribbles may not propagate effectively. Future research will explore more complex scene dynamics and the integration of larger-scale generative priors for radical transformations.

Summary updated

BibTeX
@inproceedings{bao2023sine,
  author = {Chong Bao and Yinda Zhang and Bangbang Yang and Tianxing Fan and Zesong Yang and Hujun Bao and Guofeng Zhang and Zhaopeng Cui},
  title = {{SINE: Semantic-driven Image-based NeRF Editing with Prior-guided Editing Field}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.02004},
}
Figure