NeurIPS 2026 · Education Track

Test-Time Compute Allocation: Search vs. Verify

Dalian University of Technology

A fixed budget of model calls can go to many candidate answers and a majority vote, or to fewer candidates and the model scoring each one. This course teaches that trade-off with a two-page paper, five notebooks, a five-minute video and a 20-slide deck. The notebooks run without a GPU.

The idea

Search puts the whole budget into candidates and takes a majority vote. Verification splits it: some calls for candidates, the rest for the model to score each one.

With independent candidates and single-answer accuracy above 1/2, majority voting has a guarantee: the failure probability falls exponentially in the number of candidates. Verification has no such guarantee. It helps only when the judge can tell good answers from bad ones, and in this course the judge is the model grading its own answers. Our measurements say that judge is weak.

At a moderate budget under a weak judge, search usually wins. Which split is best depends on your model, your judge and your budget.

The materials

Notebook 00

A five-minute self-check

Three questions on decoding, binomial probability, and the MATH and GSM8K benchmarks. Answer them or read the answers first.

Notebooks 01-03

Three experiments

Budget-accuracy curves for six models, the best split at a budget of 50 calls, and a prediction for a new task that you test yourself.

Notebook 04

A report template

Judge whether a research paper's baselines are fair, with the questions the course asks of its own results.

Video and slides

Five minutes, twenty slides

A five-minute explainer and a twenty-slide lecture deck, from the Chernoff bound to the verifier's errors.

What we measured

Measured accuracy on the 100-problem MATH-500 subset. Qwen3-4B, three seeds, 50 calls per problem.
StrategySplitAccuracy95% CI
Search50 candidates, majority vote0.853[0.81, 0.89]
Search + light verification25 candidates × 1 check0.717[0.67, 0.77]
Verification5 candidates × 9 checks0.753[0.70, 0.80]

At the same 50-call budget, both verification rows trail pure search. The judge is the model that wrote the answers, and its scores for right and wrong answers overlap heavily.

Where to start

Thirty minutes, intuition first

Watch the video, look at the strategy diagram, then open Notebook 01. The trade-off is visible before any math.

The full sequence

Notebook 00 for the prerequisites, 01 to 03 for the experiments, 04 for the report. With the precomputed cache every plot loads in seconds. Running the experiments yourself takes one to two hours.

The learning path

Learning path: a five-minute self-check routes to on-demand resources if it fails, or to the main notebook sequence if it passes.
A failed self-check sends learners to the on-demand resources. Passing it opens the main sequence.

Downloads

The notebooks are cache-first. Every experiment cell skips itself unless you set RUN_EXPERIMENT = True in the configuration cell, so the whole course runs on a laptop, with no GPU and no long wait.