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

Tree search over reasoning steps

Watch a search grow a tree of reasoning steps and prune the weak branches.


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.07 · SEARCH BAYSTEP 1 · 3 CANDIDATES
01
Stage 1 of 6 · Propose steps
Each node is a partial chain. The model proposes 3 first steps, each with its probability p.
Explain it simply

The problem sits on the left. The model can start its chain of thought in 3 ways, so you see 3 boxes. The number on each box is how likely the model is to write it.

The problem on the left, then 3 candidate first steps with their probabilities.

stepsslips, misreadings and wrong answersright answer (29)pruned node, greedy row
problempens?step 1step 2step 3answer3 × 12 = 360.853 × 12 = 320.093 × 12 = 390.06p: 0.85, 0.09, 0.06problempens?step 1step 2step 3answer3 × 12 = 360.853 × 12 = 320.093 × 12 = 390.06p: 0.85, 0.09, 0.06
Toy: the pens problem from 13.02; scorer tokens not counted
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
p=∏tp(stept)\sy{p}{data}{p} = \prod_t p(\text{step}_t)
p=0.85p = 0.85

A chain's probability multiplies the probabilities of its steps.

Common mix-ups

MYTHThe likeliest next step always leads to the best chain.

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

Predict, then reveal
3 CHECKS · PRO
Q01With scattered slips and model probability as the scorer, beam 1 answers 19. What does beam 2 answer?

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.