Log inStart free
LESSON 13.03 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Best-of-N with verifiers

A verifier scores each sampled chain of thought, and the top-scored chain answers.


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

Go Pro · $8.25/mo
EXPLAINER · 13.03 · LESSON BAY9 CHAINS · 360 TOKENS
01
Stage 1 of 5 · Sample chains
The model samples 9 chains of thought at temperature 0.7, 40 tokens each.
Explain it simply

Each row is one chain of thought from the same noisy model as in self-consistency. Brick chips are slips, and a brick answer is wrong. Five of the nine rows end at 29. Each chain costs 40 tokens, 12 per step and 4 for the answer, so nine chains cost 360.

9 chains at temperature 0.7. Their answers: 19, 29, 29, 29, 29, 32, 20, 30, 29. They cost 360 tokens.

stepsslips and wrong answersright answer (29) and scorestokens
chain 1363419+8−1519chain 2364429+8−1529chain 3361129−15+829chain 4362129−15+829chain 5364429+8−1529chain 6391432−15+832chain 7361120−15+820chain 8362130−15+830chain 9362129−15+8299 chains × 40 tokens = 360 tokens404040404040404040sample chainsA shop has 3 boxes of 12 pens. It sells 15 pens. Then it gets 8 more pens. How many pens does it have now?step 1step 2step 3answertokensa chain: 3 × 12 + 4 = 40 tokenschain 1363419+8−1519chain 2364429+8−1529chain 3361129−15+829chain 4362129−15+829chain 5364429+8−1529chain 6391432−15+832chain 7361120−15+820chain 8362130−15+830chain 9362129−15+8299 chains × 40 tokens = 360 tokens404040404040404040sample chainsA shop has 3 boxes of 12 pens. It sells 15 pens. Then it gets 8 more pens. How many pens does it have now?step 1step 2step 3answertokensa chain: 3 × 12 + 4 = 40 tokens
Toy: one word problem, a seeded noisy model, 5 to 15 chains, a 2-weight verifier
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
ri∼p0.7(r∣q),  i=1,…,N\sy{r}{data}{r_i} \sim p_{0.7}(r \mid q),\; i = 1, \dots, \sy{N}{param}{N}
N=9,  9×40=360 tokensN = 9,\; 9 \times 40 = 360 \text{ tokens}

Each chain is drawn from the model at temperature 0.7.

Common mix-ups

MYTHA high verifier score means that the answer is right.

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

Predict, then reveal
3 CHECKS · PRO
Q01With the weak verifier, scattered slips and 9 chains, does best-of-N still answer 29?

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

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 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.