ImageRAG: Dynamic Image Retrieval for Reference-Guided Image Generation
Abstract
Diffusion models enable high-quality and diverse visual content synthesis. However, they struggle to generate rare or unseen concepts. To address this challenge, we explore the usage of Retrieval-Augmented Generation (RAG) with image generation models. We propose ImageRAG, a method that dynamically retrieves relevant images based on a given text prompt, and uses them as context to guide the generation process. Prior approaches that used retrieved images to improve generation, trained models specifically for retrieval-based generation. In contrast, ImageRAG leverages the capabilities of existing image conditioning models, and does not require RAG-specific training. Our approach is highly adaptable and can be applied across different model types, showing significant improvement in generating rare and fine-grained concepts using different base models. Our project page is available at: https://rotem-shalev.github.io/ImageRAG
Community
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- RealRAG: Retrieval-augmented Realistic Image Generation via Self-reflective Contrastive Learning (2025)
- Augmented Conditioning Is Enough For Effective Training Image Generation (2025)
- CubeDiff: Repurposing Diffusion-Based Image Models for Panorama Generation (2025)
- VMix: Improving Text-to-Image Diffusion Model with Cross-Attention Mixing Control (2024)
- UNIC-Adapter: Unified Image-instruction Adapter with Multi-modal Transformer for Image Generation (2024)
- Re-ranking the Context for Multimodal Retrieval Augmented Generation (2025)
- SceneBooth: Diffusion-based Framework for Subject-preserved Text-to-Image Generation (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper