Visual-Relation Conscious Image Generation from Structured-Text

Duc Minh Vo, Akihiro Sugimoto

Abstract

Generating photo-realistic images from structured text (scene graphs) remains a significant challenge due to the difficulty of maintaining precise spatial relationships between multiple entities. This paper introduces a novel framework that addresses the "averaging trap" of conventional Graph Convolutional Networks (GCNs) by processing relations both comprehensively and individually. By generating specific "relation-units" for each triplet and unifying them through a learnable weighting system, the model produces a visual-relation layout that faithfully represents the input text. Experimental results on COCO-stuff and Visual GENOME demonstrate substantial improvements in Inception Score (IS), Fréchet Inception Distance (FID), and relationship Intersection over Union (rIoU).

Introduction

Generating photo-realistic images from text (T2I) is a cornerstone of computer vision research. While Generative Adversarial Networks (GANs) excel at rendering single objects, they often struggle with complex scenes containing multiple entities and specific spatial constraints. Existing methods typically convert text into a scene graph and use GCNs to predict object locations. However, these models often "average out" relationship information; if an object is involved in multiple constraints, the model may fail to satisfy all of them, leading to floating objects or missing entities. The authors identify this as a failure to preserve individual relational integrity during the layout phase.

Methodology

The proposed architecture consists of two primary components: the Visual-Relation Layout Module and a series of Stacking-GANs.

Visual-Relation Layout Module

This module is the core innovation of the paper, processing relations through two distinct subnets:

  1. Comprehensive Usage Subnet: Similar to prior work, this uses a GCN to analyze all relations simultaneously, establishing a rough "initial" bounding box (BB) for every entity based on global context.
  2. Individual Usage Subnet: This "secret sauce" processes every specific subject-predicate-object triplet to predict a "relation-unit"—a pair of bounding boxes optimized for that specific relationship.
Overview of the proposed pipeline from scene graph to generated image

To resolve instances where a single object appears in multiple relation-units, the model employs a learnable weighting system to unify these boxes into a single "refined" bounding box. Finally, a convolutional LSTM (RefinedBB2layout) converts these refined boxes into a multi-channel spatial layout.

Stacking-GANs

To translate the geometric layout into high-resolution pixels, the authors utilize a pyramid of three GANs. Each stage (64x64, 128x128, and 256x256) is conditioned on the visual-relation layout and the output of the previous stage, progressively adding detail while maintaining global structural integrity.

Detailed architecture of the Visual-Relation Layout module and Stacking-GANs

Key Insights

  • Avoiding the Averaging Trap: Standard GCNs lose specific relational information by averaging entity embeddings. Explicitly calculating "relation-units" for every pair prevents this information loss.
  • Learnable Unification: Instead of simple averaging, the model learns which relations are most critical for defining an object's final size and location.
  • Layout as an Intermediate Step: The research reinforces that for complex scenes, predicting a geometric layout before pixels is significantly more effective than direct text-to-image generation.

Experimental Results

The model was evaluated on the COCO-stuff and Visual GENOME benchmarks, showing significant improvements over state-of-the-art baselines:

  • Inception Score (IS) & FID: On Visual GENOME, the model achieved an IS of 11.75 (at 256x256), nearly doubling the baseline's 5.81. It also achieved significantly lower FID scores, indicating superior image quality and diversity.
  • Layout Accuracy: Using the rIoU metric, the authors proved their layouts were more faithful to the input text. On COCO-stuff, the model reached an rIoU of 0.3186, compared to 0.2532 for the baseline.
  • Qualitative Quality: Visual analysis confirms the model is better at preventing objects from disappearing or overlapping unnaturally in dense scenes.

Conclusion

While the model excels at structural fidelity, limitations remain, such as blurring at the lowest resolutions (64x64) and increased computational complexity due to the individual usage subnet. Future work may involve integrating sophisticated attention mechanisms within the Stacking-GANs to further refine fine-grained textures and exploring how the model handles extremely dense or contradictory scene graphs.

Summary updated

BibTeX
@inproceedings{vo2020visual,
  author = {Duc Minh Vo and Akihiro Sugimoto},
  title = {{Visual-Relation Conscious Image Generation from Structured-Text}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58604-1\_18},
}
Figure