Abstract
We present a graph variational autoencoder (Graph-VAE) with a structured prior for generating the layout of indoor 3D scenes. Given a room type and layout, our architecture generates a collection of objects consistent with the environment. This task is challenging as scenes must satisfy multiple physical constraints, such as non-overlapping volumes and containment within room boundaries. We address these by encoding relationships as soft constraints on an attributed graph. The architecture utilizes a graph encoder to map input graphs to a structured latent space and a graph decoder to generate furniture graphs. The latent space is modeled with autoregressive priors to facilitate highly structured scene generation. Experiments on the 3D-FRONT dataset demonstrate that our method produces diverse scenes adapted to specific room layouts, outperforming traditional VAE baselines and rivaling state-of-the-art autoregressive models.
Introduction
The generation of 3D indoor scenes is a complex task requiring a balance between realism and controllability. Autoregressive models, such as Transformers, are proficient at capturing object dependencies but lack a structured latent space, hindering tasks like scene interpolation or retrieval. Conversely, standard Variational Autoencoders (VAEs) provide a useful latent space but often fail to capture the intricate dependencies between objects, leading to "messy" layouts with overlapping furniture or boundary violations. This paper proposes a Graph-VAE that incorporates a structured autoregressive prior and geometric constraints to achieve both high-quality generation and a controllable latent space.
Methodology
The proposed model represents a 3D scene as an attributed graph, where nodes capture attributes (shape, class, pose, size) and edges represent geometric relationships.
- Architecture: The model employs Message Passing Graph Neural Networks (MP-GNN) for both encoding and decoding. The encoder maps the scene graph to a latent space, while the decoder reconstructs the furniture layout conditioned on the room boundary and a latent code.
- Structured Autoregressive Prior: To overcome the independence assumption of standard VAEs, we introduce a linear Gaussian autoregressive prior. This allows the latent code of an object to be conditioned on previously generated objects, capturing essential spatial and functional dependencies.
- Graph Matching: Since graphs lack a natural ordering, we formulate the alignment between the posterior and the ordered prior as a Quadratic Assignment Problem (QAP), solved efficiently via the FAQ algorithm.
- Constrained Learning: Soft geometric constraints are integrated into the training objective to penalize physical implausibilities like object overlaps or wall penetrations.
Results
The model was evaluated on the 3D-FRONT dataset across four room types: bedrooms, living rooms, libraries, and dining rooms.
- Realism and Fidelity: In "Real vs. Generated" discrimination tests, our model significantly outperformed standard VAE baselines, improving accuracy by 7-10%. It performs competitively with ATISS, a state-of-the-art autoregressive transformer, while maintaining a more flexible latent space.
- Diversity and Control: Qualitative analysis shows the model's ability to generate diverse, plausible layouts for identical room geometries. Furthermore, the VAE structure enables scene editing and interpolation, allowing for smooth transitions between different furniture configurations.
- Computational Efficiency: The average inference time is approximately 130.26ms, making it slightly faster than ATISS (~148ms) on comparable hardware.
Conclusion
By integrating structured priors and geometric constraints into a Graph-VAE framework, we bridge the gap between the high-quality generation of autoregressive models and the controllability of variational architectures. Future work will explore non-linear priors and more fine-grained category modeling to further enhance scene complexity and realism.
Summary updated