Editing Conditional Radiance Fields

Steven Liu, Xiuming Zhang, Zhoutong Zhang, Richard Zhang, Jun-Yan Zhu, Bryan Russell

Abstract

Neural Radiance Fields (NeRFs) have set a new standard for photorealistic view synthesis, yet they remain difficult to edit due to their scene-specific optimization and implicit representation. We present a modular, category-level NeRF architecture that enables intuitive 3D editing of color and shape through simple 2D interactions. By disentangling shared category priors from instance-specific details and employing a hybrid update strategy, our method achieves high-fidelity, view-consistent edits with significant computational speedups compared to traditional fine-tuning.

Introduction

While NeRFs excel at capturing the appearance of specific 3D scenes, they typically lack semantic understanding of the objects they represent. This "per-scene optimization" makes editing challenging: a change made from one viewpoint does not naturally propagate to others, and updating the entire network for a minor edit is both slow and prone to artifacts.

This work addresses these hurdles by bridging the gap between the high-quality rendering of implicit representations and the editability of explicit 3D meshes. We introduce a framework that allows users to perform localized edits—such as changing a chair's color or removing a component—using 2D scribbles that are automatically propagated across all 3D viewpoints.

Modular Architecture for Disentangled Editing

The core of our approach is a Conditional Radiance Field designed for disentanglement. Unlike standard NeRFs that use a single multi-layer perceptron (MLP), our architecture is partitioned into four functional modules:

  1. Shared Geometry ($\mathcal{F}_{share}$): Learns common structural features across a category (e.g., the general form of chairs).
  2. Instance Geometry ($\mathcal{F}_{inst}$): Captures the unique structural details of a specific object.
  3. Fusion Layer ($\mathcal{F}_{fuse}$): Integrates shared and instance-specific geometric information.
  4. Radiance Module ($\mathcal{F}_{rad}$): Determines color and appearance.
The framework supports various editing operations: (A) color editing via 2D scribbles, (B) shape removal, and (C) shape and color code swapping between different instances.

To enable interactive editing, we employ Hybrid Updates. Instead of retraining the entire network, we optimize only the relevant modules. Color edits involve tuning $\mathcal{F}_{rad}$ and the color latent code, while shape edits target $\mathcal{F}_{fuse}$ and density layers. This strategy prevents "catastrophic forgetting" and maintains the integrity of unedited regions.

Optimization and Efficiency

To facilitate a responsive user experience, we implement several optimization techniques:

  • Feature Caching: By storing the outputs of static layers, we achieve up to an 8x speedup in rendering during the editing process.
  • Ray Subsampling: This reduces the number of rays processed during optimization, accelerating convergence.
  • Density-based Entropy Loss: For shape removal, this loss encourages the model to predict zero density in user-specified regions, effectively "erasing" parts of the 3D volume.

Experimental Evaluation

We evaluated our model on three datasets: PhotoShape (high texture variation), Dosovitskiy Chairs (high structural variation), and GRAF CARLA (cars). Notably, the model can learn from a single view per instance by leveraging category-level priors to regularize view-dependence and prevent hallucinations.

Key Results

  • High Fidelity: Our method achieved a PSNR of 35.25 for color edits on PhotoShape, significantly outperforming full-network fine-tuning (31.00).
  • Efficiency: Hybrid updates and caching resulted in a 24x speedup for color editing and a 2.9x speedup for shape editing.
  • Consistency: Edits are inherently 3D; removing a part or changing a color remains consistent across all camera angles.
  • Real-World Generalization: The system successfully processed real photographs, demonstrating its ability to generalize beyond synthetic training data.

Discussion and Future Work

Our results highlight that category priors act as "semantic glue," allowing sparse 2D interactions to propagate meaningfully across 3D space. The disentangled architecture further enables "code swapping," where the appearance of one object can be seamlessly applied to the geometry of another with surprising stability.

However, challenges remain. Shape editing, while faster than baseline methods, still requires over a minute due to the computational cost of volume integration. Additionally, the model's performance is tied to its training distribution; highly unconventional objects may not be reconstructed accurately. Future research could extend these capabilities to dynamic relighting and part-based animation.

Summary updated

BibTeX
@inproceedings{liu2021editing,
  author = {Steven Liu and Xiuming Zhang and Zhoutong Zhang and Richard Zhang and Jun-Yan Zhu and Bryan Russell},
  title = {{Editing Conditional Radiance Fields}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00572},
}
Figure