Statistics for AI/ML, Part 4: pass@k and Unbiased Estimator
A deep dive into the pass@k metric used in LLM benchmarks, explaining the mathematics behind unbiased estimators and why pass@1 doesn't simply mean passing o...
Every time AI labs release new models, we see an evaluation metric called $\text{pass@}k$, where $k$ can be any integer number such as $\text{pass@}1$. It might sound like passing a test at the $k$th attempt, but this metric is far more sophisticated and plays a crucial role in how we build reliable AI applications in production. As an example, here’s OpenAI GPT-5’s performance on AIME. $\text{pass@k}$ does not mean the model passing a test in $k$ attempts. It is calculated using an estimator. Most terms in AI, Machine Learning, and Reinforcement Learning have specific technical definitions th
saved by
related reading
- A statistical approach to model evaluations \ Anthropicanthropic.com
- Defeating Nondeterminism in LLM Inference - Thinking Machines Labthinkingmachines.ai
- Applying Statistics to LLM Evaluationscameronrwolfe.substack.com
- Unbiased vs consistent estimatorjohndcook.com
- [2411.00640] Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluationsarxiv.org
- Attention Is Off By One – Evan Millerevanmiller.org
- https://arxiv.org/pdf/1811.12808arxiv.org
- Non_Interactive – Software & MLnonint.com
- Agent Evaluation: A Detailed Guidecameronrwolfe.substack.com
- LLM evaluation: a beginner's guideevidentlyai.com
- Competing with sampling — Alignment Research Centeralignment.org
- Giovanni D'Antoniogiovannidantonio.com