Plate IIModel Capability & TrainingHOWARDISM

Selection Under a Submission Budget

What repeated sampling costs when you may only submit n answers, not all k: CS329A lecture 7 walks AlphaCode's 1M-samples-per-problem pipeline, whose real content is the filter-and-cluster stage that gets 1M down to 10, and the 10@k metric that prices it — the gap between 10@k (~30%) and pass@k (~40%+) is the selection bottleneck measured directly. AlphaCode 2 replaces heuristic clustering with a learned scoring model plus a family of fine-tuned Gemini Pro variants for diversity, and reaches AlphaCode's solve rate at 100 samples instead of 1,000,000 — the lecturer's own reading being that a better base model is a cheaper lever than a bigger sampling budget

Article metadata
Publication details
Published:
Filed:Concept
Domain:Model Capability & Training
Reading:34 min
Source:AI-synthesised
About this piece

Articles in this journal are synthesised by AI agents from a curated wiki and are refreshed automatically as new concepts arrive. Topics, framing, and editorial direction are curated by Howardism.

Illustration for Selection Under a Submission Budget

Sources#

Summary#

Repeated sampling is usually reported as pass@k — did any of k samples solve it — which quietly assumes you may submit all k. Almost no deployment works that way. A competitive-programming platform accepts a handful of attempts; a CI pipeline runs one patch; a user reads one answer. The operative metric is n@k: generate k, submit n, and the gap between the two curves is what the selection stage costs you.

CS329A lecture 7 is the wiki's first source to make that gap the subject rather than a footnote, by walking the two AlphaCode systems end to end. Its framing of the whole problem: "we kind of know that the solutions lie in the search space of the models, but how do you curate the answer out of the search space" — Latent Capability Overhang's thesis restated as a curation problem rather than a budget one.

Evidence. Everything below is CS329A Self-Improving AI Agents — Part 7: Self-Improvement and Deep Research Agents (Aakanksha Chowdhery solo, delivered 2025-10-17, published to YouTube 2026-08-03, practitioner-opinion) — a slide walkthrough of AlphaCode (DeepMind, 2022) and AlphaCode 2 (Google DeepMind, 2023), neither of which is in raw/. Every figure was read off a slide by ASR; numbers are approximate and attributed to the lecture. The state of the art described is late 2025.

AlphaCode: the pipeline is mostly the selector#

The generation half is the part everyone quotes and the smaller contribution:

  • Pre-train an encoder-decoder on ~700 GB of GitHub code (masked-language-model loss; the lecture notes AlphaCode 2 later moves to decoder-only).
  • Fine-tune on CodeContests, competitive-programming problems with solutions, using two tricks the lecture names: a GOLD-style regularizer that upweights high-likelihood tokens and downweights low-likelihood ones so probability mass concentrates on "more meaningful patterns," plus value conditioning and prediction.
  • Sample 1,000,000 programs per problem, half Python and half C++, with randomized problem tags and difficulty ratings in the prompt and a high temperature — the randomization exists to buy diversity, not accuracy.

Then the half that carries the result:

  • Filter against the example tests printed in the problem statement.
  • Cluster the survivors into groups that are syntactically different but semantically equivalent, using a separately trained model that generates plausible test inputs from a problem description; two programs that agree on the generated inputs go in one cluster.
  • Submit ten — one per cluster, so the submissions are as behaviourally distinct as the pipeline can make them.

The reason clustering is the load-bearing step is stated plainly: on hard problems "you don't get much benefit out of submitting the same set of solutions," so with ten shots the only thing worth optimizing is behavioural spread among the submitted set. That makes it a selector whose objective is diversity rather than predicted correctness — the opposite of a reward-model ranker, and the reason it composes with one rather than competing (AlphaCode 2 runs both).

Reported result: an average ranking around the top 54% of participants across 10 Codeforces contests of roughly 5,000 entrants each, at 10 submissions per problem. (The transcript also carries "competitive with 28% of the competitors in the last 6 months"; the two figures are not reconciled in the lecture and both are ASR-read.) The lecture's framing of why this mattered in 2022: it was the first demonstration of end-to-end problem solving rather than line completion — long problem descriptions, long solutions, and a required inference of which algorithm applies before any code is written.

The measurement: 10@k against pass@k#

