Skip to main content
QUICK REVIEW

[Paper 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 Science50 references37 citations
TL;DR

Lafite trains text-to-image generators without any text data by creating pseudo text features in a CLIP-aligned space, enabling competitive zero-shot and fully-supervised generation with significantly smaller models and data. It can also fine-tune pre-trained models efficiently.

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.

Motivation & Objective

  • Motivate cost-efficient text-to-image generation with minimal or no text data.
  • Leverage CLIP's aligned image-text space to generate pseudo text features from images.
  • Develop a GAN-based framework that uses pseudo text features to synthesize images.
  • Showcase zero-shot, language-free, and supervised performance, including fine-tuning benefits.

Proposed method

  • Translate images into pseudo text features using CLIP-aligned multimodal space via fixed or trainable perturbations.
  • Incorporate pseudo text features into a conditional StyleGAN2 framework by injecting text conditioning into StyleSpace.
  • Use a GAN objective with a CLIP-guided contrastive regularizer to align generated images with pseudo text features.
  • Train with standard GAN losses plus ConD and ConG contrastive terms to enforce semantic matching in CLIP space.
  • Optionally pre-train on CC3M and fine-tune on downstream datasets to demonstrate efficiency and effectiveness.

Experimental results

Research questions

  • RQ1Can text-to-image generation be performed without any text data by exploiting a pre-trained multi-modal space (CLIP)?
  • RQ2How do fixed versus trainable pseudo text feature generation schemes compare in language-free text-to-image synthesis?
  • RQ3What is Lafite’s performance in zero-shot, language-free, and fully-supervised settings across standard benchmarks?
  • RQ4Can Lafite enable efficient fine-tuning of pre-trained models for domain-specific text-to-image generation?

Key findings

  • Lafite achieves state-of-the-art results in standard text-to-image generation across multiple datasets.
  • In language-free MS-COCO experiments, Lafite with fixed perturbations (Lafite_G) reaches IS 27.20 and FID improvements across multiple k (e.g., FID-0 18.04, FID-8 14.52).
  • Lafite with trainable perturbations (Lafite_NN) also outperforms many baselines, with notable gains over captioning-based methods.
  • In zero-shot MS-COCO, Lafite (pre-trained on CC3M) outperforms DALL-E and CogView on several metrics while using far fewer trainable parameters (75M).
  • Pre-trained Lafite enables efficient fine-tuning, often outperforming training-from-scratch with significant time savings (hours vs days).
  • Ablation shows both contrastive losses (ConD, ConG) are crucial for best performance; CLIP-based encoders dramatically improve results compared to RoBERTa.
  • The method supports multi-modal conditioning (images + pseudo text) for targeted generation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.