Skip to main content
QUICK REVIEW

[Paper Review] PasteGAN: A Semi-Parametric Method to Generate Image from Scene Graph

Yikang Li, Tao Ma|arXiv (Cornell University)|May 5, 2019
Multimodal Machine Learning ApplicationsComputer Science33 references42 citations
TL;DR

PasteGAN generates images from scene graphs using external object crops as anchors, via a Crop Refining Network and Object-Image Fuser, with a Crop Selector to retrieve compatible crops. It achieves higher IS/Diversity and lower FID than SOTA on Visual Genome and COCO-Stuff.

ABSTRACT

Despite some exciting progress on high-quality image generation from structured(scene graphs) or free-form(sentences) descriptions, most of them only guarantee the image-level semantical consistency, i.e. the generated image matching the semantic meaning of the description. They still lack the investigations on synthesizing the images in a more controllable way, like finely manipulating the visual appearance of every object. Therefore, to generate the images with preferred objects and rich interactions, we propose a semi-parametric method, PasteGAN, for generating the image from the scene graph and the image crops, where spatial arrangements of the objects and their pair-wise relationships are defined by the scene graph and the object appearances are determined by the given object crops. To enhance the interactions of the objects in the output, we design a Crop Refining Network and an Object-Image Fuser to embed the objects as well as their relationships into one map. Multiple losses work collaboratively to guarantee the generated images highly respecting the crops and complying with the scene graphs while maintaining excellent image quality. A crop selector is also proposed to pick the most-compatible crops from our external object tank by encoding the interactions around the objects in the scene graph if the crops are not provided. Evaluated on Visual Genome and COCO-Stuff dataset, our proposed method significantly outperforms the SOTA methods on Inception Score, Diversity Score and Fréchet Inception Distance. Extensive experiments also demonstrate our method's ability to generate complex and diverse images with given objects.

Motivation & Objective

  • Motivate fine-grained control over object appearance in images generated from scene graphs.
  • Propose a semi-parametric framework that uses external object crops to guide rendering while respecting scene graph structure.
  • Enable automatic crop selection to handle scenarios without user-specified object appearances.
  • Fuse object appearances and relationships into a unified latent canvas for high-quality image synthesis.

Proposed method

  • Represent scene graphs with a graph convolution network to obtain per-object context vectors.
  • Introduce a Crop Refining Network to encode object crops and fuse them with relationship-aware features (Object 2 Refiner).
  • Use an Object-Image Fuser with attention to inject object features into a latent scene canvas guided by scene graph relations.
  • Add a Crop Selector to retrieve the most compatible object crops from an external object tank based on scene-graph context.
  • Train with adversarial losses using a pair of discriminators (image and object) plus reconstruction, perceptual, and box-regression losses to align crops, objects, and scene layout.

Experimental results

Research questions

  • RQ1Can a semi-parametric generation framework, using external object crops, produce images that faithfully respect scene graphs while allowing fine-grained object appearance control?
  • RQ2Does integrating a Crop Refining Network and an Object-Image Fuser improve object-level appearance consistency and scene-level arrangement compared to prior scene-graph-to-image methods?
  • RQ3Does a Crop Selector that retrieves contextually compatible crops improve image quality and diversity without manual appearance specification?
  • RQ4How do the proposed components affect standard image synthesis metrics (IS, Diversity, FID) on Visual Genome and COCO-Stuff?
  • RQ5Is the method capable of generating complex and diverse scenes with given objects while maintaining high visual fidelity?

Key findings

  • PasteGAN achieves higher Inception Score than sg2im on COCO-Stuff and Visual Genome (9.1±0.2 vs. 6.7±0.1 for COCO; 6.9±0.2 vs. 5.5±0.1 for VG).
  • PasteGAN attains lower Fréchet Inception Distance than sg2im (50.94 vs. 82.75 on COCO; 58.53 vs. 71.27 on VG).
  • Using ground-truth crops (GT) further improves IS and lowers FID (10.2±0.2 IS, 38.29 FID on COCO; 8.2±0.2 IS, 35.25 FID on VG) compared to predicted crops.
  • Compared with layout2im, PasteGAN exhibits competitive or superior IS/Diversity with favorable FID, and demonstrates enhanced object-level fidelity due to crop-guided generation.
  • Ablation studies show that removing Crop Selector, Object 2 Refiner, or Object-Image Fuser degrades IS and increases FID, underscoring the contribution of each component.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.