How LLMs are evaluated: harnesses, prompts, metrics and error bars
arXiv ↗PDF ↗Paper ↗Website ↗Code ↗
TL;DR. An LLM benchmark number is the output of a whole pipeline: a task, a prompt template, few-shot examples, decoding settings and a scoring rule. Changing any one of them can move the score by tens of points and reorder models. Three ideas make the number usable:
- Standardise and disclose the pipeline. HELM (Liang et al., 2211.09110) runs every model through the same adaptation on the same scenarios and reports seven metrics, not one. The lm-eval harness paper (Biderman et al., 2405.14782) documents what goes wrong otherwise.
- Put error bars on it. Treat questions as a sample from a larger population, use clustered standard errors when questions come in groups, and compare models with paired differences (Miller, 2411.00640).
- Know what a preference ranking is. Chatbot Arena fits a Bradley–Terry model to pairwise votes (Chiang et al., 2403.04132). Length-controlled AlpacaEval removes the judge’s preference for longer answers with a regression (Dubois et al., 2404.04475).
Why this is page 1. Every later page in this section scores something (passages, nuggets, reports, agent runs) and compares systems. This page gives the shared vocabulary and arithmetic. If you know Cranfield and TREC, most of it maps onto things you already do; the new parts are prompt sensitivity, sampling noise from the model itself, and preference-based leaderboards.
First read. Study §§1–2, the pass@k example in §4, and the independent, clustered and paired examples in §5. Then read the key points and the pitfalls. Treat the power formula and §6’s Bradley–Terry and length-control details as a second pass: you need to understand what these leaderboards estimate before you need to fit one.
Versions read. HELM arXiv v2 (TMLR 2023), lm-eval harness paper v3 (2026), Chatbot Arena v1, LC AlpacaEval v2 (2025), Miller v1.
Key idea
Section titled “Key idea”1. The anatomy of an eval
Section titled “1. The anatomy of an eval”In IR terms, Cranfield fixes a collection, topics and relevance judgments, and the only thing that varies is the system. An LLM eval has to fix much more, because “the system” is a model plus the way you ask it. HELM calls this adaptation and lists its parameters explicitly (Table 7):
| Component | What it is | Example choices |
|---|---|---|
| Task / scenario | Instances with references | HELM: a triple (task, domain, language); domain = what (genre), when (period), who (demographic) |
| Prompt template | How an instance becomes a string | Instructions, input prefix (“Question:”), output prefix (“Answer:”) |
| Few-shot examples | Solved examples placed before the test item | HELM’s default is up to 5 where in-context examples are used, fixed across all test items, re-drawn over 3 runs |
| Decoding | How text is produced | Temperature (HELM: 0 for QA, 0.3 for summarisation), max tokens, stop sequences |
| Scoring | How output becomes a number | Exact match, log-likelihood multiple choice, a verifier, or a judge |
| Aggregation | How item scores become one score | Micro vs macro mean, number of runs, max instances (HELM caps at 1,000) |
Three scoring families. The lm-eval paper frames all of them as answers to what it calls the Key Problem: many different strings mean the same thing, and the best tool for detecting equivalence is the very model being tested.
- Close the answer space. Score only a fixed set of options, or check a short answer by string match or a verifier (unit tests for code).
- Use an automatic grader. Heuristic reference metrics such as BLEU and ROUGE measure n-gram overlap; learned evaluators and LLM judges can assess other aspects of answer quality (see LLM-as-a-judge).
- Ask humans. This is accurate but slow, and humans are biased too.
Log-likelihood multiple choice (lm-eval Appendix B.2) is the workhorse for base models. For each context–option pair, evaluate the supplied option tokens with teacher forcing (the option is fed in, not generated), summing only the log-probabilities of the continuation tokens. The pairs can be batched. This scores candidate strings without sampling an answer:
Here is the number of tokens in option . Because the score is a sum, long options are penalised. lm-eval offers token-length normalisation (divide by ), byte-length normalisation (reported as acc_norm), and a pointwise mutual information (PMI) variant that asks how much the question raises the option’s probability. The log-likelihood API can also return a greedy-match flag: whether every target token is the highest-probability next token given the context and the preceding target tokens. Separately, generation tasks compute exact match by comparing an extracted or normalised generated answer with a reference. Generative evaluation samples text, then extracts the answer with regexes or filters. That makes extraction code part of the metric.
2. Why scores move with prompt format and scoring method
Section titled “2. Why scores move with prompt format and scoring method”Two ways to ask the same four-option question:
- Cloze / separate. Show the question, then score each answer string as a continuation. The model never sees the other options.
- MMLU-style / joint. Show all options with letters A–D and score only the letter. The model must read the options, map content to a symbol, and follow the exam format.
Base models that have not learned the second format sit near chance. lm-eval Table 1 (0-shot accuracy; ± is the half-width of a 95% bootstrap confidence interval, not one standard error):
| Model | ARC-Challenge, cloze | ARC-Challenge, MMLU-style |
|---|---|---|
| GPT-NeoX-20B | 38.0 ± 2.8 | 26.6 ± 2.5 |
| Llama-2-7B | 43.5 ± 2.8 | 42.8 ± 2.8 |
| Falcon-7B | 40.2 ± 2.8 | 25.9 ± 2.5 |
| Mistral-7B | 50.1 ± 2.9 | 72.4 ± 2.6 |
Three readings: the gap can exceed 20 points; it has opposite signs for different models; and the order of Falcon-7B and GPT-NeoX-20B swaps. On ARC-Easy, GPT-NeoX-20B goes from 72.4% (cloze) to 26.5% (MMLU-style). HELM found the same thing independently: OPT (175B) scores 79.1% on HellaSwag with each option in a separate 0-shot prompt and 30.2% with options presented jointly in a 5-shot prompt. HELM’s conclusion is that the best adaptation differs across models, which “poses a fundamental challenge” for fair standardisation. Note that this HELM contrast changes both option presentation and the number of demonstrations (0 versus 5), so it is not a controlled estimate of format alone. The lm-eval zero-shot comparison holds the shot count fixed and probes the format change more directly.
Other details that move scores, all documented in lm-eval §3: exact whitespace in the prompt, which few-shot examples are chosen, micro vs macro averaging over MMLU subjects, how perplexity is windowed for long documents, and tokenisation at the prompt–answer boundary. Fourrier et al. (cited in lm-eval) ran three MMLU implementations (HELM, lm-eval, original code) and got different scores and different model rankings.
IR analogy. This is the LLM version of “which qrels, which trec_eval flags, which cutoff”. Nobody compares an nDCG@10 computed with one judgment set against an MAP from another. Yet LLM tech reports routinely copy numbers from other reports run with other harnesses.
3. HELM: coverage, multiple metrics, standardisation
Section titled “3. HELM: coverage, multiple metrics, standardisation”HELM’s three design principles, in its own framing:
- Broad coverage and recognised incompleteness. A top-down taxonomy of scenarios that also lists what is missing.
- Multi-metric measurement. Seven metric categories across the 16 core scenarios, wherever the metric is defined and feasible (98 of 112 scenario–metric pairs are measured): accuracy, calibration (expected calibration error, ECE, with 10 bins), robustness, fairness, bias, toxicity and efficiency. Robustness is worst-case accuracy over benign perturbations such as typos. Fairness is worst-case accuracy over perturbations such as dialect or gender changes.
- Standardisation. A standardised adaptation protocol across models: the same scenario definitions and prompt construction, with up to five fixed in-context examples where that adaptation uses examples and the context window permits them.
The numbers that motivated it: before HELM, models had on average been evaluated on 17.9% of HELM’s 16 core scenarios, and some prominent models shared no scenario at all. HELM raised this to 96.0% for 30 models, and measured 98 of the 112 (scenario, metric) pairs (87.5%). Robustness can diverge sharply from accuracy. On NarrativeQA, TNLG v2 (530B) drops from 72.6% to 38.9% under perturbations.
HELM also includes an IR scenario. Models rerank BM25’s top 30 passages pointwise, ranking by the probability of answering “Yes” to whether the passage answers the query. On the TREC 2019 Deep Learning queries (43 queries, over 9,000 judged pairs), text-davinci-002 reaches NDCG@10 of 61.0 against BM25’s 50.6. On the sparsely judged MS MARCO dev set, about one positive per query, its RR@10 is 22.4 against BM25’s 19.0. The same models look much better under dense judgments, which is the pooling lesson in a new setting.
To aggregate across scenarios, HELM reports a head-to-head win rate: the fraction of (scenario, other model) comparisons a model wins on a metric.
4. Sampling-based metrics: pass@k, maj@k, avg@n
Section titled “4. Sampling-based metrics: pass@k, maj@k, avg@n”When outputs are sampled, one run per question is a noisy draw. Chen et al. (2107.03374) define pass@k as the chance that at least one of samples is correct. To estimate it without bias, draw samples, count the correct ones, and compute
averaged over problems. In plain words, this is the fraction of size- subsets of your samples that contain at least one success. The tempting plug-in estimate is biased low (their Appendix A).
Worked example (, ).
- : , which is just .
- : .
- The plug-in estimate would give , about 8 points too low.
Two related metrics:
- avg@n (also called mean@n) is the average single-sample accuracy over samples, i.e. a lower-variance pass@1.
- maj@k is the accuracy of the majority-voted answer among samples. It is deployable without a checker; pass@k is not.
The reasoning-RL evaluation hub covers these in depth and agent evals adds pass^k (all succeed).
5. Error bars: from one question to a comparison
Section titled “5. Error bars: from one question to a comparison”Miller’s framing is the TREC one: the questions in an eval are a random sample from a super-population of questions, and the target is that population’s mean . Write the score on question as . Here is the question’s true expected score (its difficulty for this model) and is sampling noise from the model, with variance .
A standard error (SE) is the sampling standard deviation of an estimate; it is not the standard deviation of individual question scores. A confidence interval (CI) describes a repeated-sampling procedure, not a probability that this already-fixed population mean lies in one particular interval. Accuracy differences below are in percentage points.
Standard error of the mean. For independent questions,
Miller notes that the central limit theorem suffices, and bootstrapping is only needed for complicated estimators (lm-eval reports a bootstrap SE by default). He also notes that applying the 0/1 formula to fractional scores such as F1 gives intervals that are too wide.
Where the variance comes from. By the law of total variance,
The first term is question variance, the IR “topic variance”. Only more questions reduce it. The second term is the model’s own randomness. Averaging independent answers per question divides this conditional sampling variance by . When the score’s expectation can be computed directly from next-token probabilities (for example, a single-token answer without generated reasoning), using that expectation removes the token-sampling component; it does not integrate out a sampled chain of thought or an agent trajectory. Miller warns against lowering the temperature just to cut noise (“Don’t touch the thermostat!”). In his examples this either triples the irreducible question variance or biases the mean. The exception is when the new temperature is itself what you want to study: a genuinely deterministic greedy decoder has zero conditional sampling variance, and its accuracy is a legitimate target. Decide the estimand (which decoding policy) first, then estimate its variance.
Clustered questions. Reading-comprehension sets ask several questions per passage, and MGSM translates each problem into 10 languages. Questions in a cluster succeed or fail together, so they carry less information than independent ones. Miller’s Eq. 4 adds the within-cluster cross-products:
If all clusters have size and share an intra-cluster correlation , the cross-term is about . That gives the survey-sampling design effect: . On real data, Miller finds clustered SEs 1.10× (RACE-H), 1.88× (MGSM) and 3.05× (DROP) the naive ones.
Worked example (500 questions at 72%).
- Naive: , so the 95% CI is , i.e. [68.1, 75.9].
- Clustered in groups of with : the design effect is , so and the CI is , i.e. [66.2, 77.8].
- The 500 questions carry the information of about independent ones.
Comparing two models: paired differences. When models A and B answer the same questions, analyse :
Models tend to agree on which questions are hard, so the correlation is positive and pairing is a “free” variance reduction. This is exactly why TREC compares runs with paired tests across topics.
Worked example. A at 72%, B at 69%, same 500 questions, per-question correlation 0.5 (illustrative).
- Unpaired: , so the 95% half-width is 5.7 points.
- Paired: , so the half-width is 4.0 points.
- The 3-point gap is not significant either way ( paired).
How many questions you need. Here is the quantile of a standard normal distribution; is the false-positive rate and is the power, the probability of detecting the specified true effect. Miller’s sample-size formula is
Here is the variance of the per-question true difference, and are the models’ mean sampling variances, is the number of resamples, and is the minimum detectable effect. With his illustrative and no sampling noise, detecting a true 3-point difference against a null of no difference, at two-sided with 80% power, needs about 969 questions. That is not the same as certifying that the improvement is at least 3 points, which needs a larger true effect or more data. He concludes that new evals should contain at least 1,000.
The statistics page continues from here: permutation tests, multiple comparisons, and correcting an LLM judge with prediction-powered inference.
6. Pairwise preferences: Bradley–Terry and the Arena
Section titled “6. Pairwise preferences: Bradley–Terry and the Arena”For open-ended chat there is no reference answer, so Chatbot Arena collects pairwise human votes: two anonymous models, one user prompt, and the user picks a winner. The paper reports over 240K votes from about 90K users. The Bradley–Terry (BT) model gives each model one strength :
Only differences matter, so one coefficient is fixed at 0. The are fitted by maximum likelihood, as a logistic regression (binary cross-entropy), reweighted so that every model pair counts as if sampled uniformly. Two technical choices:
- Robust intervals. Confidence intervals use sandwich robust standard errors, which stay valid (for the best-fit BT projection) even if BT is misspecified. The paper reports an optimistic approximate rank: 1 plus the number of models whose lower confidence bound exceeds this model’s upper bound. Its rank guarantee needs a jointly valid confidence set over all models, not just separate 95% intervals. Overlapping intervals mean the ordering is unresolved, not that the models are equal, and two models with overlapping intervals need not get the same approximate rank.
- BT instead of Elo. Online Elo depends on the order of games. The paper switched to BT coefficients because they are “better for the purpose of statistical estimation”. Leaderboards still show them on the Elo scale: 400 points for each factor of 10 in the odds, i.e. Elo points .
Worked example (three models, 100 votes per pair, made-up counts). Suppose A beats B 64 times, B beats C 60 times, and A beats C 73 times. Fixing , the maximum-likelihood estimate (MLE) is about and (Elo scale: 172, 71, 0).
- Fitted probabilities. , and , close to the observed 0.64, 0.60 and 0.73. Here is the logistic function.
- Moment matching. At the MLE each model’s expected wins equal its observed wins: A 137, B 96, C 67.
- Transitivity. With only A–B and B–C observed, BT would predict A–C by adding log-odds: , so . This is how the Arena ranks models that rarely meet. It also means BT cannot represent rock–paper–scissors cycles.
Validity checks in the paper.
- Agreement. Crowd votes agree with expert raters 72–83% of the time, while two experts agree 79.4% and 89.8% in the two setups.
- Active sampling. Choosing the pairs that shrink intervals most saves data: random sampling needs 54% more votes to reach a precision of 0.2 on the win matrix.
Length-controlled win rates. AlpacaEval replaces humans with a GPT-4-turbo judge comparing each model against a fixed baseline on 805 instructions. Judges like longer answers, so Dubois et al. model the judge’s preference as
The three terms are model quality, a squashed length difference, and instruction difficulty . The length-controlled win rate averages the predicted preference with the length term set to zero. It answers: what would the win rate be if both answers had the same length? This is the fitted regression’s counterfactual, not a guarantee of length-free human preference. Length can carry useful content as well as style, and the estimate depends on how adequate the regression is and how much length variation is available. The truncation attack below shows that the adjustment itself can be exploited. The tanh is odd and the terms are antisymmetric, so a model against itself still scores 50% and swapping the pair still gives the win rate.
What it changed:
- Verbosity prompts. Prompting the baseline itself to be verbose or concise moves its raw win rate from 22.9% to 64.3%, and its LC win rate only from 41.9% to 51.6%.
- Correlation with Arena. Spearman correlation rises from 0.94 to 0.98 over 38 models (bootstrap p = 0.07).
- Truncation attack. A model can truncate its weak answers, so that shortness and low quality coincide. Light regularisation on cuts the gamed GPT-4 win rate from 25.9 to 12.2 (raw: 3.7).
The same BT model trains reward models in RLHF; see the rewards map and length correlations in RLHF.
What the numbers say
Section titled “What the numbers say”| Source | Finding | Number |
|---|---|---|
| lm-eval Table 1 | Mistral-7B, ARC-Challenge, cloze vs MMLU-style | 50.1 vs 72.4 |
| lm-eval §4.1 | GPT-NeoX-20B, ARC-Easy, cloze vs MMLU-style | 72.4 vs 26.5 |
| HELM finding 23 | OPT (175B), HellaSwag, separate 0-shot vs joint 5-shot | 79.1 vs 30.2 |
| HELM | Core-scenario coverage per model, before vs after | 17.9% → 96.0% |
| Miller Table 4 | Clustered / naive SE on DROP, MGSM, RACE-H | 3.05×, 1.88×, 1.10× |
| Miller §5 | Questions needed to detect 3 points (illustrative ω² = 1/9) | ≈ 969 |
| Arena | Crowd–expert agreement vs expert–expert | 72–83% vs 79.4–89.8% |
| LC AlpacaEval | Spearman ρ with Chatbot Arena, raw vs LC | 0.94 → 0.98 |
| LC AlpacaEval | Baseline win-rate range across verbosity prompts, raw vs LC | 22.9–64.3% vs 41.9–51.6% |
Caveats and leaderboard pitfalls
Section titled “Caveats and leaderboard pitfalls”- Saturation. As top scores approach the ceiling, the gaps between leaders shrink below one standard error, and label errors in the benchmark become a large share of what remains. The power formula tells you when an eval can no longer separate models at the gap you care about. Retire it then, or add harder items.
- Copied numbers. Scores pulled from different tech reports are unpaired and often come from different harnesses. Some come from models nobody else can run. lm-eval notes that many APIs do not expose log-probabilities, so outsiders cannot even reproduce log-likelihood scores.
- Format and gaming. Fine-tuning to the leaderboard’s format (lm-eval cites models tuned to the Open LLM Leaderboard’s separator tokens) and verbosity tuning against a judge (LC AlpacaEval) both raise scores without raising capability. This is the benchmark lottery: benchmark choice and implementation details define what counts as “good”.
- What variance your interval covers. A bootstrap over questions covers question sampling. Reruns cover model randomness. Neither covers prompt choice, judge error or harness version. Say which one you report.
- Preference rankings. BT assumes a single skill axis and a fixed prompt distribution (whatever Arena users type). Style and length affect both humans and judges. Small rank differences may be statistically unresolved, but failing to distinguish two models is not evidence that their preference rates are equal.
- Contamination. All of this assumes the model has not seen the test set. See Contamination.
- HELM is a snapshot. The 2022 model list and some metrics (bias, toxicity) are operationalisations of contested concepts, as the authors stress. The ideas (adaptation spec, dense coverage, multi-metric reporting) outlive the numbers.
Connections
Section titled “Connections”- IR evaluation, side by side. Cranfield’s fixed collection corresponds to a fixed question set and harness config. TREC pooling and the Arena share a lesson, incomplete observation, but the missingness differs: pooled qrels leave document relevance unjudged, while the Arena observes only some model-pair outcomes and uses BT assumptions to extrapolate to unobserved pairs. “Topic variance dominates system variance” is Miller’s term. The paired t-test across topics is his paired SE. The sparse vs dense qrels contrast reappears in HELM’s MS MARCO vs TREC DL results.
- Next in this section: LLM-as-a-judge explains the position, verbosity and self-preference biases that LC AlpacaEval corrects for one variable. UMBRELA uses an LLM as a relevance assessor.
- Statistics, deeper: Statistics & judge calibration has permutation tests, the finite-population correction, Kendall τ between rankings, and PPI. This page stops at SEs and power.
- Sampling metrics: Evaluating reasoning RL (pass@k vs maj@k vs verifier selection, token budgets) and agent evals (pass^k for reliability). Trajectory & cost adds the cost axis.
- Embedding leaderboards: MTEB & MMTEB face the same aggregation and saturation questions for retrievers.
If you want to try it (optional)
Section titled “If you want to try it (optional)”Run one multiple-choice task in lm-eval twice, once with the cloze config and once with the MMLU-style config (the paper’s Appendix C.1 shows that only two config lines change). Use --log_samples to keep per-question scores. Then compute the paired SE of the difference yourself.
You should now be able to…
Section titled “You should now be able to…”- Name every component of an eval pipeline and say which ones a paper must report for its number to be reproducible.
- Explain why cloze and lettered multiple-choice scoring can disagree by tens of points and reorder models.
- Compute unbiased pass@k from and , and say when maj@k or avg@n is the right number instead.
- Compute a 95% CI for an accuracy, inflate it for clustered questions with the design effect, and compute a paired SE for a model comparison.
- Fit and read a Bradley–Terry ranking, convert coefficients to the Elo scale, and explain what length control changes in a judge-based win rate.
- Spot the standard leaderboard pitfalls: copied numbers, format gaming, unreported variance and saturation.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
MGSM has 2,500 questions made of 250 problems, each translated into 10 languages. Miller reports, on real Anthropic-model data, a naive standard error of 0.86% and a clustered one of 1.62%. (a) Assuming equal clusters of 10 and one common intra-cluster correlation ρ, back out the ρ implied by this ratio. (b) What is the effective number of independent questions? (c) Would a 2-point gap between two models measured on MGSM, analysed unpaired, be significant at 95% if both had the clustered standard error of 1.62%?
What a strong answer covers
- Design effect = (1.62/0.86)² ≈ 3.55 = 1 + (10 − 1)ρ, so ρ ≈ 0.28.
- Effective n ≈ 2,500/3.55 ≈ 700 independent questions, not 2,500; most of the information is per problem, not per language.
- Unpaired SE of the difference = √(1.62² + 1.62²) ≈ 2.29 points, so the 95% half-width ≈ 4.5 points and a 2-point gap is not significant.
- A paired, clustered analysis (Miller Eq. 8) could shrink the SE if the two models agree on which problems are hard, but it must still cluster by problem.
- The equal-cluster, common-ρ reduction is an approximation of Miller Eq. 4, which sums the actual within-cluster cross-products.
- Derive / compute
In a Bradley–Terry model, A beats B in 70 of 100 votes and B beats C in 70 of 100; A and C have not met. Compute the coefficient gaps, the predicted P(A beats C), and the A–C gap on the Elo display scale (400 points per factor of 10 in odds). Now add 100 A–C votes in which C wins 60. Explain why the three observed pairwise rates cannot all be fitted, which score equations constrain the compromise, and what this reveals about the single-strength assumption.
What a strong answer covers
- Gap = logit(0.7) = ln(0.7/0.3) ≈ 0.847 per step, so ξ_A − ξ_C ≈ 1.69 and P(A beats C) = 1/(1 + e^(−1.69)) ≈ 0.845.
- Elo points = 400/ln 10 × ξ ≈ 173.7 × ξ: about 147 per step and about 294 for A–C.
- BT is transitive: one number per model, so it predicts unobserved pairs by addition. A 60% C-over-A rate is a cycle that no single strength vector can fit.
- For this equally weighted toy, the MLE matches expected wins to observed totals: A=110, B=100, C=90. The refit gives P(A>B)=P(B>C)≈0.5334 and P(A>C)≈0.5666; it cannot reproduce the observed cycle. Arena's inverse-probability-weighted fit satisfies weighted versions of these score equations.
- Under the paper's sampling and regularity conditions, sandwich intervals are asymptotically valid for the best-fit BT projection despite misspecification; they do not make a cyclic preference matrix transitive or remove the uncertainty of sparse data.
- Mechanism
Under the lm-eval harness, GPT-NeoX-20B scores 72.4% on ARC-Easy with the cloze setup and 26.5% with the MMLU-style setup; in HELM, OPT (175B) scores 79.1% on HellaSwag with separate 0-shot scoring and 30.2% with joint 5-shot prompts. Explain the mechanism behind each gap at the level of what string is scored and what the model must do, and say what this implies for ranking base models against instruction-tuned ones.
What a strong answer covers
- Cloze/separate: each answer string is appended to the question and scored by its (possibly length-normalised) log-likelihood; the model never has to produce a letter or follow an exam format.
- MMLU-style/joint: all options are shown with letters and only the letter token is scored, so the model must map content to a symbol and follow the format; models that have not learned this sit near chance (25% for four options).
- Summed log-likelihood favours short answers; token- or byte-length normalisation (acc_norm) or a PMI-style correction changes which option wins.
- Which format is best differs by model, so a fixed format favours some models over others; rankings can flip (for example Falcon-7B and GPT-NeoX-20B swap places on ARC-Challenge in lm-eval Table 1).
- Report the format and scoring rule, run more than one, and treat cross-paper numbers as incomparable unless the harness, version and config match.
- The HELM example changes 0-shot to 5-shot as well as separate to joint scoring, so it does not isolate a pure format effect. A matched-shot factorial comparison separates demonstration effects from option/letter-format effects.
- What if…
Length-controlled AlpacaEval fits a logistic regression with a model term, a tanh-squashed length-difference term and an instruction-difficulty term, then sets the length term to zero. Predict what happens to (a) the gpt4_1106_preview baseline under verbose versus concise prompts and (b) a truncation attack, if you remove the length term entirely versus keep it without regularisation on φ. Use the paper's numbers and explain the mechanism.
What a strong answer covers
- Without length control the win rate is length-gameable: the baseline moves from 22.9% to 64.3% across verbosity prompts; with LC it moves only 41.9% to 51.6% (normalised SD 25% to 10%).
- The length term absorbs the part of the judge's preference that is mediated by length; zeroing it answers the counterfactual "what if both outputs had the same length".
- Without regularisation on φ, truncating weak answers makes poor quality perfectly correlated with shortness, so the regression credits the model and the GPT-4 win rate jumps from 3.7 to 25.9; weak regularisation cuts it to 12.2.
- The tanh and antisymmetric design keep identity (baseline vs itself = 50%) and swap symmetry, so the LC number is still a win rate.
- LC raised Spearman correlation with Chatbot Arena from 0.94 to 0.98 over 38 models, with a bootstrap p-value of 0.07, so the improvement is suggestive rather than decisive.
- Critique
A model card claims that X beats Y on HumanEval, 85.4 versus 83.6, and on MMLU, 71.2 versus 70.5. Each score is copied from its own developer's report and is described as one greedy run. What can and cannot be concluded from these summaries? Design the smallest re-analysis that distinguishes a decoding-policy difference, a harness difference and a genuine accuracy improvement, and explain which sources of uncertainty require repeated calls.
What a strong answer covers
- HumanEval has 164 problems; a single-model binomial SE near 84% is about 2.86 percentage points. Comparison uncertainty must come from paired per-problem outcomes, not from separate score intervals alone.
- Check the exact task versions, prompts, extraction and scoring rules, decoding policy and per-item data; if they do not match, rerun both models in one disclosed configuration.
- Genuinely deterministic greedy decoding has no conditional token-sampling variance. Repeated stochastic answers are needed when the estimand is a fixed stochastic decoding policy, not as an automatic repair of greedy evaluation.
- Analyse per-question paired differences with a confidence interval, keeping any genuine item clusters. For MMLU, test whether format following changes the conclusion.
- Ask whether the benchmarks and comparisons were fixed in advance or picked after seeing results, and match any multiplicity adjustment to the actual family of claims and selection procedure.
- Design
You want 80% power at a two-sided 5% significance level to detect a true 3-percentage-point improvement over no improvement. You have 400 questions in 80 independent topics of 5 related questions each. A pilot suggests variance 1/9 for the true paired question differences and within-topic correlation 0.3 for those differences. Generation is stochastic and each answer costs one cent. Compute the optimistic sample size with no generation noise, then design the pilot resampling, analysis and budget decisions needed for a defensible experiment.
What a strong answer covers
- With no generation noise, Miller Eq. 9 gives about 969 independent questions. Equal clusters of five with correlation 0.3 give design effect 2.2, so about 2,132 questions are needed, rounded up to 427 complete topics (2,135 questions).
- The existing 400 questions have an effective n of about 182 under these pilot assumptions. Analyse paired question differences clustered by topic; do not treat 4,000 calls as independent observations.
- Estimate the conditional sampling variances with repeated answers at the intended deployment decoding policy; choose K by weighing their residual contribution against question variance and the cost of new topics.
- K = 5 for two models and 400 questions costs 4,000 calls, about 40 dollars. This is a cost illustration, not proof that K = 5 is enough.
- If the budget cannot reach the target power, report the attainable minimum detectable effect and the interval. Detecting a 3-point effect against zero is different from certifying that the improvement exceeds 3 points.