Specifying Object Attributes and Relations in Interactive Scene Generation

Oron Ashual, Lior WolfICCV 2019

Abstract

Generating high-fidelity images from structured semantic descriptions remains a significant challenge in computer vision. This paper introduces a framework for interactive scene generation that explicitly decouples object layout from visual appearance. By employing a dual-embedding architecture, the system allows users to manipulate scene graphs to control spatial relationships while independently specifying object styles via appearance embeddings. Experimental results on the COCO-Stuff dataset demonstrate that this approach produces more realistic and diverse images than previous state-of-the-art methods, providing an intuitive interface for complex scene editing.

Introduction

The goal of generating realistic images from high-level descriptions is central to computer vision. While text-to-image models have advanced, scene graphs—where objects are represented as nodes and their relationships as edges—provide a more precise structural framework for describing complex environments. However, existing scene-graph-to-image methods often lack granular control; modifying a single object frequently results in unintended global changes or a collapse in visual quality as scene complexity increases.

This research addresses these issues by treating image generation as an interactive process. The proposed model acts as a "creative suite," allowing users to specify not just what objects are present, but their exact spatial relationships and visual attributes.

Interactive scene generation process: (a-g) show the step-by-step construction of a scene by adding objects and modifying their attributes/relationships.

Methodology

The core innovation is a Dual Embedding scheme that separates "where" an object is from "what" it looks like. For each object $i$ in a scene graph $G$, the model computes two distinct representations:

  1. Layout Embedding ($u_i$): A Graph Convolutional Network (GCN) processes the scene graph to produce $u_i$, which captures the object's category, its relative position to neighbors, and the broader scene context. This embedding is used to predict a bounding box $b_i$ and a binary segmentation mask $m_i$.
  2. Appearance Embedding ($a_i$): This vector captures the texture and style of the object. It can be sampled from a learned distribution of "archetypes" or extracted from a real image crop using a separate convolutional encoder.
The model architecture: Scene graph $G$ is processed into layout embeddings $u_i$ and appearance embeddings $a_i$. These are combined to form a layout tensor, which is then synthesized into the final image $p$ by the generator $R$.

The pipeline proceeds by "multiplexing" appearance vectors with predicted masks to form a comprehensive layout tensor. A residual encoder-decoder network then synthesizes the final pixels. To ensure high fidelity, the training process utilizes three specialized discriminators focusing on object masks, individual object crops, and the global image composition.

Results and Discussion

The model was evaluated on the COCO-Stuff benchmark. It achieved an Inception Score (IS) of 10.3 on 64x64 images, a significant improvement over the baseline score of 7.3. Human evaluation further validated these results, with participants preferring the proposed method's realism in 83.3% of cases and its adherence to the input scene graph in 80.7% of cases.

A key advantage of this decoupled approach is the ability to perform counterfactual generation. Users can swap the appearance embedding of an object (e.g., changing a "brown cow" to a "white cow") without altering its position or the rest of the scene. Additionally, the system can infer relationships automatically based on user-dragged icons, streamlining the creation of complex scene graphs.

Conclusion

By decoupling layout and appearance, this work provides a powerful tool for controllable image synthesis. While current limitations include resolution constraints typical of 2019-era GANs and a focus on semantic rather than pixel-perfect style copying, the dual-embedding approach sets a new standard for interactive, graph-based scene generation.

Summary updated

BibTeX
@misc{ashual2019specifying,
  author = {Oron Ashual and Lior Wolf},
  title = {{Specifying Object Attributes and Relations in Interactive Scene Generation}},
  year = {2019},
  eprint = {1909.05379},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.05379},
}
Figure