Abstract
Recent advancements in large language models (LLMs) and multi-modal LLMs (MLLMs) have been remarkable, yet these models often rely solely on parametric knowledge, leading to hallucinations and outdated information. Retrieval-Augmented Generation (RAG) mitigates these issues but introduces noise from irrelevant or redundant documents. We propose Multi-Modal Knowledge-Based Retrieval-Augmented Generation (MMKB-RAG), a framework that leverages a model's internal "knowledge boundaries" to dynamically manage retrieval. By generating semantic tags for filtering and reranking, MMKB-RAG improves accuracy by up to +8.1% on complex visual-knowledge benchmarks like InfoSeek and E-VQA.
Introduction
Large Language Models and their multi-modal counterparts (MLLMs) suffer from a "static knowledge" problem, often failing when asked about niche facts or real-time events. While RAG systems provide a "search engine" for these models, they frequently introduce a new challenge: retrieval noise. Standard RAG systems often return a mix of relevant, irrelevant, and redundant documents that can overwhelm the model's reasoning capabilities.
MMKB-RAG addresses this by turning the model into its own gatekeeper. Instead of relying on external "teacher" models to judge document relevance, MMKB-RAG trains the target model to recognize its own knowledge gaps and determine which specific documents actually help it reach a correct answer.
The MMKB-RAG Framework
The core of the framework is a three-stage endogenous token system. The model generates specific semantic tags to manage the retrieval pipeline dynamically:
- RET (Retrieval Token): The model first assesses its internal confidence. If it possesses the necessary knowledge, it answers directly. If not, it triggers the retrieval process.
- SRT (Single-Relevant Token): The model evaluates retrieved documents individually, predicting relevance based on whether the text provides the specific information needed to answer the query correctly.
- CST (Multi-Consist Filter): The model reviews the set of relevant documents holistically, filtering out contradictions and summarizing the information into a consistent reference set.
A key innovation in training these tokens is the use of the model's own performance as a label. If a model fails a question alone but succeeds when provided with a specific document, that document is labeled as "Relevant." This ensures the filtering system is perfectly aligned with the specific model's internal strengths and weaknesses.
Experimental Evaluation
The researchers evaluated MMKB-RAG on four major knowledge-intensive benchmarks: E-VQA, InfoSeek, OKVQA, and M2KR. These datasets require deep dives into Wikipedia and fine-grained entity recognition.
Key Results
- Performance Gains: MMKB-RAG achieved a +8.1% gain on the full InfoSeek dataset and a +4.2% improvement on the E-VQA Single-Hop subset compared to state-of-the-art MLLMs.
- Robustness: The framework maintained high accuracy even when initial search results were contaminated with 20% irrelevant noise, whereas standard RAG models saw significant performance degradation.
- Efficiency: By using the RET token to skip retrieval when internal knowledge is sufficient, the system avoids unnecessary computational overhead without sacrificing accuracy.
Conclusion
MMKB-RAG demonstrates that a model is often the best judge of its own information needs. By training models to recognize their own knowledge boundaries, the framework effectively filters retrieval noise and improves reasoning quality in multi-modal tasks. Future work will explore multi-hop reasoning and reducing the latency introduced by the multi-stage filtering process.
Summary updated