Equation 7 · Naive, Graph, and Agentic: A Systems Comparison of RAG Architectures
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 gives an approximation: it relates the quantities while allowing an approximation. 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 p
p is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol y
y is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol z
z appears in the bound of this sum. The bound states where the repeated operation starts, ends, or which values it includes.
Symbol Z_k
appears in the bound of this sum. The bound states where the repeated operation starts, ends, or which values it includes.
Symbol p_eta
ta is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol p_θ
p_θ is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
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: z in Z_k(x)
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.
How to interpret it
Its accuracy depends on the assumptions and range of use described in the article.
What the article says around this equation
Start with the architecture that gives the pattern its name. A query is encoded, a retriever returns its top- k passages against a fixed index, and a generator conditions on those passages to produce one answer. No step revisits an earlier one. Lewis and colleagues’ original formulation makes the mechanism explicit: writing x for the query, y for the output, and z for a retrieved passage drawn from a top- k set , the model marginalises over that set, . with retriever parameters and generator parameters [ 1 ] . One retrieval call, one generation pass, and the entire system’s dependence on the corpus runs through that single set …
Read the full surrounding passage
Start with the architecture that gives the pattern its name. A query is encoded, a retriever returns its top- k passages against a fixed index, and a generator conditions on those passages to produce one answer. No step revisits an earlier one. Lewis and colleagues’ original formulation makes the mechanism explicit: writing x for the query, y for the output, and z for a retrieved passage drawn from a top- k set , the model marginalises over that set, . with retriever parameters and generator parameters [ 1 ] . One retrieval call, one generation pass, and the entire system’s dependence on the corpus runs through that single set .
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