ImageRAG: Dynamic Image Retrieval for Reference-Guided Image Generation
Rotem Shalev-Arkushin, Rinon Gal, Amit Bermano, Ohad Fried
Abstract
While recent generative models synthesize high-quality visual content, they still struggle with generating rare or fine-grained concepts. To address this challenge, we explore the usage of Retrieval-Augmented Generation (RAG) for image generation, and introduce ImageRAG, a training-free method for rare concept generation. Using a Vision Language Model (VLM), ImageRAG identifies generation gaps between an input prompt and a generated image dynamically, retrieves relevant images, and uses them as context to guide the generation process. Prior approaches that use retrieved images require training models specifically for retrieval-based generation. In contrast, ImageRAG leverages existing image conditioning models, and does not require RAG-specific training. We demonstrate our approach is highly adaptable through evaluation over different backbones, including models trained to receive image inputs and models augmented with a post-training image-prompt adapter. Through extensive quantitative, qualitative, and subjective evaluation, we show that incorporating retrieved references consistently improves the generation abilities of rare and fine-grained concepts across three datasets and three generative models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- AR-RAG: Autoregressive Retrieval Augmentation for Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
- AR-RAG: Autoregressive Retrieval Augmentation for Image Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Language Models are Few-Shot Learners cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- ImageSentinel: Protecting Visual Datasets from Unauthorized Retrieval-Augmented Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
- ImageSentinel: Protecting Visual Datasets from Unauthorized Retrieval-Augmented Image Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- ImageRAGTurbo: Towards One-step Text-to-Image Generation with Retrieval-Augmented Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- ImageRAGTurbo: Towards One-step Text-to-Image Generation with Retrieval-Augmented Diffusion Models cites Denoising Diffusion Probabilistic Models
- ImageRAGTurbo: Towards One-step Text-to-Image Generation with Retrieval-Augmented Diffusion Models cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- MotionRAG: Motion Retrieval-Augmented Image-to-Video Generation cites Language Models are Few-Shot Learners
- MotionRAG: Motion Retrieval-Augmented Image-to-Video Generation cites Denoising Diffusion Probabilistic Models
- MotionRAG: Motion Retrieval-Augmented Image-to-Video Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- UniversalRAG: Retrieval-Augmented Generation over Corpora of Diverse Modalities and Granularities cites Learning Transferable Visual Models From Natural Language Supervision
- UniversalRAG: Retrieval-Augmented Generation over Corpora of Diverse Modalities and Granularities cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Cited by top-tier papers7
- UniversalRAG: Retrieval-Augmented Generation over Corpora of Diverse Modalities and GranularitiesWoongyeong Yeo, Kangsan Kim, Soyeong Jeong, Jinheon Baek et al.ACL 2026 · 14 citations
- MotionRAG: Motion Retrieval-Augmented Image-to-Video GenerationChenhui Zhu, Yilu Wu, Shuai Wang, Gangshan Wu et al.NeurIPS 2025 · 8 citations
- AR-RAG: Autoregressive Retrieval Augmentation for Image GenerationJingyuan Qi, Zhiyang Xu, Qifan Wang, Lifu HuangNeurIPS 2025 · 7 citations
- ImageSentinel: Protecting Visual Datasets from Unauthorized Retrieval-Augmented Image GenerationZiyuan Luo, Yangyi Zhao, Ka Chun Cheung, Simon See et al.NeurIPS 2025 · 5 citations
- ImageRAGTurbo: Towards One-step Text-to-Image Generation with Retrieval-Augmented Diffusion ModelsPeijie Qiu, Hariharan Ramshankar, Arnau Ramisa, Amit C C et al.CVPR 2026 · 1 citation
Builds on39
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
Related papers
- VisRAG: Vision-based Retrieval-augmented Generation on Multi-modality DocumentsShi Yu, Chaoyue Tang, Bokai Xu, Junbo Cui et al.ICLR 2025
- M4-RAG: A Massive-Scale Multilingual Multi-Cultural Multimodal RAGDavid Anugraha, Patrick Amadeus Irawan, Anshul Singh, En-Shiun Annie Lee et al.CVPR 2026 · 2 citations
- Towards Mixed-Modal Retrieval for Universal Retrieval-Augmented GenerationChenghao Zhang, Guanting Dong, Xinyu Yang, Zhicheng DouSIGIR 2026
- ImpRAG: Retrieval-Augmented Generation with Implicit QueriesWenzheng Zhang, Xi Victoria Lin, Karl Stratos, Wen-tau Yih et al.EMNLP Findings 2025
- Video-RAG: Visually-aligned Retrieval-Augmented Long Video ComprehensionYongdong Luo, Xiawu Zheng, Guilin Li, Shukang Yin et al.NeurIPS 2025 · 164 citations
