← Back to article

Equation 13 · Ten Failure Modes That Define Production RAG

What does this equation mean?

keff=k−d,k_{\text{eff}} = k - d,

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.

Inputs and operationsk - d
Result or conditionk_eff
How to read the two sides of this formula. Follow the article passage for the meaning of each quantity.

This equation states an equality: the expressions on both sides have the same value under the article’s assumptions. 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

keffk_{\text{eff}}

Symbol k_eff

kek_eff is part of the quantity the equation computes from the expression on the right.

Understand this part →

kk

Symbol k

the number of retrieved slots.

Understand this part →

dd

Symbol d

d is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

=

=

The expressions on both sides represent the same quantity under the stated assumptions.

Understand this part →

See an illustrated explanation →
subtraction

subtraction

Subtract the following term or group from the preceding one. A leading minus marks a negative quantity.

Understand this part →

subscript

subscript

The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.

Understand this part →

How to interpret it

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

What the article says around this equation

Real corpora are full of near-duplicates: a press release syndicated across a dozen outlets, a policy document copied into three different wikis, boilerplate repeated at the top of every ticket in a queue. A ranking function that scores by similarity to the query has no reason to penalise duplication, so a query that matches one instance of a widely republished passage tends to match all of them, and a naive top- k selection can fill a majority of its slots with restatements of a single fact rather than covering the breadth of what is actually in the corpus. If d of the k retrieved slots are occupied by near-duplicates of an already-retrieved passage, the effective evidence budget is not k…
Read the full surrounding passage
Real corpora are full of near-duplicates: a press release syndicated across a dozen outlets, a policy document copied into three different wikis, boilerplate repeated at the top of every ticket in a queue. A ranking function that scores by similarity to the query has no reason to penalise duplication, so a query that matches one instance of a widely republished passage tends to match all of them, and a naive top- k selection can fill a majority of its slots with restatements of a single fact rather than covering the breadth of what is actually in the corpus. If d of the k retrieved slots are occupied by near-duplicates of an already-retrieved passage, the effective evidence budget is not k but keff=k−dk_{\text{eff}} = k - d. and d grows with corpus redundancy in a way that is invisible to any retrieval metric computed against a deduplicated relevance-judgement set, which is how most benchmarks are built. Schelpe’s recent empirical analysis, released as a preprint and not yet peer reviewed, measured exact-duplication rates across three regimes and found them to vary enormously by domain — under one percent in academic retrieval corpora, roughly a quarter of retrieved content in an enterprise document setting, and above four-fifths of retrieved content in a conversational-agent setting — while finding, across evaluation with several large language model providers, that removing exact duplicates before generation produced no measurable quality regression [ 12 ] . Read as a preliminary but suggestive result rather than a settled finding, it argues that deduplication is close to a free win precisely because the redundant slots were never doing any work.

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 Ten Failure Modes That Define Production RAG

See this formula across 1 published context →

Browse the mathematical compendium →