← Back to article

Equation 8 · From n-Grams to Reasoning Models: A Technical History of the Language Model

What does this equation mean?

J(θ)=Ex∼D, y∼πθ(⋅∣x)[r(x,y)],\mathcal{J}(\theta) = \mathbb{E}_{x \sim \mathcal{D},\ y \sim \pi_\theta(\cdot \mid x)}\left[ r(x, y) \right],

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 operationsE_x sim D, y sim pi_θ( × mid x)[ r(x, y) ]
Result or conditionJ(θ)
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

J\mathcal{J}

Symbol J

J is computed from the expected values combined on the right.

Understand this part →

θ\theta

Symbol θ

θ is an argument of the function-like quantity on the left; its role is set by that function’s stated inputs.

Understand this part →

Ex∼D, y∼πθ(⋅∣x)\mathbb{E}_{x \sim \mathcal{D},\ y \sim \pi_\theta(\cdot \mid x)}

Symbol E_x sim D, y sim pi_θ( × mid x)

ExE_x sim D, y sim pi_θ( × mid x) appears inside an expected value, so its contribution is averaged under the distribution or condition shown by that operator.

Understand this part →

rr

Symbol r

r appears inside an expected value, so its contribution is averaged under the distribution or condition shown by that operator.

Understand this part →

xx

Symbol x

x appears inside an expected value, so its contribution is averaged under the distribution or condition shown by that operator.

Understand this part →

yy

Symbol y

y appears inside an expected value, so its contribution is averaged under the distribution or condition shown by that operator.

Understand this part →

=

=

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

Understand this part →

See an illustrated explanation →
multiplication

multiplication

Multiply the quantities on either side.

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

The synthesis was to stop prompting for deliberation and start training for it, using the fact that some answers can be checked automatically. Lambert and colleagues named the technique in the open literature as Reinforcement Learning with Verifiable Rewards, applied within an otherwise conventional post-training pipeline [ 22 ] . The objective is unusually simple: J(θ)=Ex∼D, y∼πθ(⋅∣x)[r(x,y)]\mathcal{J}(\theta) = \mathbb{E}_{x \sim \mathcal{D},\ y \sim \pi_\theta(\cdot \mid x)}\left[ r(x, y) \right]. where r is not a learned preference model but a program: a unit test that passes, a numerical answer that matches, a proof that checks. Because r is exact, it cannot be gamed the way a learned reward model can, though it is only available where correctness is mechanically decidable.

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 From n-Grams to Reasoning Models: A Technical History of the Language Model

See this formula across 1 published context →

Browse the mathematical compendium →