Efficient Prediction of pass@k Scaling in Large Language Models

arXiv:2510.05197 · cs.AI, cs.LG, stat.AP, stat.ML · Submitted 2025-10-06 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "Efficient Prediction of pass@k Scaling in Large Language Models".

Paper summary: Tom: So, to wrap up, we're talking about this paper by Kazdan and Schaeffer called "Efficient Prediction of pass@k Scaling in Large Language Models." They found that standard methods for fitting scaling laws have statistical flaws when data is limited, and they fixed those by using a beta-binomial distribution for better estimation.

Jane: And they added the dynamic sampling strategy, which tells you to spend your compute budget on the hardest problems instead of sampling everything evenly. This combination leads to much more accurate pass@k predictions compared to prior work across different models and budgets.

Lu: The main implication is that we need a better way to model problem difficulties and we need an adaptive way to allocate resources when we only have limited compute for testing.

Meng: For those of us at the startup level, it suggests that if you can't afford massive compute runs, this framework could give you a much more reliable picture of what your AI will actually do under stress.

Jane: Exactly. It’s about moving from just guessing how well a model will do to having a statistically sound way to predict those rare risks and capabilities when resources are scarce.

Conclusion: Tom: So we're wrapping up on "Efficient Prediction of pass@k Scaling in Large Language Models" by Kazdan and Schaeffer. Basically, they figured out a way to predict how well these massive AI models will do when you only have a tiny bit of time to test them.

Jane: That’s right. They looked at how we usually estimate those pass@k scores—the success rate over many tries—and found that the old math just doesn't work well when you don't have tons of data to look at.

Lu: They pointed out these statistical flaws in the old methods, like how they treat different attempts as if they are totally independent. That’s a big problem because it messes up the predictions when you only have a small budget B divided by m problems.

Meng: I wonder how much this actually helps when I'm trying to deploy something? Because my biggest concern is that the prediction might be way off on real traffic, not just synthetic data.

Lalam: From where I stand, this work uses a beta-binomial distribution instead of those old linear regression tricks. That lets them build a more robust estimator directly from the observed counts.

Tom: So they essentially fixed the estimation part by changing the underlying math to be more realistic about how rare those high pass@k scores actually are in limited settings.

Jane: Exactly. And on top of that, they introduced a dynamic sampling strategy. Instead of just throwing samples at every problem equally, this method tells you to spend your limited compute budget on the problems that are genuinely harder.

Lu: That adaptive allocation based on how hard the problem is—that’s what really changed things for me. It connects the math about the distribution shape to a practical decision about where to sample next.

Meng: If that dynamic sampling actually works, it means I could get a much more accurate sense of model performance without needing to run those massive, uniform sampling experiments every single time. That's a huge win for my deployment pipeline.

Tom: It sounds like the core message is that if you want reliable safety and capability predictions from these large language models, you need both better statistical tools for counting and a smarter way to allocate your limited testing resources.

Jane: And that leads us into how they actually tested this—checking their results on things like Code Contests and MATH datasets. We’ll see how much better their predictions are compared to the older methods when they run the numbers.

Stanford University · University of Toronto EPFL

cs.AI, cs.LG, stat.AP, stat.ML

Submitted: 2025-10-06

Updated: 2026-11-24

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 98/100

The gist: Efficient prediction of pass@k scaling in large language models addresses how to accurately predict a model’s behavior when scaled to a massive number of attempts given a vastly smaller sampling…

Key concepts

pass@k Scaling
This measures the success rate of an AI system given many repeated attempts (k) using a limited computational budget. The goal is to predict this success rate accurately even when you can only afford a small number of total samples.
Beta-Binomial Distributional Fitting
This is a new statistical method used to model the distribution of problem difficulties. Instead of standard linear regression, it fits the observed counts directly using a beta-binomial distribution. This helps create more accurate predictions than older methods, especially when data is scarce.
Dynamic Sampling Strategy
This strategy allocates the limited sample budget unevenly instead of uniformly. It prioritizes allocating more computational effort to problems deemed 'harder' based on their difficulty distribution. This adaptive approach improves efficiency by focusing resources where they matter most.

Terminology

Summary

Efficient prediction of pass@k scaling in large language models addresses how to accurately predict a model’s behavior when scaled to a massive number of attempts given a vastly smaller sampling budget. p. 0

Where the paper says it

For instance, repeated sampling has been shown to increase their capabilities, such as solving difficult math and coding problems, but it has also been shown to increase their potential for harm, such as being jailbroken. Such results raise a crucial question for both capability and safety forecasting: how can one accurately predict a model’s behavior when scaled to a massive number of attempts, given a vastly smaller sampling budget?

<ref:2510.05197#pg1,how can one accurately predict a model’s behavior when scaled to a massive number of attempts given a vastly smaller sampling budget>. p. 0
Where the paper says it

For instance, repeated sampling has been shown to increase their capabilities, such as solving difficult math and coding problems, but it has also been shown to increase their potential for harm, such as being jailbroken. Such results raise a crucial question for both capability and safety forecasting: how can one accurately predict a model’s behavior when scaled to a massive number of attempts, given a vastly smaller sampling budget?