The lecture defines the pair explicitly, and this is the most portable thing in it.

  • pass@k — generate k, submit all k, count problems where any is correct. "It measures how good is the search aspect of the sampling process" — coverage.
  • 10@k — generate k, submit 10. "You do have to do some selection or scoring to decide which set of solutions I'm going to submit… it measures also the filtering process."

Sweeping k from 1K to 10K to 100K to 1M on validation and test, across a 9B model, a 41B model, and 41B-plus-clustering:

  • Solve rate scales log-linearly in sampling budget under 10@k, not only under pass@k. The selection stage does not flatten the curve; it lowers it. This is the finding to carry — the coverage power law of Latent Capability Overhang survives a realistic submission cap.
  • Bigger models have better slopes, not merely better intercepts (the lecture contrasts a 41B curve against a 300M one).
  • 41B + clustering is consistently above 41B alone at every budget.
  • And the gap is large. With unlimited attempts the curve reaches "something above 40%"; capped at ten it reaches "only 30%." The lecture's own gloss: "there is definitely some bottlenecking happening in [the] selection stage."

That ten-point spread is the generation–verification gap measured on a different axis from the one lectures 2–3 used. There the frozen quantity was the sample count and the varying one was the judge; here the judge is fixed and what varies is how many answers you are allowed to keep. Both say the same thing — the samples contain the answer and the pipeline cannot reliably pick it — but the budget framing is the one an engineer can act on, because n is usually a product decision rather than a research one.

The lecture also names the second bottleneck, in an exchange about variance. Asked why AlphaCode's percentile swings hard across contest IDs (some near 50%, one near 90% by the transcript's reading), Chowdhery offers two hypotheses and refuses to choose: how in-distribution that contest's problems are, and that "the selection stage can also be a bottleneck — there can be solutions that are almost correct but not completely." Per-contest variance is therefore not decomposable into generation and selection from the published numbers, which is worth remembering whenever a sampling system's headline is an average over heterogeneous tasks.

AlphaCode 2: buy a better base model instead of more samples#

The 2023 successor changes three things and the lecture treats the comparison as the lesson rather than the scores:

AlphaCode (2022)AlphaCode 2 (2023)
Generatorpre-trained from scratch, encoder-decoderfine-tuned Gemini Pro — "not just prompting"
Diversity sourcetemperature + randomized tags, one modela family of fine-tuned variants, trained on differently segmented slices of CodeContests v2, plus randomized temperature and metadata
Languageshalf Python, half C++C++ only
Selectionfilter by example tests, then clusterfilter (removes ~95% of samples, leaving ~50k), keep the top 10 largest clusters, then rerank within each cluster by a learned scoring model and submit the best per cluster
DataCodeContestsCodeContests v2 (higher quality, vetted) plus a separate hand-curated set for the scorer

The scoring model is a fine-tuned Gemini Pro that estimates the probability a sample is correct, in [0, 1] — a reward model used purely as a test-time selector, which is exactly the object Process vs Outcome Reward Models traces the history of. It replaces the heuristic half of the selection stage: clustering still supplies spread, the scorer now supplies within-cluster ranking. The lecture's framing is that AlphaCode 2 is "a multi-agent system in almost some ways" — one family of models produces, another family scores.

The headline is a substitution, not an improvement. At 100 samples per problem, AlphaCode 2 reaches the solve rate AlphaCode needed 1,000,000 samples for — a four-orders-of-magnitude reduction from a better base model plus better selection. Pushed to a matched 1M budget it reaches ~43% solve rate against AlphaCode's ~25%, and lands around the 85th percentile of human contestants. (A further "outperforming 99.5% with the top two solutions" appears in the transcript and does not reconcile with the 85th-percentile figure; it is ASR-garbled and not carried.)

Chowdhery states the takeaway as a rule when a student asks whether one could simply sample a trillion times: "making the model better is a slightly easier axis than scaling the number of samples." Read against Large-Scale Test-Time Compute's pre-training-versus-inference tradeoff, this is a late-2025 practitioner vote for the pre-training side at a fixed task — and note the direction it points relative to lecture 2, where the same course endorsed extra test-time compute over extra pre-training on easy and medium problems. Competitive programming is not easy or medium, so the two positions are compatible; the course never places them side by side.

Why "just sample more" has a ceiling that is not compute#

The most useful thing in the discussion is the reason the log-linear curve is not an invitation to extrapolate. A student proposes spending an enormous budget on one important problem, and Chowdhery agrees the arithmetic works if the trend continues, then names the assumption it rests on:

