Faces generated using generative adversarial networks (GANs) have reached unprecedented realism. These faces, also known as "Deep Fakes", appear as realistic photographs with very little pixel-level distortions. While some work has enabled the training of models that lead to the generation of specific properties of the subject, generating a facial image based on a natural language description has not been fully explored. For security and criminal identification, the ability to provide a GAN-based system that works like a sketch artist would be incredibly useful. In this paper, we present a novel approach to generate facial images from semantic text descriptions. The learned model is provided with a text description and an outline of the type of face, which the model uses to sketch the features. Our models are trained using an Affine Combination Module (ACM) mechanism to combine the text embedding from BERT and the GAN latent space using a self-attention matrix. This avoids the loss of features due to inadequate "attention", which may happen if text embedding and latent vector are simply concatenated. Our approach is capable of generating images that are very accurately aligned to the exhaustive textual descriptions of faces with many fine detail features of the face and helps in generating better images. The proposed method is also capable of making incremental changes to a previously generated image if it is provided with additional textual descriptions or sentences.
翻译:使用基因对抗网络( GANs) 生成的面孔已经达到了前所未有的现实。 这些面孔, 也被称为“ 深假”, 看上去像是现实的照片, 很少像素级扭曲。 虽然有些工作使得能够对模型进行培训, 从而产生主题的具体特性, 但还没有充分探索以自然语言描述为基础的面部图像。 对于安全和犯罪识别来说, 提供像素描艺术家一样的GAN系统的能力将是极其有用的。 在本文中, 我们展示了一种新颖的方法, 从语义文字描述中生成面部图像。 学习过的模型提供了文本描述和脸部类型大纲, 模型用来绘制特征图示。 我们的模型得到了培训, 使用“ 亲近组合模块” 机制将嵌入BERT的文字和 GAN 潜在空间合并起来。 对于安全和犯罪识别来说, 提供像素描画艺术家一样的GAN 系统将非常有用 。 如果文本嵌嵌入和潜藏矢量的矢感应简单拼凑, 则可能会导致特征的丧失。 我们的方法是生成图像, 其面面面部能非常精确地绘制更精细的图像, 。