CompoNeRF: Text-guided Multi-object Compositional NeRF with Editable 3D Scene Layout

Yiqi Lin, Haotian Bai, Sijia Li, Haonan Lu, Xiaodong Lin, Hui Xiong, Lin Wang · DOI

Abstract

CompoNeRF is a novel framework for text-to-3D scene generation that shifts from monolithic generation to an "orchestrated assembly" of individual objects. By combining editable 3D layouts with dual-level text guidance, it effectively mitigates "guidance collapse"—a common failure mode where diffusion models struggle to distinguish multiple objects in a single prompt. CompoNeRF employs a density-based composition module to integrate separate Neural Radiance Fields (NeRFs) into a cohesive scene, supporting realistic lighting and geometry. Its modular architecture enables object caching and scene recomposition, providing a flexible toolset for 3D scene editing.

Introduction: The Challenge of Guidance Collapse

Current text-to-3D models, which typically pair Neural Radiance Fields (NeRFs) with diffusion models like Stable Diffusion, excel at generating single objects but often fail with complex, multi-object scenes. The authors identify this as "guidance collapse." In this phenomenon, global guidance from the diffusion model becomes ambiguous, leading to merged objects (e.g., an "apple-banana" hybrid), missing entities, or attribute leakage (swapped colors). This failure stems from a lack of spatial understanding regarding how distinct entities should coexist in 3D space.

Methodology: Compositional 3D Generation

CompoNeRF addresses these issues through a compositional approach, treating a scene as a collection of individual NeRFs governed by a spatial scaffold.

1. Editable 3D Layouts and Dual-Level Guidance

The framework utilizes user-defined 3D bounding boxes to provide explicit spatial priors. To maintain semantic clarity, it employs Dual-Level Text Guidance: a global prompt for the entire scene and specific sub-prompts for each bounding box. This ensures that each object retains its identity while remaining contextually appropriate.

The framework allows users to define and edit 3D bounding boxes, providing spatial priors for the generation process.

2. Density-Based Composition

To merge individual NeRFs, the authors developed a Density-Based Composition Module. Unlike color-based blending, which can produce "ghostly" artifacts, density-based composition calibrates volumetric density. This results in sharper geometry and realistic inter-object interactions, such as a lamp casting a glow on a nearby bed.

3. Modularity and Caching

Because objects are generated in local frames, they can be decomposed and cached. This modularity allows users to "recompose" scenes by loading pre-trained assets into new layouts, effectively turning 3D generation into a modular level-editing process.

Results and Evaluation

CompoNeRF was evaluated using a curated set of multi-object text prompts and compared against baselines like Latent-NeRF and SJC.

Comprehensive overview of the CompoNeRF pipeline (a) and various editing tasks: recomposition (b), layout editing (c), and object swapping (d, e).
  • Quantitative Performance: CompoNeRF achieved up to a 54% improvement in multi-view CLIP scores in complex scenarios, indicating superior alignment with text prompts.
  • Qualitative Superiority: User studies showed a strong preference for CompoNeRF due to its high semantic accuracy and multi-view consistency.
  • Editing Capabilities: The framework demonstrates robust editing, such as changing object types (e.g., wine to juice) or rearranging furniture while preserving consistent shadows and reflections.

Conclusion and Future Work

CompoNeRF demonstrates that explicit spatial priors are essential for complex text-to-3D generation. By modularizing the NeRF generation process, it provides a scalable and editable path forward for 3D content creation. Future work aims to address the "Janus problem" (multi-faced objects) using mesh constraints and to automate layout generation directly from text.

Summary updated

BibTeX
@misc{lin2023componerf,
  author = {Yiqi Lin and Haotian Bai and Sijia Li and Haonan Lu and Xiaodong Lin and Hui Xiong and Lin Wang},
  title = {{CompoNeRF: Text-guided Multi-object Compositional NeRF with Editable 3D Scene Layout}},
  year = {2023},
  eprint = {2303.13843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.13843},
}
Figure