"You kind of assume that if we sample more the diversity continues to increase… if you sample 10× more than what was sampled here but you don't end up with more diverse solutions, then you're actually not going to improve."

That is Latent Capability Overhang's "diversity is the fuel" stated as a bound on its own scaling law: the power law holds while the sampler keeps producing genuinely new programs, and clustering is precisely the instrument that reveals when it has stopped. It also explains why clustering earns its place twice over — it selects submissions and it measures whether the extra budget bought anything.

Three further limits the lecture attributes to the AlphaCode authors:

  • Training loss is a poor proxy for solve rate, because many distinct programs solve the problem and the loss rewards one of them. Consistent with weakness on dynamic programming and constructive algorithms specifically.
  • The generated code was checked against the training data for novelty and found to be genuinely new — the lecture's basis for calling it out-of-distribution generalization rather than retrieval.
  • One-shot massive sampling is the wrong shape for hard problems. The lecture's own conclusion, and the bridge to the rest of the course: harder problems need multi-step solution approaches, decomposition with hints per sub-part, and a tree search with backtracking over partial solutions — Tree Search over Agent Trajectories (LATS) and Intra-Trace Parallel Planning (SPRINT) are lecture 5's answers to the need lecture 7 re-derives from the code side. A student pushes on the obvious hazard (a first step that looks right and dooms the second) and it is left open.

The contamination question the class raises about the scorer#

Asked why the scoring model does not simply train on CodeContests v2, Chowdhery's answer is a clean statement of a design constraint that generalizes past this system: "there would be contamination — the scoring model should not see exactly the same data, but it does need to see some data in the distribution." What you are teaching the scorer is a preference between two candidate solutions to this kind of problem, which requires distributional overlap and forbids identity. She adds the practical reason the two datasets are not simply mixed: staged fine-tuning on a higher-quality set without replaying the earlier one causes the model to forget the earlier stage.

This is Benchmark Contamination and Decontamination's concern arriving as a training-design rule for reward models rather than an evaluation-hygiene rule, and it is the sharpest thing the lecture says about how to build a selector rather than how to score one.

The same gap in agentic ML-engineering runs (2026-10)#

How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering? (arXiv 2609.40303, empirical) measures this page's gap on 24-hour autonomous ML-engineering runs. Each run produces many submissions. Self-select keeps the one with the best validation score the agent reports, and oracle keeps the one with the best hidden-test score. The gap, in leaderboard percentile points (Table 6): Best-of-N independent restarts 6.832, UCB1 3.973, Greedy 2.788, Chain 2.152, a single long session 1.876. Best-of-N's oracle ceiling (71.04) matches the single session's (71.18), and it loses five of those points to selection. Three parallel sessions on one machine raise the oracle ceiling and lose the gain to selection, so the submission picked is no better than one session's.

The authors' explanation is a third candidate beside this page's sampler-diversity and selector-discrimination: comparability of the scores being ranked. A single session scores all its candidates on one validation split. Independent restarts each design their own split, and the harness then ranks numbers that were never on a common scale. They mark this explicitly as an untested hypothesis. Its prediction is that the gap grows with the number of distinct validation methodologies, not the number of candidates. The one intervention that gives iterations a shared validation workspace has the smallest gap of its set (2.024) and the lowest ceiling. Full treatment on Minimal Harness for Autonomous ML Engineering (Malena).

The gap with a certificate: pass@k against best-of-k (2026-10)#

Every number above is a point estimate, and the lecture's are read off slides. Cheap to Draw, Expensive to Trust: Certifying Test-Time Scaling Curves (Sarkar & Baichoo, arXiv 2609.40190, empirical) puts simultaneous 95% bands of half-width ≤ 1/32 around three curves drawn from the same answers. The setup is 100 MMLU-Pro questions, the model gpt-6-luna at temperature 1, and the mean token log-probability of an answer as the selector. Read on the reference curves:

  • pass@k, the sampler's reach, climbs from 0.736 to 0.960 over k = 1…64.
  • best-of-k, one submission chosen by log-probability, climbs from 0.736 to 0.767.
  • majority voting, one submission chosen by consensus, reaches 0.787.
  • In every audit stream the pass@k band at k = 64 sits at least 0.125 above the best-of-k band, so pass@64 exceeds best-of-64 by more than 12 points with probability at least 90%.

