3D Scene Diffusion Guidance using Scene Graphs

Mohammad Naanaa, Katharina Schmid, Yinyu NiearXiv 2023 · DOI

Abstract

Generating realistic 3D indoor scenes requires capturing intricate spatial dependencies between objects. This paper introduces a novel approach for guided 3D scene generation by conditioning diffusion models on scene graphs rather than flat text embeddings. By integrating Relational Graph Convolutional Networks (RGCNs) into the denoising process, the model explicitly reasons about spatial hierarchies. Our method achieves a 23% improvement in relationship alignment compared to non-relational baselines, demonstrating superior capability in synthesizing complex, semantically consistent 3D layouts.

Introduction

Synthesizing realistic 3D indoor environments is a foundational challenge for virtual reality, gaming, and architectural design. While diffusion models have set new standards in 2D image generation, 3D scene synthesis remains difficult because rooms are structured collections of objects with specific spatial dependencies—such as a lamp resting on a table or a chair facing a television.

Existing state-of-the-art methods often rely on text embeddings (e.g., BERT) for guidance. However, text is frequently too "flat" to represent the nested spatial hierarchies inherent in physical spaces. This often results in alignment issues where models generate the correct objects but place them in physically nonsensical locations or at incorrect scales. This research proposes moving beyond text to graph-based guidance to better capture these structural nuances.

Methodology

The core of the proposed approach is a scene-graph-conditioned Denoising Diffusion Probabilistic Model (DDPM). The model operates on a "Scene Matrix" where each row encodes an object's 3D centroid, orientation, and bounding box dimensions.

Relational Graph Convolutional Networks (RGCN)

To process the input scene graph—where nodes represent objects and edges represent spatial relationships (e.g., "supported by", "left of")—the denoising network utilizes RGCN blocks. Unlike standard neural layers, RGCNs update an object's state based on its neighbors in the graph, employing distinct weights for different relationship types. This allows the model to act as a spatial reasoner; for instance, if a table's position is updated during denoising, the RGCN ensures that objects associated with it (like a lamp on top) are adjusted accordingly.

Overview of the reverse denoising process and model architecture incorporating RGCN blocks.

Training and Loss Functions

The model is trained using a combination of standard diffusion loss and custom geometric constraints:

  • Volume Loss: Prevents the generation of objects with physically impossible scales.
  • Aspect Ratio Loss: Ensures objects maintain realistic proportions (e.g., preventing a chair from being stretched into a cube).
  • Classifier-Free Guidance for Graphs: The authors adapted classifier-free guidance by training the model to occasionally ignore graph edges, using a fully-connected graph with "neutral" relationship types to maintain information flow during unconditional training.

Datasets

The model was trained on a curated version of the 3RScan and 3DSSG datasets. After filtering for high-quality data and limiting the scope to 23 spatial relationships and 51 object categories, the final dataset consisted of 407 aggregated real-world indoor scenes.

Results and Discussion

To evaluate performance, the authors introduced the Relationship Alignment Score (RAS), which measures the percentage of specified graph relationships that are successfully realized in the generated 3D scene.

  • Quantitative Performance: A baseline model conditioned only on object labels (without relational edges) achieved an RAS of 44%. The proposed graph-conditioned model significantly outperformed this, reaching 67%.
  • Qualitative Success: The model demonstrates a high degree of proficiency in generating complex layouts, including repetitive structures (like rows of chairs) and disconnected sub-graphs, which typically cause drift in standard diffusion models.
Qualitative results showing generated 3D layouts from complex scene graphs and text descriptions.

Conclusion and Future Work

By prioritizing spatial structure over simple semantics, this work shows that scene graphs are a more effective conditioning mechanism for 3D layout generation than text alone. While currently limited by a small curated dataset and a maximum of 20 objects per scene, future iterations could incorporate shape codes within the Scene Matrix. This would allow the model to transition from generating bounding boxes to retrieving or generating high-fidelity 3D meshes, leading to fully realized, renderable virtual rooms.

Summary updated

BibTeX
@misc{naanaa2023d,
  author = {Mohammad Naanaa and Katharina Schmid and Yinyu Nie},
  title = {{3D Scene Diffusion Guidance using Scene Graphs}},
  year = {2023},
  eprint = {2308.04468},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.04468},
}
Figure