Memory-Driven Text-to-Image Generation
Bowen Li, Philip H. S. Torr, Thomas Lukasiewicz
TL;DR
The paper tackles the challenge of producing highly realistic and semantically aligned images from natural language descriptions in complex scenes. It proposes a memory-driven semi-parametric framework that combines a non-parametric memory bank $M$ of image features with a parametric GAN, and augments the discriminator with content information to preserve geometric structure. Retrieval strategies including Sentence-Sentence, Sentence-Image, Words-Words, and Words-Image Matching select semantically compatible cues from $M$ to guide generation, while the generator integrates these cues via a text-image affine fusion mechanism and disentangled features. Experiments on CUB and COCO show improved FID and R-precision, supported by human evaluations, demonstrating that leveraging retrieved image cues and content-aware feedback yields more realistic and geometrically coherent images. The approach highlights the practical potential of semi-parametric, memory-guided generation for complex text-to-image tasks, enabling better use of large image datasets at inference time.
Abstract
We introduce a memory-driven semi-parametric approach to text-to-image generation, which is based on both parametric and non-parametric techniques. The non-parametric component is a memory bank of image features constructed from a training set of images. The parametric component is a generative adversarial network. Given a new text description at inference time, the memory bank is used to selectively retrieve image features that are provided as basic information of target images, which enables the generator to produce realistic synthetic results. We also incorporate the content information into the discriminator, together with semantic features, allowing the discriminator to make a more reliable prediction. Experimental results demonstrate that the proposed memory-driven semi-parametric approach produces more realistic images than purely parametric approaches, in terms of both visual fidelity and text-image semantic consistency.
