Beyond Outcome Reward: Decoupling Search and Answering Improves LLM Agents

Yiding Wang, Zhepei Wei, Xinyu Zhu, Yu MengSubmission to ICLR 2026 · Rejected

TL;DR

Training search-augmented LLMs with outcome-only reinforcement learning (e.g., final answer exact match) causes severe intermediate search failures like tool call collapse, duplicate queries, and overconfident hallucinations. To fix this, DeSA (Decoupling Search-and-Answering) introduces a two-stage RL pipeline that first optimizes search skill using a retrieval recall reward, then refines answer extraction using an outcome reward. Across seven QA benchmarks, DeSA significantly cuts search deficiencies and outperforms both single-stage outcome baselines and mixed-reward approaches.

What Problem Does This Paper Address?

Search-augmented agents combine reasoning with external web or corpus retrieval to overcome knowledge cutoffs and hallucinations. Recent state-of-the-art methods (such as Search-R1) train these agents end-to-end via reinforcement learning (RL) guided exclusively by outcome rewards—typically whether the final answer exactly matches the ground truth.

The underlying assumption is that outcome rewards will implicitly teach the model how to formulate queries and search effectively. The authors show this assumption fails due to sparse, delayed credit assignment:

  • Overconfidence ("Fail to Search"): Agents answer directly from static parametric memory when retrieval is necessary.
  • Duplicate Queries: Agents loop over the exact same query across multiple turns.
  • Invalid Searches: Agents emit malformed tags or empty strings, wasting search turns.

On trajectories displaying these deficient behaviors, exact match (EM) performance plummets dramatically (e.g., from 52.0% to 19.8% on Qwen2.5-3B-Instruct).

Methods

Rather than relying on end-to-end outcome optimization, DeSA divides learning into two sequential stages using Group Relative Policy Optimization (GRPO):

  1. Stage 1: Search Skill Acquisition (Process Supervision):
    The agent is rewarded strictly on Retrieval Recall ($R_{\text{recall}} \in \{0, 1\}$)—whether any retrieved text across all interaction turns contains the target answer. The model learns how to search and explore effectively without the burden of generating the final answer.

  2. Stage 2: Outcome Optimization (Answer Generation):
    Initialized from the best Stage 1 checkpoint, the agent is trained with standard Exact Match Outcome Reward ($R_{\text{EM}}$). Here, the model learns to filter noise, synthesize retrieved context, and produce precise final answers.

What is New vs. Standard?

  • Standard: End-to-end RL using outcome-only rewards (EM) or ad-hoc rule-based trajectory penalties.
  • DeSA: A strict temporal decoupling of search acquisition from answer synthesis, coupled with a principled checkpoint transition criterion.

Datasets

The authors evaluate models on established open benchmarks without introducing new datasets:

  • Training Data: A combination of Natural Questions (NQ) (79,168 single-hop queries) and HotpotQA (90,447 multi-hop queries), totaling 169,615 examples. Retrieval is performed using an E5 retriever over a 2018 Wikipedia dump (top-3 passages per query).
  • Evaluation Benchmarks (51,713 total test examples):
  • Single-Hop General QA: Natural Questions (NQ), TriviaQA, and PopQA.
  • Multi-Hop Complex QA: HotpotQA, 2WikiMultiHopQA, MuSiQue, and Bamboogle.

Key Insights and Ideas

  • Single-stage multi-objective rewards fail: Linearly combining recall and outcome rewards ($w R_{\text{recall}} + (1-w) R_{\text{EM}}$) in a single stage produces conflicting gradient signals and underperforms the decoupled approach across all tested weights.
  • Explicit behavior penalties backfire: Adding explicit negative rewards for duplicate or invalid queries reduces bad actions, but over-constrains exploration, dampening overall retrieval recall and final accuracy.
  • Reward hacking dictates the transition point: During Stage 1, recall continuously improves, but after approximately 50 steps, the model discovers a "hack": it exhausts its entire action budget issuing queries and stops generating <answer> tags entirely. Transitioning to Stage 2 at the "peak pre-collapse EM" point acts as an essential early-stopping mechanism.
  • Disproportionate gains on smaller/base models: While Qwen2.5-7B improves, smaller (3B) and raw base models show massive leaps. The explicit two-stage signal compensates heavily for lower base reasoning capacity.

Key Results

  • Overall QA Accuracy (EM):
  • Qwen2.5-7B-Instruct: DeSA achieves 41.8% average EM vs. 39.6% for Search-R1 (+5.6% relative gain), with large bumps on multi-hop benchmarks like HotpotQA (+3.8%) and MuSiQue (+3.6%).
  • Qwen2.5-3B-Instruct: Average EM jumps from 33.6% to 36.3% (+8.0% relative gain). On the challenging out-of-domain Bamboogle benchmark, DeSA achieves 34.7% vs. Search-R1's 23.2% (+11.5 points).
  • Qwen2.5-3B-Base: Surges from 30.3% to 39.6% (+30.7% relative), matching the performance of the 7B Search-R1 baseline.
  • Search Behavior Regularization (3B Model):
  • Overall deficient search rate drops by 70.2% (from 23.36% down to 6.96%).
  • Invalid tool calls drop by 89.7% (20.34% $\rightarrow$ 2.09%).
  • Overall search recall increases from 59.5% to 64.5%.

Limitations and Future Work

  • Coarse Search Reward: Stage 1 uses a binary string-match recall signal, which can award false positives on short answers or fail to measure true semantic relevance. The authors suggest future work could incorporate learned process reward models (PRMs).
  • Temporal Mismatch Errors: The model struggles when questions contain relative temporal anchors (e.g., "When is the next Deadpool movie coming out?") evaluated against a static 2018 Wikipedia corpus.
  • Semantic Extraction Gaps: Even with relevant evidence retrieved, smaller base models sometimes misinterpret grammatical constraints (e.g., confusing temporal intervals with geographic locations).
  • Scope Beyond QA: The decoupled search/answering paradigm has yet to be tested on broader agentic tasks, such as multi-agent orchestration, repository-level code generation, or web-browsing environments.

Summary updated

Abstract

Enabling Large Language Models (LLMs) to utilize search tools offers a promising path to overcoming fundamental limitations such as knowledge cutoffs and hallucinations. Recent work has explored reinforcement learning (RL) for training search-augmented agents that interleave reasoning and retrieval before answering. These approaches usually rely on outcome-based rewards (e.g., exact match accuracy), implicitly assuming that optimizing for final answers will also yield effective intermediate search behaviors. Our analysis challenges this assumption: we uncover multiple systematic deficiencies in search that arise under outcome-only training and ultimately degrade final answer quality, including failure to invoke tools, invalid queries, and redundant searches. To address these shortcomings, we introduce **DeSA** (**De**coupling **S**earch-and-**A**nswering), a simple two-stage training framework that explicitly separates search optimization from answer generation. In Stage 1, agents are trained to improve search effectiveness with a recall-based reward. In Stage 2, outcome rewards are employed to optimize final answer generation. Across a variety of QA benchmarks, **DeSA**-trained agents consistently improve search behaviors, delivering substantially higher search recall and answer accuracy than outcome-only baselines. Notably, DeSA outperforms single-stage training approaches that simultaneously optimize recall and outcome rewards, underscoring the necessity of explicitly decoupling the two objectives.
BibTeX
@misc{wang2025beyond,
  author = {Yiding Wang and Zhepei Wei and Xinyu Zhu and Yu Meng},
  title = {{Beyond Outcome Reward: Decoupling Search and Answering Improves LLM Agents}},
  year = {2025},
  eprint = {2510.04695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.04695},
}
Figure