IReNe: Instant Recoloring of Neural Radiance Fields

Alessio Mazzucchelli, Adrian Garcia-Garcia, Elena Garces, Fernando Rivas-Manzaneque, Francesc Moreno-Noguer, Adrián Peñate Sánchez

Abstract

Advances in NERFs have allowed for 3D scene reconstructions and novel view synthesis. Yet, efficiently editing these representations while retaining photo realism is an emerging challenge. Recent methods face three primary limitations: they're slow for interactive use, lack precision at object boundaries, and struggle to ensure multi-view consistency. We introduce IReNe to address these limitations, enabling swift, near real-time color editing in NeRF. Leveraging a pre-trained NeRF model and a single training image with user-applied color edits, IReNe swiftly adjusts network parameters in seconds. This adjustment allows the model to generate new scene views, accurately representing the color changes from the training image while also controlling object boundaries and view-specific effects. Object boundary control is achieved by integrating a trainable segmentation module into the model. The process gains efficiency by retraining only the weights of the last network layer. We observed that neurons in this layer can be classified into those responsible for view-dependent appearance and those contributing to diffuse appearance. We introduce an automated classification approach to identify these neuron types and exclusively fine-tune the weights of the diffuse neurons. This further accelerates training and ensures consistent color edits across different views. A thorough validation on a new dataset, with edited object colors, shows significant quantitative and qualitative advancements over competitors, accelerating speeds by 5x to 500x.

Introduction

Neural Radiance Fields (NeRFs) have revolutionized 3D scene reconstruction, but editing them remains a significant hurdle. Because a NeRF stores a scene's appearance implicitly within the weights of a neural network, users cannot simply "paint" over a 3D model as they would with a traditional mesh. Existing editing methods suffer from three main pain points: high latency, color bleeding across object boundaries, and multi-view inconsistency. Most techniques take minutes or hours to propagate a color change, making interactive editing impossible. Furthermore, a color change that looks correct from one angle might disappear or look distorted from another, especially when dealing with complex view-dependent effects like specular highlights.

IReNe (Instant Recoloring of Neural Radiance Fields) addresses these challenges, enabling high-quality, view-consistent color editing of 3D scenes in under 5 seconds. By selectively fine-tuning only specific components of the network, it achieves a 5x to 500x speedup over previous state-of-the-art methods while preventing color bleeding.

Methodology

IReNe builds upon the Instant-NGP architecture and introduces three architectural "shortcuts" to achieve its speed and precision:

  1. Last Layer Re-training: Instead of retraining the entire color Multi-Layer Perceptron (MLP), IReNe only updates the weights of the very last layer. This drastically reduces the number of parameters to optimize, enabling convergence in seconds using just a single user-edited 2D image as a reference.
  2. Automated Neuron Classification: The authors discovered that neurons in the final layer specialize: some handle "diffuse" appearance (base color), while others handle "view-dependent" effects (shimmer, highlights). IReNe automatically identifies these types by performing an angular sweep. It then freezes the view-dependent neurons, ensuring that while the object's color changes, its original physical lighting properties remain intact.
  3. Soft 3D Segmentation: To prevent color bleeding, a tiny, trainable segmentation branch ($MLP_s$) is added. This module learns a volumetric mask ($\alpha$) that restricts color updates to the specific object the user intended to edit. It reuses the existing multiresolution hash grid features from the pre-trained NeRF, making it extremely efficient.
The IReNe pipeline optimizes a pre-trained NeRF using a single user-edited image, achieving multiview consistency in seconds.

Experiments and Datasets

The authors evaluated IReNe on three standard benchmarks: NeRF Synthetic, LLFF, and Mip-NeRF 360. Crucially, they identified a lack of quantitative benchmarks for NeRF editing. To solve this, they introduced a new dataset where they manually edited 11 views of various scenes using Photoshop to create "ground truth" targets. This allows for the first rigorous quantitative comparison (using PSNR, SSIM, and LPIPS) of how accurately an editing method propagates a user's intent across a 3D scene.

Results and Discussion

IReNe completes the optimization in approximately 5 seconds. For comparison, ICE-NeRF takes ~25 seconds, and PaletteNeRF can take between 30 minutes and 2 hours. Beyond speed, IReNe consistently outperformed competitors across all metrics. In the Mip-NeRF 360 dataset, it achieved a PSNR of 26.80, significantly higher than PaletteNeRF’s 22.24.

Qualitative examples of IReNe's recoloring capabilities, including partial object edits and multicolor support.

Qualitative results show that IReNe handles complex scenarios—like recoloring a single flower in a bouquet or changing the color of a specific part of a Lego tractor—without affecting the background or the object's specular highlights. The most significant finding is that the final layer of a color MLP is naturally disentangled. By simply freezing neurons that respond to changes in viewing angle, the model can modify the "texture" of an object without destroying the complex "lighting" encoded in the NeRF.

Conclusion

While IReNe provides a massive leap in editing efficiency, some limitations remain. Currently, the user must provide a pre-edited image from an external tool. Future work could integrate the selection and color shifting directly into the NeRF interface. Additionally, the method does not yet account for indirect illumination (e.g., a red object reflecting red light onto its neighbors). Despite these areas for growth, IReNe proves that a single edited frame is sufficient to update a 3D representation globally when the underlying architecture is correctly constrained.

Summary updated

BibTeX
@inproceedings{mazzucchelli2024irene,
  author = {Alessio Mazzucchelli and Adrian Garcia-Garcia and Elena Garces and Fernando Rivas-Manzaneque and Francesc Moreno-Noguer and Adrián Peñate Sánchez},
  title = {{IReNe: Instant Recoloring of Neural Radiance Fields}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=FwISh8prwU},
}
Figure