Text to Image Generation with Semantic-Spatial Aware GAN
- 1 June 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 18166-18175
Abstract
Text-to-image synthesis (T2I) aims to generate photorealistic images which are semantically consistent with the text descriptions. Existing methods are usually built upon conditional generative adversarial networks (GANs) and initialize an image from noise with sentence embedding, and then refine the features with fine-grained word embedding iteratively. A close inspection of their generated images reveals a major limitation: even though the generated image holistically matches the description, individual image regions or parts of somethings are often not recognizable or consistent with words in the sentence, e.g. “a white crown”. To address this problem, we propose a novel framework Semantic-Spatial Aware GAN for synthesizing images from input text. Concretely, we introduce a simple and effective Semantic-Spatial Aware block, which (1) learns semantic-adaptive transformation conditioned on text to effectively fuse text features and image features, and (2) learns a semantic mask in a weakly-supervised way that depends on the current text-image fusion process in order to guide the transformation spatially. Experiments on the challenging COCO and CUB bird datasets demonstrate the advantage of our method over the recent state-of-the-art approaches, regarding both visual fidelity and alignment with input text description. Code available at https://github.com/wtliao/text2image.Keywords
All Related Versions
Funding Information
- Federal Ministry of Education and Research (01DD20003)
- Deutsche Forschungsgemeinschaft
This publication has 18 references indexed in Scilit:
- Semantics Disentangling for Text-To-Image Generation2019
- A Style-Based Generator Architecture for Generative Adversarial Networks2019
- StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2018
- Inferring Semantic Layout for Hierarchical Text-to-Image Synthesis2018
- AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks2018
- Image Generation from Scene Graphs2018
- SCA-CNN: Spatial and Channel-Wise Attention in Convolutional Networks for Image Captioning2017
- Image-to-Image Translation with Conditional Adversarial Networks2017
- Rethinking the Inception Architecture for Computer Vision2016
- Bidirectional recurrent neural networksIEEE Transactions on Signal Processing, 1997