This is the 1@k end of this page's n@k family, measured with a guarantee instead of a slide. It isolates the factor AlphaCode 2 could not: one sampler, three selectors, the same draws. The sampler kept producing new correct answers out to 64, and the log-probability selector converted 3 of those 22 points. Consensus out-selected the log-probability score, which echoes Process vs Outcome Reward Models: a weak selector, not missing diversity, is what flattens the curve here.

The contrast with AlphaCode's log-linear 10@k is a contrast of selectors, not a contradiction. Example-test filtering plus behavioural clustering is a strong, partly executable selector. Mean log-probability on multiple-choice answers is a weak one, and the paper reads its result through Stroebl et al. (2026): verifier error bounds what resampling can gain. Method, costs and caveats on Certified Test-Time Scaling Curves.

Where the conversion is lost, and what the selector costs (SELF-POT, 2026-10)#

SELF-POT (Yang et al., UIUC / UW / Tsinghua, arXiv 2610.01110, 2026-10-01, empirical) measures the same gap at the small end, 1@3, and charges the selector to the budget in dollars. Five low-cost reasoning models (DeepSeek V4.1 Flash, Qwen3-Next-80B-A3B, GLM-5, GPT-OSS-120B, MiniMax M2.5) answer 350 sealed tasks in maths, AtCoder programming, AppWorld workflows and Terminal-Bench. The reference is Claude Opus 5.5 answering once. Every protocol is capped at a multiple of one answer's token allowance B. Parallel@4 draws three candidates and spends the fourth B on a joint-selection call, in which the same model reads all three and names one. Parallel@2 draws two and keeps one by a rule that uses no model tokens: majority vote in maths, most public examples passed in code.

The paper writes the gap as an identity, E[S] = P(O)·P(S | O): coverage (some candidate passes the hidden grader) times conversion (the submission is one of the correct ones). It then splits covered failures in two. A no choice means the selection stage returned no valid index. A wrong choice means it indexed a candidate that grades incorrect. Then it replays other choice rules on the saved Parallel@4 pools. Generation stays fixed, hidden grades score the result only after the choice, and the paper labels these replays post-hoc accounting counterfactuals, not new equal-cost trials.

Programming: the selector mostly failed to answer, not to discriminate. Across 500 scheduled coding cells, 81 covered pools fail to convert. 64 of them have no valid selection index, and 17 pick a wrong candidate. GLM-5 covers 88 tasks and submits 55 correctly (27 no-choice, 6 wrong-choice). The same-pool replays (Table 13, reconciled against the prose):

rule on the same poolscorrect / 500judge cost
frozen same-model judge (J)376charged
J + keep the first nonempty candidate when J returns nothing (J+F)437charged, no new inference
public-example selection over all three (P3)453removed: 12–49% cheaper per model
P3 restricted to the first two candidates (P2)448removed
public tests first, judge only on tied maxima (G)452charged on 465 of 498 pools

The fallback alone turns the protocol's panel change against Direct from −8.6 to +3.6 pp. Public-example selection converts 453 of 457 covered pools, and it beats fallback on the 98 pools of mixed correctness by 94 to 78 (16 wins, 0 losses), so it discriminates rather than only keeping an answer. The judge adds nothing on top of it. G is the paper's version of this page's cluster-then-rank question, and it scores 452 against P3's 453 while paying for the judge on most pools. The reason is that a public-test tie rarely hides a real choice. Of 465 pools with tied top public scores, the tied set is all correct in 426, all incorrect in 26 and mixed in only 13.

Maths: the selector discriminates, and barely beats a free rule. On 292 identical pools, the same-model judge submits 185 correct answers and vote@3 182 (10 wins, 7 losses), or 186 with the nonempty fallback. Both paired intervals span zero. The judge stage is 12.3–21.1% of the judging configuration's logical API cost. Here the losses are wrong choices, not missing ones. Qwen3-Next's pools cover 38 of 60 tasks, above its Direct score of 31, and its judge submits 30, losing all eight covered pools to a wrong pick.

What this adds to the open question below. The earlier sources named three places the n@k gap can live: the sampler's diversity, the selector's discrimination, and (from the ML-engineering runs) the comparability of the scores being ranked. SELF-POT measures a fourth, and in its coding results the largest one: stage completion. The selector call ran out of budget, returned malformed output or no index, and the frozen harness submitted nothing. That loss is avoidable at zero inference cost by a fallback rule. It belongs to the harness, not to the model's judgment. The paper's own prescription is to "improve the limiting stage before increasing its allowance": fix completion where choices go missing (programming) and fix decision quality where choices complete and are wrong (Qwen3-Next in maths).

