AdaSearch: Balancing Parametric Knowledge and Search in Large Language Models via Reinforcement Learning
Equipping large language models (LLMs) with search engines via reinforcement learning (RL) promises effective search agents. However, adaptively balancing internal parametric knowledge with external search remains a challenge, as overreliance on search introduces unnecessary cost and risks exposure to noisy or malicious content, while relying solely on parametric knowledge risks hallucination. Prior efforts mitigate search overuse through toolcall reward shaping, which requires heavy reward engineering and conflates necessary and unnecessary search. To address these limitations, we revisit the evaluation of search agents through an F1-based decision metric, revealing that prior methods often overlook readily available parametric knowledge. Motivated by this, we propose AdaSearch, a simple twostage, outcome-driven RL framework that disentangles problem-solving from the decision to search, making the decision process explicit and interpretable. Extensive experiments demonstrate that AdaSearch significantly improves search-decision quality and reduces unnecessary search calls, with only a small tradeoff in QA accuracy relative to always-search.1
Introduction. Large language models (LLMs) have achieved significant advances across various tasks (Brown et al., 2020; Hendrycks et al., 2021; Team et al., 2023; Touvron et al., 2023; Wei et al., 2022; Guo et al., 2025). Yet they face inherent limitations: parametric knowledge alone cannot fully capture domainspecific (Lewis et al., 2020; Yang et al., 2024) or rapidly evolving information (Kasai et al., 2023; Vu et al., 2024), and models may hallucinate when queried beyond their knowledge boundary (Ji et al., 2023; Xu et al., 2024b; Huang et al., 2025a; Kalai et al., 2025). To overcome these challenges, integrating LLMs with external knowledge sources has • We propose AdaSearch, a simple yet effective RL framework that explicitly optimizes both problem solving and decision making to build adaptive search agents. • AdaSearch eliminates the need for complex reward engineering, outperforms rewardshaping methods in both QA performance and search-decision F1, and reduces unnecessary search relative to Search-R1, with consistent gains across model sizes and families. • AdaSearch improves interpretability and safety, enhancing the trustworthiness of agents in real-world scenarios. (Appendix C)
Related work. Early work has primarily focused on retrievalaugmented generation (RAG) (Lewis et al., 2020; Borgeaud et al., 2022), which searches for relevant passages and appends them to the context before generation (Shuster et al., 2021; Ram et al., 2023; Jiang et al., 2023; Asai et al., 2024; Wei et al., 2025). However, the relatively static pipeline of RAG overlooks the model’s reasoning process, yielding suboptimal results (Trivedi et al., 2023). Moreover, enabling dynamic multi-turn search is challenging due to the requirement of large-scale annotated trajectories and the non-differentiable nature of the search operation (Schick et al., 2023; Asai et al., 2024; Guan et al., 2026). To address these limitations, treating search as a tool and training tool-integrated LLMs via reinforcement learning (RL) has emerged as a promising paradigm (Chen et al., 2025; Jin et al., 2025; Fan et al., 2025; Xiao et al., 2026). In such settings, models are trained to act as search agents, interleaving reasoning with search in a multi-turn, interactive fashion. This allows LLMs to issue queries adaptively and integrate retrieved information into their reasoning, outperforming prior promptingbased and supervised approaches. Nevertheless, building search agents that are truly adaptive remains challenging (Jeong et al., 2024; Qian et al., 2025; Xie et al., 2026). Ideally, a search agent should balance parametric knowledge and invoke search only when necessary. Excessive search calls compromise efficiency, safety, and privacy by increasing costs, exposing agents to noisy or malicious content, and risking sensitive data leaks (Franklin et al., 2026). Prior attempts (Huang et al., 2025b; Wang et al., 2025; Song et al., 2025b,c) mitigate over-search by tying rewards and evaluation to search-call counts. However, reward shaping around search-call counts requires careful engineering (Table 4), often involving extensive manual tuning and trial-and-error to determine suitable penalties for redundant search. Furthermore, reward credit assignment (Pignatelli et al., 2023) remains ambiguous: agents may superficially avoid search even when necessary to exploit rewards. Consequently, using call counts as a metric conflates necessary and redundant calls, obscuring true adaptive behavior. Beyond efficiency, a key limitation of prior frameworks is the lack of transparency and interpretability in the decision to invoke search. Since existing methods provide no direct supervision for this decision, the reasoning behind “Should I search?" remains implicit and difficult for users to interpret.
Method. At inference time, the model first decides whether the question can be solved using its own knowledge via reasoning; if so, the model answers the question directly, otherwise search calls will be invoked as part of the model’s reasoning process (Figure 3). Unlike prior approaches that depend on brittle reward engineering, AdaSearch simply leverages task outcomes as rewards with a training framework that provides clearer learning signals, avoids the pitfalls of ambiguous tool-count penalties, and improves search invocation decision-making through explicit reasoning (Figure 1). Experiments using our finegrained search-decision F1 metric demonstrate that AdaSearch achieves the best search-decision quality across all baselines. Compared with the alwayssearch Search-R1, AdaSearch substantially reduces unnecessary search calls (Figure 6d) while incurring only a small decrease in QA performance. Compared with adaptive reward-shaping baselines, it achieves both higher QA performance and better search-decision quality (Figure 2). In summary, our contributions are three-fold:
We introduce AdaSearch, illustrated in Figure 3. The key idea is to achieve adaptivity without complex reward engineering by disentangling problem solving from the decision of whether to invoke search. Separating these sub-tasks and optimizing them independently enables training policy LLM with simple outcome-based rewards. In this section, we first present the problem formulation (Sec. 4.1), and then describe the AdaSearch framework (Sec. 4.2). Our main approach is a two-stage training framework, where the first stage targets problem solving and the second stage focuses on decision making. Finally, we conclude with the inference pipeline of AdaSearch (Sec. 4.3).
4.2 AdaSearch Training Our training procedure is summarized in Algorithm 1. Concretely, it consists of two stages: the first stage aims to incentivize problem solving, while the second stage focuses on optimizing decision-making of search invocation.
Stage 2: Decision making. Stage 2 aims to incentivize search invocation decisions. Before training, we use the stage 1 policy πθ1 and the parametric-knowledge prompt sparam to generate labels. For each training instance (x, y), we sample K responses from πθ1 and compute the solve rate p using substring exact match (SubEM), which checks whether any gold answer is a substring of the extracted answer after normalization:
We adopt a two-stage inference pipeline (Fig. 3). In stage 1, the model is prompted with the system instruction sdecision to decide whether it can answer the query using self-knowledge through explicit reasoning. In stage 2, the model receives the corresponding problem-solving instruction: if it decides it can answer with self-knowledge, use sparam; otherwise, use ssearch. Note that stage-1 history is not prepended in stage 2.
Discussion. Two-stage training vs joint optimization. To validate the benefit of two-stage training over joint optimization, we implement an end-to-end variant, AdaSearch-E2E, which jointly optimizes problem solving and search invocation decision-making. This design enables on-the-fly label generation for search decisions by using the empirical solve rate of parametric knowledge at each step to produce labels. Further details are provided in Appendix E. As shown in Figure 3. AdaSearch-E2E consistently underperforms AdaSearch, suggesting that the two-stage approach is more effective.
RL vs SFT in stage-2 training. A common approach for teaching models to express uncertainty is supervised fine-tuning (SFT) (Lin et al., 2022; Zhang et al., 2024). In stage 2, we implement an SFT variant, AdaSearch-SFT. After computing solve rates (Sec. 4.2), we directly construct target responses: “<assessment>yes</assessment>" when p ≥0.5, and “<assessment>no</assessment>" otherwise. Details are provided in Appendix B. The results are shown in Table 3. While AdaSearch-SFT improves F1dec over Search-R1 and achieves slightly higher EM on Qwen, it still underperforms AdaSearch on Llama across both metrics. The larger F1dec gap on MuSiQue and Bamboogle highlights that reasoning-beforeassessment is crucial for OOD generalization.
Conclusion. In this work, we analyze existing search agents and find that they struggle to recognize the limits of their parametric knowledge, leading to excessive search. Motivated by this observation, we propose AdaSearch, a simple two-stage, outcomedriven RL framework that improves search invocation decisions without complex reward engineering. Across different models, AdaSearch makes the most reliable search decisions, reduces unnecessary search calls, and provides more transparent and interpretable rationales for when to search, while incurring only minimal drops in QA accuracy. These results demonstrate the effectiveness and generalizability of AdaSearch for building adaptive and trustworthy search agents.
Limitations. Despite the advances demonstrated by our method, several limitations remain to be addressed in future research. First, due to computational constraints, we only evaluated models up to 7B parameters. Future research should investigate whether our findings scale to larger architectures (e.g., 14B, 32B). Second, because the search-decision labels are derived from the Stage-1 model’s empirical solve rate, they inevitably contain sampling-based noise. Increasing the number of samples K provides a more reliable estimate of the solve rate and empirically improves both F1dec and EM, as shown in Figure 6a. However, we do not provide a formal theoretical analysis of how this noise affects Stage-2 training, which we leave as an important direction for future work. Third, although our approach reduces safety risks by reducing unnecessary search interactions (Appendix C.2), it does not eliminate them entirely. Combining AdaSearch with safety alignment techniques remains an important future direction. Finally, despite achieving superior F1dec, the model still makes some errors in search invocation decisions (see Appendix G.3, G.4). Improving decision quality through fine-grained uncertainty quantification beyond binary outputs is a key area for further development.
Lines of inquiry this paper opens 24
Research framings built by reading the notes related to this paper — the questions it feeds into.
How do AI search overviews affect publisher traffic and source discovery?- Do relevance models optimized for humans also work well for AI agents?
- What ranking signals matter when machines consume search results instead of humans?
- Can uncertainty warnings reduce overconfidence in AI search results?
- Why do AI search tools rarely admit when they cannot locate information?
- Can end-to-end training weaken learning signals when combining distinct decision tasks?
- Does this difficulty-filtering mechanism generalize beyond vision tasks to language models?
- Do hybrid skills from joint training generalize to tasks outside the original benchmarks?
- How does per-step retrieval versus parametric knowledge switching differ from per-query decisions?
- Does memorized knowledge outperform real-world retrieval on knowledge-intensive search tasks?
- Does parallel retrieval outperform sequential search chains at test time?
- How can per-step decisions about knowledge retrieval improve reasoning over uniform policies?
- What makes proactive tool retrieval better than single-round semantic matching?
- Does full conversation history improve or degrade multi-turn retrieval accuracy?
- How does hierarchical query planning versus flat prompting affect multi-source retrieval?