BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigms

Hugging Face Daily Papers Papers

Summary

A controlled scaling study of retrieval-augmented generation paradigms finds that BM25 lexical retrieval outperforms agentic and graph-based retrieval at scale, while agentic search only leads on small corpora.

Retrieval-augmented generation (RAG) spans lexical and dense retrieval, graph-based indexing, and agentic search, but these paradigms are usually evaluated on different benchmarks at one corpus size, leaving their accuracy-cost scaling unclear. To bridge this gap, we present a controlled study that varies corpus size along 28 strictly nested tiers spanning roughly 450-fold, while holding questions and a fixed bedrock of relevant and adversarial documents unchanged. Under one reader model and one judging protocol, we measure official accuracy, construction and query tokens, and latency. The results reveal a scale-dependent crossover rather than an unconditional winner. File-System Agent leads at the smallest shared tiers, but its sequential exploration costs 39 times more query tokens at the bedrock and becomes less effective as the search space grows. Around 10 million corpus tokens, BM25 overtakes it and leads at every larger shared tier, with a margin approaching 20 points at full scale. BM25 also anchors the low-cost end of the Pareto frontier without LLM-based construction. Dense retrieval remains efficient but less accurate, whereas graph-based RAG encounters construction walls before deployment scale and its scalable variants remain below BM25 at shared tiers. Overall, corpus growth increasingly favors global candidate ranking: lexical retrieval is the strongest scalable default, while agentic reasoning works best after ranked discovery rather than in place of it.
Original Article
View Cached Full Text

Cached at: 07/31/26, 05:53 AM

Paper page - BM25 Wins at Scale: A Scaling Study of Retrieval-Augmented Generation Paradigms

Source: https://huggingface.co/papers/2607.26497

Abstract

Retrieval-augmentedgeneration(RAG)spanslexicalanddenseretrieval,graph-basedindexing,andagenticsearch,buttheseparadigmsareusuallyevaluatedondifferentbenchmarksatonecorpussize,leavingtheiraccuracy-costscalingunclear.Tobridgethisgap,wepresentacontrolledstudythatvariescorpussizealong28strictlynestedtiersspanningroughly450-fold,whileholdingquestionsandafixedbedrockofrelevantandadversarialdocumentsunchanged.Underonereadermodelandonejudgingprotocol,wemeasureofficialaccuracy,constructionandquerytokens,andlatency.Theresultsrevealascale-dependentcrossoverratherthananunconditionalwinner.File-SystemAgentleadsatthesmallestsharedtiers,butitssequentialexplorationcosts39timesmorequerytokensatthebedrockandbecomeslesseffectiveasthesearchspacegrows.Around10millioncorpustokens,BM25overtakesitandleadsateverylargersharedtier,withamarginapproaching20pointsatfullscale.BM25alsoanchorsthelow-costendoftheParetofrontierwithoutLLM-basedconstruction.Denseretrievalremainsefficientbutlessaccurate,whereasgraph-basedRAGencountersconstructionwallsbeforedeploymentscaleanditsscalablevariantsremainbelowBM25atsharedtiers.Overall,corpusgrowthincreasinglyfavorsglobalcandidateranking:lexicalretrievalisthestrongestscalabledefault,whileagenticreasoningworksbestafterrankeddiscoveryratherthaninplaceofit.

View arXiv pageView PDFAdd to collection

Get this paper in your agent:

hf papers read 2607\.26497

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2607.26497 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2607.26497 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2607.26497 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

SkillSeek: Revisiting Agent Skill Retrieval at Marketplace Scale

Hugging Face Daily Papers

AACL-IJCNLP 2026 Findings paper showing that classic lexical retrieval (BM25 plus a small cross-encoder) matches or beats agentic skill retrieval on agent skill selection across 3 of 4 settings, at roughly half the cost, arguing agentic retrieval should be the fallback rather than the default.