FDEInterviews logo
ICLR 2025

Scaling LLM Test-Time Compute Optimally Can be More Effective than Scaling Model Parameters

When does thinking longer beat a bigger model? Spending inference compute by question difficulty used up to 4× less compute and beat a 14× larger model on questions within reach.

Breakdown by FDE Interviews · 12 min read · Updated

About the original · 2024
AUTHORS
Snell, Lee, Xu, Kumar
FROM
UC Berkeley, Google DeepMind
PUBLISHED
Aug 2024 · ICLR 2025
CITED BY
2,299Semantic Scholar · Oct 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 23% of this breakdown.

01

The paper in one minute

A model can use extra computation at inference in several ways. It can sample many answers and pick one with a verifier (best-of-N). It can search step by step, scoring partial solutions with a process reward model (PRM) that rates each step. Or it can revise its own answer repeatedly. Earlier papers disagreed about whether any of this helps on hard reasoning tasks. This paper, by Charlie Snell, Jaehoon Lee, Kelvin Xu and Aviral Kumar at UC Berkeley and Google DeepMind, asked two cleaner questions: given a fixed inference budget, how should you spend it, and when is it better than using a bigger model?

They worked on the MATH benchmark of competition problems with PaLM 2-S*, fine-tuned for two jobs: a verifier that scores each solution step, trained without human labels using Monte Carlo rollouts, and a revision model that sees its previous wrong answers and tries again.

The key move was measuring difficulty from the model's own point of view: sample 2,048 answers per question and bin questions into five levels by how often the model is right. Then pick, for each difficulty level and budget, the best way to spend compute. Easy questions did best with sequential revisions and, at high budgets, best-of-N; harder questions did best with beam search against the verifier and a mix of parallel and sequential sampling. The hardest questions barely improved with any method.

Choosing strategy by difficulty, which they call "compute-optimal" scaling, matched best-of-N with up to 4× less compute. And in a comparison at equal total FLOPs, a small model with optimally spent test-time compute beat a model 14× larger on easy and medium questions, especially when inference traffic is light relative to pretraining. On the hardest questions, or with heavy inference traffic, the bigger model was the better buy.

THE IDEA, VISUALLY
THREE WAYS TO SPEND INFERENCE COMPUTE Best-of-N (parallel) verifier picks one Beam search with a process verifier keep best steps Sequential revisions v1 v2 v3 v4 v5 a fine-tuned model edits its previous answer; 38% of right answers got un-fixed without selection PaLM 2-S* on MATH (500 test problems); budgets up to 256 samples THE BEST STRATEGY DEPENDS ON DIFFICULTY difficulty = the base model's own pass rate, in 5 bins search revisions vs 14× model easy best-of-N all sequential test-time wins harder beam search mix of both test-time wins* hardest little helps little helps bigger model wins * depends on inference load; more inference traffic favors pretraining Choosing the strategy per question matched best-of-N with up to 4× less test-time compute. Test-time compute and pretraining are not interchangeable: it substitutes for scale only within the model's reach.
Three ways to spend extra inference compute, and the paper's main finding: which one works depends on how hard the question is for the model, and extra thinking only substitutes for a bigger model within the model's reach.
Research notes: the problem, approach and results
4×

less test-time compute than best-of-N for the same accuracy, by choosing strategy per difficulty

14×

larger model outperformed at equal FLOPs on questions within the small model's reach

38%

of correct answers turned wrong by a naive revision loop without answer selection

THE PROBLEM

Reports on spending more compute at inference, such as sampling many answers, searching with a verifier or self-correcting, were contradictory, and nobody knew when it could replace a larger model.

THE IDEA

Compare search against a process verifier and sequential self-revision on MATH, find the best method for each difficulty level and budget, and compare against a 14× larger model at equal FLOPs.

THE RESULT

Choosing the method by difficulty matched best-of-N with up to 4× less compute. At equal FLOPs, a small model with test-time compute beat a 14× larger one on easy and medium questions, not on the hardest.

02

Why it matters to an FDE

Customers regularly face the trade this paper measures: pay for a larger model on every request, or run a smaller one with more effort on each request, through sampling, voting, verification or reasoning. The answer depends on the workload, and this paper explains how.

Spend compute where it changes the answer. Easy requests are solved on the first try, and hopeless ones stay unsolved however long the model thinks. Extra compute pays off in the middle. A router that estimates difficulty and allocates effort accordingly beats a fixed setting.

Test-time compute does not replace capability. On questions beyond the small model's reach, no amount of sampling or revising caught up with the larger model. If a customer's hardest tasks are where the value is, size up the model.

Traffic volume changes the economics. Pretraining cost is paid once; inference is paid on every request. With heavy traffic, spending more per request costs more in total than a bigger model; with light traffic or offline batch work, extra inference compute is cheap.

Verifiers matter as much as generators. Search only helps if the scoring is good. The authors found a public verifier dataset, made with a different model, easy to exploit, and had to train their own.

Self-revision needs a selection step. A naive revise-again loop turned 38% of correct answers wrong. Keep all candidates and choose with a verifier or a vote.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 49 more papers.

Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.

6 months · One payment · No auto-renewal

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦2 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    The two strategies, the difficulty finding, the FLOPs comparison, and the misreadings to avoid

    Free account
  2. 04How it works

    The verifier, the revision model, difficulty estimation and the FLOPs-matched comparison

    Premium
  3. 05The numbers that matter

    The results, the setup details, and what limits generalizing them

    Premium
  4. 06Try it yourself

    Compute the FLOPs exchange, then spend a fixed budget by difficulty and beat uniform best-of-N

    Premium
  5. 07Where it breaks

    What the study does not show, and how far its results reach

    Premium
  6. 08Using it on a deployment

    Deciding model size versus inference effort for a customer workload

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →