← Back to article

Equation 5 · The Main Technical Approaches to AI Alignment, Compared

What does this equation mean?

PAI(yA≻yB∣x,C)=σ(rψ(x,yA,C)−rψ(x,yB,C)),P_{\mathrm{AI}}(y_A \succ y_B \mid x, C) = \sigma\big(r_\psi(x,y_A,C) - r_\psi(x,y_B,C)\big),

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 operationsσbig(r_psi(x,y_A,C) - r_psi(x,y_B,C)big)
Result or conditionP_AI(y_A succ y_B mid x, C)
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

PAIP_{\mathrm{AI}}

Symbol P_AI

PAP_AI is part of the quantity the equation computes from the expression on the right.

Understand this part →

yAy_A

Symbol y_A

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

Understand this part →

yBy_B

Symbol y_B

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

Understand this part →

xx

Symbol x

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

Understand this part →

CC

Symbol C

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

Understand this part →

σ\sigma

Symbol σ

σ is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

rψr_\psi

Symbol r_psi

rpr_psi is one of the signed contributions combined to compute the quantity on the left.

Understand this part →

=

=

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

Understand this part →

See an illustrated explanation →
subtraction

subtraction

Subtract the following term or group from the preceding one. A leading minus marks a negative quantity.

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

Constitutional AI keeps RLHF’s reward-model-and-KL-penalty backbone intact and changes where the comparison labels come from. Bai and colleagues describe a two-phase method: a supervised phase in which the model critiques and revises its own responses against a written set of principles, and a reinforcement phase in which a model, rather than a human, judges which of two candidate responses better satisfies those principles — producing an AI-generated preference dataset that trains the reward model [ 6 ] . Formally, this changes only the source of the comparison label. The Bradley–Terry equation above is unchanged in form; what changes is that the probability being fitted is now [displayed…
Read the full surrounding passage
Constitutional AI keeps RLHF’s reward-model-and-KL-penalty backbone intact and changes where the comparison labels come from. Bai and colleagues describe a two-phase method: a supervised phase in which the model critiques and revises its own responses against a written set of principles, and a reinforcement phase in which a model, rather than a human, judges which of two candidate responses better satisfies those principles — producing an AI-generated preference dataset that trains the reward model [ 6 ] . Formally, this changes only the source of the comparison label. The Bradley–Terry equation above is unchanged in form; what changes is that the probability being fitted is now PAI(yA≻yB∣x,C)=σ(rψ(x,yA,C)−rψ(x,yB,C))P_{\mathrm{AI}}(y_A \succ y_B \mid x, C) = \sigma\big(r_\psi(x,y_A,C) - r_\psi(x,y_B,C)\big). a judgment conditioned on a written constitution C rather than on an anonymous rater’s unstated standards. Lee and colleagues tested this substitution directly at scale and reported that AI-generated feedback achieved comparable performance to human feedback across summarization and dialogue tasks, and that a direct variant skipping the intermediate reward model entirely outperformed the standard two-stage form [ 7 ] .

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 The Main Technical Approaches to AI Alignment, Compared

See this formula across 1 published context →

Browse the mathematical compendium →