Skip to main content
QUICK REVIEW

[Paper Review] Image-to-Image Translation with Text Guidance

Bowen Li, Xiaojuan Qi|arXiv (Cornell University)|Feb 12, 2020
Multimodal Machine Learning ApplicationsComputer Science26 references13 citations
TL;DR

This paper proposes RefinedGAN, a GAN-based framework for image-to-image translation that integrates natural language descriptions to control visual attributes in generated images from segmentation masks. By employing part-of-speech tagging, an affine combination module, a refined multi-stage architecture, and a structure loss, the model achieves superior realism and semantic consistency on the COCO dataset, outperforming prior methods in both qualitative and quantitative evaluations.

ABSTRACT

The goal of this paper is to embed controllable factors, i.e., natural language descriptions, into image-to-image translation with generative adversarial networks, which allows text descriptions to determine the visual attributes of synthetic images. We propose four key components: (1) the implementation of part-of-speech tagging to filter out non-semantic words in the given description, (2) the adoption of an affine combination module to effectively fuse different modality text and image features, (3) a novel refined multi-stage architecture to strengthen the differential ability of discriminators and the rectification ability of generators, and (4) a new structure loss to further improve discriminators to better distinguish real and synthetic images. Extensive experiments on the COCO dataset demonstrate that our method has a superior performance on both visual realism and semantic consistency with given descriptions.

Motivation & Objective

  • To enable precise control over visual attributes (e.g., color, texture, background) in image-to-image translation using natural language descriptions.
  • To address the limitation of existing models that rely on pixel-level semantic maps and cannot control fine-grained attributes.
  • To disentangle and accurately map semantic words in text to corresponding visual attributes in generated images.
  • To generate high-quality, realistic images from simple segmentation masks while maintaining semantic consistency with text prompts.
  • To improve discriminator and generator performance through architectural refinement and a novel structure loss.

Proposed method

  • Part-of-speech (POS) tagging is used to filter out non-semantic words from text descriptions, reducing noise and preventing spurious connections between irrelevant words and visual features.
  • An affine combination module (ACM) fuses text and image features by learning modality-specific transformations, enabling precise alignment between semantic words and image regions.
  • A refined multi-stage architecture enhances both discriminators' differential ability and generators' rectification capability by feeding higher-stage image patches back to lower stages for refinement.
  • The architecture enables generators at lower stages to produce global structure and fine details, while later stages correct missing or incorrect attributes.
  • A novel structure loss is introduced to improve discriminators’ ability to detect subtle inconsistencies in fake images, thereby boosting generator quality.
  • The full framework, RefinedGAN, integrates these components to generate realistic, semantically consistent images conditioned on both segmentation masks and natural language.

Experimental results

Research questions

  • RQ1Can natural language descriptions effectively control specific visual attributes such as color, texture, and background in image-to-image translation?
  • RQ2How can non-semantic words in text descriptions be filtered to prevent degradation of image generation quality?
  • RQ3To what extent can a multi-stage architecture improve the disentanglement and rectification of visual attributes in generated images?
  • RQ4Does a structure loss enhance the discriminator’s ability to detect subtle image artifacts, leading to higher-quality generation?
  • RQ5Can the proposed method generate realistic, semantically consistent images from simple segmentation masks without requiring detailed pixel-level maps?

Key findings

  • The ablation study confirms that POS tagging significantly improves image quality by eliminating interference from non-semantic words, such as preventing unrealistic white patches on a bus.
  • The affine combination module outperforms simple concatenation in feature fusion, enabling accurate alignment between text semantics and image regions and preserving semantic consistency.
  • The refined multi-stage architecture enables effective rectification of missing or incorrect attributes, such as restoring the head and back of a zebra or correcting a green window on a bus.
  • Removing the structure loss leads to unrealistic image regions, such as patches on a bus or poor airplane texture, demonstrating its role in enhancing discriminator sensitivity to subtle flaws.
  • The full RefinedGAN model generates high-quality images with fine details and strong semantic consistency on the COCO dataset, outperforming state-of-the-art baselines in both qualitative and quantitative evaluations.
  • The model successfully generates complex scenes with multiple objects and relationships, such as a zebra in a forest or a yellow jet in a grey sky, based on simple masks and text prompts.

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.