TL;DR
AI-SearchPlanner decouples agentic search into a small, trainable planner model and a large, frozen question-answering (QA) generator model. Trained via multi-objective reinforcement learning (RL) with dual process-and-outcome rewards and Pareto-cost penalties, the lightweight planner learns efficient, multi-turn information-gathering strategies that generalize across different frozen generators and search environments.
What Problem Does This Paper Address?
Standard Retrieval-Augmented Generation (RAG) relies on static, single-step retrieval, which breaks down on complex multi-hop queries. Recent agentic RL search models (like Search-R1) train a single large LLM end-to-end to handle both iterative searching and final answering.
However, real-world search engines cannot afford to train massive models (e.g., DeepSeek-R1 or GPT-4) repeatedly, nor is it efficient to run heavy models through multiple iterative search hops. Decoupling the pipeline is practical: let a nimble, small model plan and query the search engine, while a frozen flagship model generates the final answer. The central challenge is training such a decoupled planner so that it collects sufficient, non-redundant evidence while minimizing tool-use latency and query costs.
Methods
The authors introduce AI-SearchPlanner, an RL framework optimized with Proximal Policy Optimization (PPO):
┌───────────────────────────────┐
│ Trainable Planner LLM │ ◄─── PPO Policy Gradient
│ (Qwen-2.5-7B-Instruct) │ (Retrieved tokens loss-masked)
└──────────────┬────────────────┘
│
┌─────────────┴─────────────┐
▼ ▼
[Tool: Search Engine] [Tool: Call Answer LLM]
- Issues Sub-queries - Supplies trajectory
- Returns Documents │
▲ ▼
└─────────────────► ┌─────────────────────────┐
│ Frozen Generator LLM │
│ (Qwen3-32B, etc.) │
└───────────┬─────────────┘
▼
Planned Answer
Key innovations include:
- Decoupled Architecture: A lightweight planner (Qwen-2.5-7B-Instruct) iteratively queries the search engine before finally invoking a frozen generator (e.g., Qwen3-32B, DeepSeek-V3, or DeepSeek-R1) to synthesize the answer from the accumulated trajectory.
- Dual-Reward Alignment:
- Outcome Gain Reward ($R_{outcome}$): Rewards the planner strictly for performance gains achieved over non-planning baselines (direct inference and naive RAG).
- Process Reward ($R_{process}$): An LLM-evaluated score measuring trajectory quality, logical progression, search precision, and the absence of redundant or vague queries.
- Pareto Optimization of Utility vs. Cost: A multi-objective reward formulation penalizing excessive planning turns ($L$) and sub-query volume ($\sum |\{sq\}|$) via a tunable weight $\alpha$: $$R_{pareto} = (R_{outcome} + R_{process}) + \alpha R_{cost} + R_{format}$$
- Loss Masking: During RL policy updates, gradients are masked over retrieved document tokens so that the planner only optimizes its own decision-making tokens.
Datasets
- Training: Merged training splits from Natural Questions (NQ) and HotpotQA.
- Evaluation:
- Wikipedia-based Benchmarks: Single-hop/general QA (NQ, TriviaQA, PopQA) and multi-hop QA (HotpotQA, 2WikiMultiHopQA, Musique, Bamboogle).
- Web-based Benchmarks: WebShaper and WebWalkerQA evaluated using live Google Search (via Serper API).
- No new benchmarks were introduced; existing standard QA benchmarks were used.
Key Insights and Ideas
- Decoupling works across generator scales: A 7B planner trained against Qwen3-32B transfers zero-shot to frozen DeepSeek-V3 and DeepSeek-R1 generators without retraining, outperforming generator-specific baselines.
- Complex multi-hop questions benefit most: Multi-hop tasks (e.g., Musique, 2Wiki) showed larger relative gains than single-hop tasks, confirming that learned iterative query decomposition is critical for non-trivial compositional questions.
- Outcome gain matters more than raw outcome: Ablation shows that removing the outcome gain formulation (i.e., rewarding answers without subtracting baseline capability) leads to a substantial 15.24% performance drop, as the planner fails to discern whether searching was truly necessary.
- Controllable cost vs. performance frontier: Tuning the penalty parameter $\alpha$ successfully shifts the model along a Pareto front: setting $\alpha = 0.005$ reduced planning turns by 16.55% while actually increasing average accuracy by 1.51%.
Key Results
- Overall Wiki-QA Performance: On Wikipedia benchmarks with a frozen Qwen3-32B generator, AI-SearchPlanner achieved an average score of 0.597 (a +10.76% relative improvement over the generator-only naive RAG baseline at 0.539).
- Outperforming Unified RL Agents: It outperformed fully trained, non-decoupled search agents such as Search-R1 (0.597 vs. 0.519).
- Generator Transferability:
- Paired with frozen DeepSeek-V3: Reached 0.610 (+14.02% over baseline).
- Paired with frozen DeepSeek-R1: Reached 0.648 (+4.52% over baseline).
- Domain Transfer to Web Search: On WebShaper and WebWalker, the model scored 0.366 (+79.41%) and 0.375 (+25.42%), showing that planning strategies trained on static Wikipedia dumps generalize effectively to live web search APIs.
Limitations and Future Work
- Generator Dependence: The planner supplies the entire trajectory to the downstream reader, meaning inference context length scales with the number of retrieval steps.
- LLM-as-a-Judge Dependency: The training reward relies on an LLM-based outcome and process evaluator, which can introduce evaluation biases or stochastic training noise.
- Future Directions: Extending the framework to multi-modal web search environments and developing dynamic, adaptive reward mechanisms for broader real-world agent tasks.
Summary updated