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

Chain of thought and test-time compute

Watch a small model write its steps, and see what each step costs.


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.01 · REASONING BAY4 LAYERS · 2 OPS PER PASS · 6 OPS NEEDED
01
Stage 1 of 5 · One pass
One forward pass fits 2 of the 6 operations. The value between them stays hidden: this is latent reasoning.
Explain it simply

Each token comes from one trip through the model's 4 layers. In this toy, one operation uses 2 layers, so a trip fits 2 operations. The 28 between them lives only inside the model. That hidden work is called latent reasoning, and the problem needs 6 operations.

Four layer columns. The first two do times 4, the last two do minus 9. The hidden value 28 sits between them. The problem has 6 operations.

problem and thinkinglayers and budgetanswercut or wrong
problemone pass7× 4− 9+ 12− 6+ 20− 8= 37728194 layers× 4− 94 layers / 2 per operation = 2 operations per passproblemone pass7× 4− 9+ 12− 6+ 20− 8= 37728194 layers× 4− 94 layers / 2 per operation = 2 operations per pass
Toy: 2-, 4- or 6-step pen problem · 4-layer model · 5% slip per operation
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
o=L/2\sy{o}{param}{o} = \sy{L}{param}{L} / 2
o=4/2=2 of k=6o = 4 / 2 = 2 \text{ of } k = 6

Each operation uses 2 of the layers.

Common mix-ups

MYTHThe written steps show all of the model's work.

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

Predict, then reveal
3 CHECKS · PRO
Q01With 6 steps in words, does a 16-token budget still give the right answer?

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.