Skip to main content
QUICK REVIEW

[Paper Review] DM-GAN: Dynamic Memory Generative Adversarial Networks for Text-to-Image Synthesis

Minfeng Zhu, Pingbo Pan|arXiv (Cornell University)|Apr 2, 2019
Generative Adversarial Networks and Image SynthesisComputer Science33 references45 citations
TL;DR

DM-GAN introduces a dynamic memory module with a memory writing gate and a response gate to refine initial low-quality images into high-resolution, text-conditioned images, outperforming prior methods on CUB and COCO datasets.

ABSTRACT

In this paper, we focus on generating realistic images from text descriptions. Current methods first generate an initial image with rough shape and color, and then refine the initial image to a high-resolution one. Most existing text-to-image synthesis methods have two main problems. (1) These methods depend heavily on the quality of the initial images. If the initial image is not well initialized, the following processes can hardly refine the image to a satisfactory quality. (2) Each word contributes a different level of importance when depicting different image contents, however, unchanged text representation is used in existing image refinement processes. In this paper, we propose the Dynamic Memory Generative Adversarial Network (DM-GAN) to generate high-quality images. The proposed method introduces a dynamic memory module to refine fuzzy image contents, when the initial images are not well generated. A memory writing gate is designed to select the important text information based on the initial image content, which enables our method to accurately generate images from the text description. We also utilize a response gate to adaptively fuse the information read from the memories and the image features. We evaluate the DM-GAN model on the Caltech-UCSD Birds 200 dataset and the Microsoft Common Objects in Context dataset. Experimental results demonstrate that our DM-GAN model performs favorably against the state-of-the-art approaches.

Motivation & Objective

  • Address the dependence on initial image quality in multi-stage text-to-image synthesis.
  • Handle varying importance of words in a caption during refinement.
  • Propose a dynamic memory module that writes relevant text into memory and reads it to refine images.

Proposed method

  • Generate an initial image from text using a standard generator.
  • Apply a dynamic memory refinement stage with a key-value memory: write words into memory via a memory writing gate.
  • Read from memory using key addressing and value reading to obtain memory outputs.
  • Fuse memory outputs with image features through a response gate for adaptive refinement.
  • Train with adversarial loss, conditioning augmentation loss, and DAMSM loss.
  • Use 64x64 initial upscaled to 128x128 and 256x256 with limited refinement iterations due to memory constraints.

Experimental results

Research questions

  • RQ1How can dynamic memory improve fidelity of text-conditioned image refinement when initial images are low quality?
  • RQ2Can word-level importance be adaptively selected during refinement to better match text descriptions?
  • RQ3Does integrating a memory-based refinement stage improve standard metrics for text-to-image synthesis?
  • RQ4What is the impact of memory writing and response gates on final image quality?

Key findings

  • DM-GAN achieves higher Inception Scores than prior methods on CUB and COCO (CUB: 4.75 vs 4.36; COCO: 30.49 vs 25.89).
  • DM-GAN reduces Fréchet Inception Distance (FID) compared to AttnGAN (CUB: 16.09 vs 23.98; COCO: 32.64 vs 35.49).
  • DM-GAN improves R-precision over AttnGAN (CUB: 72.31 vs 67.82; COCO: 88.56 vs 85.47).
  • Ablation studies show dynamic memory, memory writing gate, and response gate each contribute to performance gains.
  • Qualitative results show more vivid details and better global structure, especially with multi-subject descriptions.

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.