This is critical for both AI safety and capabilities research. p. 1
Where the paper says it

We show empirically that by allocating our fixed compute budget adaptively to focus on more difficult problems, we achieve more accurate predictions than the standard approach of uniform sampling. The insights from this work are important for both AI safety and capabilities research.

<ref:2510.05197#pg2,The insights from this work are important for both AI safety and capabilities research>. p. 1
Where the paper says it

We show empirically that by allocating our fixed compute budget adaptively to focus on more difficult problems, we achieve more accurate predictions than the standard approach of uniform sampling. The insights from this work are important for both AI safety and capabilities research.

Problem Statement: Efficient Prediction of Rare Model Behaviors from Repeated Sampling

The goal is to predict the success rate of an AI system given many repeated attempts using a limited compute budget.<ref:2510.05197#pg2,Our goal is to predict the success rate of an AI system given many repeated attempts using a limited compute budget>. p. 1

Where the paper says it

For example, we may want our AI system to solve a Millennium Problem, or to not launch a cyberattack on a nation’s infrastructure. Our goal is to predict the success rate of an AI system, given many repeated attempts at the problem.

This involves predicting passD@k for k much larger than the available budget B/m. p. 3
Where the paper says it

3 CRITIQUING PAST METHODS OF PREDICTING pass@k We now examine past methods of predicting pass@k scaling and identify their shortcomings. 1 COMBINATORIAL ESTIMATION Directly measuring passD@k for a large k is often computationally expensive.

<ref:2510.05197#pg2,Given a total compute budget of B samples to be distributed across a dataset D containing m problems, how should one best allocate this budget and build a model to predict passD@k for k ≫ B/m? p. 1
Where the paper says it

(2) Our goal is to predict performance given many attempts using data from an economically feasible, small-scale experiment. This leads to our formal research question: Given a total compute budget of B samples to be distributed across a dataset D containing m problems, how should one best allocate this budget and build a model to predict passD@k for k ≫ B/m?

>. The evaluation compares predictions against ground truth estimates computed using a withheld dataset of 10 000 samples per problem. p. 1
Where the paper says it

, k ∈ [101 , 104 ]). We evaluate predictions by comparing them against a ground truth estimate of pass@k computed using a withheld dataset of 10 000 samples per problem.

<ref:2510.05197#pg2,We evaluate predictions by comparing them against a ground truth estimate of pass@k computed using a withheld dataset of 10 000 samples per problem>. p. 1
Where the paper says it

, k ∈ [101 , 104 ]). We evaluate predictions by comparing them against a ground truth estimate of pass@k computed using a withheld dataset of 10 000 samples per problem.

Critiquing Past Methods of Predicting pass@k

Prior methods suffer from statistical shortcomings that hinder predictive accuracy, especially in data-limited scenarios.<ref:2510.05197#pg4,we find that standard methods for fitting these laws (Chen et al. p. 0

Where the paper says it

, 2024; Du et al. , 2024), we find that standard methods for fitting these laws (Chen et al.

, 2021; Brown et al. p. 0
Where the paper says it

, 2024), we find that standard methods for fitting these laws (Chen et al. , 2021; Brown et al.

, 2024; Hughes et al. p. 0
Where the paper says it

Through repeated attempts, however, the success rate of these models can climb rapidly to near-100% (Brown et al. , 2024; Hughes et al.

, 2024) suffer from statistical shortcomings that hinder predictive accuracy, especially in data-limited scenarios>. p. 0
Where the paper says it

, 2024; Hughes et al. , 2024) suffer from statistical shortcomings that hinder predictive accuracy, especially in data-limited scenarios.

)&pg3,We argue that the shortcomings of prior prediction methods stem from statistical approximations that do not hold in sample-limited regimes> This critique covers: 1. p. 1

Where the paper says it

We argue that the shortcomings of prior prediction methods stem from statistical approximations that do not hold in sample-limited regimes. By carefully modeling the data-generating process and developing faithful estimators, we demonstrate that predictions can be substantially improved.

Rigorous critique of prior prediction methods, discussing statistical flaws in log-log linear regression and distributional fitting techniques. p. 1
Where the paper says it

Rigorous critique of prior prediction methods. We discuss statistical flaws that have led to poor prediction accuracy in common approaches such as log-log linear regression and existing distributional fitting techniques.

2. Linear Regression suffers from issues like non-independent estimates for different k values and lack of homoskedasticity. p. 3
Where the paper says it

(6) There are several problems with this approach, leading to poor estimates of pass@k for higher k values as shown in Figure 1: 1. Estimates of passD@k are not independent for different k when they are computed using the same dataset of samples.

3. Discretized-Beta Distributional Fitting produces downward-biased estimates because the bins are wider for smaller values, skewing the distribution U. p. 5
Where the paper says it

Analysis of the Discretized-Beta Estimator Because the bins are wider for smaller values, this fitting method consistently produces downward-biased estimates of the distribution U. We demonstrate this phenomenon in Figure 2 where the discretized beta distribution is fit on problem success probabilities drawn from a uniform distribution.

4. The linear regression approach fails when a sufficient budget is not available to observe samples for large k because non-leading terms can dominate. p. 3
Where the paper says it

Power laws typically apply only for large values of k. Therefore, if the computation budget for sampling is not large, then non-leading terms can dominate, resulting in poor fits of the data.

5. The variance of pass@k estimators is not constant across different values of k. p. 8
Where the paper says it

Existing estimators especially struggle with high values of k. We also provide the MSE for each estimator across different sampling budgets in Appendix E.

Lemma 2> This demonstrates that the estimates pass@k have different variances for different values of k. p. 3
Where the paper says it

Estimates of passD@k are not homoskedastic, i. they have different variances for each value of k.

Lemma 4> This implies that given passi@k for any k, passi@j for j ≠ k is uniquely determined. p. 1
Where the paper says it

(1) For the entire dataset D of m problems, the overall pass rate passD@k is the expected fraction of problems solved within k attempts: passD@k = Ei∼D[passi@k]. (2) Our goal is to predict performance given many attempts using data from an economically feasible, small-scale experiment.

Lemma 5> This result motivates our use of dynamic sampling <ref:2510. p. 7
Where the paper says it

A proof of Theorem 1 is provided in Appendix D. The result further motivates our use of dynamic sampling.

05197/pg20,b

i∝√v i(46),where v i is the variance of the estimator and b i is the number of attempts allocated to problem i.

Where the Gains Come From

The core innovation involves a robust estimation framework that uses a beta-binomial distribution instead of standard methods.<ref:2510.05197#pg4>. This is achieved through: 1. p. 5

Where the paper says it

As shown in Figure 2, the discretized estimator badly fits a uniform distribution because it incorrectly puts excessive weight on the left tail. We also observe here the superior fit achieved by maximizing the beta-binomial likelihood directly, which ultimately results in better predictions of pass@k.

Developing an alternative distributional fitting method for the problem-difficulty distribution U, modeling it as a beta distribution and fitting a beta-binomial distribution directly to observed counts. p. 5
Where the paper says it

Our improvements involve two steps: 1. We develop an alternative distributional fitting method for the problem-difficulty distribution U.

<ref:2510.05197#pg4>. 2. Proposing a simple dynamic sampling strategy to allocate the sample budget more efficiently. p. 5
Where the paper says it

We develop an alternative distributional fitting method for the problem-difficulty distribution U. We propose a simple dynamic sampling strategy to allocate the sample budget more efficiently.

<ref:2510.05197#pg4>.

Dynamic Sampling Strategy

The paper proposes an efficient dynamic sampling strategy that allocates a greater budget to harder problems instead of uniform sampling.<ref:2510.05197#pg4>. The dynamic selection criteria are defined in Algorithm 1. p. 5

Where the paper says it

Therefore, we propose to concentrate our sampling budget on the hardest problems. We provide our dynamic problem selection criteria in Algorithm 1.

<ref:2510.05197#pg7,Algorithm 2 Dynamic Sampling + Beta-Binomial Fit for Efficient passD@k Estimation>. p. 6
Where the paper says it

We outline our complete approach in Algorithm 2. Algorithm 2 Dynamic Sampling + Beta-Binomial Fit for Efficient passD@k Estimation Require: Dataset D with m problems, total sample budget B, and number of repeated attempts k.

This adaptive approach is not immediately applicable to the regression-based estimator because it requires a uniform number of samples across problems to compute intermediate passD@k values. p. 5
Where the paper says it

We provide our dynamic problem selection criteria in Algorithm 1. This adaptive approach is not immediately applicable to the regression-based estimator, which requires a uniform number of samples across problems to compute intermediate passD@k values.

<ref:2510.05197#pg7,It is likewise inconsistent with the discretized estimator from Schaeffer et al. p. 5
Where the paper says it

This adaptive approach is not immediately applicable to the regression-based estimator, which requires a uniform number of samples across problems to compute intermediate passD@k values. It is likewise inconsistent with the discretized estimator from Schaeffer et al.

(2025) since direct sampling methods have different precision with this dynamic sampling method >. p. 6
Where the paper says it

Algorithm 1 SelectHardestProblem Require: Dataset D with m problems and per-problem counts of successful and total attempts: successes and attempts, respectively. s ∗ ← mini successesi H ← arg min{i : successesi=s ∗} attemptsi i ∗ ∼ Uniform(H) return i ∗ estimates pˆi = si bi have different precision with this dynamic sampling method.

The decision to select problems dynamically is motivated by intuition from theorems in Schaeffer et al. p. 6
Where the paper says it

