Search-o1: Agentic Search-Enhanced Large Reasoning Models
Read first: ReAct: Synergizing Reasoning and Acting in Language Models · Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
TL;DR. Large reasoning models (LRMs) write very long chains of thought and often stall on missing facts. In QwQ-32B-Preview’s reasoning on hard problems, “perhaps” appears more than 30 times per output on average. Search-o1 handles this with prompting:
- The model writes a search query between special tags, and generation pauses.
- Bing returns 10 results, whose pages are fetched as text.
- A Reason-in-Documents call (the same model, prompted separately) condenses the pages into a short answer to that query.
- The condensed answer is inserted into the chain and reasoning resumes.
There is no training. The method improves on the same model with no retrieval, with standard RAG, and with raw agentic search across science QA, math, code and multi-hop QA.
Why it matters now. This is the bridge between prompted agents such as ReAct and RL-trained searchers such as Search-R1. It shows that a long-reasoning model can decide when and what to search in the middle of its thinking. It also shows that inserting raw documents hurts long reasoning, so what goes back into the chain matters as much as retrieval. Search-R1 and its successors keep the tagged-query format and replace prompting with reward.
Key idea
Section titled “Key idea”The agentic search loop. While generating, the LRM may write
<|begin_search_query|> q⁽ⁱ⁾ <|end_search_query|>.
Decoding stops at the end tag. The search tool returns documents from Bing (top 10, region US-EN), with page text fetched by Jina Reader.
Reason-in-Documents. Rather than inserting directly, the same LRM is called with a separate instruction. Its inputs are the reasoning so far , the query and the documents . It produces
That is, it first analyses the documents, then writes a short refined result. Only is inserted, between <|begin_search_result|> and <|end_search_result|>. The main chain then continues and may search again.
Batching. Many questions are generated together. All pending queries are searched in one batch, and all Reason-in-Documents calls run in another.
Settings. QwQ-32B-Preview, maximum 32,768 tokens, temperature 0.7, top_p 0.8, top_k 20, repetition penalty 1.05.
Baselines (same model).
- Direct reasoning: no retrieval.
- Standard RAG: top-10 documents for the question, inserted once before reasoning.
- RAgent: the model issues queries mid-reasoning and sees top-10 snippets. It can choose URLs to fetch in full, and the raw text goes into the chain.
A trace (illustrative, not from the paper).
... The sample retains 25% of its original carbon-14, so two half-lives have passed.Perhaps the half-life is 5,000 years, or 5,700? I should check before multiplying.<|begin_search_query|> carbon-14 half-life years <|end_search_query|> [pause: Bing top-10 -> pages fetched -> Reason-in-Documents reads them]<|begin_search_result|> The half-life of carbon-14 is about 5,730 years. <|end_search_result|>So the age is about 2 × 5,730 = 11,460 years. Now check the answer options ...The main chain never sees the raw pages. It sees one sentence of evidence that answers its own question.
What changed vs. prior work, and what didn’t.
| Standard RAG | ReAct / RAgent | Search-o1 | Search-R1 (later) | |
|---|---|---|---|---|
| When to search | once, before reasoning | mid-trajectory, LM decides | mid-reasoning, LRM decides | mid-reasoning, learned by RL |
| Query | the question | written by the LM | written by the LRM | written by the policy |
| What enters the context | raw top-k docs | raw results or pages | condensed result from a second call | raw retrieved passages |
| Base model | any LM | instruction LM | long-reasoning LRM | base or instruct LM, then RL |
| Training | none | none | none | RL with outcome reward |
Key results
Section titled “Key results”Reasoning benchmarks (Table 1, pass@1, QwQ-32B-Preview unless noted).
| Method | GPQA Phy | GPQA Chem | GPQA Bio | GPQA all | MATH500 | AMC23 | AIME24 | LCB Easy | LCB Med | LCB Hard | LCB all |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Qwen2.5-32B (no retrieval) | 57.0 | 33.3 | 52.6 | 45.5 | 75.8 | 57.5 | 23.3 | 42.3 | 18.9 | 14.3 | 22.3 |
| QwQ (no retrieval) | 75.6 | 39.8 | 68.4 | 58.1 | 83.2 | 82.5 | 53.3 | 61.5 | 29.7 | 20.4 | 33.0 |
| RAG-QwQ | 76.7 | 38.7 | 73.7 | 58.6 | 84.8 | 82.5 | 50.0 | 57.7 | 16.2 | 12.2 | 24.1 |
| RAgent-QwQ | 76.7 | 46.2 | 68.4 | 61.6 | 85.0 | 85.0 | 56.7 | 65.4 | 18.9 | 12.2 | 26.8 |
| Search-o1 | 77.9 | 47.3 | 78.9 | 63.6 | 86.4 | 85.0 | 56.7 | 57.7 | 32.4 | 20.4 | 33.0 |
- For reference, the paper lists reported o1-preview scores. o1-preview is far ahead on GPQA (73.3) and LiveCodeBench (53.6), but below Search-o1 on MATH500 (85.5) and AIME24 (44.6).
- Averaging caveat. The text says that across the five reasoning datasets Search-o1 beats RAgent by 4.7% and QwQ by 3.1% (relative). Recomputing from Table 1 gives about 4.7% over QwQ and 3.0% over RAgent. The two figures appear to be swapped.
GPQA extended set, 546 questions (Table 2).
- Search-o1 scores 57.9 overall: physics 68.7, chemistry 40.7, biology 69.5.
- QwQ scores 51.8 and RAG-QwQ 54.6.
- Human experts’ overall scores are 39.9 (physicists), 48.9 (chemists) and 37.2 (biologists). In their own field, experts score 57.9 (physics), 72.6 (chemistry) and 68.9 (biology).
Number of documents (Figure 3). On GPQA overall, Search-o1 improves as documents per search go from 1 to 10. Even with one document it beats direct reasoning and standard RAG with 10 documents.
Open-domain QA (Table 3, exact match).
| Method | NQ | TriviaQA | HotpotQA | 2Wiki | MuSiQue | Bamboogle |
|---|---|---|---|---|---|---|
| QwQ (no retrieval) | 23.0 | 53.8 | 25.4 | 34.4 | 9.0 | 38.4 |
| RAG-QwQ | 29.6 | 65.6 | 34.2 | 35.6 | 10.6 | 55.2 |
| RAgent-QwQ | 33.6 | 62.0 | 43.0 | 58.4 | 13.6 | 52.0 |
| Search-o1 | 34.0 | 63.4 | 45.2 | 58.0 | 16.6 | 56.0 |
- Single-hop: agentic search does not help on average (47.8 vs 47.6 for RAG), and standard RAG is best on TriviaQA.
- Multi-hop: agentic search gives a 23.2% relative EM gain over RAG. Search-o1 adds 5.3% relative over RAgent.
Limitations & open questions
Section titled “Limitations & open questions”- No training, so no learning from failure. Query quality and when to search depend entirely on QwQ’s prompted behaviour. The paper has no limitations section; Search-R1 and later work take up the training question.
- Extra calls. Every search adds a Reason-in-Documents generation over up to 10 fetched pages. The paper does not report tokens, calls or latency per question, so the accuracy–cost trade-off against RAgent is unknown.
- Live, commercial tools. Bing and Jina Reader results change over time, and leakage of benchmark answers on the web is not controlled. Fixed-corpus benchmarks such as BrowseComp-Plus address this.
- Mixed code results. On LiveCodeBench-Easy, Search-o1 falls from 61.5 to 57.7. Its overall code score only matches the no-retrieval model.
- Small test sets, single runs. AIME has 30 questions and AMC 40. At temperature 0.7, differences of one or two questions are within noise.
- Condensing can hide evidence. A summarisation step can drop the one sentence that matters. Neither the faithfulness of nor its recall of gold evidence is measured.
- Open question: should evidence condensation be a separate prompted step, a trained reader, or learned implicitly by an RL policy that reads raw passages?
Connections
Section titled “Connections”- Before: ReAct (interleaved thought, action and observation); RAG (the standard-RAG baseline); IRCoT (retrieval guided by reasoning sentences); WebGPT (web search with quoting rather than condensing).
- Reasoning models and test-time compute: test-time compute, s1.
- After: RL-trained searchers such as Search-R1 keep the tagged queries and add an outcome reward with GRPO or PPO. Deep-research perspective: deep research is a retrieval problem.
- Evaluation: BrowseComp-Plus (fixed corpus, reproducible retrieval), fixed vs live search, classic multi-hop QA.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
From Table 3, multi-hop exact match on HotpotQA / 2Wiki / MuSiQue / Bamboogle is 34.2 / 35.6 / 10.6 / 55.2 for RAG-QwQ, 43.0 / 58.4 / 13.6 / 52.0 for RAgent-QwQ, and 45.2 / 58.0 / 16.6 / 56.0 for Search-o1. Compute each average, then reproduce the paper's headline gains of 29.6% (Search-o1 over RAG), 5.3% (Search-o1 over RAgent) and 23.2% (RAgent over RAG). Are these absolute or relative, and what are the absolute gaps?
What a strong answer covers
- Averages: RAG-QwQ 135.6 / 4 = 33.9; RAgent-QwQ 167.0 / 4 = 41.75; Search-o1 175.8 / 4 = 43.95.
- Search-o1 over RAG: 10.05 / 33.9 ≈ 29.6%. Search-o1 over RAgent: 2.2 / 41.75 ≈ 5.3%. RAgent over RAG: 7.85 / 33.9 ≈ 23.2%.
- So all three are relative gains. In absolute EM points they are about 10.1, 2.2 and 7.9.
- Most of the gain over standard RAG comes from agentic search (7.9 points). Reason-in-Documents adds 2.2 points on average and is not uniform: Search-o1 is slightly below RAgent on 2Wiki (58.0 vs 58.4).
- With a few hundred questions per dataset and single runs, a 2-point average gap needs a significance test before it is trusted.
- Mechanism
RAgent and Search-o1 use the same model, the same search API and the same ability to issue queries mid-reasoning. The only difference is what enters the reasoning chain after a search. Explain the failure Reason-in-Documents is designed to fix, how it works, and why the effect is largest on LiveCodeBench (26.8 vs 33.0) and GPQA chemistry and biology.
What a strong answer covers
- RAgent inserts raw search results (snippets, then full pages the model chooses to fetch). Web pages are long and redundant, and inserting them breaks the coherence of a long chain of thought and adds noise.
- Reason-in-Documents calls the same LRM separately with the earlier reasoning, the current query and the fetched documents. It first analyses them, then writes a short refined result that is inserted between search-result tags.
- The main chain therefore sees only a short, query-focused statement, so it can continue reasoning without being diverted.
- On LiveCodeBench, raw retrieval hurts: standard RAG falls from 33.0 to 24.1 and RAgent reaches 26.8. Condensed results recover the no-retrieval score (33.0) and do better on medium problems (32.4 vs 29.7).
- GPQA chemistry and biology questions need specific facts the model lacks, so condensed, targeted evidence helps most there (biology 78.9 vs 68.4 for RAgent).
- What if…
The paper has no ablation table, but it gives three natural controls: standard RAG with top-10 documents for the question, RAgent (agentic search without Reason-in-Documents), and a scan over the number of documents per search (1 to 10, Figure 3). Explain what each control isolates, and what single additional experiment you would ask for.
What a strong answer covers
- Standard RAG vs no retrieval isolates retrieving once from the question. It helps on multi-hop QA but hurts on LiveCodeBench and AIME (53.3 to 50.0), where question-level retrieval adds noise.
- RAgent vs RAG isolates letting the model write queries mid-reasoning: +7.9 average EM on multi-hop QA, and no change on single-hop (47.8 vs 47.6).
- Search-o1 vs RAgent isolates Reason-in-Documents with everything else fixed.
- The document scan shows Search-o1 with a single document per search already beats direct reasoning and standard RAG with 10 documents on GPQA overall.
- Missing: the cost. Report tokens and model calls per question for each variant, since Reason-in-Documents adds an extra LM call per search; and repeat runs to measure variance at temperature 0.7.
- Critique
The paper states that Search-o1 outperforms human experts on the GPQA extended set (57.9 overall vs 39.9 for physicists, 48.9 for chemists and 37.2 for biologists). Argue what this comparison does and does not show, and list two reproducibility problems with the paper's setup.
What a strong answer covers
- The expert scores are for answering questions across all three fields. In their own field, experts beat or match Search-o1: chemists score 72.6 on chemistry vs 40.7 for Search-o1, which the paper calls trailing "slightly".
- Search-o1 beats experts on physics (68.7 vs 57.9) and biology (69.5 vs 68.9 by biologists), the latter a very small margin.
- The comparison shows breadth across fields, not expert-level depth. QwQ alone already reaches 51.8 overall.
- Reproducibility: Bing Web Search and Jina Reader are commercial, live services, so results drift over time and leakage of benchmark answers on the web is not controlled.
- Reproducibility: single runs at temperature 0.7 on small sets (AIME has 30 questions, so one question is 3.3 points; AMC has 40).
- Design
You want to reproduce Search-o1 on BrowseComp-Plus, which provides a fixed document corpus and gold evidence labels. Specify the retriever and fetch tools, how Reason-in-Documents is invoked, the budget, and the measurements that would show whether condensing documents helps the agent or just hides evidence.
What a strong answer covers
- Replace Bing and Jina with a local retriever (BM25 and a dense retriever) over the fixed corpus, returning top-k documents; fetch full text from the corpus, which makes runs reproducible.
- Keep the query and result tags; call Reason-in-Documents with the earlier reasoning, the query and the documents, and cap the condensed result length.
- Budget: maximum searches per question and a total token cap (the paper uses 32,768 generation tokens); force an answer when the budget runs out.
- Measure: accuracy, gold-evidence recall among retrieved documents, and whether gold evidence that was retrieved survives into the condensed result. The last one detects evidence hidden by summarisation.
- Compare against a RAgent-style raw insertion and against an RL-trained searcher at an equal number of LM calls.
- Connect
Search-o1 prompts a frozen reasoning model to emit queries between special tags; Search-R1, a few months later, trains a model with RL to do the same. List what Search-R1-style training adds, what it removes from Search-o1, and what problem Reason-in-Documents solves that RL training also has to face.
What a strong answer covers
- Adds: an outcome reward (exact match), a policy-gradient update (PPO or GRPO), and loss masking of retrieved tokens so the policy is not trained to generate evidence.
- Keeps: queries inside special tags, retrieval results inserted into the reasoning, multiple searches per question.
- Removes: the separate Reason-in-Documents call. Raw retrieved passages go straight into the context, and the policy must learn to read them.
- Shared problem: long or noisy retrieved text derails reasoning. RL can learn to ignore noise or issue better queries; Search-o1 handles it with a second prompting pass.
- Both build on ReAct's interleaving. The difference is who decides how to search: prompts and a strong reasoning model, or reward.