Recurrent Affine Transformation for Text-to-Image Synthesis
- 12 April 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Multimedia
- Vol. 26 (15209210) , 462-473
Abstract
Text-to-image synthesis aims to generate realistic images conditioned on text descriptions. To fuse text information into synthesized images, conditional affine transformations (CATs), such as conditional batch normalization (CBN) and conditional instance normalization (CIN), are usually used to predict batch statistics of different layers. However, ordinary CAT blocks control the batch statistics independently disregarding the consistency among neighboring layers. To address the above issue, we propose a new fusion approach names recurrent affine transformation (RAT) for synthesizing images conditioned on text information. RAT connects all the CAT blocks with recurrent connections for explicitly fitting the temporal consistency between CAT blocks. To verify the effectiveness of RAT, we propose a novel visualization method to show how generative adversarial network (GAN) fuses conditional information. Our microscopic and macroscopic visualizations not only demonstrate the effectiveness of RAT but also turn out to be a useful perspective to analyze how GAN fuses conditional information. In addition, we propose a more stable spatial attention mechanism for the discriminator, which helps the text description to supervise the generator to synthesize more relevant image contents. Extensive experiments on the CUB, Oxford-102, and COCO datasets demonstrate the proposed model's superiority in comparison to state-of-the-art models. Our code is available on https://github.com/senmaoy/RAT-GAN .Keywords
All Related Versions
Funding Information
- National Natural Science Foundation of China (61873094, U1901222)
- Guangzhou Basic and Applied Basic Research Foundation (2023A04J1051)
This publication has 23 references indexed in Scilit:
- On Retrospecting Human Dynamics with Attention2019
- Learning to Draw Text in Natural Images with Conditional Adversarial Networks2019
- Object-Driven Text-To-Image Synthesis via Adversarial Training2019
- StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2018
- Attentive Linear Transformation for Image CaptioningIEEE Transactions on Image Processing, 2018
- AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks2018
- StackGAN: Text to Photo-Realistic Image Synthesis with Stacked Generative Adversarial Networks2017
- Generative Image Modeling Using Style and Structure Adversarial Networks2016
- Microsoft COCO: Common Objects in Context2014
- Automated Flower Classification over a Large Number of Classes2008