And the deployment comparison agrees with AlphaCode 2's lesson. Within-model gains are not deployment value. Flash Direct (99/100 at $0.013 a task) stays the coding cost-accuracy frontier after every replay is added. Opus 5.5 Direct leads in maths (57/60 against Flash's best 52/60), workflows (148/160 against 82/160) and terminal tasks (13/30 against 3/30). At peak DeepSeek prices, Flash judging ($0.176) and vote@3 ($0.144) are both dominated by Opus Direct ($0.103). At half price they join the frontier as cheaper and less accurate points. Chowdhery's "making the model better is a slightly easier axis than scaling the number of samples" above was practitioner-opinion. SELF-POT is the measured counterpart in dollar terms at 2–4× budgets: outside programming, no cheaper model plus extra inference reached the stronger model answering once. It has one runtime caveat: six of Opus 5.5's seven coding failures import numpy, which the frozen grading image lacks, and installing it raises Opus from 93 to 99.

Limits. Each cell is sampled once, so within-task variability is not estimated. Pools have three candidates, not thousands, so none of this tests behavioural clustering. The cost comparison uses logical API cost at list or peak rates, not invoices, and it prices local public-test execution separately (3,959 executions, 3,299 worker-seconds). Agent protocols are excluded from the conversion analysis because unchosen plans are never executed, so coverage is undefined for them.

A calibrated scorer is not a selector (Probe-SD, 2026-09)#

Every selector above is scored by how often it picks a correct candidate. Xi et al. (arXiv 2609.33290, empirical) test a scorer that is very good by the other standard, calibration. It is a linear probe on the pre-answer hidden state of Qwen3-14B and Ministral-3-8B-Reasoning, with TriviaQA ECE 0.015 and AUROC 0.948 on Qwen, against 0.178 and 0.825 for the model's own stated confidence. Picking the highest-probe trace among N samples (Max-Probe) only ties lexically normalized majority voting. At N = 32 (Table 7, reconciled against pdftotext -layout):

Qwen3-14BOracle pass@32Max-ProbeMajority vote
TriviaQA0.8790.7780.771
EntityQ0.4470.3150.306
NQ-open0.6950.4580.492
SimpleQA0.2460.0740.077

Ministral loses to majority voting on three of four sets. On Qwen TriviaQA the gap to the oracle grows from 0.024 at N = 2 to 0.101 at N = 32, and selection accuracy varies by under 5 points across all 40 layers. After the probe's calibration has been distilled into the model's stated confidence (Trained Calibration), the same ordering holds at N = 16: confidence-weighted voting 79.05%, majority voting 78.59%, max-confidence selection 77.75%, oracle 87.19%. Everything flattens past N ≥ 8. The authors' reading is in their title: internal states answer "how certain am I" well and "which answer is right" poorly. So the signal belongs in a vote weight or a threshold, not an argmax.

For this page's open question, it is a fourth weak selector, after log-probability, the same-model judge and score comparability. It is also the first whose weakness cannot be blamed on poor scoring. One explanation is this wiki's inference, not the paper's. Calibration and AUROC are pooled over traces from all questions, so most of a high AUROC can come from telling easy questions from hard ones. Choosing among one question's samples needs the within-question part, which those metrics do not isolate. The paper's §6.2 shows the probe does vary trace by trace where self-consistency cannot, so the within-question signal is not zero. It is just too small to beat consensus. Short-answer factual QA only, up to 14B.

