Exploiting Relationship for Complex-scene Image Generation

Yalong Bai

Introduction

Generating realistic images from structured scene graphs—where nodes represent objects and edges represent their relationships—is a significant challenge in computer vision. While Generative Adversarial Networks (GANs) excel at single-object synthesis, complex scenes with multiple interacting entities often suffer from messy layouts and distorted object appearances. This paper addresses these issues by introducing a relationship-aware framework that prioritizes relative spatial constraints and relation-guided appearance generation.

The Challenge of Complex Scenes

Standard approaches to scene-graph-to-image generation face two primary hurdles:

  1. Layout Ambiguity: Predicting absolute bounding box coordinates is difficult because a single graph can correspond to infinite valid arrangements. This "one-to-many" mapping often leads to incoherent layouts.
  2. Semantic Distortion: Models frequently ignore how specific relationships alter an object's visual form. For instance, a human figure's pose and shape differ drastically when "sitting on" a bench versus "riding" a skateboard.
Figure 1: Relationships like 'standing on' vs 'holding' significantly influence the shape and layout of objects like 'man' and 'board'.

Proposed Methodology

The authors propose three key architectural innovations to improve scene consistency:

Pair-wise Spatial Constraint Module

Instead of absolute positioning, the model focuses on relative scale and distance. Empirical analysis shows that while absolute positions vary widely, the relative metrics between related objects (e.g., the size ratio of a rider to their board) follow a much tighter distribution. By supervising these relative metrics, the model learns "spatial commonsense."

Figure 2: Statistical distributions of relative distance and scale for specific triplets show low variance, making them stable targets for learning.

Relation-guided Appearance Generator

This module injects relationship semantics directly into the generation process. It predicts object masks and appearance features conditioned on the specific interactions an object has with its neighbors, allowing the model to "pre-shape" objects (e.g., posing a human) before pixel synthesis.

Scene Graph Discriminator ($D_{sg}$)

Beyond standard realism checks, this discriminator ensures consistency between the generated image and the input graph. It verifies if generated object patches match their categories and if their spatial interactions accurately reflect the specified relationships.

Experimental Results

The model was evaluated on the Visual Genome (VG) and HICO-DET datasets, focusing on complex semantic interactions rather than simple spatial arrangements.

  • Quantitative Performance: On Visual Genome (128×128), the model achieved a Fréchet Inception Distance (FID) of 53.0, a substantial improvement over the baseline sg2im (83.8). The Inception Score (IS) also rose from 6.2 to 9.2.
  • Qualitative Improvements: The framework successfully avoids "impossible" layouts, such as floating objects or disconnected interactions.
  • Human Evaluation: In user studies, participants preferred the proposed model's layouts and image quality in 65% of cases compared to the baseline.

Conclusion

By shifting the focus from absolute coordinates to relative relationships, this framework produces more logical and visually coherent complex scenes. While challenges remain in scaling to higher resolutions and handling extremely dense interactions, the use of relationship-aware constraints marks a significant step toward "visually commonsensical" image synthesis.

Summary updated

BibTeX
@inproceedings{bai2021exploiting,
  author = {Yalong Bai},
  title = {{Exploiting Relationship for Complex-scene Image Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i2.16250},
}
Figure