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

FuseDream:使用改进的CLIP + GAN空间优化的免训练文本到图像生成

FuseDream: Training-Free Text-to-Image Generation with Improved CLIP+GAN Space Optimization

University of Texas at Austin(德克萨斯大学奥斯汀分校);University of California, San Diego(加利福尼亚大学圣迭戈分校)

Xingchao Liu, Chengyue Gong, Lemeng Wu, Shujian Zhang, Hao Su, Qiang Liu

摘要:

从自然语言指令生成图像是一项有趣但极具挑战性的任务。我们通过将重新训练的CLIP表示的功能与现成的图像生成器(GANs)相结合来实现文本到图像的生成,在GAN的潜在空间中进行优化,以找到具有给定输入文本的最大CLIP分数的图像。与从文本到图像从头开始训练生成模型的传统方法相比,CLIP+GAN方法无需训练,zero shot,并且可以很容易地使用不同的生成器进行定制。然而,在GAN空间中优化CLIP分数是一个极具挑战性的优化问题,并且诸如Adam的现成优化器未能产生令人满意的结果。在这项工作中,我们提出了一个FuseDream管道,它通过三个关键技术改进了CLIP+GAN方法:1)AugCLIP评分,通过在图像上引入随机增强来增强CLIP目标。2)一种新的初始化和过参数化优化策略,使我们能够有效地导航非凸景观在GAN空间。3)一种合成生成技术,通过利用新颖的双层优化公式,可以合成多个图像以扩展GAN空间并克服数据偏差。当由不同的输入文本提升时,FuseDream可以生成具有不同对象、背景、艺术风格的高质量图像,甚至是我们使用的GAN的训练数据中没有出现的新颖的反事实概念。从量化的角度来看,FuseDream生成的图像在MS COCO数据集上产生顶级的Inception评分和FID评分,而无需额外的架构设计或训练。我们的代码可在\url{https://github.com/gnobitab/FuseDream}上公开获取。

英文摘要:

Generating images from natural language instructions is an intriguing yet highly challenging task. We approach text-to-image generation by combining the power of the retrained CLIP representation with an off-the-shelf image generator (GANs), optimizing in the latent space of GAN to find images that achieve maximum CLIP score with the given input text. Compared to traditional methods that train generative models from text to image starting from scratch, the CLIP+GAN approach is training-free, zero shot and can be easily customized with different generators. However, optimizing CLIP score in the GAN space casts a highly challenging optimization problem and off-the-shelf optimizers such as Adam fail to yield satisfying results. In this work, we propose a FuseDream pipeline, which improves the CLIP+GAN approach with three key techniques: 1) an AugCLIP score which robustifies the CLIP objective by introducing random augmentation on image. 2) a novel initialization and over-parameterization strategy for optimization which allows us to efficiently navigate the non-convex landscape in GAN space. 3) a composed generation technique which, by leveraging a novel bi-level optimization formulation, can compose multiple images to extend the GAN space and overcome the data-bias. When promoted by different input text, FuseDream can generate high-quality images with varying objects, backgrounds, artistic styles, even novel counterfactual concepts that do not appear in the training data of the GAN we use. Quantitatively, the images generated by FuseDream yield top-level Inception score and FID score on MS COCO dataset, without additional architecture design or training. Our code is publicly available at \url{https://github.com/gnobitab/FuseDream}.

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

↑