Abstract
Humans possess the ability to grasp abstract relational concepts, such as "a queue" or "a circle," independently of the specific objects involved. We present Constellation, a neural network architecture designed to learn these abstract relational structures from visual scenes. By factorizing a scene's underlying configuration from its sensory content (e.g., color, shape), Constellation enables "compositional imagination." When linked with language, the model can take a random set of objects and visually rearrange them into entirely new configurations based on textual prompts.
Introduction
A fundamental aspect of human intelligence is the ability to separate relational concepts from sensory particulars. We recognize "lineness" whether we are looking at a row of people or a line of ducks. While recent slot-based models like MONet have succeeded in segmenting scenes into individual objects, they often fail to capture the configurational properties of object groups. Constellation addresses this gap by learning relational abstractions, allowing machines to reason about object relationships and imagine novel, out-of-distribution configurations.
Architecture and Methods
Constellation is a Variational Autoencoder (VAE) framework built upon a pre-trained scene decomposition network (MONet). The architecture consists of several key components:
- Abstraction Mask: The model applies a learned mask to MONet-extracted object representations, filtering out sensory details like color and shape to retain only relational features (x, y coordinates).
- Relational Encoder: A Graph Neural Network (GNN) processes these abstracted objects. Since input object slots are unordered, the GNN provides a permutation-invariant encoding into relational latent variables (r).
- Sequential Decoder: An LSTM decodes the latents back into abstract object positions. The Hungarian matching algorithm is used to calculate reconstruction loss between unordered inputs and ordered generated sequences.
- Language Binding: Using a Symbol-Concept Association Network (SCAN), the model maps language symbols (e.g., "circle", "left") into the relational latent space, enabling text-driven manipulation of scene structure.
Experimental Setup
The model was evaluated using a custom synthetic dataset created in the Spriteworld environment. The dataset features 2D scenes where objects are arranged in "super-structures" like lines, arches, or horseshoes. These structures are defined by generative factors: position, number, orientation, and curviness. To ensure the model learns relational knowledge rather than sensory correlations, the visual features of individual objects (color, shape, size) are randomized.
Results and Key Insights
Constellation demonstrates a strong ability to factorize relational knowledge. By imposing an information bottleneck through masking, the network naturally isolates spatial coordinates. Latent traversals confirm that Constellation successfully isolates the five generative relational factors into distinct dimensions.
Disentanglement and Imagination
Furthermore, the model exhibits "Zero-Shot Compositional Imagination." Because the relational latents are disentangled, language commands can target specific dimensions (e.g., "straight" or "long") without interference. The SCAN module achieves approximately 90% accuracy in categorizing relational elements of held-out scenes. In practice, the model can take an image of scattered objects and, given a prompt like "Circle + top-centre," visually rearrange those specific objects into the requested structure.
Discussion and Future Work
While Constellation performs well on synthetic 2D data, its reliance on simplified environments is a limitation. Real-world scenes with complex textures, occlusions, and noise may challenge the underlying MONet segmentation. Future research could extend this framework to temporal relationships (e.g., "chasing" behaviors) or use structural imaginations as goal states for reinforcement learning agents.
Summary updated