Skip to main content
QUICK 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 Science参考文献 48被引用 22
一句话总结

该论文提出 TediGAN,一种统一框架,利用预训练的 StyleGAN 作为先验,实现高分辨率、文本引导的面部图像生成与操控。通过训练文本编码器使其与 GAN 的潜在空间对齐,并利用语言模型引导优化潜在代码,该方法在无需微调或重新训练的情况下,实现了多样且高保真的 1024² 面部图像生成,支持开放世界文本输入及多种模态输入(如草图或语义分割图)。

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.

研究动机与目标

  • 解决现有文本引导图像生成方法的局限性,这些方法受限于低分辨率(≤256²)和小规模文本语料库。
  • 将文本引导的面部图像生成与操控统一于单一框架中,支持无需微调或重新训练的开放世界场景。
  • 实现高分辨率(1024²)的图像合成,保留丰富的面部细节,如胡须、雀斑和毛孔。
  • 通过在 StyleGAN 的潜在空间中对齐嵌入,支持多样化多模态输入(如文本、草图、语义分割图)。
  • 通过迭代潜在代码优化实现身份保持的编辑与感兴趣区域操控。

提出的方法

  • 训练一个文本编码器,将文本描述映射到 StyleGAN 的潜在空间(W 空间),实现语言与视觉语义的对齐。
  • 利用预训练语言模型的梯度,在 W 空间中优化潜在代码,实现通过文本进行可控的图像操控。
  • 通过专用图像编码器执行图像反演,将真实图像映射到 W 空间,实现身份保持的编辑。
  • 应用风格混合与迭代优化,生成具有目标属性的图像,同时保持身份和无关区域的完整性。
  • 引入一个新的大规模数据集 Multi-Modal CelebA-HQ,包含带有配对文本、草图和语义分割图的面部图像。
  • 该框架使用相同的潜在空间和优化流程,同时支持从文本或草图生成图像,以及从源图像和文本进行图像操控。

实验结果

研究问题

  • RQ1一个统一框架能否在不重新训练或微调的情况下,实现高分辨率(1024²)的文本引导面部图像生成与操控?
  • RQ2如何有效对齐预训练 GAN 的潜在空间与文本和视觉模态,以实现多模态合成?
  • RQ3在潜在空间中进行迭代优化,能否在文本引导编辑过程中保持身份和局部面部细节?
  • RQ4该方法在训练分布之外的开放世界文本描述上是否具有良好泛化能力?
  • RQ5与标准文本到图像基线方法相比,使用预训练语言模型引导潜在代码优化是否带来性能提升?

主要发现

  • 所提方法在 1024² 分辨率下生成了多样化且高保真的面部图像,超越了以往受限于 256² 或更低分辨率的方法。
  • 该框架在文本引导面部图像生成与操控任务中达到最先进性能,视觉质量与细节保真度均更优。
  • 在编辑过程中有效保持了身份一致性,即使在修改复杂属性(如胡须或表情)时亦然。
  • 该方法对分布外的文本描述具有良好的泛化能力,且无需重新训练即可支持开放世界场景。
  • Multi-Modal CelebA-HQ 数据集支持全面评估,并展示了该方法在多样化多模态输入下的强大能力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。