Equation 2 · From n-Grams to Reasoning Models: A Technical History of the Language Model
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 w_t
is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol w_1
is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol w_t-1
-1 is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol w_t-n+1
-n+1 is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
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.
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
The obvious implementation of the chain rule is to condition on everything. That is impossible, so the Markov approximation truncates the history to a window of fixed width: . Estimate each conditional by counting. This is the n-gram model, and it dominated applied language modelling for roughly three decades because it is cheap, transparent, and surprisingly hard to beat on enough data.
Sources cited in the article section
These citations give research context. Read each source to check which claims it supports.
Return to From n-Grams to Reasoning Models: A Technical History of the Language Model