RAVID: Retrieval-Augmented Visual Detection: A Knowledge-Driven Approach for AI-Generated Image Identification
On the map: Retrieval-augmented generation → Multimodal RAG
Abstract (arXiv)
In this paper, we introduce RAVID, the first framework for AI-generated image detection that leverages visual retrieval-augmented generation (RAG). While RAG methods have shown promise in mitigating factual inaccuracies in foundation models, they have primarily focused on text, leaving visual knowledge underexplored. Meanwhile, existing detection methods, which struggle with generalization and robustness, often rely on low-level artifacts and model-specific features, limiting their adaptability. To address this, RAVID dynamically retrieves relevant images to enhance detection. Our approach utilizes a fine-tuned CLIP image encoder, RAVID CLIP, enhanced with category-related prompts to improve representation learning. We further integrate a vision-language model (VLM) to fuse retrieved images with the query, enriching the input and improving accuracy. Given a query image, RAVID generates an embedding using RAVID CLIP, retrieves the most relevant images from a database, and combines these with the query image to form an enriched input for a VLM (e.g., Qwen-VL or Openflamingo). Experiments on the UniversalFakeDetect benchmark, which covers 19 generative models, show that RAVID achieves state-of-the-art performance with an average accuracy of 93.85%. RAVID also outperforms traditional methods in terms of robustness, maintaining high accuracy even under image degradations such as Gaussian blur and JPEG compression. Specifically, RAVID achieves an average accuracy of 80.27% under degradation conditions, compared to 63.44% for the state-of-the-art model C2P-CLIP, demonstrating consistent improvements in both Gaussian blur and JPEG compression scenarios. The code will be publicly available upon acceptance.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Multimodal RAG, one of 15 directions in Retrieval-augmented generation. Builds on 11 of its 54 references that are in the map. First posted on arXiv 5 Aug 2025.
Builds on
11 of 54 references.
Closest ancestors · 4
Same direction, newest first
- 2025VideoRAG: Retrieval-Augmented Generation with Extreme Long-Context Videos3 Feb
- 2025VideoRAG: Retrieval-Augmented Generation over Video Corpus10 Jan
- 2024Beyond Text: Optimizing RAG with Multimodal Inputs for Industrial Applications29 Oct
- 2024VisRAG: Vision-based Retrieval-augmented Generation on Multi-modality Documents14 Oct
Other references · 7
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2023OpenFlamingo: An Open-Source Framework for Training Large Autoregressive Vision-Language Modelscited by 565
- 2021ClipCap: CLIP Prefix for Image Captioningcited by 559
- 2019Detecting GAN generated Fake Images using Co-occurrence Matricescited by 124
- 2024C2P-CLIP: Injecting Category Common Prompt in CLIP to Enhance Generalization in Deepfake Detectioncited by 113
- 2024FFAA: Multimodal Large Language Model based Explainable Open-World Face Forgery Analysis Assistantcited by 61
- 2024Harnessing the Power of Large Vision Language Models for Synthetic Image Detectioncited by 7
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Retrieval Augmented Generation and Understanding in Vision: A Survey and New Outlook
- 2026KIRA: Knowledge-Intensive Image Retrieval and Reasoning Architecture for Specialized Visual Domains
- 2025Category-level Text-to-Image Retrieval Improved: Bridging the Domain Gap with Diffusion Models and Vision Encoders
- 2025ImageRAG: Dynamic Image Retrieval for Reference-Guided Image Generation
- 2025Visual-RAG: Benchmarking Text-to-Image Retrieval Augmented Generation for Visual Knowledge Intensive Queries
- 2025ELIP: Enhanced Visual-Language Foundation Models for Image Retrieval
- 2025SQUARE: Semantic Query-Augmented Fusion and Efficient Batch Reranking for Training-free Zero-Shot Composed Image Retrieval
- 2025CLIP Embeddings for AI-Generated Image Detection: A Few-Shot Study with Lightweight Classifier