PreprintCurated
BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigms
Pengyu Wang, Benfeng Xu, Shaohan Wang, Mingxuan Du, Xin Zeng, Huarui Wu, Lei Zhang, Licheng Zhang
29 July 2026
The comparison nobody runs
RAG paradigms are normally benchmarked against each other once, at one corpus
size, on different datasets. That makes the results impossible to reconcile and
very easy to over-read.
This study holds the questions, the reader model, the judging protocol and a
fixed bedrock of relevant and adversarial documents constant, and varies only
corpus size, across 28 strictly nested tiers spanning roughly 450-fold. That
design is the contribution. It turns "which RAG is best" into "which RAG is
best here".
The crossover
At the smallest shared tiers the File-System Agent leads. It also spends 39
times more query tokens at the bedrock, and its advantage erodes as the search
space grows.
Around 10 million corpus tokens, BM25 overtakes it and leads at every larger
shared tier, by a margin approaching 20 points at full scale. BM25 also sits on
the low-cost end of the Pareto frontier without any LLM-based construction
step, which means no index build to pay for and nothing to rebuild when the
corpus changes.
Dense retrieval stays efficient but less accurate throughout. Graph-based RAG
hits construction walls before reaching deployment scale, and the variants that
do scale remain below BM25 at the tiers where both can be measured.
Why this is not an argument against agents
The authors are not saying agentic retrieval is bad. They are saying it is in
the wrong position. Corpus growth favours global candidate ranking, and
agentic reasoning works best after ranked discovery rather than instead of it.
That is a pipeline shape, not a verdict on a component. Rank first, narrow the
search space cheaply, then let the agent reason over a shortlist it can
actually afford to read. The agent that explores the whole corpus sequentially
runs out of budget before it runs out of corpus.
What we take from it
Ask how big the corpus will be in eighteen months, not today. Under about 10
million tokens the answer changes. Build the lexical index first, because it is
close to free and it is the baseline every fancier approach has to beat. And
budget the agent's token spend as a first-class cost, because at 39 times the
query tokens the accuracy difference is not the expensive part.
Ejentic did not author this paper. Credit belongs to the authors named above; the note is ours.