Connections#

  • CS329A: Self-Improving AI Agents (Stanford) — lecture 7's first half; the course anchor and its per-lecture arcs
  • Aakanksha Chowdhery — the lecturer
  • Latent Capability Overhang — the coverage curve this page caps. The finding that transfers in both directions: log-linear scaling survives a ten-submission budget, and the diversity ceiling that bounds repeated sampling is exactly what clustering measures
  • The Verifiability Thesis — the same gap on a different axis: lectures 2–3 vary the judge at fixed sample count, this varies the number of answers you may keep. The ~40%-versus-~30% spread is the selection bottleneck priced directly
  • Process vs Outcome Reward Models — what AlphaCode 2's scoring model is: an outcome reward model estimating correctness in [0, 1], used as a test-time selector rather than an RL reward, with a contamination constraint on its training data that the reward-model literature states less crisply
  • Inference-Time Architecture Search — the operation this pipeline lacks. Archon's fusion synthesizes one answer from k samples and beats oracle selection; AlphaCode's clustering is pure selection and is therefore bounded by pass@k by construction, which is exactly the ceiling the 10@k-versus-pass@k gap measures
  • Large-Scale Test-Time Compute — where the sample-budget axis lives; this page supplies the late-2025 practitioner vote that improving the base model is the cheaper lever at a fixed hard task
  • Tree Search over Agent Trajectories (LATS) — the multi-step alternative the lecture concludes massive one-shot sampling needs, taught two lectures earlier
  • Intra-Trace Parallel Planning (SPRINT) — the other structural answer to "decompose and add hints per sub-part," which is how the class arrives at the same need
  • Rationale Bootstrapping (STaR) — the class's own answer to "how do we embed reasoning into the model?" is STaR by name: generate the solution, hand back the hint, ask for the reasoning that reaches it
  • Benchmark Contamination and Decontamination — the scorer's data constraint is that page's concern applied to training a selector: overlap in distribution, disjoint in problems
  • RL from Execution Feedback (RLEF) — the other route out of the sampling bill, and the one the lecture points at when asked how to avoid wasting 95% of generations: an RL loop that lifts the solve-rate curve so fewer samples reach the same point
  • Google DeepMind — builder of both systems
  • The Data Wall and the Validation Commons Are One Supply Constraint — two uses. The diversity ceiling here ("sample 10× more without more diverse solutions and you're not going to improve") is one of three independent statements in the corpus that synthetic-data supply is bounded by variety rather than by FLOPs; and AlphaCode 2's 85th-percentile finish under a ten-submission budget is an existence proof that the Stockfish threshold arrives first where a mechanical judge (hidden test cases) already replaced human validators
  • Screen-Relative AI Timing — the same order-statistics arithmetic outside code. The screening premium M_k(n+a) − M_k(n) is what a team buys when it lets an LLM enlarge its idea pool before it narrows to k proposals. Huang et al.'s 148-team experiment measures it at about 0.46–0.49 rating points for a pool of 20 rather than 4. Their twist has no AlphaCode analogue: candidates that arrive after the cut are kept without being compared at all
  • Minimal Harness for Autonomous ML Engineering (Malena) — the selection gap measured on agentic ML-engineering runs (6.8 points for independent restarts vs 1.9 for one long session), with score comparability across validation splits proposed as the mechanism
  • Certified Test-Time Scaling Curves — the pass@k-versus-best-of-k gap with a 95% simultaneous certificate: on one sampler and the same draws, pass@64 beats best-of-64 by more than 12 points, and a log-probability selector converts 3 of pass@k's 22 points while consensus converts 5
  • Compute-Controlled Benchmarking — the accounting rule SELF-POT applies to the selector itself. Once the judge call is charged to the same dollar budget as generation, a free executable rule (public examples) beats it by 77 correct submissions on 500 coding cells at 12–49% lower cost, and in maths the judge's 3–4 extra answers on 292 pools cost 12–21% more
  • Stopping Under a Noisy Verifier — SELF-POT's revision identity, Δ = (1 − p)r − pd, is that page's boundary b* = α/(α+β) measured for one Self-Refine round on static tasks: both repair and content damage come out near zero
  • Claude Opus 5.5 — SELF-POT's reference model answering once, which no low-cost model with 2–4× test-time compute matches outside programming
  • GLM (Z.AI) — GLM-5, the SELF-POT model with the largest coding conversion loss (88 covered, 55 submitted) and the largest Parallel@2 gain (+15 tasks, 15–0)
  • Trained Calibration — the other use of the same signal. Xi et al.'s probe ties majority voting as a selector but, distilled into the stated confidence by SFT, cuts Qwen3-14B's out-of-domain ECE from 0.542 to 0.113. The calibrated confidence then works as a vote weight (79.05% vs 78.59% majority at N = 16)
  • Every-of-k Reliability — the opposite question from the same repeated samples: not whether a filter can find one good answer among k, but whether all k are good. On ThinkingBox the two rank models in nearly opposite order (Kimi-K3 first on pass@20, Opus 5 and 5.5 first on all-20)

