Visual-Relation Conscious Image Generation from Structured-Text

Duc Minh Vo, Akihiro Sugimoto

TL;DR

This paper introduces a novel approach to text-to-image generation by focusing on accurately representing the spatial relationships between objects described in text. Their method first generates a "visual-relation layout" that precisely localizes entities and their relationships, then uses this layout to guide a stacked Generative Adversarial Network (GAN) for high-resolution image synthesis. This approach significantly improves the scene structure and entity consistency in generated images compared to previous methods.

What Problem Does This Paper Address?

Generating realistic images from textual descriptions (Text-to-Image synthesis) is a challenging task, especially when the text involves multiple objects and their complex spatial relationships. Existing methods often struggle to accurately place and relate these objects in the generated image, leading to a loss of scene structure and visual coherence. While some approaches use scene graphs (structured representations of entities and their relationships) to infer a layout, they tend to aggregate all relations indiscriminately, which can dilute individual relational information and result in inaccurate object placements. This paper aims to address this gap by developing a method that leverages both comprehensive and individual relational information to create a more faithful visual-relation layout, which in turn leads to better image generation.

Methods

The proposed method consists of two main modules: a Visual-Relation Layout Module and Stacking-GANs.

The Visual-Relation Layout Module is the core innovation. It takes a structured text description (represented as a scene graph) and generates a precise visual-relation layout. This module employs a two-pronged approach to using relations:

  1. Comprehensive Usage: Initially, all available relations are used together to predict initial bounding boxes (BBs) for all entities. This is similar to prior work but serves as a starting point.
  2. Individual Usage: Crucially, each subject-predicate-object relation is then processed individually. For each relation, a "relation-unit" is predicted, which consists of two BBs for the subject and object, adjusted to reflect that specific relation.
  3. Unification: Since an entity can be part of multiple relations, the individual relation-units are then unified to produce a single, refined BB for each entity. This refinement process uses learned weights to ensure that the final BBs accurately represent all involved relations.
  4. Layout Construction: Finally, a convolutional LSTM (conv-LSTM) is used to aggregate these refined BBs into the final visual-relation layout.

The Stacking-GANs module then takes this visual-relation layout as input and progressively generates a high-resolution image. This is achieved by using a cascade of three GANs, where each GAN is conditioned on the layout and the output of the previous GAN, allowing for coarse-to-fine image generation.

Datasets

The authors trained and evaluated their model on two public datasets:

  • COCO-stuff [13]: A dataset with complex descriptions and diverse contexts.
  • Visual GENOME [14]: Another dataset known for its rich entity and relation information.

The paper notes that they followed a pre-processing procedure from a previous work [1] for these datasets.

Key Insights and Ideas

  • The Importance of Individual Relation Processing: The paper strongly argues that simply aggregating all relations leads to a loss of crucial relational information. Processing each relation individually and then unifying the results is key to achieving accurate object placement and relationships.
  • Learned Unification for Refined BBs: Instead of simple averaging, the use of learned weights to unify relation-units into refined BBs is critical. This allows the model to prioritize and balance the influence of different relations on an entity's final bounding box.
  • Layout as a Strong Prior for GANs: The visual-relation layout, derived from structured text, acts as a powerful prior for the GANs. This significantly improves the consistency of the generated scene structure, even for complex descriptions.
  • Coarse-to-Fine Generation with Stacking-GANs: The use of stacked GANs, conditioned on the layout, enables the progressive generation of detailed images, starting from a coarse representation and refining it to higher resolutions.

Key Results

  • Quantitative Evaluation:
    • The proposed method achieved state-of-the-art or comparable results on various metrics, including Inception Score (IS) and Fréchet Inception Distance (FID) for image quality.
  • Crucially, the method significantly outperformed others in scene structure evaluation metrics like R@T (entity recall at IoU threshold) and rIoU (relation IoU), indicating better agreement between predicted and ground-truth layouts. For instance, their completed model achieved an R@T of 65.34 at 0.3 IoU on COCO-stuff, compared to Johnson+[1]'s 59.75.
  • The method also showed strong performance in image captioning metrics (BLEU, METEOR, CIDEr), suggesting better relevance of generated images to input text.
  • Diversity scores were also competitive.
  • Qualitative Evaluation:
    • Visual comparisons showed that the generated images from their method successfully preserved the scene structure and entity relationships described in the text, often outperforming previous methods in terms of layout accuracy and visual impression.
  • Ablation studies confirmed the importance of each component, particularly the individual usage of relations and the learned unification process.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that in some cases, models using ground-truth layouts (like Zhao+[16] and Sun+[17]) achieve comparable or slightly better results in terms of IS and FID. This highlights the potential for further improvements in the image generation part itself.
  • The paper mentions that for COCO-stuff, Xu+[9] achieved better IS, possibly because COCO-stuff has less complex relations where layouts are less critical, and Xu+[9] focuses on human perception.
  • Future Work:
    • The authors suggest that further improvements in the image generation module (GANs) could lead to even better results.
  • The effectiveness of the proposed layout module in handling more complex and nuanced textual descriptions could be further explored.

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