Practical technical guides / Recent development: arXiv 2611.25582v1 AutoRAGBench (submitted 19 November 2026)

AutoRAGBench, 19 November 2026: Agent-Built Retrieval Scores Higher but Retrieves Slower, So Report Seconds per Point

AutoRAGBench, 19 November 2026: every agent-built retriever was slower than the reference. The top step cost 222 ms per point; keep checkpoints on fresh questions.

By Sandeep Belgavi · Published 2026-11-20

AutoRAGBench, 19 November 2026: every agent-built retriever was slower than the reference. The top step cost 222 ms per point; keep checkpoints on fresh questions.

What the benchmark measured

AutoRAGBench, posted to arXiv on 19 November 2026 (2611.25582v1), asks a question many teams are now asking in practice: if you hand a coding agent a dataset, a corpus and a time budget, can it build a retrieval-augmented generation system that beats one built by people? The benchmark has nine RAG development tasks, including NQ, HotpotQA, MuSiQue, PubMedQA, QASPER, FEVER, WebQSP and CWQ. For each task an agent starts from an empty code space, with no starter code or prescribed strategy, and has six hours on a single H800 GPU. The paper evaluates nine agent configurations, each a model paired with a coding harness.

The system each agent builds exposes one endpoint that returns ordered passages for a question. Five held-out answering models, which the service cannot reach, then answer from those passages, and the score is the primary task metric averaged over the five. A gateway limits each question to at most four calls to a small helper model (Qwen3.5-4B) and 32,000 tokens within 60 seconds.

This guide looks at two findings that matter to anyone letting an agent build or tune a retrieval pipeline: the latency cost of the extra accuracy, and how the agents chose which version of their own work to keep.

The headline result

GPT-6.1 Sol with the Codex CLI harness scored the highest nine-task average, 56.08. The reference RAG system scored 46.42, so the best agent-built system was about 9.7 points ahead. A composite of human state-of-the-art systems averaged 44.43, and naive BM25 retrieval 36.66. Not every configuration beat the reference: two of the nine scored slightly below it.

The paper reports the score of the system frozen at the six-hour mark, not the best version an agent produced along the way. Agents had to restore an earlier version themselves if they preferred it.

Every agent-built system retrieves more slowly

Section VI-C of the paper measures mean retrieval latency, from receiving the question to returning evidence, including query rewriting, multi-step retrieval, reranking and the model calls these need, and excluding final answer generation. Every agent-built system was slower than the reference. Their means ranged from 0.50 to 2.01 seconds per question, 1.4 to 5.8 times the reference system's 0.35 seconds; naive BM25 took 0.10 seconds.

The paper identifies a Pareto frontier of systems that no other system beats on both score and latency: naive BM25, the reference system, Gemini 3.8 Flash with OpenCode, and the three Sol configurations with Codex CLI. It then states the cost of each step along it. The companion example reproduces those steps from Table II and the stated latencies and turns them into milliseconds of retrieval latency per point of score:

Step along the frontierPoints gainedSeconds addedMilliseconds per point
Naive BM25 to Reference RAG9.760.2525.6
Reference RAG to Gemini 3.8 Flash1.900.1578.9
Gemini 3.8 Flash to GPT-5.6 Sol2.890.2896.9
GPT-5.6 Sol to GPT-6 Sol2.890.013.5
GPT-6 Sol to GPT-6.1 Sol1.980.44222.2

Three of the latencies in the example are derived rather than stated (Gemini 3.8 Flash as 0.35 plus about 0.15 seconds, and two off-frontier systems from the ratios the paper gives), and the example marks them so. The pattern is the paper's own: the final step, to the top-scoring system, is the most expensive per point on the frontier. Five configurations sit off the frontier entirely; for each, at least one other system is both faster and more accurate.

Report seconds per point, not just the score

A leaderboard that ranks only by score hides the decision teams actually face. If retrieval must return within a fixed budget, the right system changes with the budget:

