LatentEditor: Text Driven Local Editing of 3D Scenes
Umar Khalid, Hasan Iqbal, Nazmul Karim, Jing Hua, Chen Chen
TL;DR
LatentEditor tackles the challenge of editing real-world NeRF scenes by enabling text-driven, localized modifications in a latent diffusion space. The method embeds scenes into a Stable Diffusion latent space, trains the NeRF directly in that space, and employs a delta module to produce 2D masks that constrain edits to targeted regions, guided by InstructPix2Pix. A refining adapter with self-attention maintains consistency between rendered latents and the original scene, while DDIM-based editing updates latent variables within the mask. Empirical results on LLFF, IN2N, NeRFStudio, and NeRF-Art show faster editing (5–8× fewer iterations) and improved CLIP-based fidelity and perceptual quality compared to IN2N and NeRF-Art, demonstrating effective, text-driven local 3D editing with preserved background and multi-attribute capabilities.
Abstract
While neural fields have made significant strides in view synthesis and scene reconstruction, editing them poses a formidable challenge due to their implicit encoding of geometry and texture information from multi-view inputs. In this paper, we introduce \textsc{LatentEditor}, an innovative framework designed to empower users with the ability to perform precise and locally controlled editing of neural fields using text prompts. Leveraging denoising diffusion models, we successfully embed real-world scenes into the latent space, resulting in a faster and more adaptable NeRF backbone for editing compared to traditional methods. To enhance editing precision, we introduce a delta score to calculate the 2D mask in the latent space that serves as a guide for local modifications while preserving irrelevant regions. Our novel pixel-level scoring approach harnesses the power of InstructPix2Pix (IP2P) to discern the disparity between IP2P conditional and unconditional noise predictions in the latent space. The edited latents conditioned on the 2D masks are then iteratively updated in the training set to achieve 3D local editing. Our approach achieves faster editing speeds and superior output quality compared to existing 3D editing models, bridging the gap between textual instructions and high-quality 3D scene editing in latent space. We show the superiority of our approach on four benchmark 3D datasets, LLFF, IN2N, NeRFStudio and NeRF-Art. Project Page: https://latenteditor.github.io/
