Skip to main content
QUICK REVIEW

[Paper Review] Learning What and Where to Draw

Scott Reed, Zeynep Akata|arXiv (Cornell University)|Oct 8, 2016
Generative Adversarial Networks and Image SynthesisComputer Science24 references210 citations
TL;DR

GAWWN learns to synthesize images conditioned on both what to draw and where to draw it, enabling text- and location-controlled image generation with bounding boxes and keypoints. It demonstrates 128x128 Bird images and pose-conditioned human images by decomposing content and location in GANs.

ABSTRACT

Generative Adversarial Networks (GANs) have recently demonstrated the capability to synthesize compelling real-world images, such as room interiors, album covers, manga, faces, birds, and flowers. While existing models can synthesize images based on global constraints such as a class label or caption, they do not provide control over pose or object location. We propose a new model, the Generative Adversarial What-Where Network (GAWWN), that synthesizes images given instructions describing what content to draw in which location. We show high-quality 128 x 128 image synthesis on the Caltech-UCSD Birds dataset, conditioned on both informal text descriptions and also object location. Our system exposes control over both the bounding box around the bird and its constituent parts. By modeling the conditional distributions over part locations, our system also enables conditioning on arbitrary subsets of parts (e.g. only the beak and tail), yielding an efficient interface for picking part locations. We also show preliminary results on the more challenging domain of text- and location-controllable synthesis of images of human actions on the MPII Human Pose dataset.

Motivation & Objective

  • Motivate and develop a controllable image synthesis framework that separates content (what) from location (where).
  • Leverage localized annotations (bounding boxes, keypoints) to improve realism and control in GAN-generated images.
  • Enable conditional generation from natural language descriptions plus spatial constraints for birds and humans.
  • Provide a user-friendly interface for specifying part locations and partial keypoint constraints in generation.

Proposed method

  • Introduce Generative Adversarial What-Where Networks (GAWWN) that condition both generator and discriminator on text and spatial constraints.
  • Implement bounding-box conditioning via spatial masking and a spatial transformer to warp text features into bounding boxes.
  • Implement keypoint conditioning by encoding part locations as a multi-channel spatial map and using a gating mechanism to attend to relevant parts.
  • Extend GAWWN to generate both keypoints and images from text, using a switch-based keypoint conditioning framework.
  • Train with conditional GAN objectives, using pre-trained image and text encoders and multi-caption averaging for robust text conditioning.

Experimental results

Research questions

  • RQ1Can a GAN generate high-quality images conditioned on informal text descriptions while also respecting explicit spatial constraints (bounding boxes or keypoints)?
  • RQ2Does conditioning on object parts (keypoints) improve realism and controllability compared to bounding-box conditioning alone?
  • RQ3Can the model generate consistent keypoints and images from unseen text, reducing the need for full manual labeling?
  • RQ4How well does the approach transfer from birds (CUB) to human poses (MPII) in terms of quality and controllability?

Key findings

  • 128×128 bird images conditioned on text and location achieve higher realism than prior 64×64 results.
  • Bounding-box conditioning with spatial masking enables controllable placement and size of objects within generated scenes.
  • Keypoint conditioning allows control over pose and which way an object faces, and can be used to shrink, translate, or stretch objects.
  • Generating images with both ground-truth and synthetic keypoints from text preserves visual quality and demonstrates practical user interfaces for specifying parts.
  • The approach yields qualitative results on human action imagery, with blurrier but recognizable outputs and potential for video via pose-driven synthesis.

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.