arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.12929cs.CVcs.LG
收藏

OptGAN:优化和解释条件文本到图像GANs的潜在空间

OptGAN: Optimizing and Interpreting the Latent Space of the Conditional Text-to-Image GANs

University of Groningen(格罗宁根大学)

Zhenxing Zhang, Lambert Schomaker

摘要:

文本到图像生成旨在自动生成照片般逼真的图像,以文本描述为条件。它可以潜在地应用于艺术创作,数据增强,照片编辑等领域,虽然许多努力已经致力于这项任务,它仍然是特别具有挑战性的,以产生可信的,自然的场景。为了促进文本到图像合成的实际应用,我们重点研究了以下三个问题:1)如何确保生成的样本是可信的,真实的或自然的?2)如何开发生成器的潜在空间来编辑合成图像?3)如何提高文本到图像生成框架的可解释性?在这项工作中,我们构建了两个新的数据集(即,根据严格的标准,包括成功和不成功的生成样本的好鸟和坏鸟和脸数据集)。为了通过增加生成良好潜在代码的概率来有效地获取高质量图像,我们对生成的图像使用专用的好/坏分类器。它基于预先训练的前端,并根据建议的好与坏数据集进行微调。在此之后,我们提出了一种新的算法,该算法通过对生成器的预训练权重值进行独立分量分析来识别条件文本到图像GAN架构的潜在空间中的语义可理解方向。此外,我们开发了一个背景平坦损失(BFL),以改善编辑后的图像中的背景外观。随后,我们介绍了线性插值分析之间的关键字对。这是扩展到一个类似的三角形的“语言”插值,以深入了解什么是文本到图像的合成模型中学习的语言嵌入。我们的数据集可在https://zenodo.org/record/6283798#.YhkN_ujMI2w上获得。

英文摘要:

Text-to-image generation intends to automatically produce a photo-realistic image, conditioned on a textual description. It can be potentially employed in the field of art creation, data augmentation, photo-editing, etc. Although many efforts have been dedicated to this task, it remains particularly challenging to generate believable, natural scenes. To facilitate the real-world applications of text-to-image synthesis, we focus on studying the following three issues: 1) How to ensure that generated samples are believable, realistic or natural? 2) How to exploit the latent space of the generator to edit a synthesized image? 3) How to improve the explainability of a text-to-image generation framework? In this work, we constructed two novel data sets (i.e., the Good & Bad bird and face data sets) consisting of successful as well as unsuccessful generated samples, according to strict criteria. To effectively and efficiently acquire high-quality images by increasing the probability of generating Good latent codes, we use a dedicated Good/Bad classifier for generated images. It is based on a pre-trained front end and fine-tuned on the basis of the proposed Good & Bad data set. After that, we present a novel algorithm which identifies semantically-understandable directions in the latent space of a conditional text-to-image GAN architecture by performing independent component analysis on the pre-trained weight values of the generator. Furthermore, we develop a background-flattening loss (BFL), to improve the background appearance in the edited image. Subsequently, we introduce linear interpolation analysis between pairs of keywords. This is extended into a similar triangular `linguistic' interpolation in order to take a deep look into what a text-to-image synthesis model has learned within the linguistic embeddings. Our data set is available at https://zenodo.org/record/6283798#.YhkN_ujMI2w.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