Act 2 · The Toolbox
Download the notebook and traces (zip, 2.8 MB) ↓11. The Keystone: The Test-Time Compute Scaling Law
A bigger model and more thinking are two ways to spend the same FLOPs (floating-point operations, the raw count of arithmetic a chip does). Pretraining burns them once, into the model’s parameters; sampling and voting burn them at answer time, on every question you ask. Act 2 built the answer-time kind. Matched bill for bill on the deck’s own run, a 3B against a 7B, can thinking harder out-buy a bigger model?
1. The game, on our own instrumentbeat the bigger model’s one answer · measured, Qwen2.5-3B against 7B
Both roads leave the same dot: the small model’s own single greedy answer, ringed on the black line. Go up the black line and you are buying parameters, until the Qwen2.5-7B’s single greedy answer sets the bar at one times its own bill. Go right along the blue curve and you are buying samples and a vote instead. Push the samples and the blue curve climbs, but it never reaches the black line, here or several times past it.
both curves start on the small model’s own greedy dot, because at one answer there is nothing to vote over and nothing to have missed. measured on this deck’s instrument: the hard band is pages 6 to 8’s own 100 MATH-500 level 4 to 5 problems, and the run reproduces their shipped numbers exactly before it draws anything new (gate 1). FLOPs are counted 2 × parameters × tokens, from measured token counts.
Problem difficulty
Which model votes
hard problems, MATH-500 levels 4 and 5, n = 100
3B vote@16: 55%, still 5 points under the Qwen2.5-7B’s 60%
and now at 6.5× its bill. Even a trained verifier (page 8) only ties it, at 60%. No sample budget on this band crosses the line.
Why more samples do not cross: the bottleneck is not the thinking, it is the picking. The dotted green line is coverage: a correct answer is somewhere in the 16 sampled chains 78% of the time, above the Qwen2.5-7B’s 60%. The chains are not breaking; the reasoning is there. What fails is selection: voting returns that answer only 55% of the time. The answer is in the pile, and no rule we can run at answer time reliably grabs it.
2. The published law, and its fine printcited · Snell et al. 2024, on models from before the reasoning recipes
That was one model family, on one date. The published record says the opposite is possible: a small model that thinks can out-buy a bigger one. The rest of this page is that record, and the gap between it and what we measured. Start with the law itself. Snell et al. 2024 found that guessing how hard a prompt is first, then choosing the strategy and budget to match, can beat a bigger model at a matched bill. They call it compute-optimal.reference 1 Three numbers carry it.
Hard mode is the other boundary: where the small model has no foothold, no budget rescues it. Sampling can only ever surface an answer the model was already capable of writing. Drawing more samples turns up more of what it can write,reference 2 but it does not teach the model anything. If this model would never write the right answer, a thousand tries are a thousand copies of the same wrong idea. Parameters are the knob that changes what it can write at all.
3. Each scale owns a band of the budgetcited · Wu et al. 2024, Pythia 410M, 2.8B and 12B on GSM8K
The law is not only Snell’s claim; Wu et al. 2024 measured it. They took three real models on GSM8K (grade-school word problems), gave each steadily more samples, and had them vote, with each vote weighted by a scorer’s confidence. Sampling the small one many times beats sampling a big one a few times. And the crossings the law predicts show up in the data.reference 3 Section 2 allocated by prompt; this allocates by budget. Below, the budget axis is washed into one band per scale, the stretch of budgets where that model is the compute-optimal buy, and each curve runs bold through its own band.
read off the paper’s figure by eye (±3 points) and replotted as accuracy; two of their five model sizes omitted for legibility. The washes tile the axis, but only the rail on top of each band was measured against a rival. Left of the 410M’s rail, the budget does not cover the 2.8B’s cheapest run. Right of the 12B’s, the 2.8B was not sampled any further. Out there the wash names the last model standing, not a winner over a rival
4. Better search moves the whole frontiercited · the same paper’s MATH500 table, sampling against tree search
Section 3 varied how much compute; this one varies how it is spent. The same paper’s results table on MATH500: three models, each under plain sampling and under their REBASE tree search, an arrow carrying each model’s pair from the gray point to the green one. Up and to the left is better.
exact values from the paper’s MATH500 results table (Table 1); no digitization involved