Skip to main content
QUICK REVIEW

[论文解读] LAFITE: Towards Language-Free Training for Text-to-Image Generation

Yufan Zhou, Ruiyi Zhang|arXiv (Cornell University)|Nov 27, 2021
Multimodal Machine Learning ApplicationsComputer Science参考文献 50被引用 37
一句话总结

Lafite 在不使用任何文本数据的情况下,通过在与 CLIP 对齐的空间中创建伪文本特征来训练文本到图像生成器,从而在显著更小的模型和数据量下实现具有竞争力的零-shot 和全监督生成。它还可以高效地对预训练模型进行微调。

ABSTRACT

One of the major challenges in training text-to-image generation models is the need of a large number of high-quality image-text pairs. While image samples are often easily accessible, the associated text descriptions typically require careful human captioning, which is particularly time- and cost-consuming. In this paper, we propose the first work to train text-to-image generation models without any text data. Our method leverages the well-aligned multi-modal semantic space of the powerful pre-trained CLIP model: the requirement of text-conditioning is seamlessly alleviated via generating text features from image features. Extensive experiments are conducted to illustrate the effectiveness of the proposed method. We obtain state-of-the-art results in the standard text-to-image generation tasks. Importantly, the proposed language-free model outperforms most existing models trained with full image-text pairs. Furthermore, our method can be applied in fine-tuning pre-trained models, which saves both training time and cost in training text-to-image generation models. Our pre-trained model obtains competitive results in zero-shot text-to-image generation on the MS-COCO dataset, yet with around only 1% of the model size and training data size relative to the recently proposed large DALL-E model.

研究动机与目标

  • 用极少的文本数据,甚至无需文本数据,推动成本高效的文本到图像生成。
  • 利用 CLIP 的对齐图像-文本空间,从图像中生成伪文本特征。
  • 开发一个基于 GAN 的框架,使用伪文本特征来合成图像。
  • 展示零样本、无语言文本和有监督的性能,包括微调的好处。

提出的方法

  • 通过固定或可训练的扰动,将图像转换为在 CLIP 对齐的多模态空间中的伪文本特征。
  • 通过将文本条件注入 StyleSpace,将伪文本特征整合到一个条件化的 StyleGAN2 框架中。
  • 使用一个带有 CLIP 指导对比正则化的 GAN 目标,以使生成的图像与伪文本特征对齐。
  • 使用标准 GAN 损失 + ConD 与 ConG 对比项来强制在 CLIP 空间中的语义匹配。
  • 可选地在 CC3M 上进行预训练,并在下游数据集上进行微调,以展示效率与效果。

实验结果

研究问题

  • RQ1是否可以通过利用预训练的多模态空间(CLIP)在没有任何文本数据的情况下执行文本到图像生成?
  • RQ2在无语言文本的文本到图像合成中,固定的伪文本特征生成方案与可训练的伪文本特征生成方案有何差异?
  • RQ3在标准基准测试中,Lafite 在零样本、无语言文本与全监督设置下的表现如何?
  • RQ4Lafite 是否能实现对预训练模型在领域特定的文本到图像生成中的高效微调?

主要发现

  • Lafite 在多数据集的标准文本到图像生成中达到最先进的结果。
  • 在无语言文本的 MS-COCO 实验中,使用固定扰动的 Lafite_G 在 IS 为 27.20,且在多个 k 的 FID 有所提升(例如 FID-0 18.04, FID-8 14.52)。
  • 使用可训练扰动的 Lafite_NN 也优于许多基线,对基于字幕/ captioning 的方法有显著提升。
  • 在零样本 MS-COCO 中,Lafite(在 CC3M 上预训练)在若干指标上优于 DALL-E 和 CogView,同时可训练参数远少于其他方法(75M)。
  • 预训练的 Lafite 使高效微调成为可能,通常优于从头训练,且节省大量时间(数小时对比数日)。
  • 消融显示对比损失(ConD、ConG)对最佳性能至关重要;基于 CLIP 的编码器相比 RoBERTa 显著改善结果。
  • 该方法支持多模态条件(图像 + 伪文本)进行定向生成。

阅读本论文

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

在 Nubint 中阅读本论文

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