← Back to article

Equation 13 · Naive, Graph, and Agentic: A Systems Comparison of RAG Architectures

What does this equation mean?

kk

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

the smoothing constant. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

kk

Symbol k

the smoothing constant.

Understand this part →

How to interpret it

Read this expression with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

The two retrievers fail in different directions, which is the entire justification for running both. Lexical retrieval, the BM25 family, scores documents by term overlap and fails on vocabulary mismatch: a query about “cannot log in” scores nothing against a document that says “authentication failure”. Dense retrieval, the family Karpukhin and colleagues established with a dual-encoder trained on question-passage pairs, embeds query and passage into a shared vector space and fails on precision, losing rare identifiers — part numbers, version strings, error codes — that carry little weight in a learned embedding but enormous discriminative value lexically; their dense retriever nonetheless…
Read the full surrounding passage
The two retrievers fail in different directions, which is the entire justification for running both. Lexical retrieval, the BM25 family, scores documents by term overlap and fails on vocabulary mismatch: a query about “cannot log in” scores nothing against a document that says “authentication failure”. Dense retrieval, the family Karpukhin and colleagues established with a dual-encoder trained on question-passage pairs, embeds query and passage into a shared vector space and fails on precision, losing rare identifiers — part numbers, version strings, error codes — that carry little weight in a learned embedding but enormous discriminative value lexically; their dense retriever nonetheless reported nine to nineteen percentage points of absolute improvement in top-20 retrieval accuracy over a BM25 baseline on open-domain question answering, evidence that neither family dominates the other in general [ 2 ] . Fusing the two recovers most of each one’s strength. Reciprocal rank fusion, which Cormack and colleagues introduced and showed outperforming both individual rankers and a Condorcet-style combination, ignores raw scores entirely and combines rank positions across retrievers R with a smoothing constant k ,

Read the equation in its article →

Sources cited in the surrounding passage

These citations give research context. Read each source to check which claims it supports.

Return to Naive, Graph, and Agentic: A Systems Comparison of RAG Architectures

Browse the mathematical compendium →