Skip to content

This is what agentic retrieval looks like

optionalcorefrontierblogrubric 10/122026 · Hornet blog (agentic-retrieval series, part 2) · ~15 min

Jo Kristian Bergum (Hornet)

Read first: Deep research is a retrieval problem

Status

TL;DR. Part 2 of Hornet’s agentic-retrieval series reads the public GPT-5 + BM25 BrowseComp-Plus trajectories end to end. It covers 830 questions and 19,279 search calls. A median question takes 24 calls (p90 35, max 63). The median query has 10 terms, which is past the 99th percentile of human queries in the AOL log (8 terms). GPT-5 puts phrases in quotes in 98% of sessions and reaches for site: in 48%. It writes like an expert web searcher, but into a search API that accepts a single string.

Why it matters now. Search infrastructure was tuned for humans. That covers inverted-index pruning for short queries, dense retrievers trained on fluent questions, search APIs with one text box, and benchmarks that score the original question once. Agents are now a different and much heavier user, so retrievers have to be evaluated on the queries agents actually write.

Agent queries versus human queries: length and operator use Left: query length in terms. Human queries from the AOL log have median 2, 90th percentile 5 and 99th percentile 8 terms. GPT-5 queries in BrowseComp-Plus with BM25 have median 10, 90th percentile 17, and first-turn queries average 19.1 terms. The agent median exceeds the human 99th percentile. Right: share of sessions using each operator at least once: phrase quotes 98 percent, a four-digit year 95 percent, more than one year 74 percent, and the site filter 48 percent. Per query the rates are 66, 46, 17 and 6 percent. Bottom: across a session, average query length falls from 19.1 terms on turn 1 to 12.5 on turn 2 and plateaus near 10. Query length (terms) human: AOL log, 36M queries · agent: GPT-5 + BM25, 19,279 calls human median 2 human p90 5 human p99 8 agent median 10 agent p90 17 agent turn 1 19.1 (mean) ↑ agent median is past the human p99 Operators: % of sessions (% of individual queries in brackets) "phrase" 98 (66) year 95 (46) 2+ years 74 (17) site: 48 (6) also: OR ranges, -negation, filetype:, site:*.org Query length by turn (mean terms) 19.1 12.5 plateau ≈ 10: broad first, then narrow t1 t2 … median session 24 calls, p90 35, max 63
Original sketch from the numbers reported in the post. Agent queries are 5× longer than the human median, use web-search operators in most sessions, and narrow as evidence accumulates.
MeasureHuman (AOL log)GPT-5 on BrowseComp-Plus
Median query length2 terms10 terms (mean 11.03, p90 17, max 78)
99th percentile8 terms(the agent median is already past it)
Search calls per question(not reported)median 24, p90 35, max 63
Phrase quotes(not reported)65.56% of queries, 98.19% of sessions
Four-digit years(not reported)45.60% of queries, 95.42% of sessions (73.61% use 2+)
site: filter(not reported)6.43% of queries, 48.07% of sessions

