CSE Roadmap

Specialist tier · about 4 hours · 6 parts

Part 3 of 6 · 4 min read

Results and how to use them

Covers: Results; Using these patterns in agents.

Results

Repeated sampling (20,000 tasks per point; calls include one verifier call per candidate):

N Best-of-N with verifier: accuracy calls Majority vote: accuracy calls
1 0.55 2 0.55 1
3 0.73 6 0.60 3
5 0.78 10 0.63 5
9 0.81 18 0.65 9
15 0.82 30 0.65 15
AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTplZDdiNDE2My1kMjQyLTRlZTYtYjk4Zi1hN2MwZjEzNmI0NTQAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaCfWe4fx4cLfh5Jr7eaLgP4AAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDplZDQ2NWZkMi01OGUzLTQyZDYtYmVmYy0xNmE2NTA5Y2MyYmNscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNob1DHV2bmJSEvGP0UjpvVFgAAAZljYm9yomdhY3Rpb25zgqJmYWN0aW9ua2MycGEub3BlbmVkanBhcmFtZXRlcnOha2luZ3JlZGllbnRzgaJjdXJseC1zZWxmI2p1bWJmPWMycGEuYXNzZXJ0aW9ucy9jMnBhLmluZ3JlZGllbnQudjNkaGFzaFgg3ryIB3ub7vEtuXkUUL+JjlfR2jK9d7XWcl/3lRKE0QekZmFjdGlvbngdY29tLmFudGhyb3BpYy5jbGF1ZGUucHJvdmlkZWRqcGFyYW1ldGVyc6F4H2NvbS5hbnRocm9waW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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQO4/Ac9g4NlTnmb0VEvpdwzZdfoufYpWhla9a72yCb0Q22aTQSkCUKAhoo1dvZ2nR8ZYqLFsZXJ9aFHHvS05k04=What more attempts, better ordering and exploration buyAccuracy against model calls per task0.50.60.70.80.90102030best-of-N with verifiermajority votemodel calls per task (a verifier doubles the calls)Majority vote at N=15 when wrong answers agreewrong agree 0.00.72wrong agree 0.50.65wrong agree 0.90.58Best-of-5 by the verifier's rate of approving wrong answers0.00.830.10.770.30.690.60.631.00.54(no benefit at all when the verifier approves everything)Prioritisation: share of the best possible value (30 tasks, budget 40)arrival orderhighest valuecheapestvalue per costestimate error 0%0.580.860.880.99estimate error 50%0.580.780.880.92estimate error 100%0.580.730.880.84estimate error 200%0.580.700.880.77Exploration: regret over T runs (lower is better; 5 strategies, best succeeds 62%, next 55%)always firstround robinexplore, commitepsilon-greedyUCBThompsonT = 20633332T = 100321688128T = 5001607926274524T=1000 with change3201571141028393
Accuracy against calls for best-of-N and majority vote; sampling, prioritisation and bandit tables.

At about the same number of calls, best-of-3 with a verifier (6 calls, 0.73) beat majority vote over 5 (5 calls, 0.63) by ten points.

When wrong answers agree (N = 15): majority vote 0.72 when wrong answers scatter, 0.65 when half share one answer, 0.58 when 90 percent do; best-of-15 with the verifier stayed at 0.82 to 0.83.

The verifier's false-approval rate (best-of-5 / best-of-15): 0.0: 0.83 / 0.93; 0.1: 0.77 / 0.82; 0.3: 0.69 / 0.71; 0.6: 0.63 / 0.63; 1.0: 0.54 / 0.55.

Prioritisation (30 tasks, budget 40 cost units, share of the exact optimum, 400 task sets per row):

Error in the agent's value estimates Arrival order Highest value first Cheapest first Value per cost
0% 0.58 0.86 0.88 0.99
50% 0.58 0.78 0.88 0.92
100% 0.58 0.73 0.88 0.84
200% 0.58 0.70 0.88 0.77

The budget changes how much order matters: with a budget of 120 (almost everything fits) arrival order reached 0.93; with a budget of 10 it reached 0.41, while value-per-cost stayed at 0.99 to 1.00.

Exploration (regret, lower is better; averages over 300 runs):

Horizon T Always first Round robin Explore, then commit Epsilon-greedy UCB Thompson
20 6 3 3 3 3 2
100 32 16 8 8 12 8
500 160 79 26 27 45 24
1,000, with the best strategy dropping halfway 320 157 114 102 83 93

Reading it:

  1. A verifier turns extra attempts into extra accuracy; a vote does not, if errors are correlated. Majority voting needs independent, scattered errors. With a strong attractor it hardly moves.
  2. Cost is linear in N, and a verifier doubles it. Past N of about 5 the accuracy gain per call is small for both.
  3. Prioritise by value per cost, but only as far as you trust the estimates. With noisy value estimates, a rule that ignores value (cheapest first) beat the "smarter" rule. Agents scoring their own tasks are such a source of noise, so calibrate the estimate before trusting it (Level 9).
  4. Exploration pays when there is time. At 20 runs there is little to learn; at 100 or more, a policy that learns beats one that does not by a factor of four.
  5. No exploration policy wins everywhere. UCB1 over-explored at moderate horizons (45 against 24 at 500 runs) but was the best when the best strategy changed. I did not tune any of them.
  6. Exploration needs outcome data. It presumes you can tell success from failure for each run, which is the verifier of module 4 again.

Using these patterns in agents

  • Spend extra compute where it is checkable: tests, schema validation, deterministic checks. Use a vote only for tasks with a single short answer and diverse errors.
  • Vary what you sample: different temperatures, prompts or models increase diversity; identical samples add nothing.
  • Cap N from measured returns, and compute cost per percentage point gained.
  • Order work by value per cost when both can be measured; keep a deadline or dependency rule for ties and for tasks that unblock others.
  • Record outcomes per strategy (prompt version, tool, agent) so that selection can learn; keep a small share of runs for exploration so that changes are noticed.
  • Treat tree search and plan search as the same idea with structure: expand several candidate next steps, score them, and keep the best few (beam), spending calls only on promising branches (general knowledge; not tested here).