, B} do it ← SelectHardestProblem(s, b) attemptsit ← attemptsit + 1 successesit ← successesit + 1 {AttemptProblem(it)} end for α, ˆ βˆ ← arg maxα,β>0 Qm i=1 Pr [s = si | b = bi ; α, β] Equation 16 pass \i@k ← Epassi@1∼Beta( ˆα,βˆ) 1 − (1 − passi@1)k Equation 17 return pass \i@k On improved sample allocation. The decision to select problems dynamically based on estimated problem difficulty is motivated by intuition from the theorems in Schaeffer et al.

(2025) regarding the shape of the difficulty distribution near 0. p. 5
Where the paper says it

2 MORE EFFICIENT SAMPLING STRATEGIES It was demonstrated by Schaeffer et al. (2025) that in the high-k regime, pass@k scaling is governed almost exclusively by the shape of the difficulty distribution near 0.

<ref:2510.05197#pg8>.

Results and Validation

The proposed method achieves far better predictive accuracy for large k across various models and datasets.<ref:2510.05197#pg9,Our method provides predictions that are closest to the ground truth>. p. 8

Where the paper says it

We also provide the MSE for each estimator across different sampling budgets in Appendix E. Across models and datasets, our proposed method provides predictions that are closest to the ground truth.

Specifically, the heatmaps show that existing estimators diverge significantly from the true pass@k value beyond a certain threshold. p. 8
Where the paper says it

The plots have been designed to clearly delineate the region in which pass@k can be directly estimated and the region in which it must be extrapolated. We observe that existing estimators diverge significantly from the true pass@k value beyond this threshold.

<ref:2510.05197#pg9,Existing estimators especially struggle with high values of k>. p. 8
Where the paper says it

Note that, as expected, the error generally decreases as we increase the sampling budget. Existing estimators especially struggle with high values of k.

The comparison between Discretized Beta and our Dynamic + Beta-Binomial method shows superior performance across all models, values of k, and sampling budgets tested. p. 5
Where the paper says it

We take inspiration from Levi (2024), who uses similar methods to model pass@k. As shown in Figure 5, our method provides equivalent or better estimates across all models, values of k, and sampling budgets tested.

<ref:2510.05197#pg3>. Furthermore, the dynamic strategy outperforms uniform sampling by large margins when there are many easy problems and a small number of hard outliers. p. 7
Where the paper says it

Therefore, we provide some additional empirical support for dynamic sampling on synthetic data in Appendix D. We find that when there are many easy problems and a small number of hard outliers, or a uniform distribution of difficulties, the dynamic sampling method outperforms uniform sampling by large margins.

<ref:2510.05197#pg9>. The MSE scaling with increasing budget shows that our approach reaches MSE more than 10x lower than its counterparts for some models. p. 8
Where the paper says it

We also provide the MSE for each estimator across different sampling budgets in Appendix E. Across models and datasets, our proposed method provides predictions that are closest to the ground truth.

<ref:2510.05197#pg9>.

Conclusion and Future Work

The work contributes two core improvements: selecting a more appropriate model for the underlying problem difficulties and utilizing dynamic sampling to concentrate compute on the most difficult problems.<ref:2510.05197#pg10>. The gains suggest that a closer statistical inspection of other scaling-law fitting methodologies could lead to considerable computational savings. p. 8

Where the paper says it

We achieved large improvements in predictive accuracy by remedying statistical errors in prior methods and improving sampling techniques, all without requiring extra sampling compute. These gains suggest that a closer statistical inspection of other scaling-law fitting methodologies could lead to considerable computational savings and, ultimately, better and safer models.

<ref:2510.05197#pg10>. The work raises important questions for other types of scaling-law research. p. 8
Where the paper says it

We demonstrate the significant impact of these innovations in Figure 5 on mathematical problemsolving. Our work raises important questions for other types of scaling law research.

<ref:2510.05197#pg6>.

Data Sources

The evaluation data is drawn from two recent sources: Brown et al. (2024) and Hughes et al. p. 0

Where the paper says it

