Equation 8 · What Actually Happens Between a Query and an Answer in RAG
What does this equation mean?
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.
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
Symbol d
d occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.
Symbol r
r occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.
Symbol R
R appears in the bound of this sum. The bound states where the repeated operation starts, ends, or which values it includes.
Symbol k
k occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.
=
The expressions on both sides represent the same quantity under the stated assumptions.
See an illustrated explanation →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.
Starting index or lower bound: r in R
This label says where the repeated addition, multiplication, or accumulation starts. Read its value or condition together with the article’s description of the index.
Denominator: k + r(d)
The complete quantity below the fraction bar; it must be nonzero for this division.
How to interpret it
With a fixed numerator, increasing a nonzero denominator reduces the fraction. Read it with the definitions, units, and assumptions supplied by the article.
What the article says around this equation
Reciprocal rank fusion avoids the currency problem by discarding scores altogether and combining rank positions instead. For a document d and a set of ranked result lists R , with r(d) the rank of d in a given list and a smoothing constant k : . Cormack, Clarke, and Buettcher introduced the method and reported that it consistently outperformed both the individual ranked lists and a Condorcet-style fusion baseline, with the specific virtue that it requires no score normalisation across systems with incompatible scoring functions [ 9 ] . That virtue is also its limitation: two documents ranked first in their respective lists count identically toward the fused score…
Read the full surrounding passage
Reciprocal rank fusion avoids the currency problem by discarding scores altogether and combining rank positions instead. For a document d and a set of ranked result lists R , with r(d) the rank of d in a given list and a smoothing constant k : . Cormack, Clarke, and Buettcher introduced the method and reported that it consistently outperformed both the individual ranked lists and a Condorcet-style fusion baseline, with the specific virtue that it requires no score normalisation across systems with incompatible scoring functions [ 9 ] . That virtue is also its limitation: two documents ranked first in their respective lists count identically toward the fused score regardless of how much more confidently one system ranked its top result than the other, because rank position is all the method sees.
Sources cited in the surrounding passage
These citations give research context. Read each source to check which claims it supports.
Return to What Actually Happens Between a Query and an Answer in RAG