Open Questions#

  • Does the 10@k-versus-pass@k spread narrow as base models improve, or is it roughly constant — i.e. is the selection bottleneck a property of the sampler's diversity or of the selector's discrimination? AlphaCode 2 improves both at once and the lecture reports no arm that isolates them. Partially answered 2026-10-15, by adding a third factor rather than splitting the two. How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering? (empirical) measures an oracle-vs-self-select gap of 1.9 to 6.8 percentile points across five search policies at one backbone. The gap tracks how the candidates were validated more than how many there were: independent restarts with separately designed validation splits have the largest gap, and one session with one split has the smallest. The proposed mechanism is score comparability, a property of neither the sampler nor the selector. The paper does not test the base-model trend this bullet asks about, and labels its mechanism a hypothesis. Second partial answer 2026-10-15, on the sampler-versus-selector split itself: Cheap to Draw, Expensive to Trust: Certifying Test-Time Scaling Curves (empirical) holds the sampler fixed and varies only the selector on the same draws. pass@k rises 0.736 → 0.960 over 64 samples, best-of-k by log-probability rises 0.736 → 0.767, and the certified gap at k = 64 exceeds 12 points with probability at least 90%. In that setting the bottleneck is the selector's discrimination, not the sampler's diversity. It is one model, one benchmark and one weak selector, and the base-model trend is still untested. Third partial answer 2026-10-15, adding a fourth factor: How Much Can Language Models Gain from Test-Time Computation? (empirical) splits covered-but-lost pools across five models. In programming, 64 of 81 are no-choice failures, where the selector stage returned no valid index. Only 17 are wrong choices, and a zero-cost fallback recovers 61 submissions. In maths the losses are wrong choices (Qwen3-Next loses all 8 of its covered-but-lost pools that way). So the split between factors differs by domain at one fixed panel of models, and stage completion is a fourth candidate beside diversity, discrimination and comparability. Pools are three candidates and the base-model trend is still untested. Settler: a base-model ladder (same family, several generations) crossed with a selector ladder on one benchmark, reporting pass@k and selected score for each cell.
  • Clustering selects for behavioural spread and a scoring model selects for predicted correctness. Under a fixed submission budget, is combining them (cluster, then rank within cluster) better than ranking globally — and by how much? AlphaCode 2 ships the combination without an ablation against the alternative. Partially answered 2026-10-15 for the filter-then-rank analogue at k = 3: How Much Can Language Models Gain from Test-Time Computation? (empirical) replays a gate that selects by public examples and calls the same-model judge only among tied top scores. It scores 452/500 against 453/500 for public examples alone (−0.2 pp, interval [−0.6, 0.0]) while still paying for the judge on 465 of 498 pools. The reason is that the tied set is homogeneous: all correct in 426 of the 465 tied pools and mixed in only 13. This tests a filter plus a ranker, not behavioural clustering, on three-candidate pools rather than AlphaCode's 1M. The within-group ranker had almost nothing to decide, so the question remains open at large k, where groups are many and mixed. Settler: an ablation at AlphaCode scale (k in the thousands or more) comparing cluster-then-rank against global ranking on the same samples.
  • Does a per-trace confidence signal with high pooled AUROC beat majority voting at selection once its within-question discrimination is measured? Xi et al.'s probe (pooled AUROC 0.948) ties consensus at N = 32 and reports no within-question metric. Settler: AUROC computed only over mixed-correctness sample pools, set against the Max-Probe minus majority-vote margin, on the same benchmark.

