Skip to content

Picking a Better Answer Beats Generating More of Them

#test-time-compute #best-of-n #self-consistency #verifier-guided-search #llm-agents #inference-scaling

Picking a better answer beats generating more of them ​

Turn-level best-of-N sampling bought 5% to 10% accuracy on long-horizon terminal tasks in a recent agent study. No retraining. No fine-tuning. The generator and the selector were both off-the-shelf open-weight models.

That result is more interesting than the number suggests. It means the correct action was already inside the model's sample distribution at each turn. Nobody had asked for it twice.

Best-of-N is the oldest trick in inference-time scaling: sample N times, pick one. What changed is where you point it. Point it at a whole agent episode and you get N complete attempts, one winner, and a pile of wasted tokens. Point it at each turn inside a single episode and the agent gets a chance to correct course while correction is still cheap. That's the difference the paper is measuring.

Why selection beats raw sampling ​

The setup uses two models. A generator produces N candidate actions at each turn. A selector compares them and picks one to execute in the environment. Earlier work in this direction used trained critic models to guide the search. This paper asks a cheaper question: can a plain open-weight LLM, no fine-tuning, rank candidate actions well enough to matter?

The answer is yes, with caveats. Accuracy went up 5% to 10%. More relevant for anyone shipping agents: consistency across repeated attempts improved too. On a task the model solves 60% of the time, a 10% bump gets you to 66%. That's the difference between an agent you babysit and an agent you leave running while you get coffee, provided the variance drops with it.

The trajectory analysis is the part I keep coming back to. Agents using turn-level selection made fewer attempts to solve the task, followed instructions more closely, and spent more steps on debugging and testing. Those are behavioral changes, not just score changes. A model that tests its own work more often is a model whose failures are easier to diagnose.

The cost is honest arithmetic. If N is 8, you pay 8 generator calls plus one selector call per turn, and selector calls on long context aren't free. My rough experience running this kind of loop: latency per turn triples before you've done anything clever with caching. If your agent makes 40 turns and each one is 8x wider, you're paying for 320 forward passes to produce 40 actions. That's fine for a nightly eval sweep and painful for anything interactive.

Quick Take: turn-level best-of-N is a reliable 5% to 10% if you can afford roughly N times the per-turn cost, and near-useless if your selector is weak.

The inverted-U nobody budgets for ​

Here's where the second paper lands, and it's the one that made me re-read my own eval harness.

When many inputs share a fixed budget of attempts, the intuitive rule gives harder problems more tries. The paper shows the value of one additional attempt peaks at intermediate difficulty. Easy inputs don't need it. Hopeless inputs don't benefit from it. The optimal static allocation is an inverted U, which means the hardest inputs should get relatively few attempts, not the most.

The survey result is the headline. Across 221 LLM allocation papers, at least 13 give the hardest inputs the most attempts. The authors note those papers' easier settings sit at budgets where hardest-first happens to be near-optimal, so the mistake stays hidden until you move to a harder workload. That's a mechanism worth internalizing: a policy can look correct on a benchmark the model mostly solves for reasons that have nothing to do with the policy being right.

Read that second bar again. At most 13% of the available gain, and that's when you hand the allocator the true pass rates. Perfect information about difficulty gets you almost nothing. The difficulty signal was never the binding constraint.

Information drives the gain, not the policy ​

The paper's argument reduces to something I'd been getting wrong for months: acting on a difficulty-aware allocation requires knowing which inputs are solvable, and pass rate is a bad proxy for solvability. A problem at 5% pass rate and a problem at 0% pass rate look similar in the numbers and behave identically under a policy that rewards difficulty.

What fixes it is a prior from a related model's past runs on the same inputs, combined with a verifier. Thompson Sampling on top of that raises the solved share on the hardest workload from 14% to 27%, roughly double.

Key numbers5% to 10%: accuracy gain from turn-level best-of-N on long-horizon terminal tasks, no retraining. 14% to 27%: solved share on the hardest workload with Thompson Sampling, a verifier, and a cross-model prior. 13%: share of oracle gain captured by the best published difficulty-proportional rule on hard workloads, even given true pass rates. 0.3 to 0.55: the prior rank correlation window where the gain vanishes. Below it, no policy tested beats round-robin. 13 of 221: allocation papers surveyed that give the hardest inputs the most attempts.

The prior is doing real work and it's also fragile. The gain disappears between prior rank correlations of about 0.3 and 0.55. Cheap text-based priors barely clear that bar on the weakest models, which means the technique helps most exactly where your models are already strong. Without a prior, none of the policies they tested beat round-robin.

There's a second failure mode that's easy to miss: the verifier's false acceptance rate has to be rare relative to the pass rate. If your verifier approves wrong answers at a rate anywhere near how often the model actually succeeds, guidance amplifies noise. You'll see confident gains on the eval and regressions in production.

The table below is how I'd summarize the decision space for a budget-sharing setup.

PolicyWhat it needsSolved share on hardest workloadHow it fails
Round-robinNothing14%Spends most attempts on inputs that will never pass
Difficulty-proportional, pass ratePass rate estimatesCaptures at most 13% of oracle gainInverts the optimum; starves mid-difficulty inputs
Difficulty-proportional, inverted UPass rates plus a solvability signalBetter than pass-rate rankingThe solvability signal is the whole problem
Thompson Sampling with verifier and priorPrior rank correlation above ~0.3 to 0.55, low false-accept verifier27%Prior goes stale across model updates

