Customize your NeRF: Adaptive Source Driven 3D Scene Editing via Local-Global Iterative Training

Runze He, Shaofei Huang, Xuecheng Nie, Tianrui Hui, Luoqi Liu, Jiao Dai, Jizhong Han, Guanbin Li, Si Liu

Introduction

Editing 3D scenes represented by Neural Radiance Fields (NeRF) is a complex task that requires balancing creative modification with structural consistency. While text-driven editing has made strides, it often lacks the precision needed for specific subjects. Image-driven editing is even more challenging, as models must infer a complete 3D structure from a single 2D viewpoint.

CustomNeRF addresses two major hurdles in this domain: background corruption, where editing losses cause the background to drift, and the Janus problem, where models create inconsistent, multi-faced geometry due to overfitting on limited reference data.

The CustomNeRF Framework

CustomNeRF introduces a robust three-step pipeline designed to isolate foreground modifications while preserving the original environment's integrity.

Overview of CustomNeRF's editing capabilities, showing original scenes alongside text-driven and image-driven results.

Methodology

  1. Foreground-aware NeRF Training: The system first reconstructs the original scene with an additional "mask field." By utilizing pseudo-masks from Grounded-SAM, the model learns an "editing probability" for every point in space, allowing it to mathematically separate the target object from its background.
  2. Reference Subject Learning: For image-driven tasks, the framework uses Custom Diffusion to "bake" the specific subject from a reference image into a unique text token (e.g., $V^*$).
  3. Local-Global Iterative Editing (LGIE): This is the core innovation of the paper. Training alternates between two stages:
  4. Local Stage: The model renders only foreground pixels to apply editing losses, ensuring the background remains untouched.
  5. Global Stage: The model renders the full image to provide necessary context (size, position, lighting), ensuring the new object integrates naturally into the original scene.

Solving the Janus Problem

To mitigate geometric failures like the Janus problem, CustomNeRF employs Class-guided Regularization. During the local stage, the model strips away the specific subject token ($V^*$) and uses a general class word (e.g., "dog"). This strategy leverages the diffusion model's broad knowledge of general object geometry to stabilize the 3D shape, while the global stage handles the specific appearance and texture.

Key Results and Insights

CustomNeRF significantly outperforms existing baselines such as Instruct-NeRF2NeRF and RePaint-NeRF across multiple benchmarks (BlendedMVS, LLFF, and IBRNet).

  • Quantitative Success: The method achieved the highest scores in CLIP Text-Image Directional Similarity and DINO Similarity, reflecting superior alignment with user prompts and reference images.
  • User Preference: In user studies, CustomNeRF was preferred by 75.6% of participants for image-driven editing and 85.2% for text-driven editing.
  • Visual Fidelity: Qualitatively, the framework preserves intricate background details—like shadows and textures—that competing methods often blur or distort, while successfully transferring complex textures to new 3D shapes.

Conclusion

By decoupling geometry from texture and utilizing a dual-stage training scheme, CustomNeRF provides a powerful tool for high-fidelity 3D scene editing. While current training times (10–60 minutes) and subject fidelity remain areas for future optimization, the framework sets a new standard for view-consistent, source-driven 3D manipulation.

Summary updated

BibTeX
@inproceedings{he2023customize,
  author = {Runze He and Shaofei Huang and Xuecheng Nie and Tianrui Hui and Luoqi Liu and Jiao Dai and Jizhong Han and Guanbin Li and Si Liu},
  title = {{Customize your NeRF: Adaptive Source Driven 3D Scene Editing via Local-Global Iterative Training}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure