Efficient Prediction of pass@k Scaling in Large Language Models
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 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? 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? 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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. (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? , 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. , 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 , 2024; Du et al. , 2024), we find that standard
methods for fitting these laws (Chen et al. , 2024), we find that standard
methods for fitting these laws (Chen et al. , 2021; Brown et al. Through repeated attempts, however, the success
rate of these models can climb rapidly to near-100% (Brown et al. , 2024; Hughes et al. , 2024; Hughes et al. , 2024) suffer
from statistical shortcomings that hinder predictive accuracy, especially in data-limited scenarios.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
)&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 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. 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. (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. 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. 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. Existing estimators
especially struggle with high values of k. We also provide the MSE for each estimator across
different sampling budgets in Appendix E. Estimates of passD@k are not homoskedastic, i. they have different variances for each value
of k. (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. A proof of Theorem 1 is provided in Appendix D. The result further motivates our use of dynamic
sampling.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. Our improvements involve two steps:
1. We develop an alternative distributional fitting method for the problem-difficulty distribution U. 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.Where the paper says it
Where the paper says it
Where the paper says it
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 Therefore, we propose to concentrate our sampling budget on the hardest problems. We provide our dynamic problem selection criteria in Algorithm 1. 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. 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. 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. 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. , 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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. Note that,
as expected, the error generally decreases as we increase the sampling budget. Existing estimators
especially struggle with high values of k. 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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.Where the paper says it
Where the paper says it
Data Sources
The evaluation data is drawn from two recent sources: Brown et al. (2024) and Hughes et al. p. 0 Through repeated attempts, however, the success
rate of these models can climb rapidly to near-100% (Brown et al. , 2024; Hughes et al. Through repeated attempts, however, the success
rate of these models can climb rapidly to near-100% (Brown et al. , 2024; Hughes et al. 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), 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 , 2022; Hu et al. Researchers have also studied critical challenges like data contamination (Schaeffer, 2023),
model-data feedback loops (Gerstgrasser et al. , 2025b), and overtraining effects
(Gao et al. Finally, efforts to reconcile discrepancies between empirical results and theory
continue (Besiroglu et al.Where the paper says it
Where the paper says it
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 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. 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. 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. 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. 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. 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 (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. 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. 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. 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. 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. Existing estimators
especially struggle with high values of k. We also provide the MSE for each estimator across
different sampling budgets in Appendix E. Existing estimators
especially struggle with high values of k. We also provide the MSE for each estimator across
different sampling budgets in Appendix E. 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. (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. 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. 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? 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?Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
--- 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 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
--- 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 ] 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. 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.Where the paper says it
Where the paper says it
--- Page 7 ---
Figure 2: Comparing Hardness Distribution Fit for Discretized Beta vs. Beta-Bernoulli. p. 5 (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. 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.Where the paper says it
Where the paper says it
--- 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 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. 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.Where the paper says it
Where the paper says it
--- Page 9 ---
Figure 4: Evaluating Performance Scaling for Uniform vs. Dynamic Allocation Strategies. p. 7 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
--- 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 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. 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.Where the paper says it
Where the paper says it
--- Page 16 ---
Lemma 3. The likelihood for the scaled beta-binomial distribution is given by. p. 5 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. 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. 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. (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). (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).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
--- 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 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.Where the paper says it
--- 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 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.Where the paper says it
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
-
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.
-
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.
-
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
- Chinchilla Scaling: A replication attempt
- How Feature Learning Can Improve Neural Scaling Laws
- A Theory of Universal Learning
- Large Language Monkeys: Scaling Inference Compute with Repeated Sampling
- Language Models are Few-Shot Learners
- Broken Neural Scaling Laws
- Evaluating Large Language Models Trained on Code
- FrontierMath: A Benchmark for Evaluating Advanced Mathematical Reasoning in AI
- Scaling Laws for Autoregressive Generative Modeling
- Scaling Laws for Transfer
- Scaling Laws and Interpretability of Learning from Repeated Data
- Deep Learning Scaling is Predictable, Empirically
- Scaling laws for single-agent reinforcement learning
- Scaling Trends in Language Model Robustness
- Predicting Emergent Abilities with Infinite Resolution Evaluation
- Best-of-N Jailbreaking
- Learning Curve Theory
- Forecasting Rare Language Model Behaviors
- Scaling Laws for Forgetting When Fine-Tuning Large Language Models
- Scaling Laws for Neural Language Models
Related papers
- Beyond Moral Performance: Empirical Assessment of LLMs' Moral Competence Through Judgment Stability
- K12Vista: Exploring the Boundaries of MLLMs in K-12 Education
- A Matter of TASTE: Improving Coverage and Difficulty of Agent Benchmarks
- FlowSteer: Towards Agents Designing Agentic Workflows via Reinforced Progressive Canvas Editing
- Tokengeist: Multi-Turn Attribution Tracing in Agentic Conversations
- VESTA: Visual Exploration with Statistical Tool Agents