CLIP-NeRF: Text-and-Image Driven Manipulation of Neural Radiance Fields

Can Wang, Menglei Chai, Mingming He, Dongdong Chen, Jing Liao

Introduction

Neural Radiance Fields (NeRF) have set a new standard for high-fidelity 3D scene synthesis. However, their implicit nature makes them notoriously difficult to edit compared to explicit representations like meshes. Traditional NeRF editing often requires unintuitive manual inputs, is limited to local changes, and involves slow, per-scene optimization. CLIP-NeRF addresses these challenges by introducing a unified framework for intuitive, global, and efficient 3D manipulation using text prompts or exemplar images.

Methodology: Disentangled and CLIP-Driven

The core of CLIP-NeRF lies in its ability to bridge the semantic space of CLIP with a novel 3D architecture.

Disentangled Conditional NeRF

To achieve independent control over geometry and appearance, the authors propose a conditional NeRF architecture. It utilizes two distinct latent codes:

  • Shape Code ($z_s$): This conditions a Deformation Network that warps 3D coordinates before they enter the NeRF. This approach preserves fine details while enabling significant structural transformations, such as changing a car's body type.
  • Appearance Code ($z_a$): This code is applied at the final rendering stage, allowing for color and texture modifications without altering the underlying geometry.
The CLIP-NeRF framework consists of a disentangled conditional NeRF and CLIP-driven code mappers for intuitive manipulation.

CLIP-Driven Code Mappers

Instead of relying on slow optimization for every edit, CLIP-NeRF employs feed-forward "code mappers." These MLP-based networks take a CLIP embedding (from a text prompt or image) and predict a displacement vector ($\Delta z$) to update the latent codes. By training these mappers with a CLIP-based similarity loss, the system ensures the 3D output aligns with the user's semantic intent.

Experimental Results

The framework was evaluated on datasets like Photoshapes (chairs) and Carla (cars). CLIP-NeRF demonstrates significant advantages in both speed and quality.

Efficiency and Accuracy

A key result is the dramatic improvement in inference speed. While previous methods like EditNeRF require roughly 30 seconds for a single shape edit, CLIP-NeRF achieves the same result in approximately 0.58 seconds. User studies further validate the system's effectiveness, with participants correctly matching edited 3D models to their input prompts in over 80% of cases.

Qualitative comparison of CLIP-NeRF against EditNeRF, demonstrating superior performance in both color and shape editing.

Quality and Versatility

Quantitative metrics (FID scores) indicate that CLIP-NeRF maintains higher image quality and 3D consistency during large-scale deformations. The model also supports "continuous manipulation," allowing users to interpolate the strength of an edit by scaling the predicted displacement vector.

Discussion and Key Insights

A major finding of this work is the utility of CLIP as a 3D prior. Despite being trained on 2D images, CLIP embeddings exhibit remarkable multi-view consistency, making them ideal for supervising 3D generation tasks. Furthermore, using a deformation field for shape editing proved more robust than simple latent code concatenation, as it regularizes the output to be a smooth transformation of the base geometry.

Limitations and Future Work

While powerful, CLIP-NeRF currently lacks fine-grained local control (e.g., editing a specific part of an object). Its manipulation capabilities are also bounded by the diversity of the pre-trained latent space. Future research may focus on strengthening CLIP's role to enable zero-shot shape deformation on single-scene NeRFs without requiring a category-level latent prior.

Conclusion

CLIP-NeRF represents a significant step toward making 3D content creation accessible. By combining the semantic power of CLIP with a disentangled NeRF architecture, it enables fast, intuitive, and high-quality manipulation of 3D objects through simple natural language or visual examples.

Summary updated

BibTeX
@inproceedings{wang2021clip,
  author = {Can Wang and Menglei Chai and Mingming He and Dongdong Chen and Jing Liao},
  title = {{CLIP-NeRF: Text-and-Image Driven Manipulation of Neural Radiance Fields}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr52688.2022.00381},
}
Figure