Generative Hierarchical Models for Parts, Objects, and Scenes

Fei Deng, Zhuo Zhi, Sungjin Ahn

Abstract

Representation of Interpretable Compositional Hierarchies (RICH) is a novel deep latent variable model designed for unsupervised scene decomposition. Unlike traditional bottom-up approaches that struggle with the combinatorial complexity of part-to-object routing, RICH employs a top-down inference strategy. This allows the model to learn modular, reusable, and interpretable hierarchical structures, effectively decomposing scenes into objects and their constituent parts without human supervision.

Introduction

Natural scenes are intrinsically hierarchical, organized into objects which are themselves composed of parts. While humans effortlessly perceive these relationships, standard deep learning models often treat images as flat pixel grids. Existing hierarchical modeling attempts generally fall into two categories: bottom-up approaches, such as Capsule Networks, which face significant computational challenges in "routing" parts to objects; and flat object-centric models, which fail to capture the internal modularity of objects.

The RICH framework addresses these limitations by learning multi-level relationships in an unsupervised manner. By bridging the gap between flat object detection and complex part-whole hierarchies, RICH provides enhanced interpretability and robust generalization to novel scene configurations.

Methods

The core of the RICH architecture is a probabilistic scene graph represented as a tree structure.

Generative Process

The model generates scenes through a top-down hierarchy. Starting from the root (scene level), it samples object nodes, which in turn sample part nodes (leaf nodes). Each node is characterized by an appearance latent variable ($z^{appr}$), while edges represent pose latent variables ($z^{pose}$) that define spatial transformations—such as scale, rotation, and translation—between parent and child nodes.

Top-Down Inference and Templates

In contrast to bottom-up routing, RICH utilizes higher-level context to guide lower-level decomposition. High-level appearance latents provide a global summary that directs the search for constituent parts, improving robustness under occlusion. To ensure interpretability, the model incorporates an external memory module of learned "primitive templates" (e.g., basic geometric shapes). Leaf nodes retrieve and transform these templates to reconstruct the scene. Spatial Transformer (ST) layers are used recursively to apply these affine transformations, facilitating both the "rendering" of scenes from parts and the "cropping" of glimpses from the global scene.

The RICH architecture: (A) Probabilistic scene graph, (B) Top-down inference process, and (C) Recursive decoding mechanism.

Results

The model was evaluated on synthetic 2D and 3D datasets. The 2D dataset consisted of color images with varying numbers of multi-part objects, while the 3D dataset utilized the MuJoCo engine to introduce complex viewpoints and significant occlusion.

Performance and Generalization

RICH achieved high precision and recall (>0.99 for 2D, ~0.96 for 3D objects) in scene decomposition. It consistently outperformed standard Variational Autoencoder (VAE) baselines in negative log-likelihood (NLL), indicating a superior capture of the underlying data distribution. Notably, the model demonstrated strong compositional generalization; for instance, a model trained on scenes with 1 or 3 objects successfully decomposed scenes containing 2 or 4 objects, indicating it learned the underlying logic of composition.

Qualitative results: (A) Input images with predicted bounding boxes for objects and parts, and (B) Learned primitive part templates.

Discussion

While RICH represents a significant advancement in unsupervised hierarchical modeling, certain limitations remain. Severe occlusion in 3D scenes can occasionally lead the model to merge distinct objects if their overlap mimics a known multi-part structure. Additionally, objects at scene boundaries can sometimes lead to position prediction errors. Future research will explore extending the RICH framework to sequential video data to leverage temporal consistency for more robust decomposition.

Summary updated

Abstract

Compositional structures between parts and objects are inherent in natural scenes. Modeling such compositional hierarchies via unsupervised learning can bring various benefits such as interpretability and transferability, which are important in many downstream tasks. In this paper, we propose the first deep latent variable model, called RICH, for learning Representation of Interpretable Compositional Hierarchies. At the core of RICH is a latent scene graph representation that organizes the entities of a scene into a tree structure according to their compositional relationships. During inference, taking top-down approach, RICH is able to use higher-level representation to guide lower-level decomposition. This avoids the difficult problem of routing between parts and objects that is faced by bottom-up approaches. In experiments on images containing multiple objects with different part compositions, we demonstrate that RICH is able to learn the latent compositional hierarchy and generate imaginary scenes.
BibTeX
@misc{deng2019generative,
  author = {Fei Deng and Zhuo Zhi and Sungjin Ahn},
  title = {{Generative Hierarchical Models for Parts, Objects, and Scenes}},
  year = {2019},
  eprint = {1910.09119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.09119},
}
Figure