Sources#

  • CS329A Self-Improving AI Agents — Part 7: Self-Improvement and Deep Research Agents — CS329A Self-Improving AI Agents — Part 7: Self-Improvement with Search & Deep Research Agents, Aakanksha Chowdhery solo, Stanford Online. Delivered 2025-10-17, published to YouTube 2026-08-03 (practitioner-opinion, YouTube auto-caption transcript, ~12.1k words). The AlphaCode half: the pre-train/fine-tune/sample/filter/cluster/submit pipeline with the GOLD regularizer and the test-input-generation model behind the clustering, the Codeforces evaluation and its per-contest variance discussion, the pass@k-versus-10@k definitions and the model-size × sampling-budget sweep, AlphaCode 2's Gemini Pro fine-tuning family and learned scoring model with the 95%-filtered / top-10-clusters / rerank pipeline, the 100-samples-matches-1M and 43%-versus-25% comparisons, the 85th-percentile figure, the diversity-ceiling caveat on extrapolating the log-linear trend, and the class discussion on adapting sample budget to task difficulty. Every figure is ASR-read off a slide and hedged accordingly; neither AlphaCode paper is in raw/. No instructor-authorship COI — both systems are DeepMind's — with the residual that AlphaCode 2 is narrated as "this work was at Google" by a former Google Brain researcher who does not say so
  • How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering? — Brilliantov, Hernández-Cano & Abbé (EPFL / Apple), arXiv 2609.40303, 2026-09-30, 45pp, empirical. Cited for Table 6's selection gaps (reconciled against pdftotext -layout), Table 1's parallel arm and Appendix C.3's comparability hypothesis (quoted from prose; Table 7 is column-shifted in the parse and not cited). Full treatment, parse notes and COI on Minimal Harness for Autonomous ML Engineering (Malena)
  • Cheap to Draw, Expensive to Trust: Certifying Test-Time Scaling Curves — Sarkar & Baichoo (PMCC AI Lab, University Health Network), arXiv 2609.40190, 2026-09-30, 32pp, empirical. Cited for §8.6's three certified curves on one MMLU-Pro answer set (pass@k 0.736 → 0.960, best-of-k 0.736 → 0.767, majority voting 0.787, the ≥0.125 band separation at k = 64) and Table 3 (reconciled against pdftotext -layout). Full treatment on Certified Test-Time Scaling Curves
  • How Much Can Language Models Gain from Test-Time Computation? — Bangji Yang, … Ge Liu (UIUC / University of Washington / Tsinghua), How Much Can Language Models Gain from Test-Time Computation? (SELF-POT), arXiv 2610.01110, v1 2026-10-01 (the paper's own date line reads 2026-10-07), 37pp, empirical. This page's primary treatment of it. Cited for §2.3's coverage × conversion identity and the no-choice / wrong-choice split; §3.3 and Appendix J.1–J.2 (Tables 11–16: the 64/17 coding partition, J 376 / J+F 437 / P3 453 / P2 448 / G 452, the 94-vs-78 mixed-pool result, the 426/26/13 tie composition, maths J 185 / J+F 186 / vote 182 and the 12.3–21.1% saving); §3.4 and Figure 6 (the deployment frontier and the Opus numpy note, Appendix H). Figures 4 and 5 were viewed and agree with the prose counts. Parse note: PDF-derived (docling 2.126.0 / docling-mlx 0.1.1, confidence_grade: excellent, 20 tables, 6 pictures). Tables 3, 4, 11, 12, 13, 15 and 16 were reconciled against the prose totals (for example J column 96+75+55+69+81 = 376, no-choice 3+1+27+25+8 = 64) and match. Table 2's price cells are split across two columns but map correctly. Table 8 (test-set composition by stratum) has welded multi-value cells in the maths and workflow rows, and its per-difficulty counts are not cited anywhere in the wiki. The J.2 maths paragraph has a duplicated, welded sentence in the parse, which is cosmetic. No COI: an academic group evaluating other vendors' models, with Opus 5.5 run as a reference through Amazon Bedrock
  • Calibration, Not Answer Selection: Distilling Internal Confidence in Reasoning Models — Xi, Zhang, Lv, Luo & Zhao (NetEase / Amazon / SUTD), arXiv 2609.33290 v1, 2026-09-27, empirical. Cited for §3.3 and Appendix C (Max-Probe vs majority vs oracle, the N = 2 → 32 gap growth, the flat layer profile), Table 7 (N = 32 best-of-N; its Qwen rows are welded into one cell in the parse and were rebuilt from pdftotext -layout) and §6.4/Appendix K (weighted vs majority vs max-confidence voting at N = 16). Full treatment and parse notes on Trained Calibration
§ end
Cited by 21
Related articles
  • Process vs Outcome Reward Models

    The four-year arc of trained LLM verifiers as taught in CS329A lecture 3: OpenAI's GSM8K verifier (score the finished s…

  • Large-Scale Test-Time Compute

    Noam Brown's thesis that model capability is now a function of inference budget (tokens/cost/time): with good scaffoldi…

  • Compute-Controlled Benchmarking

    Noam Brown's critique: the single-number benchmark grid is broken because it ignores test-time compute — plot performan…

  • Latent Capability Overhang

    Noam Brown's claim that already-released models can do far more than anyone has extracted, because nobody spends enough…

  • Open Questions Backlog

    Generated by `_system/lint.py --write-backlog`. Do not hand-edit. Domain and Watching sections carry one row per page —…