Learning Object-Compositional Neural Radiance Field for Editable Scene Rendering

Bangbang Yang, Yinda Zhang, Yinghao Xu, Yijin Li, Han Zhou, Hujun Bao, Guofeng Zhang, Zhaopeng Cui

Abstract

Traditional Neural Radiance Fields (NeRF) excel at novel view synthesis but treat scenes as monolithic entities, preventing object-level manipulation. This paper introduces a novel framework that decomposes complex, cluttered real-world scenes into a background and individual, editable objects. By employing a two-pathway architecture and a "scene-guided" training strategy, the system enables users to move, rotate, or duplicate objects while maintaining high photorealism and sharp boundaries.

Introduction

Standard NeRF models represent density and color as a single "black box," lacking the concept of object identity. This limitation makes high-level editing—such as rearranging furniture—impossible. Existing object-compositional methods often struggle with real-world "clutter" and occlusions. In typical indoor scans, objects are frequently hidden by others; naive algorithms might incorrectly assume an occluded object does not exist, leading to "shattered" or "cloudy" reconstructions.

Methodology

The proposed framework utilizes a two-pathway architecture to decouple the scene:

  1. Scene Branch: Encodes the entire scene's geometry and appearance, providing base layers and geometric cues.
  2. Object Branch: Learns to represent standalone objects, conditioned on learnable object activation codes. This allows a single network to represent multiple distinct objects by switching codes.
The two-pathway architecture: a Scene Branch for the background and an Object Branch for individual objects, controlled by activation codes.

To address clutter, the authors introduced Scene-guided Occlusion Identification:

  • 3D Guard Mask: Uses the Scene Branch to estimate depth and protect occluded regions during training. If an object is hidden from a specific viewpoint, the "empty" supervision signal is blocked, preventing the model from erroneously removing unseen parts of the object.
  • Hybrid Embedding: Combines voxel-based features for local detail with coordinate-based positional encoding for smooth interpolation.

Experimental Setup

The model was evaluated on two datasets:

  • ToyDesk: A custom dataset featuring various desk layouts with 360-degree captures and manual 3D annotations.
  • ScanNet: A large-scale dataset of indoor environments, used to test the system's performance in highly cluttered real-world scenes.

Discussion and Insights

  • Addressing Occlusion Ambiguity: A key insight was realizing that 2D mask "emptiness" is ambiguous—it could mean an object is absent or merely hidden. Using the scene's overall depth to "guard" hidden areas allows the model to learn complete 3D shapes from incomplete 2D views.
  • Multi-view Consistency as a Denoiser: Even with noisy or jittery 2D segmentation masks, the requirement for 3D consistency naturally filters out noise, producing smooth, accurate boundaries.
  • Unified Representation: Activation codes enable efficient knowledge sharing across objects while maintaining distinct identities, avoiding the need for separate networks per object.

Key Results

The model achieves rendering quality on par with or better than state-of-the-art static models like NeRF and NSVF, reaching a PSNR of 29.005 on ScanNet. Crucially, it enables seamless object manipulation without background bleeding or the "ghosting" artifacts common in point-cloud-based methods.

Comparison of the original scene view with manipulated renderings showing duplicated and moved objects.

Conclusion and Future Work

While the framework significantly advances editable NeRFs, limitations remain. Currently, moving an object can leave "holes" in the background that are filled via simple spatial smoothness; integrating scene completion methods could improve these results. Additionally, the model does not yet handle relighting or camera pose noise from handheld scans. Future work will focus on integrating camera pose optimization and explicit lighting models.

Summary updated

BibTeX
@inproceedings{yang2021learning,
  author = {Bangbang Yang and Yinda Zhang and Yinghao Xu and Yijin Li and Han Zhou and Hujun Bao and Guofeng Zhang and Zhaopeng Cui},
  title = {{Learning Object-Compositional Neural Radiance Field for Editable Scene Rendering}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01352},
}
Figure