Log inStart free
LESSON 12.11 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

Reward overoptimization

Watch a policy chase a reward model until the real quality falls.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 12.11 · RLHF BAYLENGTH WEIGHT +0.72 PER 100 TOKENS
01
Stage 1 of 6 · Two rewards
A reward model scores 8 answers. Its length bias adds 0.72 per 100 tokens.
Explain it simply

Each column is one answer to the same question, from short on the left to long on the right. The teal bar is the gold reward, the score a careful judge gives. The blue bar is the reward model's guess. The blue bars stay high for long answers, even for answer 8, which only repeats itself.

8 columns, one per answer, sorted by length. Teal gold bars and blue proxy bars. Answer 8 has proxy +1.83 and gold −0.75.

gold rewardproxy rewardtuned policyreference policyloss of quality
mean+2−2tokens1wrong,short102short,correct143vague284sure,but wrong345with anexample456withcaveats807longtutorial1308padded,repeats260reward, minus the mean of the 8mean+2−2tokens1wrong,short102short,correct143vague284sure,but wrong345with anexample456withcaveats807longtutorial1308padded,repeats260reward, minus the mean of the 8
Toy: 1 prompt, 8 answers, a reward model fit on 60 seeded preference pairs
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
r(y)=ws s+wL L/100\sy{r}{out}{r(y)} = \sy{ws}{param}{w_s}\,\sy{s}{data}{s} + \sy{wl}{param}{w_L}\,\sy{L}{data}{L}/100
r(8)=5.79⋅0.7+0.717⋅2.6=5.92r(8) = 5.79\cdot 0.7 + 0.717\cdot 2.6 = 5.92

The score adds a surface weight and a length weight.

Common mix-ups

MYTHA higher reward model score always means a better answer.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If β drops from 1 to 0.25, does the gold gain go up or down?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 2 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.