[Paper Review] Re-Imagen: Retrieval-Augmented Text-to-Image Generator
Re-Imagen retrieves external multi-modal references to ground text-to-image diffusion, improving fidelity for rare or unseen entities and achieving strong FID/grounding on standard benchmarks and a new EntityDrawBench dataset.
Research on text-to-image generation has witnessed significant progress in generating diverse and photo-realistic images, driven by diffusion and auto-regressive models trained on large-scale image-text data. Though state-of-the-art models can generate high-quality images of common entities, they often have difficulty generating images of uncommon entities, such as `Chortai (dog)' or `Picarones (food)'. To tackle this issue, we present the Retrieval-Augmented Text-to-Image Generator (Re-Imagen), a generative model that uses retrieved information to produce high-fidelity and faithful images, even for rare or unseen entities. Given a text prompt, Re-Imagen accesses an external multi-modal knowledge base to retrieve relevant (image, text) pairs and uses them as references to generate the image. With this retrieval step, Re-Imagen is augmented with the knowledge of high-level semantics and low-level visual details of the mentioned entities, and thus improves its accuracy in generating the entities' visual appearances. We train Re-Imagen on a constructed dataset containing (image, text, retrieval) triples to teach the model to ground on both text prompt and retrieval. Furthermore, we develop a new sampling strategy to interleave the classifier-free guidance for text and retrieval conditions to balance the text and retrieval alignment. Re-Imagen achieves significant gain on FID score over COCO and WikiImage. To further evaluate the capabilities of the model, we introduce EntityDrawBench, a new benchmark that evaluates image generation for diverse entities, from frequent to rare, across multiple object categories including dogs, foods, landmarks, birds, and characters. Human evaluation on EntityDrawBench shows that Re-Imagen can significantly improve the fidelity of generated images, especially on less frequent entities.
Motivation & Objective
- Motivate robust text-to-image generation that remains faithful for rare or unseen entities.
- Leverage external multi-modal knowledge to ground visual appearance rather than memorizing it.
- Develop a training regimen and sampling strategy that integrate text and retrieval guidance.
- Evaluate grounding and realism across standard benchmarks and long-tail entity prompts.
Proposed method
- Use a cascaded diffusion architecture (64×, 256×, 1024×) with three generation stages to produce high-resolution images.
- Retrieve top-k image-text pairs from an external multi-modal knowledge base using the input prompt as query (BM25 or CLIP-based similarity).
- Encode retrieved <image, text> references and integrate them via a cross-attention mechanism into the denoising U-Nets.
- Apply interleaved classifier-free guidance to balance text guidance and retrieval guidance during sampling (two adjusted epsilon-predictions and a mixing ratio).
- Train on a KNN-ImageText dataset derived from ImageText data with top-k neighbors as retrievals, randomly dropping conditions to learn marginalized denoising.
- Evaluate with zero-shot FID on COCO/WikiImages and new EntityDrawBench with human judgments on faithfulness and photorealism.
Experimental results
Research questions
- RQ1Can retrieval-augmented conditioning improve fidelity to rare or unseen entities in text-to-image generation?
- RQ2How does external multi-modal knowledge grounding affect standard image-quality metrics (e.g., FID) and entity faithfulness?
- RQ3What is the impact of retrieval quality, retrieval count, and guidance balance on results for common vs. rare entities?
- RQ4Does interleaved guidance provide a better trade-off between text alignment and entity grounding than conventional single-condition guidance?
Key findings
- Retrieval-augmented generation yields significant FID improvements on COCO and WikiImages over strong baselines like Imagen.
- Grounding on retrieved references improves fidelity to both text prompts and referenced entities, especially for less frequent entities.
- EntityDrawBench human evaluations show Re-Imagen achieves higher faithfulness across diverse entity types (dogs, foods, landmarks, birds, characters) than competing models.
- Increasing the number of retrieved neighbors (K) boosts performance more notably on rare entities, indicating retrieval grounding is particularly helpful for tail prompts.
- Interleaved guidance provides a controllable trade-off between text alignment and entity fidelity, with a suggested sweet spot around equal weighting (η ≈ 0.5).
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.