[Paper Review] Lafite2: Few-shot Text-to-Image Generation
Lafite2 proposes a novel unsupervised pre-training method for few-shot text-to-image generation that synthesizes pseudo text features via retrieval-augmented construction and contrastive latent optimization, achieving state-of-the-art FID scores of 6.78 on MS-COCO under fully-supervised settings and competitive results in zero-shot and few-shot settings with minimal data and computational cost.
Text-to-image generation models have progressed considerably in recent years, which can now generate impressive realistic images from arbitrary text. Most of such models are trained on web-scale image-text paired datasets, which may not be affordable for many researchers. In this paper, we propose a novel method for pre-training text-to-image generation model on image-only datasets. It considers a retrieval-then-optimization procedure to synthesize pseudo text features: for a given image, relevant pseudo text features are first retrieved, then optimized for better alignment. The low requirement of the proposed method yields high flexibility and usability: it can be beneficial to a wide range of settings, including the few-shot, semi-supervised and fully-supervised learning; it can be applied on different models including generative adversarial networks (GANs) and diffusion models. Extensive experiments illustrate the effectiveness of the proposed method. On MS-COCO dataset, our GAN model obtains Fréchet Inception Distance (FID) of 6.78 which is the new state-of-the-art (SoTA) of GANs under fully-supervised setting. Our diffusion model obtains FID of 8.42 and 4.28 on zero-shot and supervised setting respectively, which are competitive to SoTA diffusion models with a much smaller model size.
Motivation & Objective
- To address the high cost and data requirements of training text-to-image models on large-scale image-text paired datasets.
- To improve few-shot and semi-supervised text-to-image generation by enabling effective pre-training on image-only datasets.
- To develop a flexible, low-resource method that works across different architectures, including GANs and diffusion models.
- To close the performance gap between fully-supervised and language-free (text-free) text-to-image models.
Proposed method
- Lafite2 synthesizes pseudo text features by first retrieving relevant text features from CLIP's multi-modal embedding space using image features.
- It applies contrastive latent optimization (CLO) to refine the retrieved pseudo text features for better alignment with image features.
- The method uses a retrieval-augmented approach to improve the quality and relevance of pseudo text features before optimization.
- It integrates Gaussian perturbation and latent optimization components to enhance robustness and feature quality during pre-training.
- The framework is applied to both GAN-based (Lafite2_GAN) and diffusion model-based (Lafite2_LDM) architectures.
- The pre-trained models are fine-tuned with minimal real image-text pairs, enabling strong few-shot performance.
Experimental results
Research questions
- RQ1Can a text-to-image model achieve strong performance using only image data and no paired text annotations?
- RQ2How can pseudo text features be effectively synthesized to improve image-text alignment in the absence of real paired data?
- RQ3Does retrieval-augmented pseudo text feature construction outperform random or perturbed initialization in few-shot settings?
- RQ4Can the proposed method achieve state-of-the-art results in both fully-supervised and few-shot settings with minimal data?
- RQ5How does contrastive latent optimization improve the quality and alignment of pseudo text features?
Key findings
- Lafite2_GAN achieves a Fréchet Inception Distance (FID) of 6.78 on MS-COCO under fully-supervised training, setting a new state-of-the-art for GAN-based models.
- Lafite2_LDM achieves an FID of 8.42 in zero-shot generation and 4.28 in supervised settings, outperforming other language-free models with a much smaller model size.
- The retrieval-augmented component significantly improves performance in low-data regimes, especially with 0.1% to 1% of training data.
- Contrastive latent optimization (CLO) improves image-text correspondence, increasing SOA-I from 74.48 (baseline) to 74.88 in fully-supervised settings.
- Combining all components—retrieval, CLO, and Gaussian perturbation—yields the best overall performance, reducing overfitting and improving generalization.
- Pre-training with Lafite2 followed by fine-tuning outperforms training from scratch, even with only 10% of the full dataset.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.