Abstract
Multimodal Large Language Models (MLLMs) are increasingly capable but often lack the up-to-date or domain-specific knowledge required for specialized Visual Question Answering (VQA) tasks. Current Multimodal Retrieval-Augmented Generation (mRAG) methods attempt to bridge this gap but suffer from either rigid pipelines that waste computation or iterative agents that introduce high latency and error propagation. This paper introduces E-Agent, a "plan-then-execute" framework that utilizes a single-pass planner to dynamically orchestrate search tools. We also present RemPlan, a novel benchmark designed to evaluate mRAG planning accuracy. Our results demonstrate that E-Agent improves answer accuracy by 13% while reducing redundant search operations by 37% compared to iterative agents.
Introduction
Visual Question Answering systems powered by MLLMs frequently fail when queries involve breaking news, niche entities, or highly specific domains not covered in their training data. While mRAG systems address this by fetching external information, existing implementations are flawed. Rigid pipelines often perform unnecessary searches, introducing noise that can degrade performance on simpler questions. Conversely, iterative agents—which decide on subsequent steps based on previous tool outputs—suffer from cascading errors and significant latency.
Furthermore, standard benchmarks often assume every question requires a search, failing to measure an agent's ability to discern when external information is actually necessary. E-Agent addresses these challenges by decoupling planning from execution, allowing for a more efficient and accurate retrieval process.
Methodology: The E-Agent Framework
E-Agent shifts the mRAG paradigm from iterative decision-making to a deterministic "plan-then-execute" architecture. The system is comprised of two primary components:
1. mRAG Planner
The planner is the core innovation of E-Agent. Powered by a fine-tuned InternVL2-8B model, it processes the image and text query to generate a comprehensive execution plan in a single forward pass. This plan specifies which tools to invoke and the exact search queries to use, eliminating the need for step-by-step feedback loops.
2. Task Executor
The executor carries out the generated plan using a suite of specialized tools:
- Requery Tool: Synthesizes visual and textual inputs into optimized search strings.
- Image Search Tool: Performs reverse image searches (e.g., via Baidu).
- Text Search Tool: Conducts keyword-based web searches (e.g., via Tavily).
- Response Tool: A final synthesis module (using Qwen2-VL-72B) that generates the answer based on the retrieved context.
By generating a complete plan upfront, E-Agent avoids the high latency and redundant tool calls characteristic of iterative agents.
The RemPlan Benchmark
To better evaluate the planning capabilities of mRAG systems, we introduced RemPlan (Real-World mRAG Planning). This benchmark consists of 200 expert-annotated image-question pairs. Unlike previous datasets, RemPlan includes the ground-truth execution plan, enabling independent evaluation of planning versus final answer generation.
RemPlan categorizes questions into four types:
- Fundamental: No search required.
- Visual-Recognition: Requires image search to identify entities.
- Information-Seeking: Requires text search for specific facts.
- Multi-Faceted: Requires both image and text search.
Results and Discussion
E-Agent was evaluated against state-of-the-art models on RemPlan, MMSearch, Dyn-VQA, and A-OKVQA.
Performance and Efficiency
E-Agent achieved a 13% accuracy improvement over existing mRAG methods. Notably, it reduced redundant search operations by 37% compared to iterative agents like OmniSearch. On the MMSearch dataset, while OmniSearch averaged 2.35 search tool calls and 3.35 planner calls per question, E-Agent required only 1.42 search tool calls and exactly 1.00 planner call.
The Importance of Selective Searching
A key insight from our evaluation is that knowing when not to search is as important as knowing how to search. On "Fundamental" questions where the base MLLM already possesses the answer, forcing a search often introduces irrelevant noise. E-Agent’s ability to skip unnecessary searches allows it to maintain or improve upon the baseline performance of the underlying MLLM.
Conclusion and Future Work
E-Agent demonstrates that single-pass planning is a highly effective and efficient strategy for mRAG. By decoupling planning from execution and training a dedicated planner, we can significantly reduce latency and noise while improving accuracy.
However, the system has limitations. Because it relies on a single-pass planner, it struggles with complex, multi-hop reasoning tasks where the next step strictly depends on an unpredictable outcome of the previous step. Future work will explore hierarchical planning architectures that combine the efficiency of high-level upfront planning with fine-grained, real-time adjustments based on retrieval feedback loops.
Summary updated