TL;DR
DeepMMSearch-R1 equips multimodal large language models (MLLMs) with on-demand, multi-turn web search using both text and image queries. By integrating an open-vocabulary grounding tool to isolate visual regions of interest and leveraging reinforcement learning (GRPO), the model learns when to search, what to crop, and how to iteratively refine its search queries through self-reflection.
What Problem Does This Paper Address?
Pre-trained MLLMs frequently hallucinate or fail when faced with knowledge-intensive, real-world questions that demand up-to-date or long-tail knowledge. Existing solutions face several roadblocks:
- Rigid RAG pipelines force fixed "retrieve-then-read" routines that fetch unnecessary noise on simple questions.
- Prompt-based search agents act as shallow plug-and-play wrappers that are not trained to handle messy web data.
- Existing search-equipped MLLMs are mostly text-only or limited to a single retrieval attempt without self-correction. Crucially, querying a full image often pulls irrelevant search results due to background clutter and competing visual objects.
Methods
DeepMMSearch-R1 builds an interactive search-and-reasoning agent out of Qwen2.5-VL-7B-Instruct using a two-stage training recipe:
[Question + Image] ──> [Reasoning] ──> Needs Info?
│
┌──────────────────┴──────────────────┐
▼ ▼
[Text Search] [Image Search]
│ Is it a specific entity?
│ ├── Yes ──> [Grounding DINO] ──> [Crop Image]
│ └── No ──> [Full Image]
▼ │
[Top-5 Web Snippets] ▼
│ [Google Lens Search]
└──────────────────┬──────────────────┘
▼
[LLM Summarization]
│
▼
[Iterative Self-Reflection]
(Refine Query / Final Answer inside tags)
- Multimodal Tool Suite:
- Text Search: Generates targeted search strings to fetch and summarize top web pages.
- Targeted Image Search via Grounding: The model writes a referring expression for the target object (e.g.,
<img_search>the white bird flying over the water</img_search>), Grounding DINO detects and crops the bounding box, and the crop is submitted to an image search API. - LLM Summarizer: Compresses top search hits into concise context to prevent context window overflow.
- Cold-Start SFT: Fine-tunes LLM weights (LoRA rank 8; vision encoder frozen) on structured trajectories (
<reason>,<text_search>,<img_search>,<information>,<answer>). Retrieved web tokens are masked out of the loss so the model learns search orchestration rather than memorizing web text. - Online Reinforcement Learning (GRPO): Optimizes the SFT checkpoint with Group-Relative Policy Optimization using
gpt-5-chat-latest(orgpt-4o) as an LLM-as-a-judge reward model assessing factual accuracy and formatting compliance.
Datasets
- DeepMMSearchVQA (MMWebSearchVQA): A newly curated cold-start dataset of 10,000 multi-turn VQA dialogues distilled from Gemini-2.5-Pro on InfoSeek, balanced 50:50 between search-required and search-free questions across a structured knowledge taxonomy.
- RL Training Data: The FVQA training set, selected for its higher density of image-search-requiring samples.
- Evaluation Benchmarks: Evaluated across six knowledge-intensive VQA benchmarks: InfoSeek, Encyclopedic-VQA, DynVQA, SimpleVQA, OK-VQA, and A-OKVQA. General multimodal capability was tracked on OCRBench, MMVet, AI2D, MathVista, MMBench, DocVQA, and InfoVQA.
Key Insights and Ideas
- Cropping Beats Full-Image Retrieval: Background noise frequently ruins reverse-image search. Dynamically generating referring expressions to crop specific visual entities before querying yields an average accuracy boost of +1.75% across benchmarks.
- Reinforcement Learning Drives Efficiency: SFT teaches the model how to use tags, but online RL teaches it restraint. Moving from SFT to RL reduced redundant image crops by over 34% while increasing secondary text query refinement (+1.5% to +2.6%), turning the model into a discerning, self-correcting agent.
- The Peril of Mandatory Retrieval: Traditional RAG workflows catastrophically degrade performance on commonsense benchmarks like OK-VQA and A-OKVQA (dropping ~30–45% compared to direct generation) because web noise confuses the model when retrieval is unnecessary.
Key Results
- State-of-the-Art Open-Source Search VQA: DeepMMSearch-R1-7B (RL) reaches an average score of 57.13%, comfortably beating:
- Open-source baseline MMSearch-R1-7B (50.56%).
- Prompt-based search agent wrappers around Qwen2.5-VL-32B (50.94%).
- GPT-4o in direct answer (50.16%) and RAG setups (41.50%).
- Nears closed-source reasoning model OpenAI o3 (60.38%).
- Preserved Core Multimodal Skills: Post-RL evaluations show the model retains its baseline general VQA performance, scoring 87.60 on OCRBench and even improving on MMVet (69.81 vs. 68.30).
Limitations and Future Work
- Online RL Tool Instability: Running online GRPO with live external search engines suffers from severe latency spikes, rate limits, scraping blockers, and API instability, requiring substantial retry logic.
- Dynamic Ground Truths: Real-time web index drift introduces non-deterministic outputs between training and evaluation.
- Safety & Misinformation: Automated summaries of live web results risk amplifying hallucinations, bias, or copyright issues.
- Future Directions: Incorporating broader tool diversity (code execution, calculators), scaling to complex multilingual queries, and enabling long-context multi-document synthesis.
Summary updated