GRAINS: Generative Recursive Autoencoders for INdoor Scenes

Manyi Li, Akshay Gadi Patil, Kai Xu, Siddhartha Chaudhuri, Owais Khan, Ariel Shamir, Changhe Tu, Baoquan Chen, Daniel Cohen-Or, Hao (Richard) Zhang

TL;DR

This paper introduces GRAINS, a novel generative recursive neural network (RvNN-VAE) capable of creating diverse and plausible 3D indoor scenes efficiently. By leveraging a hierarchical representation of scenes and focusing on relative object positioning, GRAINS overcomes limitations of previous methods and enables applications like 2D-to-3D scene generation and semantic scene segmentation.

What Problem Does This Paper Address?

The increasing demand for realistic 3D indoor environments in fields like VR/AR and robotics has spurred research into generative models for 3D scene synthesis. However, existing methods often struggle with generating diverse, plausible scenes efficiently, or they rely on complex, time-consuming processes. A key challenge is capturing the inherent hierarchical structure of indoor scenes and the complex relationships between objects, which are often semantic rather than purely geometric. Convolutional neural networks, successful in 2D image processing, are not well-suited for this task due to their inability to inherently understand spatial hierarchies.

Methods

GRAINS employs a Variational Recursive Autoencoder (RvNN-VAE). The core idea is to represent indoor scenes hierarchically, similar to how objects are grouped and related.

  • Hierarchical Scene Representation: Scenes are structured into hierarchies where leaf nodes represent individual objects (with semantic labels and bounding box information) and internal nodes represent groups of objects.
  • Recursive Encoding: A set of specialized encoders recursively process this hierarchy. These encoders capture relationships like:
  • Support: One object resting on another.
  • Surround: Objects arranged around a central object.
  • Co-occurrence: Objects frequently found together (e.g., sofa and coffee table).
  • Wall/Root: Special encoders to handle walls and the overall scene layout.
  • Relative Positioning: Instead of absolute coordinates, GRAINS encodes the relative positions and orientations between objects. This is crucial because object placement in indoor scenes is often defined by their relationship to other objects, not their fixed location in space. This encoding includes offsets, angles, and binary indicators for attachment and alignment.
  • VAE for Latent Space: The recursive encoding process compresses the scene hierarchy into a fixed-length latent code, which is modeled by a VAE to follow a Gaussian distribution.
  • Recursive Decoding: A corresponding decoder reconstructs the scene hierarchy from a sampled latent code, which is then used to retrieve and place 3D objects to form the final scene.
  • Node Classifier: An auxiliary classifier helps guide the decoding process by determining the type of node (object, support, surround, etc.) at each step.

Datasets

  • SUNCG: The primary dataset used for training and evaluation. It's a large collection of realistic indoor scenes.
  • SUNCG (filtered): For training, the authors filtered SUNCG to include only rooms with floor and rectangular walls, and removed infrequently appearing object categories to ensure a manageable and consistent dataset.

Key Insights and Ideas

  • Hierarchy is Key: Indoor scenes possess an inherent hierarchical structure that is fundamental to their composition and plausibility. Capturing this hierarchy is more effective than purely convolutional approaches.
  • Relative Positioning Matters More: For indoor scenes, the relative placement and orientation of objects are more informative and predictable than their absolute positions. This is a significant departure from methods that rely on absolute coordinates.
  • Semantics are Crucial for Co-occurrence: Object co-occurrence is heavily influenced by semantics (e.g., a keyboard and monitor belong together). GRAINS explicitly encodes semantic labels, which is vital for learning these relationships.
  • Walls as References: Treating walls as initial reference objects provides a stable grounding for object placement, simplifying the learning of scene layouts.
  • Efficiency Through Recursion: The recursive nature of the network allows for efficient encoding and decoding of complex scene structures, enabling near real-time scene generation.

Key Results

  • Fast Generation: GRAINS can generate a 3D scene in a fraction of a second (e.g., 0.1027s per bedroom scene on average), significantly faster than prior methods (e.g., 4 minutes for Wang et al. [2018]).
  • Plausible and Diverse Scenes: Perceptual studies showed that scenes generated by GRAINS were rated comparably to training set scenes, especially by graphics/vision researchers, indicating high plausibility and quality. The method also generates diverse scenes, as demonstrated by comparisons to nearest neighbors in the training set.
  • Improved Object Co-occurrence: The generated scenes exhibit object co-occurrence patterns similar to the training data, validated by similarity plots.
  • Applications:
    • 2D Layout to 3D Scene: GRAINS can generate plausible 3D scenes from 2D floor plans, recovering missing semantic information.
  • Hierarchy-Guided Editing: The hierarchical representation allows for intuitive scene editing by modifying subtrees.
  • Data Augmentation: Generated scenes can be used to augment datasets like SUNCG, improving the performance of deep learning models for tasks like semantic scene segmentation (e.g., boosting PointNet accuracy).

Limitations and Future Work

  • "Handcrafting" in Design: The authors acknowledge that pre-defining object relations (support, surround, co-occurrence) and the hierarchical structure could be seen as "handcrafting." Ideally, the network would learn these relations autonomously.
  • Limited Control: GRAINS is an unconditional generator, meaning users cannot directly specify object counts or force the inclusion of specific objects.
  • Object Retrieval Limitations: The current method relies on retrieving 3D objects based on OBBs, which offers limited control over object shapes, styles, and fine-grained semantics.
  • Generic Scene Structures: The model might struggle with highly cluttered or non-standard scenes (e.g., messy desks) where a clear hierarchical structure is less apparent.
  • Future Work:
    • Learning object relations and semantics end-to-end without pre-defined structures.
  • Developing generative models for graphs rather than fixed hierarchies.
  • Improving control over generated scenes (e.g., constrained generation).
  • Exploring fully convolutional networks for voxel-level scene generation.
  • Investigating more generic scene representations beyond fixed hierarchies.

Summary updated

BibTeX
@article{li2019grains,
  author = {Manyi Li and Akshay Gadi Patil and Kai Xu and Siddhartha Chaudhuri and Owais Khan and Ariel Shamir and Changhe Tu and Baoquan Chen and Daniel Cohen-Or and Hao (Richard) Zhang},
  title = {{GRAINS: Generative Recursive Autoencoders for INdoor Scenes}},
  journal = {ACM Trans. Graphics},
  year = {2019},
  doi = {10.1145/3303766},
}
Figure