Fast and Flexible Indoor Scene Synthesis via Deep Convolutional Generative Models

Daniel Ritchie, Kai Wang, Lin Yuan

Introduction

The creation of realistic 3D indoor environments is a cornerstone of modern computer graphics, essential for video games, architectural visualization, and the training of autonomous robotic agents. Historically, this process has been labor-intensive, requiring manual placement of objects by skilled designers. While automated "scene synthesis" methods have emerged, they often face a significant trade-off between speed and quality.

Earlier "Deep Prior" models utilized top-down image representations to reason about object placement with high precision, but their iterative, pixel-by-pixel prediction process was prohibitively slow—often requiring several minutes to generate a single room. Conversely, faster methods frequently struggled with global coherence, leading to illogical placements such as wardrobes blocking doorways. This research introduces a high-speed, image-based generative pipeline capable of synthesizing realistic 3D indoor scenes in under two seconds, representing a 100x speedup over previous state-of-the-art image-based methods.

Methodological Framework

The proposed system employs an autoregressive pipeline that "paints" a room by iteratively adding objects. The core innovation lies in factorizing scene generation into a sequence of four specialized deep learning modules, which process a top-down, image-based representation of the scene:

  1. Next Object Category: Utilizing a ResNet-18 architecture combined with a "bag of categories" count vector, this module predicts the next object to be added or determines if the scene is complete via a <STOP> token. This global reasoning prevents redundant object placement.
  2. Object Location: To overcome the speed bottlenecks of previous models, the authors utilize a Fully Convolutional Network (FCN). Instead of pixel-by-pixel inference, the FCN generates a 2D probability heatmap for the entire room in a single forward pass, providing the primary source of the system's massive speedup.
  3. Object Orientation: Recognizing that objects like chairs can realistically face multiple directions, a Conditional Variational Autoencoder (CVAE) is used to model this multimodal distribution. A "Snap Predictor" is also integrated to ensure objects align precisely with cardinal directions (walls).
  4. Object Dimensions: A CVAE-GAN predicts the width and depth of the object. The inclusion of an adversarial loss (the GAN component) ensures that predicted sizes are realistic and prevents objects from clipping through walls.
A synthesized living room layout showcasing coherent placement of an L-shaped sofa, coffee table, and media console.

Following these predictions, the system performs a nearest-neighbor search in a 3D model database to retrieve the geometry that best fits the predicted dimensions.

Experimental Setup and Datasets

The model was trained and evaluated using the SUNCG dataset, which contains over 40,000 human-designed 3D scenes. The research focused on four distinct room types to test the model's flexibility:

  • Bedrooms: 6,300 scenes (40 object categories)
  • Living Rooms: 1,400 scenes (35 categories)
  • Bathrooms: 6,800 scenes (22 categories)
  • Offices: 1,200 scenes (36 categories)

To prevent overfitting in smaller samples like living rooms and offices, the researchers applied data augmentation through rotations.

Key Results and Insights

The pipeline demonstrates exceptional performance across several metrics. On an NVIDIA GTX 1080Ti, it generates a complete scene in approximately 1.86 seconds, a stark contrast to the ~240 seconds required by previous "Deep Priors" methods.

Beyond speed, the model achieves high statistical accuracy. It recorded significantly lower Kullback-Leibler (KL) divergence than its competitors, indicating that its generated object distributions closely mirror real-world human designs. In a "forced-choice" human study, participants found the synthesized bedrooms and bathrooms nearly indistinguishable from real human-designed scenes. Furthermore, a "real vs. synthetic" classifier only achieved ~58% accuracy on the generated scenes, suggesting the results are highly convincing and approach the 50% threshold of random guessing.

A synthesized bedroom layout demonstrating the model's ability to handle complex object relationships like bed-to-nightstand placement.

Several key insights emerged from this work:

  • Factorization over Joint Prediction: Separating the "what," "where," and "how big" avoids the local minima issues where models repeatedly place the same object in a single high-probability spot.
  • The Power of FCNs: Moving to single-pass FCNs for location prediction transformed performance from minutes to seconds without sacrificing spatial precision.
  • Multimodality: CVAEs allow the model to sample from a range of valid possibilities for orientation and size, acknowledging that there is rarely a single "correct" answer in interior design.

Limitations and Future Work

While highly effective, the model faces challenges in complex environments like offices, where high variability in room size and function can lead to unorganized results (e.g., excessive chairs around a small table). Additionally, the current system does not explicitly enforce style consistency (pairing matching furniture sets) or functional reasoning (ensuring adequate legroom or walking paths). Future research may integrate higher-level scene structures, such as hierarchies or graphs, to better manage complex, multi-functional spaces and improve stylistic and functional coherence.

Summary updated

BibTeX
@inproceedings{ritchie2019fast,
  author = {Daniel Ritchie and Kai Wang and Lin Yuan},
  title = {{Fast and Flexible Indoor Scene Synthesis via Deep Convolutional Generative Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00634},
}
Figure