Learning Unified Decompositional and Compositional NeRF for Editable Novel View Synthesis

Yuxin Wang, Wayne Wu, Dan XuICCV 2023

Abstract

Implicit neural representations have shown powerful capacity in modeling real-world 3D scenes, offering superior performance in novel view synthesis. In this paper, we target a more challenging scenario, i.e., joint scene novel view synthesis and editing based on implicit neural scene representations. State-of-the-art methods in this direction typically consider building separate networks for these two tasks (i.e., view synthesis and editing). Thus, the modeling of interactions and correlations between these two tasks is very limited, which, however, is critical for learning high-quality scene representations. To tackle this problem, in this paper, we propose a unified Neural Radiance Field (NeRF) framework to effectively perform joint scene decomposition and composition for modeling real-world scenes. The decomposition aims at learning disentangled 3D representations of different objects and the background, allowing for scene editing, while scene composition models an entire scene representation for novel view synthesis. Specifically, with a two-stage NeRF framework, we learn a coarse stage for predicting a global radiance field as guidance for point sampling, and in the second fine-grained stage, we perform scene decomposition by a novel one-hot object radiance field regularization module and a pseudo supervision via inpainting to handle ambiguous background regions occluded by objects. The decomposed object-level radiance fields are further composed by using activations from the decomposition module. Extensive quantitative and qualitative results show the effectiveness of our method for scene decomposition and composition, outperforming state-of-the-art methods for both novel-view synthesis and editing tasks.

Introduction

Implicit neural representations have revolutionized novel view synthesis, but enabling flexible scene editing—such as moving or removing objects—remains a significant challenge. Most existing methods treat view synthesis and editing as separate tasks, failing to capture the critical correlations between them. This paper introduces a unified Neural Radiance Field (NeRF) framework that performs joint scene decomposition and composition, enabling both high-fidelity rendering and precise object-level manipulation.

The Challenge of Scene Decomposition

Standard NeRFs model scenes as continuous volumes without explicit knowledge of individual objects. Attempting to disentangle objects often results in "ghosting" artifacts or "black holes" in the background where objects were previously located. This is primarily because the background behind an object is often occluded in all training views, leaving the model with no direct supervision for those regions. Reconstructing these occluded areas requires a model that can hallucinate consistent background textures while maintaining strict boundaries between entities.

Conceptual overview of the unified decomposition and composition process based on density predictions.

Proposed Methodology

The proposed framework utilizes a two-stage pipeline designed to bridge the gap between global scene understanding and local object representation.

1. Coarse Stage

A global radiance field is learned to provide a "rough map" of the scene. This stage acts as guidance for point sampling in the subsequent fine-grained stage, ensuring that the model focuses on relevant spatial regions.

2. Fine-Grained Stage

This stage performs the actual decomposition and composition using learnable object codes and several key innovations:

  • Gumbel-Softmax Activation: To ensure a point in 3D space is uniquely assigned to either an object or the background, a Gumbel-Softmax function is employed. This maintains differentiability while enforcing a "one-hot" assignment during the rendering process.
  • 3D One-Hot Density Regularization: This constraint prevents foreground objects from "bleeding" into the background radiance field, ensuring clean boundaries and preventing residual artifacts after object removal.
  • 2D In-painting Pseudo-Supervision: To reconstruct occluded background areas, the model utilizes a pre-trained 2D in-painter (LaMa). By masking objects in training images and in-painting the background, the system generates pseudo-ground truth to supervise the 3D background model, effectively filling in the "unseen" gaps.
  • Residual Composition: Finally, the decomposed parts are combined with a residual prediction from the coarse stage. This ensures that the final composited scene maintains the high-fidelity global context captured in the initial stage.
The proposed two-stage framework featuring coarse-to-fine radiance field learning and joint scene decomposition/composition.

Evaluation and Results

The framework was evaluated on the ToyDesk and ScanNet datasets, featuring complex indoor scenes with multiple objects.

  • Quantitative Performance: On the ToyDesk2 benchmark, the method achieved a PSNR of 25.76, significantly outperforming ObjectNeRF (22.17). Improvements were also consistent across SSIM and LPIPS metrics, indicating higher structural and perceptual fidelity.
  • Qualitative Quality: The model demonstrates superior performance in scene editing tasks. Removed objects leave behind naturally reconstructed backgrounds, and edited objects (rotated or duplicated) maintain sharp textures without the blurriness common in prior art. The "one-hot" assignment effectively eliminates the ghosting effects seen in competing methods.

Conclusion

By unifying decomposition and composition, this framework demonstrates that scene understanding and view synthesis are mutually beneficial tasks. The integration of 2D generative priors to solve 3D occlusion problems and the enforcement of discrete object assignments provide a robust path forward for editable implicit representations. Future work will explore extending this approach to dynamic environments and unsupervised object discovery.

Summary updated

BibTeX
@inproceedings{wang2023learning,
  author = {Yuxin Wang and Wayne Wu and Dan Xu},
  title = {{Learning Unified Decompositional and Compositional NeRF for Editable Novel View Synthesis}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=6mzZvIPf_so},
}
Figure