Edit-DiffNeRF: Editing 3D Neural Radiance Fields using 2D Diffusion Model

Lu Yu, Wei Xiang, Kang HanarXiv 2023 · DOI

Introduction

Neural Radiance Fields (NeRFs) have transformed 3D scene reconstruction from 2D images. However, editing these implicit representations remains a significant challenge because they lack the explicit geometry of traditional 3D meshes. While recent methods attempt to leverage 2D diffusion models (e.g., Stable Diffusion) for guidance, these models often lack "3D awareness." This leads to inconsistent edits across different viewpoints, resulting in blurry textures and "Janus-like" artifacts where the model fails to maintain spatial logic.

Edit-DiffNeRF addresses these issues by manipulating the latent semantic space of a frozen 2D diffusion model, ensuring high-fidelity, text-guided edits that remain consistent in 3D space.

Methodology

The Edit-DiffNeRF framework employs a two-stage approach to bridge 2D generative power with 3D structural consistency.

The Delta Module and Latent Manipulation

Rather than fine-tuning a large diffusion model—which is computationally expensive and risks catastrophic forgetting—the authors introduce a lightweight "delta module" ($h(t)$). This module consists of a small neural network (two convolutional layers) inserted into the bottleneck of a frozen diffusion model's U-Net. It learns to shift the latent semantic space to align with a specific text instruction, such as "turn him into a firefighter."

Overview of the Edit-DiffNeRF framework, showing the delta module integration and the multi-view semantic consistency loss.

Multi-view Semantic Consistency

To ensure the edit is stable across all camera angles, the framework utilizes a novel multi-view semantic consistency loss ($L_c$). By extracting a latent semantic embedding from one view and forcing the NeRF to reconstruct that same "meaning" from other viewpoints, the system anchors the edit to specific 3D coordinates. This is supplemented by a cross-modal CLIP distance loss to ensure the latent features match the semantic intent of the prompt.

Evaluation and Results

The researchers evaluated Edit-DiffNeRF using a variety of real-world and synthetic datasets, including 360-degree face/body portraits, the Photoshape chair dataset, and Carla simulated car models.

Quantitative and Qualitative Performance

Edit-DiffNeRF achieved a 25% improvement in text-to-edit alignment compared to the previous state-of-the-art, Instruct-NeRF2NeRF. It also demonstrated superior performance in CLIP Direction Consistency, indicating that edits look more similar across different views. Qualitatively, the model excels at large spatial manipulations, such as removing objects or significantly altering attire, without leaving the "ghostly" artifacts common in other frameworks.

Qualitative comparison showing the input scene and the resulting 'firefighter' rendering.

Conclusion

Edit-DiffNeRF demonstrates that editing the latent semantic space of a diffusion model is more robust than editing raw pixels. By treating semantics as a 3D prior, the framework achieves unprecedented consistency and alignment. While the system remains dependent on the quality of the underlying NeRF and diffusion models, it represents a major step toward intuitive, high-quality 3D scene manipulation. Future work may involve integrating 3D-aware diffusion priors directly into the architecture to further streamline per-scene optimization.

Summary updated

BibTeX
@misc{yu2023edit,
  author = {Lu Yu and Wei Xiang and Kang Han},
  title = {{Edit-DiffNeRF: Editing 3D Neural Radiance Fields using 2D Diffusion Model}},
  year = {2023},
  eprint = {2306.09551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.09551},
}
Figure