Papers
Topics
Authors
Recent
Search
2000 character limit reached

Pass@$k$ Paradox in LLM Evaluation

Updated 3 June 2026
  • Pass@$k$ paradox is the phenomenon where using the metric to measure the probability of at least one correct sample leads to unstable learning signals and statistical anomalies.
  • The paradox manifests in both optimization and evaluation, causing improved top-1 accuracy to mask reduced diversity and misleading model comparisons.
  • Statistical and algorithmic remedies, such as Bayesian evaluations and explicit exploration bonuses, are proposed to mitigate these issues and enhance LLM robustness.

The Pass@kk paradox concerns the widespread use of the pass@kk metric in evaluating and optimizing LLMs for tasks with verifiable rewards, such as mathematical reasoning and code synthesis. While pass@kk—the probability that at least one of kk independently sampled outputs is correct—was adopted due to its intuitive appeal for multi-sample evaluation, its direct optimization and even its use for ranking have been shown to have subtle failures. These include unstable or misleading model comparisons, vanishing learning signals during training, exploration collapse, and statistical paradoxes in practice. The paradox is now recognized as both a challenge for RL with verifiable rewards and an opportunity for theoretical clarification and improved algorithm design.

1. Definition of Pass@kk and Metric Formulation

Given an autoregressive LLM policy πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t}) and a deterministic verifier V(x,y){0,1}V(x,y)\in\{0,1\}, the pass@kk probability is

Jk(x;θ)=1(1J1(x;θ))k,J_k(x; \theta) = 1 - \left(1 - J_1(x; \theta)\right)^k,

where J1(x;θ)=Eyπθ[V(x,y)]J_1(x;\theta)=\mathbb{E}_{y\sim\pi_\theta}[V(x, y)] is the expected single-sample accuracy. Aggregating across a dataset kk0 yields kk1 (Yu, 20 Nov 2025). Pass@kk2 thus reflects the success probability in kk3 draws, and is a nonlinear, non-differentiable function of model outputs.

In practical settings with kk4 samples per problem and kk5 observed correct samples, the unbiased estimator is

kk6

(Hariri et al., 5 Oct 2025, Peng et al., 16 Oct 2025).

2. Theoretical Analysis: Gradient Structure and Learning Signal

The pass@kk7 objective is not an independent optimization direction. Applying the chain rule,

kk8

with scaling factor kk9 (Yu, 20 Nov 2025). This means optimizing pass@kk0 is a collinear reweighting of the pass@kk1 gradient. Crucially, it does not introduce new search directions or incentivize the discovery of alternative correct modes.

Two degenerate learning regimes result:

  • Failure regime (kk2): Large kk3 in theory, yet empirical gradients vanish as correct samples are nearly impossible to discover, so optimization stalls exactly where exploration is most needed.
  • Saturation regime (kk4): kk5, so the objective becomes uninformative, precluding further improvements in policy robustness or diversity (Yu, 20 Nov 2025, Thrampoulidis et al., 27 Oct 2025).

3. Exploration Collapse and Mode Concentration

Policy gradient RLVR iteratively magnifies discovered modes at the expense of the others. Given a correct solution partitioned into modes kk6 (found) and kk7 (unfound), as mass kk8, the probability kk9 becomes negligible. Consequently, policy updates reinforce kk0 only:

  • The pass@kk1 probability, kk2, grows toward unity.
  • pass@kk3 saturates at kk4.
  • As kk5, the gap kk6 vanishes, so pass@kk7 converges to pass@kk8.

This "exploration collapse" reflects entropy shrinkage and diversity loss. Empirically, RLVR with vanilla PPO-style optimization shows this effect as increased pass@kk9 but degraded or stagnant pass@kk0 for kk1 (Peng et al., 16 Oct 2025).

4. Empirical Manifestations: The Pass@kk2 Paradox in Practice

The pass@kk3 paradox manifests both in model optimization and in evaluation/ranking:

  • Optimization: RLVR methods (e.g., GRPO, PPO) improve pass@kk4 while reducing pass@kk5 as training proceeds—sharpening the output distribution to maximize the top-1 likelihood at the cost of alternative plausible answers (mode collapse). SimKO proposes an asymmetric update rule (boosting top-kk6 on correct, penalizing top-1 on incorrect at high entropy steps) to mitigate this, empirically raising pass@kk7 across LLMs and benchmarks (Peng et al., 16 Oct 2025).
  • Evaluation and ranking: pass@kk8 is highly sensitive to sample count and correct-answer count, especially for moderate kk9. Its nonlinear dependence on πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})0 creates large sampling variance, which can invert model rankings, producing unreliable or misleading leaderboards (Hariri et al., 5 Oct 2025). Empirical studies demonstrate that as πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})1 increases (or πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})2 decreases), fluctuations and order-inversions become more likely even if one model is truly superior in underlying accuracy.

A Bayesian evaluation framework using posterior means and credible intervals over success rates gives substantially more stable, statistically interpretable rankings, and avoids these pitfalls (Hariri et al., 5 Oct 2025).

5. Mathematical and Probabilistic Connections

The combinatorial structure of pass@πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})3 mirrors classical problems in probability. For instance, the "lost boarding pass" paradox generalizes as follows: The probability that the πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})4th passenger (where πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})5) sits in their assigned seat is

πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})6

and thus

πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})7

(Grimmett et al., 2019). Independence of occupancy events induces a symmetry that underpins the form of pass@πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})8 probabilities and their stochastic properties. In the large πθ(yx)=t=1Tπθ(atx,a<t)\pi_\theta(y|x)=\prod_{t=1}^T\pi_\theta(a_t|x,a_{<t})9 limit, the empirical cycle structure converges to the Poisson–Dirichlet law, providing a connection between pass@V(x,y){0,1}V(x,y)\in\{0,1\}0 anomalies and deep results in random permutation theory.

6. Algorithmic and Statistical Remedies

Analysis of pass@V(x,y){0,1}V(x,y)\in\{0,1\}1 paradox consequences guides mitigation strategies:

  • Exploration encouragement: Explicit incentives (e.g., entropy bonuses, submodular diversity, set-based objectives) must be introduced during RLVR, as optimizing pass@V(x,y){0,1}V(x,y)\in\{0,1\}2 itself is insufficient. Algorithms such as SimKO and reward-level regularization via surrogate objectives can partially restore exploration and sustain pass@V(x,y){0,1}V(x,y)\in\{0,1\}3 without sacrificing pass@V(x,y){0,1}V(x,y)\in\{0,1\}4 (Peng et al., 16 Oct 2025, Thrampoulidis et al., 27 Oct 2025).
  • Evaluation best practices: Bayesian inference over success probabilities, with Dirichlet or Beta priors, yields closed-form posterior means and credible intervals (e.g., V(x,y){0,1}V(x,y)\in\{0,1\}5 for the uniform Beta(1,1) prior), enabling robust, rapid-converging model comparisons and principled uncertainty quantification (Hariri et al., 5 Oct 2025).

7. Implications and Outlook

The pass@V(x,y){0,1}V(x,y)\in\{0,1\}6 paradox highlights a fundamental gap between metrics suitable for model evaluation versus those fit for optimization:

  • pass@V(x,y){0,1}V(x,y)\in\{0,1\}7 is effective as a diagnostic tool for latent diversity and multi-sample performance but fails as an RL objective due to vanishing or misguided learning signals.
  • Both theoretical and empirical evidence recommend decoupling pass@V(x,y){0,1}V(x,y)\in\{0,1\}8 measurement from model training; instead, adopt explicit exploration mechanisms and rigorous, uncertainty-calibrated evaluation frameworks.
  • Surrogate reward maximization and posterior-based evaluation now constitute standard methodologies in response to the paradox (Yu, 20 Nov 2025, Thrampoulidis et al., 27 Oct 2025, Hariri et al., 5 Oct 2025).

Ongoing research continues to refine both the exploration incentives necessary in RLVR and the statistical tools for reliable, compute-efficient benchmarking under limited sampling regimes. The resolution of the pass@V(x,y){0,1}V(x,y)\in\{0,1\}9 paradox thus informs the design of robust reasoning agents and the criteria by which their progress is measured.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Pass@$k$ Paradox.