Tempering the prior matters more than it sounds. Untempered, you take losses on easy workloads that you never see on a hard-only eval.

Steering the generator instead of resampling it ​

The third paper attacks the other half of the same problem. Verifier-weighted voting samples trajectories from the generator and reweights them at the end. It can't steer anything, because the trajectories are already finished when the verifier sees them. Beam-style verifier-guided search can steer, but it collapses onto a narrow set of trajectories and amplifies verifier errors once it does.

VGSC sits between the two. At each step it proposes candidate continuations from the base model, scores them with two signals (step-level correctness and an estimate of the eventual outcome), and runs an acceptance and resampling loop. Multiple trajectories stay alive the whole time, so the final answer comes from answer-level self-consistency rather than a single path. The authors give a probabilistic reading: it approximates sampling from a verifier-tilted trajectory distribution.

The reported result is higher average accuracy than representative baselines across several reasoning benchmarks, generator models, and verifier families. The cross-verifier part is what makes it credible to me. A technique that only works with one family of verifier is a technique that works because of that verifier.

How the three approaches compare ​

Turn-level best-of-NBudget allocation (Thompson + prior)VGSC
What varies at test timeWhich action to takeHow many attempts each input getsWhich token steps survive
Extra model neededSelectorVerifier plus a prior sourceVerifier with step and outcome signals
Reported gain5% to 10% accuracy, better repeat consistencySolved share 14% to 27% on hardest workloadHigher average accuracy vs. weighted voting and beam search
Cost shapeN times per turn, linear in turnsLinear in attempts, flat per attemptResampling overhead, roughly constant per step
Main riskWeak selector picks plausible junkPrior correlation drops below 0.3Verifier error gets amplified through acceptance

These three compose. Turn-level selection reduces variance inside an episode. Budget allocation decides which episodes deserve more attempts in the first place. VGSC changes what a single attempt looks like. If you're building a system that solves a queue of tasks overnight, all three apply and they don't fight each other.

Common pitfalls ​

Don't give the hardest inputs the biggest budget. That's the mistake 13 of 221 surveyed papers make. The value of an extra attempt peaks at intermediate difficulty, so a pass-rate-ordered allocator starves exactly the inputs that would have benefited. Use the inverted U, or use round-robin if you have no solvability signal.

Don't run a selector from the same checkpoint family as the generator without checking correlation. A selector that shares a base model with the generator tends to prefer its own stylistic output, which is not the same as preferring correct output. Test the selector against a held-out set of candidate actions with known outcomes before you trust it.

Don't apply best-of-N at the episode level for long-horizon agents. Episode-level sampling gives you N full rollouts and one winner, and the losers teach you nothing. Turn-level sampling lets the same compute correct a trajectory mid-flight, which is where the 5% to 10% comes from.

Don't ship a verifier without measuring its false acceptance rate on wrong answers. Compare that rate to the model's actual pass rate on your task. If false accepts are in the same range, verifier-guided search will make your system more confident without making it more correct.

Don't estimate difficulty from pass rate alone. A 3% pass rate and a 0% pass rate are the same number to a policy and completely different problems to a scheduler. You need some signal for solvability, which in practice means a prior from a related model or a cheap probe run.

Don't let the prior go stale. Model updates invalidate cross-model priors, and the gain window is narrow enough (rank correlation 0.3 to 0.55) that a stale prior lands you back at round-robin performance with extra complexity.

What I'd actually ship ​

For a single-turn reasoning pipeline, VGSC-style guided decoding is the right default if you already own a decent verifier. You get steering without the trajectory collapse that beam search causes, and the overhead is per-step rather than per-attempt.

For an agent making many turns, turn-level best-of-N with N around 4 to 8 and a strong selector is the simplest thing that works. It improves repeat consistency, not just accuracy, and consistency is what determines whether an agent is deployable.

For a batch workload with a shared budget across thousands of inputs, round-robin is a better baseline than most published allocators until you have a prior with measured rank correlation above roughly 0.4 on your own data. Run it, measure the prior, then decide. The paper's decision guide exists precisely because the answer flips based on that number.

One thing to remember: every technique in this cluster converts compute into accuracy through a selection signal, and the selection signal is the part that breaks first. More samples with a bad verifier is a more expensive way to be wrong.

The Bottom Line ​

If you're building a long-horizon agent, add turn-level best-of-N with N in the 4 to 8 range before you touch anything else, because it delivers 5% to 10% accuracy and better repeat consistency for a linear cost increase you can actually budget for.

If you're sharing a fixed attempt budget across many inputs, start with round-robin and spend your engineering time on a prior that correlates above 0.4 with true solvability, because 13 of 221 published policies show that difficulty-proportional allocation captures at most 13% of the oracle gain on hard workloads without it, while a real prior nearly doubles the solved share from 14% to 27%.

If you're relying on a verifier at all, measure its false acceptance rate against your model's pass rate this week, because verifier-guided search and Thompson Sampling both amplify verifier errors, and the failure is invisible in aggregate accuracy while being very visible to your users.