The trajectories also contain combinations humans rarely type: OR across a year range, wildcard subdomains (site:*.org), filetype: stacked with site: and phrases, and negation.

  • One agent, one retriever. The statistics come from GPT-5 + BM25 traces, and the queries are conditioned on BM25’s results. A different retriever would change what the agent sees and so what it asks next.
  • Usage is not usefulness. The traces show that GPT-5 uses operators, not that operators help on a fixed corpus whose backend may ignore them.
  • The human comparison mixes eras and tasks. The AOL log is from 2006 and covers everyday search, not riddle-like multi-hop questions. It is a workload contrast, not a matched baseline.
  • Vendor perspective. The series motivates Hornet’s retrieval engine. Its measurements come from public traces and can be reproduced.

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.

  1. Derive / compute

    A human query in the AOL log has a median of 2 terms and is issued once. On BrowseComp-Plus, GPT-5 + BM25 issues a median of 24 calls per question with a mean of 11.03 terms per query, and each call returns 5 snippets of at most 512 tokens. Per question, estimate the total query terms the backend must process relative to one human query, and the retrieved tokens fed back to the model. Then explain why WAND-style dynamic pruning makes the per-term cost worse than linear for these queries.

    What a strong answer covers
    • Terms: 24 × 11.03 ≈ 265 query terms per question, about 130× a single 2-term human query.
    • Retrieved text: up to 24 × 5 × 512 = 61,440 tokens per question returned into context.
    • WAND/BM-WAND skips documents whose score upper bound cannot enter the top k; with many terms of similar weight, few documents can be ruled out early, so pruning loses effectiveness (the series reports degradation past about 7 terms).
    • Calls in a session are sequential (each depends on the previous snippets), so per-call latency adds up rather than being hidden by parallelism.
  2. Mechanism

    Meng et al. (2602.21456) find that agent-issued queries favour lexical, learned-sparse and multi-vector retrievers over single-vector dense retrievers trained on MS MARCO and Natural Questions. Explain the mechanism at the level of what each representation can preserve from a query like a quoted title plus a year plus three entity names.

    What a strong answer covers
    • Training-distribution shift: dense retrievers learned from short fluent questions; long keyword lists with quotes and operators are out of distribution.
    • A single vector compresses all constraints into one point, so exact strings and years blur together; satisfying several independent constraints at once is hard for one vector (compare the LIMIT analysis of embedding dimension).
    • BM25 and learned sparse keep per-term matching, so a rare quoted name or year contributes its own weight; multi-vector late interaction keeps per-token matching too.
    • Quotes and operators carry no meaning to a dense encoder (or BM25) unless the backend parses them; the lexical models benefit because the content words themselves are the constraints.
  3. Critique

    The harness exposes search as one query string, so GPT-5's site:, filetype:, OR and negation operators may be silently ignored by the backend. Explain how silent operator failure can bias both the agent's behaviour and the conclusions drawn from the logged traces, and propose how to measure the effect.

    What a strong answer covers
    • The agent may believe it applied a constraint (a domain, an exclusion) that was never enforced, then reason over off-target snippets as if they satisfied it.
    • Negation like -football becomes a bag-of-words token in BM25 and may even promote the excluded term's documents.
    • Operator-usage statistics describe what the model learned from the web, not what helps on this corpus; the traces cannot show the operators are useful.
    • Measurement: parse and honour operators in one condition and strip them in another; compare session recall and accuracy, and count turns spent re-querying after a mismatch.
  4. What if…

    Average query length falls from 19.1 terms on turn 1 to 12.5 on turn 2 and plateaus near 10. Give two competing explanations for this narrowing and an ablation that separates them.

    What a strong answer covers
    • Evidence-driven narrowing: after early snippets reveal bridge entities, the agent issues short precise queries for them (as in the trace going from 26 to 8 to 3 terms).
    • Prompt/style prior: the first query restates the riddle-like question, and later queries are short by habit regardless of what was retrieved.
    • Ablation: replay the trajectory with turn-1 snippets replaced by random or empty results; if later queries stay short but lose the new entities, length is habit and content is evidence-driven.
    • Also compare query length conditioned on whether the previous call returned an evidence document.
  5. Design

    Design a retrieval backend and tool schema built for this workload rather than for human search: about 24 sequential calls per question, 10–19 term queries, frequent phrases, years and domain filters. Specify the index structures, the tool interface, and how you would validate that the design helps the agent rather than only the one-shot benchmark.

    What a strong answer covers
    • Index: positional postings for phrase matching, a structured date or year field, a domain/URL field, and a hybrid of lexical (or learned sparse) and dense or multi-vector scoring.
    • Interface: structured parameters (phrases, year range, include/exclude domains, k, snippet offset or "open document") instead of one string, with errors returned when a constraint cannot be honoured.
    • Latency budget per call matters because calls are sequential; long-query pruning and caching across a session help.
    • Validation: session-level recall and accuracy at fixed call and token budgets with the same agent, not only one-shot nDCG on the original questions.
  6. Research idea

    The GPT-5 + BM25 trajectories are public (830 questions, 19,279 calls). Propose a study that uses them to build a retrieval benchmark of agent queries, and state what result would show that the original-question benchmark is misleading.

    What a strong answer covers
    • Build query-level relevance labels by pairing each logged agent query with the evidence documents relevant to its sub-goal (judged by humans or a calibrated LLM assessor such as UMBRELA).
    • Compare retriever rankings on the original questions with rankings on logged agent queries.
    • Misleading if the system ranking flips (for example dense beats BM25 on questions but loses on agent queries), and the agent-query ranking predicts end-to-end accuracy better.
    • Control for policy dependence: queries logged with BM25 are conditioned on BM25 results, so collect logs under several retrievers or note the bias.

Done with this page?

Status