Equation 6 · Retrieval Is an Evidence System, Not a Memory
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 appears in the conditional probability being evaluated. The vertical bar identifies the information or condition supplied to that probability.
Symbol y
y appears in the bound of this product. The bound states where the repeated operation starts, ends, or which values it includes.
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 appears in the conditional probability being evaluated. The vertical bar identifies the information or condition supplied to that probability.
Symbol i
i appears in the bound of this product. The bound states where the repeated operation starts, ends, or which values it includes.
Symbol p_θ
p_θ is one of the signed contributions combined to compute the quantity on the left.
Symbol y_i
is one of the signed contributions combined to compute the quantity on the left.
Symbol y_1:i-1
:i-1 is one of the signed contributions combined to compute the quantity on the left.
=
The expressions on both sides represent the same quantity under the stated assumptions.
See an illustrated explanation →subtraction
Subtract the following term or group from the preceding one. A leading minus marks a negative quantity.
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.
superscript
A raised number can be a power. When it is a label or bound, it selects a case or the upper limit of a sum; the formula’s structure distinguishes these uses.
See an illustrated explanation →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.
Starting index or lower bound: i=1
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.
Ending index or upper bound: |y|
This label says where the repeated addition, multiplication, or accumulation stops. It sets the last term or end of the range.
How to interpret it
Its accuracy depends on the assumptions and range of use described in the article. Read it with the definitions, units, and assumptions supplied by the article.
What the article says around this equation
The retrieval literature said the opposite. Lewis and colleagues introduced RAG explicitly as a combination of parametric and non-parametric memory, and the architectural point is that the second is a different kind of object, not an extension of the first [ 1 ] . Their formulation treats the retrieved passage as a latent variable to be marginalised over. Writing x for the query, y for the output, and for the top k passages returned by a retriever with parameters : . Read the structure rather than the arithmetic. The generator is never conditioned on the corpus. It is conditioned on z — one span, or a handful — and its output distribution is a…
Read the full surrounding passage
The retrieval literature said the opposite. Lewis and colleagues introduced RAG explicitly as a combination of parametric and non-parametric memory, and the architectural point is that the second is a different kind of object, not an extension of the first [ 1 ] . Their formulation treats the retrieved passage as a latent variable to be marginalised over. Writing x for the query, y for the output, and for the top k passages returned by a retriever with parameters : . Read the structure rather than the arithmetic. The generator is never conditioned on the corpus. It is conditioned on z — one span, or a handful — and its output distribution is a weighted account of what those spans support. Everything outside has probability zero of influencing the answer, and the system has no representation of what it excluded. REALM made the same commitment on the training side, learning a latent retriever end-to-end so that the model attends over documents drawn from a corpus at pretraining, fine-tuning and inference time, and reporting 4–16% absolute gains on open-domain question answering over prior methods [ 2 ] .
Sources cited in the surrounding passage
- [1] Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks ↗
- [2] REALM: Retrieval-Augmented Language Model Pre-Training ↗
These citations give research context. Read each source to check which claims it supports.
Return to Retrieval Is an Evidence System, Not a Memory