LAFITE: Towards Language-Free Training for Text-to-Image Generation
Yufan Zhou, Ruiyi Zhang, Changyou Chen, Chunyuan Li, Chris Tensmeyer, Tong Yu, Jiuxiang Gu, Jinhui Xu, Tong Sun
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/drboog/LafiteOfficialIn paperpytorch★ 183
- github.com/drboog/Shifted_Diffusionjax★ 162
- github.com/oxygenlu/ratlippytorch★ 7
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.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| COCO (Common Objects in Context) | Lafite | FID | 8.12 | — | Unverified |
| COCO (Common Objects in Context) | Lafite (zero-shot) | FID | 26.94 | — | Unverified |
| CUB | Lafite | FID | 10.48 | — | Unverified |
| Multi-Modal CelebA-HQ | Lafite | FID | 12.54 | — | Unverified |