Retrieval latency budgetBest system on these numbers
0.40 sReference RAG
0.60 sGemini 3.8 Flash
1.00 sGPT-6 Sol
1.50 sGPT-6.1 Sol

At one second, the top-scoring system does not fit and the second-best does, two points lower. For an interactive help desk, where retrieval is only one hop before the answering model, that may be the better system. Reporting the marginal cost per point next to the score makes the tradeoff visible.

def steps(systems, names):
    out = []
    for a, b in zip(names, names[1:]):
        ds, dl = systems[b][0] - systems[a][0], systems[b][1] - systems[a][1]
        out.append({'from': a, 'to': b, 'points': round(ds, 2), 'seconds': round(dl, 2),
                    'ms_per_point': round(1000 * dl / ds, 1)})
    return out

Agents kept improving, then sometimes made it worse

The second finding concerns how agents managed their own iterations. Across 77 builds with comparable development scores, 72 improved on their first version by at least a point at some stage, and the median gain from first to last version was 5.5 points. The median time to the first peak was 4.0 hours into the six-hour budget. But 20 builds ended at least one point below their best development score; 46 ended at their peak.

More striking is what the development score was measuring. GPT-5.6 Luna had the largest median net gain on its own development questions, 10.0 points, yet ranked tenth on the hidden tests. It ran 85 percent of its self-checks on the full development file, compared with at most 29 percent for any other configuration. Around hour three on NQ, it scored 53.0 on 100 questions it had tested repeatedly and 35.0 on 100 questions it had not checked before, in the same check. Across 27 builds with enough data, the median gap in favour of previously checked questions was 2.3 points. The authors are careful here: other configurations, scored on the same two groups of questions, also did 3.3 points better on the first group, which suggests question difficulty explains part of the gap.

Choose checkpoints on questions the builder never saw

The practical lesson does not depend on the exact size of the effect. When an agent (or a person) tunes a pipeline against a fixed set of questions and looks at the scores after every change, that set stops being an unbiased estimate. Choosing which checkpoint to keep by that set favours checkpoints tuned to it.

The companion example's second part is a synthetic six-hour build in which true quality peaks at hour four and then slips, while the score on repeatedly checked questions keeps drifting up:

Selection ruleCheckpoint chosenTrue score
Keep whatever exists at the deadlinehour 6.049.86
Best on repeatedly checked questionshour 5.551.11
Best on fresh questions never used for tuninghour 3.552.69
Oracle (true best)hour 4.053.73

The numbers are synthetic; the shape is what to take away. Hold out a set the builder never sees, score every checkpoint on it, and keep the best one explicitly rather than trusting the last.

Failure modes when agents build retrieval

  • Unbounded latency growth. Each agent iteration that adds a rewrite step or a reranker pays in latency, and nothing pushes back unless latency is in the objective.
  • Overfitting the development set. Frequent self-checks on the same questions inflate the score the agent optimizes.
  • Shipping the last version. Without an explicit restore step, a late regression becomes the release.
  • Comparing against the wrong baseline. Two of the nine configurations scored below a well-built reference system; an agent is not automatically an improvement.

How to apply this

Put a latency budget in the brief you give a building agent, and make it part of its evaluation. Keep a held-out question set the agent cannot read, and evaluate every saved checkpoint on it. Report score, mean and tail retrieval latency, and the milliseconds per point against your current system. The benchmark itself reports means; for production, measure tails too.

Running the companion code

cd examples/python/rag_build_latency_per_point
python example.py
python -m unittest -v test_example.py

The example copies scores from Table II and latencies from Section VI-C of the paper; it does not re-run the benchmark. The checkpoint part is synthetic and seeded.

Primary references and authorship

Sources dated on or before 20 November 2026. Original explanation and synthetic examples by Sandeep Belgavi. Companion code: Sandeep-BA/agent-decision-lab/examples/python/rag_build_latency_per_point. Views are my own and do not represent any employer, past or present.