Recurrent Affine Transformation for Text-to-image Synthesis

Senmao Ye, Fei Liu, Minkui Tan
4/22/2022
39 citations
cs.CV

Official code: senmaoy/RAT-GAN (53 stars, Python, PyTorch, last commit 2023-07-14).

Abstract

Text-to-image synthesis aims to generate natural images conditioned on text descriptions. The main difficulty of this task lies in effectively fusing text information into the image synthesis process.

Show full abstract

Existing methods usually adaptively fuse suitable text information into the synthesis process with multiple isolated fusion blocks (e.g., Conditional Batch Normalization and Instance Normalization). However, isolated fusion blocks not only conflict with each other but also increase the difficulty of training (see first page of the supplementary). To address these issues, we propose a Recurrent Affine Transformation (RAT) for Generative Adversarial Networks that connects all the fusion blocks with a recurrent neural network to model their long-term dependency. Besides, to improve semantic consistency between texts and synthesized images, we incorporate a spatial attention model in the discriminator. Being aware of matching image regions, text descriptions supervise the generator to synthesize more relevant image contents. Extensive experiments on the CUB, Oxford-102 and COCO datasets demonstrate the superiority of the proposed model in comparison to state-of-the-art models \footnote{https://github.com/senmaoy/Recurrent-Affine-Transformation-for-Text-to-image-Synthesis.git}

View on arXivView PDF

Code Implementations(1)

senmaoy/RAT-GANOfficial100%
PyTorch

A conditional GAN for text-to-image

539PythonApr 22, 20223 years ago
gangenerative-adversarial-networkimage-generationpytorchtext-to-image

Similar Papers

Cite this paper

@article{ye2022recurrent,
  title  = {Recurrent Affine Transformation for Text-to-image Synthesis},
  author = {Senmao Ye and Fei Liu and Minkui Tan},
  year   = {2022},
  eprint = {2204.10482},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.10482}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.10482.svg)](https://codeofpaper.com/paper/2204.10482)

Discussion