Skip to main content
QUICK REVIEW

[Paper Review] Towards Open-World Text-Guided Face Image Generation and Manipulation

Weihao Xia, Yujiu Yang|arXiv (Cornell University)|Apr 18, 2021
Generative Adversarial Networks and Image SynthesisComputer Science48 references22 citations
TL;DR

This paper proposes TediGAN, a unified framework for high-resolution, text-guided face image generation and manipulation using a pretrained StyleGAN as a prior. By training a text encoder to align with the GAN's latent space and optimizing latent codes with language model guidance, the method achieves diverse, high-fidelity 1024² face images without retraining, supporting open-world text and multimodal inputs like sketches or segmentation maps.

ABSTRACT

The existing text-guided image synthesis methods can only produce limited quality results with at most \mbox{$ ext{256}^2$} resolution and the textual instructions are constrained in a small Corpus. In this work, we propose a unified framework for both face image generation and manipulation that produces diverse and high-quality images with an unprecedented resolution at 1024 from multimodal inputs. More importantly, our method supports open-world scenarios, including both image and text, without any re-training, fine-tuning, or post-processing. To be specific, we propose a brand new paradigm of text-guided image generation and manipulation based on the superior characteristics of a pretrained GAN model. Our proposed paradigm includes two novel strategies. The first strategy is to train a text encoder to obtain latent codes that align with the hierarchically semantic of the aforementioned pretrained GAN model. The second strategy is to directly optimize the latent codes in the latent space of the pretrained GAN model with guidance from a pretrained language model. The latent codes can be randomly sampled from a prior distribution or inverted from a given image, which provides inherent supports for both image generation and manipulation from multi-modal inputs, such as sketches or semantic labels, with textual guidance. To facilitate text-guided multi-modal synthesis, we propose the Multi-Modal CelebA-HQ, a large-scale dataset consisting of real face images and corresponding semantic segmentation map, sketch, and textual descriptions. Extensive experiments on the introduced dataset demonstrate the superior performance of our proposed method. Code and data are available at https://github.com/weihaox/TediGAN.

Motivation & Objective

  • To address the limitations of existing text-guided image generation methods, which are restricted to low resolution (≤256²) and small text corpora.
  • To unify text-guided face image generation and manipulation into a single framework that supports open-world scenarios without retraining or fine-tuning.
  • To enable high-resolution (1024²) synthesis with rich facial details such as stubble, freckles, and pores.
  • To support diverse multimodal inputs—text, sketches, segmentation maps—by aligning their embeddings in the StyleGAN’s latent space.
  • To achieve identity-preserving editing and region-of-interest manipulation through iterative latent code optimization.

Proposed method

  • A text encoder is trained to project textual descriptions into the StyleGAN’s latent space (W space), aligning linguistic and visual semantics.
  • Latent codes are optimized in the W space using gradients from a pretrained language model, enabling controllable image manipulation from text.
  • Image inversion is performed via a dedicated image encoder to map real images into the W space, enabling identity-preserving editing.
  • Style mixing and iterative optimization are applied to generate target images with desired attributes while preserving identity and unrelated regions.
  • A new large-scale dataset, Multi-Modal CelebA-HQ, is introduced, containing face images with paired text, sketches, and semantic segmentation maps.
  • The framework supports both generation (from text or sketches) and manipulation (from a source image and text) using the same latent space and optimization pipeline.

Experimental results

Research questions

  • RQ1Can a unified framework achieve both high-resolution (1024²) text-guided face image generation and manipulation without retraining or fine-tuning?
  • RQ2How can a pretrained GAN’s latent space be effectively aligned with textual and visual modalities to enable multimodal synthesis?
  • RQ3Can iterative optimization in the latent space preserve identity and local facial details during text-guided editing?
  • RQ4How does the method generalize to open-world text descriptions beyond the training distribution?
  • RQ5What is the performance gain of using a pretrained language model to guide latent code optimization compared to standard text-to-image baselines?

Key findings

  • The proposed method generates diverse, high-fidelity face images at 1024² resolution, surpassing prior methods limited to 256² or lower.
  • The framework achieves state-of-the-art performance in text-guided face image generation and manipulation, with superior visual quality and detail fidelity.
  • Identity preservation is effectively maintained during editing, even when modifying complex attributes like facial hair or expression.
  • The method generalizes well to out-of-distribution text descriptions and supports open-world scenarios without retraining.
  • The Multi-Modal CelebA-HQ dataset enables comprehensive evaluation and demonstrates the method’s capability across diverse multimodal inputs.

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.