Log inStart free
LESSON 13.02 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Self-consistency

Many sampled chains of thought vote, and the most common answer wins.


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

Go Pro · $8.25/mo
EXPLAINER · 13.02 · LESSON BAYGREEDY ANSWER 19 · RIGHT ANSWER 29
01
Stage 1 of 6 · Greedy decoding
Greedy decoding takes the most likely step each time. The top step-2 choice is a slip, so it answers 19.
Explain it simply

The dashed row is greedy decoding: the model always takes its most likely next step. On the right are its choices for step 2. The top bar, 33%, is a slip that gives 11. The two right routes split their chance, so greedy follows the slip and ends at 19.

The greedy chain answers 19. The right answer is 29. The model's top step-2 choice, 33%, is a slip.

stepsslips and wrong answersright answer (29)chainsgreedy chain
greedy361119−15+81936 − 15 = 2130%36 − 15 = 1133%36 + 8 = 4427%36 + 8 = 3410%greedygreedy decodingA 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 3answerthe model's step-2 choices (temperature 1)greedy: 36 → 11 → 19greedy361119−15+81936 − 15 = 2130%36 − 15 = 1133%36 + 8 = 4427%36 + 8 = 3410%greedygreedy decodingA 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 3answerthe model's step-2 choices (temperature 1)greedy: 36 → 11 → 19
Toy: one word problem, a seeded noisy model, 5 to 15 chains
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
agreedy=ans(arg⁡max⁡stp(st∣s<t))\sy{g}{out}{a_{\text{greedy}}} = \text{ans}\big(\arg\max_{s_t} p(s_t \mid s_{<t})\big)
agreedy=19a_{\text{greedy}} = 19

Greedy takes the top step each time, then reads the answer.

Common mix-ups

MYTHThe right answer needs more than half of the votes.

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

Predict, then reveal
3 CHECKS · PRO
Q01With 9 chains and scattered slips, which answer wins the vote at temperature 0?

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 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.