Skip to main content
QUICK REVIEW

[Paper Review] ManiGAN: Text-Guided Image Manipulation

Bowen Li, Xiaojuan Qi|arXiv (Cornell University)|Dec 12, 2019
Generative Adversarial Networks and Image SynthesisComputer Science40 references6 citations
TL;DR

ManiGAN proposes a novel GAN-based framework for text-guided image manipulation that enables precise, semantic editing of image attributes (e.g., color, texture, background) while preserving text-irrelevant content. It introduces an Affine Combination Module (ACM) for region-specific, text-aligned feature modulation and a Detail Correction Module (DCM) to refine artifacts, achieving state-of-the-art results on CUB and COCO in both qualitative and quantitative evaluations.

ABSTRACT

The goal of our paper is to semantically edit parts of an image matching a given text that describes desired attributes (e.g., texture, colour, and background), while preserving other contents that are irrelevant to the text. To achieve this, we propose a novel generative adversarial network (ManiGAN), which contains two key components: text-image affine combination module (ACM) and detail correction module (DCM). The ACM selects image regions relevant to the given text and then correlates the regions with corresponding semantic words for effective manipulation. Meanwhile, it encodes original image features to help reconstruct text-irrelevant contents. The DCM rectifies mismatched attributes and completes missing contents of the synthetic image. Finally, we suggest a new metric for evaluating image manipulation results, in terms of both the generation of new attributes and the reconstruction of text-irrelevant contents. Extensive experiments on the CUB and COCO datasets demonstrate the superior performance of the proposed method. Code is available at https://github.com/mrlibw/ManiGAN.

Motivation & Objective

  • To enable high-fidelity, semantic image manipulation guided by natural language descriptions, preserving text-irrelevant image content.
  • To address limitations in existing methods that fail to precisely align text descriptions with visual attributes or reconstruct irrelevant regions accurately.
  • To develop a unified framework that balances attribute generation and content reconstruction in complex scenes.
  • To propose a new evaluation metric that quantitatively measures both attribute generation fidelity and content preservation.

Proposed method

  • The Affine Combination Module (ACM) uses learnable weight matrices and bias vectors to selectively modulate image features based on text descriptions, enabling region-specific manipulation.
  • ACM encodes original image features to reconstruct text-irrelevant content, ensuring structural consistency with the input image.
  • The Detail Correction Module (DCM) refines generated images by correcting mismatched attributes and completing missing visual details.
  • The model employs a conditional GAN framework where text and image features are fused via affine transformation rather than simple concatenation.
  • A new evaluation metric is introduced to jointly assess attribute generation quality and content reconstruction fidelity.
  • The framework is trained end-to-end on CUB and COCO datasets using adversarial loss, L1 loss, and a novel reconstruction-aware loss.

Experimental results

Research questions

  • RQ1Can a GAN-based model effectively align fine-grained textual attributes with specific image regions for semantic editing?
  • RQ2How can text-irrelevant image content be preserved during attribute manipulation without degradation or distortion?
  • RQ3Does replacing global feature concatenation with a regional, adaptive modulation mechanism improve manipulation accuracy and image quality?
  • RQ4To what extent does a dedicated detail correction module enhance visual fidelity and reduce artifacts in generated images?

Key findings

  • ManiGAN outperforms state-of-the-art methods on both CUB and COCO datasets in terms of Inception Score (IS) and Fréchet Inception Distance (FID), demonstrating superior image quality and diversity.
  • Abllation studies show that removing the ACM leads to significant performance drops, confirming its role in accurate region selection and semantic alignment.
  • The DCM significantly improves visual quality by correcting artifacts and completing missing attributes, as shown by qualitative comparisons and quantitative metrics.
  • The model with full ACM and DCM achieves the highest IS and lowest L1 pixel difference, indicating strong generation and reconstruction capabilities.
  • The proposed evaluation metric effectively captures both attribute generation and content preservation, correlating well with human perception in qualitative results.

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.