InstructPix2NeRF: Instructed 3D Portrait Editing from a Single Image
Jianhui Li, Shilong Liu, Zidong Liu, Yikai Wang, Kaiwen Zheng, Jinghui Xu, Jianmin Li, Jun Zhu
TL;DR
InstructPix2NeRF tackles instructed 3D-aware portrait editing from a single image by fusing NeRF-based generation with a latent diffusion model operating in the $\mathcal{W+}$ space. It introduces a triplet data mechanism, token position randomization, and an identity consistency module to achieve multi-instruction, identity-preserving editing with 3D consistency guided by CLIP text embeddings. The approach leverages an inversion encoder $E$, a NeRF-based generator $G$, and a diffusion transformer backbone to model $p(w|X_o,T)$, enabling end-to-end editing from human instructions. Empirical results show superior identity preservation and 3D fidelity over baselines, with strong qualitative and quantitative support and potential applicability to interactive VR/metaverse contexts.
Abstract
With the success of Neural Radiance Field (NeRF) in 3D-aware portrait editing, a variety of works have achieved promising results regarding both quality and 3D consistency. However, these methods heavily rely on per-prompt optimization when handling natural language as editing instructions. Due to the lack of labeled human face 3D datasets and effective architectures, the area of human-instructed 3D-aware editing for open-world portraits in an end-to-end manner remains under-explored. To solve this problem, we propose an end-to-end diffusion-based framework termed InstructPix2NeRF, which enables instructed 3D-aware portrait editing from a single open-world image with human instructions. At its core lies a conditional latent 3D diffusion process that lifts 2D editing to 3D space by learning the correlation between the paired images' difference and the instructions via triplet data. With the help of our proposed token position randomization strategy, we could even achieve multi-semantic editing through one single pass with the portrait identity well-preserved. Besides, we further propose an identity consistency module that directly modulates the extracted identity signals into our diffusion process, which increases the multi-view 3D identity consistency. Extensive experiments verify the effectiveness of our method and show its superiority against strong baselines quantitatively and qualitatively. Source code and pre-trained models can be found on our project page: \url{https://mybabyyh.github.io/InstructPix2NeRF}.