Through repeated attempts, however, the success rate of these models can climb rapidly to near-100% (Brown et al. , 2024; Hughes et al.

p. 0
Where the paper says it

Through repeated attempts, however, the success rate of these models can climb rapidly to near-100% (Brown et al. , 2024; Hughes et al.

(2024).<ref:2510.05197#pg8,We source our data from Brown et al. p. 7
Where the paper says it

We estimate passD@k for k in the range [101 , 103 ] on three real-world datasets and three to six different models for each dataset 5. 1 EXPERIMENTAL SETUP We source our data from Brown et al.

(2024) and Hughes et al. (2024)>. These sources record successful or failed attempts for problems sampled from Code Contests, MATH, and AdvBench. p. 7
Where the paper says it

(2024), which contain 10 000 sampled successful or failed attempts for each of 100 ∼ 200 problems selected from Code Contests (Li et al. , 2022), MATH (Hendrycks et al.

<ref:2510.05197#pg8>. This combination lets us evaluate the efficacy of our estimator on problem success probability distributions extracted from coding, mathematical reasoning, and adversarial robustness domains. p. 0
Where the paper says it

Unfortunately, direct estimation at high k is often difficult. While prior work has shown that pass@k can follow predictable power laws across a range of domains including jailbreaking, mathematical problem-solving, and code generation (Hughes et al.

Related Work

The paper reviews scaling laws in language models across various factors such as context length, vocabulary size, and jailbreaking.<ref:2510.05197#pg13>. The review also covers emerging phenomena like inverse scaling and model-data feedback loops. p. 9

Where the paper says it

, 2022; Hu et al. Researchers have also studied critical challenges like data contamination (Schaeffer, 2023), model-data feedback loops (Gerstgrasser et al.

<ref:2510.05197#pg13>. The paper notes efforts to reconcile discrepancies between empirical results and theory. p. 9
Where the paper says it

, 2025b), and overtraining effects (Gao et al. Finally, efforts to reconcile discrepancies between empirical results and theory continue (Besiroglu et al.

<ref:2510.05197#pg13>.

References

The reference section lists numerous works relevant to scaling laws in machine learning, including foundational papers on neural scaling laws and language models. p. 9

Where the paper says it

7 RELATED WORK Early studies on neural scaling laws discovered power-law scaling in simple machine learning settings (Barkai et al. , 1993; Mhaskar, 1996; Pinkus, 1999), but the modern era began with breakthrough work on language models (Hestness et al.

<ref:2510.05197#pg11>. It also includes work on specific benchmarks like Frontiermath for mathematical reasoning. p. 0
Where the paper says it

Unfortunately, direct estimation at high k is often difficult. While prior work has shown that pass@k can follow predictable power laws across a range of domains including jailbreaking, mathematical problem-solving, and code generation (Hughes et al.

p. 0
Where the paper says it

Unfortunately, direct estimation at high k is often difficult. While prior work has shown that pass@k can follow predictable power laws across a range of domains including jailbreaking, mathematical problem-solving, and code generation (Hughes et al.

p. 0
Where the paper says it

Unfortunately, direct estimation at high k is often difficult. While prior work has shown that pass@k can follow predictable power laws across a range of domains including jailbreaking, mathematical problem-solving, and code generation (Hughes et al.

p. 0
Where the paper says it

Unfortunately, direct estimation at high k is often difficult. While prior work has shown that pass@k can follow predictable power laws across a range of domains including jailbreaking, mathematical problem-solving, and code generation (Hughes et al.

<ref:2510.05197#pg23>. The references cover a wide range of topics from early neural scaling laws to recent findings in multimodal systems and diffusion models. p. 9
Where the paper says it

7 RELATED WORK Early studies on neural scaling laws discovered power-law scaling in simple machine learning settings (Barkai et al. , 1993; Mhaskar, 1996; Pinkus, 1999), but the modern era began with breakthrough work on language models (Hestness et al.

p. 9
Where the paper says it

7 RELATED WORK Early studies on neural scaling laws discovered power-law scaling in simple machine learning settings (Barkai et al. , 1993; Mhaskar, 1996; Pinkus, 1999), but the modern era began with breakthrough work on language models (Hestness et al.

p. 9
Where the paper says it

7 RELATED WORK Early studies on neural scaling laws discovered power-law scaling in simple machine learning settings (Barkai et al. , 1993; Mhaskar, 1996; Pinkus, 1999), but the modern era began with breakthrough work on language models (Hestness et al.

<ref:2510.05197#pg23>. It also includes work on specific benchmarks like Frontiermath for mathematical reasoning.

Appendix Details

Appendix details the derivation of the tractable likelihood for the scaled beta-binomial distribution, involving complex alternating sums.<ref:2510.05197#pg18,Appendix details the derivation of the tractable likelihood for the scaled beta-binomial distribution, involving complex alternating sums>. p. 4

Where the paper says it

(13) This more complex discretized beta estimator was used to support the common case when si = 0. Here, the estimate pass \i@1 is also 0, meaning the scaled beta density is not supported.

Appendix D provides proofs for Theorem 1 and Lemma 4 regarding variance in the asymptotic regime. p. 7
Where the paper says it

In the asymptotic regime as n → +∞, the sampling budget b ∗ that minimizes the variance Var(pass \i@kfreq) is: b ∗ i ∝ q (passi@1)(1 − passi@1)2k−1. A proof of Theorem 1 is provided in Appendix D.

<ref:2510.05197#pg20>. Appendix C contains details on deriving the tractable likelihood for the scaled beta-binomial distribution. p. 5
Where the paper says it

This allows us to leverage the properties of conjugate priors and fit a beta-binomial distribution directly to the observed counts of successes and trials (si , bi). The likelihood for the beta-binomial is given by: Pr [s = si | b = bi ; α, β] = bi si Be(si + α, bi − si + β) Be(α, β) , (15) where Be(·, ·) is the beta function.

<ref:2510.05197#pg18,Appendix C contains details on deriving the tractable likelihood for the scaled beta-binomial distribution>. p. 5
Where the paper says it

This allows us to leverage the properties of conjugate priors and fit a beta-binomial distribution directly to the observed counts of successes and trials (si , bi). The likelihood for the beta-binomial is given by: Pr [s = si | b = bi ; α, β] = bi si Be(si + α, bi − si + β) Be(α, β) , (15) where Be(·, ·) is the beta function.

Appendix B provides details for estimating theta using a stabilized MLE, which is found not to improve predictions empirically. p. 4
Where the paper says it

As such, this is not a principled estimator for θ. We provide details for how to estimate θ using a stabilized MLE in Appendix B, but we find empirically that using the scale parameter does not improve predictions.

<ref:2510.05197#pg4>. Appendix E contains MSE for each estimator across different sampling budgets. p. 8
Where the paper says it

Existing estimators especially struggle with high values of k. We also provide the MSE for each estimator across different sampling budgets in Appendix E.

<ref:2510.05197#pg9,Appendix E contains MSE for each estimator across different sampling budgets>. p. 8
Where the paper says it

Existing estimators especially struggle with high values of k. We also provide the MSE for each estimator across different sampling budgets in Appendix E.

Appendix F includes evaluation data from the benchmarks. p. 7
Where the paper says it

However, in the sample-count regimes and distributions in our datasets, it is difficult to empirically isolate the benefits of the sampling method alone. Therefore, we provide some additional empirical support for dynamic sampling on synthetic data in Appendix D.

<ref:2510.05197#pg24>. Appendix G provides matching figures from the main paper for omitted benchmarks. p. 3
Where the paper says it

(3) In this paper, we focus on the regime where B/m < k < B. As the size and quantity of benchmarks continues to grow, we may often find ourselves in such constrained contexts.

<ref:2510.05197#pg24>. Appendix H provides empirical support for dynamic sampling on synthetic data. p. 7
Where the paper says it

However, in the sample-count regimes and distributions in our datasets, it is difficult to empirically isolate the benefits of the sampling method alone. Therefore, we provide some additional empirical support for dynamic sampling on synthetic data in Appendix D.

<ref:2510.05197#pg9>. Appendix I contains the final results. p. 0
Where the paper says it

For instance, repeated sampling has been shown to increase their capabilities, such as solving difficult math and coding problems, but it has also been shown to increase their potential for harm, such as being jailbroken. Such results raise a crucial question for both capability and safety forecasting: how can one accurately predict a model’s behavior when scaled to a massive number of attempts, given a vastly smaller sampling budget?

<ref:2510.05197#pg23>. Appendix J contains the final results. p. 0
Where the paper says it

For instance, repeated sampling has been shown to increase their capabilities, such as solving difficult math and coding problems, but it has also been shown to increase their potential for harm, such as being jailbroken. Such results raise a crucial question for both capability and safety forecasting: how can one accurately predict a model’s behavior when scaled to a massive number of attempts, given a vastly smaller sampling budget?

<ref:2510.05197#pg23>. The reference section lists numerous works relevant to scaling laws in machine learning, including foundational papers on neural scaling laws and language models.<ref:2510.05197#pg13>. It also includes work on specific benchmarks like Frontiermath for mathematical reasoning.<ref:2510.05197#pg23>. The references cover a wide range of topics from early neural scaling laws to recent findings in multimodal systems and diffusion models.<ref:2510.05197#pg23>. It also includes work on specific benchmarks like Frontiermath for mathematical reasoning. The references cover a wide range of topics from early neural scaling laws to recent findings in multimodal systems and diffusion models.

--- Page 1 ---

EFFICIENT PREDICTION OF PASS@k SCALING IN LARGE LANGUAGE MODELS Joshua Kazdan1∗, Rylan Schaeffer1†, Youssef Allouah3†, Colin Sullivan1†, Kyssen Yu2, Noam Levi3 Sanmi Koyejo1 1Stanford University 2University of Toronto 3 EPFL †Equally contributing second author.

--- Page 2 ---

ABSTRACT Assessing the capabilities and risks of frontier AI systems is a critical area of research, and recent work has shown that repeated sampling from models can dramatically increase both.<ref:2510.05197#pg2>.

--- Page 3 ---

In this work, we make three contributions. First, we find that standard methods for fitting these laws suffer from statistical shortcomings that hinder predictive accuracy, especially in data-limited scenarios. p. 0

Where the paper says it

To answer this questions, we make three contributions. First, we find that standard methods for fitting these laws suffer from statistical shortcomings that hinder predictive accuracy, especially in data-limited scenarios.

<ref:2510.05197#pg2>. Second, we remedy these shortcomings by introducing a robust estimation framework using a beta-binomial distribution to generate more accurate predictions from limited data. p. 0
Where the paper says it

First, we find that standard methods for fitting these laws suffer from statistical shortcomings that hinder predictive accuracy, especially in data-limited scenarios. Second, we remedy these shortcomings by introducing a robust estimation framework, which uses a beta-binomial distribution to generate more accurate predictions from limited data.

<ref:2510.05197#pg2>. Third, we propose a dynamic sampling strategy that allocates a greater budget to harder problems. p. 0
Where the paper says it

Second, we remedy these shortcomings by introducing a robust estimation framework, which uses a beta-binomial distribution to generate more accurate predictions from limited data. Third, we propose a dynamic sampling strategy that allocates a greater budget to harder problems.

<ref:2510.05197#pg2>.

--- Page 4 ---

Combined, these innovations enable more reliable prediction of rare risks and capabilities at a fraction of the computational cost.<ref:2510.05197#pg2>.

--- Page 6 ---

Figure 1: Comparing Forecasting Methods for passD@k Across Different Datasets. The ground truth is computed based on 10 000 actual samples per problem. p. 2

Where the paper says it

] Dynamic + Beta-Binomial [Ours] True Pass@k Figure 1: Comparing Forecasting Methods for passD@k Across Different Datasets. The ground truth is computed based on 10 000 actual samples per problem.

All predictive models are trained on data from a budget of 10 000 total samples. p. 2
Where the paper says it

The ground truth is computed based on 10 000 actual samples per problem. All predictive models are trained on data from a budget of 10 000 total samples.

<ref:2510.05197#pg6>.

--- Page 7 ---

Figure 2: Comparing Hardness Distribution Fit for Discretized Beta vs. Beta-Bernoulli. p. 5

Where the paper says it

(16) Finally, we retrieve an estimate for pass@k: pass \i@k = Epassi@1∼Beta( ˆα,βˆ) 1 − (1 − passi@1)k . (17) We see in Figure 2 that our approximate Beta-Bernoulli distribution better fits problem success probabilities sampled from a uniform distribution.

Our method provides equivalent or better estimates across all models, values of k, and sampling budgets tested. p. 5
Where the paper says it

We take inspiration from Levi (2024), who uses similar methods to model pass@k. As shown in Figure 5, our method provides equivalent or better estimates across all models, values of k, and sampling budgets tested.

<ref:2510.05197#pg7>.

--- Page 8 ---

Figure 3: Budget Allocation by Hardness Relative to the Optimal Allocation from Theorem 1. The dynamic strategy is more closely aligned with this optimal rate. p. 7

Where the paper says it

The dotted line represents the distribution of problem success probabilities under the optimal sampling allocation provided in Theorem 1, assuming oracle access to the problem success probabilities. We see that the dynamic strategy is more closely aligned with this optimal rate.

<ref:2510.05197#pg8,The dynamic strategy is more closely aligned with this optimal rate>. p. 7
Where the paper says it

The dotted line represents the distribution of problem success probabilities under the optimal sampling allocation provided in Theorem 1, assuming oracle access to the problem success probabilities. We see that the dynamic strategy is more closely aligned with this optimal rate.

--- Page 9 ---

Figure 4: Evaluating Performance Scaling for Uniform vs. Dynamic Allocation Strategies. p. 7

Where the paper says it

5 Flash 10 4 10 3 10 2 10 1 Hardness (log scale) 0 10 20 30 % Attempts Allocated Gemini 1. 5 Pro 10 3 10 2 10 1 Hardness (log scale) 0 10 20 30 % Attempts Allocated GPT4o Mini 10 4 10 3 10 2 10 1 Hardness (log scale) 0 5 10 15 20 25 30 % Attempts Allocated GPT4o Attempt Allocation for AdvBench Uniform Allocation Dynamic Allocation [Ours] Optimal Allocation [Oracle] Figure 3: Budget Allocation by Hardness Relative to the Optimal Allocation from Theorem 1 Contrasted distributions of problem success probabilities for the problems selected by dynamic and uniform sampling strategies on AdvBench.

Dynamic sampling is most useful when there are a handful of very difficult problems, but many easy problems. p. 8
Where the paper says it

Figure 4: Evaluating Performance Scaling for Uniform vs. Dynamic Allocation Strategies Dynamic sampling is most useful when there are a handful of very difficult problems, but many easy problems.

<ref:2510.05197#pg9,Dynamic sampling is most useful when there are a handful of very difficult problems, but many easy problems>. p. 8
Where the paper says it

Figure 4: Evaluating Performance Scaling for Uniform vs. Dynamic Allocation Strategies Dynamic sampling is most useful when there are a handful of very difficult problems, but many easy problems.

--- Page 10 ---

Figure 5: Heatmap depicting how predictions of pass@k change with the sampling budget and k on MATH. Our method minimizes MSE for virtually all values of k and sampling budgets, as evidenced by the darker colors in its heatmap. p. 9

Where the paper says it

Figure 5: Heatmap depicting how predictions of pass@k change with the sampling budget and k on MATH. Our method minimizes MSE for virtually all values of k and sampling budgets, as evidenced by the darker colors in its heatmap.

<ref:2510.05197#pg10,Our method minimizes MSE for virtually all values of k and sampling budgets, as evidenced by the darker colors in its heatmap>. p. 9
Where the paper says it

Figure 5: Heatmap depicting how predictions of pass@k change with the sampling budget and k on MATH. Our method minimizes MSE for virtually all values of k and sampling budgets, as evidenced by the darker colors in its heatmap.

--- Page 16 ---

Lemma 3. The likelihood for the scaled beta-binomial distribution is given by. p. 5

Where the paper says it

This allows us to leverage the properties of conjugate priors and fit a beta-binomial distribution directly to the observed counts of successes and trials (si , bi). The likelihood for the beta-binomial is given by: Pr [s = si | b = bi ; α, β] = bi si Be(si + α, bi − si + β) Be(α, β) , (15) where Be(·, ·) is the beta function.

<ref:2510.05197#pg18,The likelihood for the scaled beta-binomial distribution is given by>. p. 5
Where the paper says it

This allows us to leverage the properties of conjugate priors and fit a beta-binomial distribution directly to the observed counts of successes and trials (si , bi). The likelihood for the beta-binomial is given by: Pr [s = si | b = bi ; α, β] = bi si Be(si + α, bi − si + β) Be(α, β) , (15) where Be(·, ·) is the beta function.

Lemma 4 (Variance in the Asymptotic Regime). p. 7
Where the paper says it

In the asymptotic regime as n → +∞, the sampling budget b ∗ that minimizes the variance Var(pass \i@kfreq) is: b ∗ i ∝ q (passi@1)(1 − passi@1)2k−1. A proof of Theorem 1 is provided in Appendix D.

For a sequence of random random variables such that xn = yn/n where yn ∼ Bin(n, p), we have the following. p. 4
Where the paper says it

(2025) first divide the interval (0, 1) into log-scale bins with endpoints 0 = e0, e1, . , eℓ = 1, where the bin widths decrease (ei − ei−1 > ei+1 − ei).

<ref:2510.05197#pg19,For a sequence of random random variables such that xn = yn/n where yn ∼ Bin(n, p), we have the following>. p. 4
Where the paper says it

(2025) first divide the interval (0, 1) into log-scale bins with endpoints 0 = e0, e1, . , eℓ = 1, where the bin widths decrease (ei − ei−1 > ei+1 − ei).

--- Page 23 ---

Figure 6: The MSE of our estimator with both dynamic and uniform sampling strategies given the described synthetic problem success probabilities, n = 100 problems and k = 1 000. By focusing on the most difficult problems, the dynamic strategy allows our estimator to converge rapidly to the true pass@k value. p. 1

Where the paper says it

Efficient dynamic sampling strategy. We show empirically that by allocating our fixed compute budget adaptively to focus on more difficult problems, we achieve more accurate predictions than the standard approach of uniform sampling.

<ref:2510.05197#pg23>.

--- Page 24

Figure 8: Contrasted distributions of problem success probabilities for the problems selected by dynamic and uniform sampling strategies on Code Contests and MATH. The dotted line represents the distribution of problem success probabilities under the optimal sampling allocation provided in Theorem 1. p. 7

Where the paper says it

Note that these probabilities are not immediately available to our estimator but rather approximated given a limited amount of samples for each problem. The dotted line represents the distribution of problem success probabilities under the optimal sampling allocation provided in Theorem 1, assuming oracle access to the problem success probabilities.

<ref:2510.05197#pg24>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Robust Prediction of Rare Risks and Capabilities: The proposed estimator, which uses a beta-binomial distribution instead of standard methods like log-log linear regression or simpler discretized fitting, delivers more accurate predictions for pass@k at large scales with limited samples. This allows model providers and regulators to reliably forecast the scaling of vulnerability rates or capabilities at a fraction of the computational cost.

  2. Efficient Dynamic Sampling Strategy: The dynamic sampling strategy allocates a greater budget to harder problems by selecting them adaptively based on estimated problem difficulty, rather than uniform sampling. This adaptation ensures that the fixed compute budget B is distributed in a way that maximizes predictive accuracy, as shown by the comparison against optimal allocation from Theorem 1.

  3. Improved Mathematical Problem Solving: By applying the proposed method across benchmarks like MATH and Code Contests, AI systems will exhibit more reliable performance scaling predictions for complex reasoning tasks. This enables researchers to effectively size batches for training on difficult problems in methods like Reinforcement Learning from Verified Rewards (RLVR).

Abstract

Assessing the capabilities and risks of frontier AI systems is a critical area of research; recent work has shown that repeated sampling can dramatically increase both. For instance, repeated sampling allows models to solve difficult math and coding problems, but it may also increase their risk of being jailbroken. Such results raise a crucial question: how can one accurately predict a model's behavior when scaled to a massive number of attempts, given a vastly smaller sampling budget? This question is directly relevant to model providers, who serve hundreds of millions of users daily, and to governmental regulators, who seek to prevent harms. To answer this question, we make three contributions. First, we find that standard methods for fitting these laws suffer from statistical shortcomings that hinder predictions, especially in data-limited scenarios. Second, we remedy these shortcomings by introducing a robust estimation framework, which uses a beta-binomial distribution to generate more accurate predictions from limited data. Third, we propose a dynamic sampling strategy that allocates a greater budget to harder problems. Combined, these innovations enable more reliable prediction of rare risks and capabilities at a fraction of the computational cost.

Sources

Related papers