Prompt Interference in LLM Post-Training: Why Pass@k Optimization Can Degrade Pass@1
cs.LG, cs.AI
Submitted: 2026-02-24
Updated: 2026-10-13
Comments: NeurIPS 2026
License: http://creativecommons.org/licenses/by/4.0/
The gist: Pass@ k is a widely used performance metric for verifiable large language model tasks, including mathematical reasoning, code generation, and short-answer reasoning.
Terminology
Abstract
Pass@ k is a widely used performance metric for verifiable large language model tasks, including mathematical reasoning, code generation, and short-answer reasoning. It defines success if any of k independently sampled solutions passes a verifier. This multi-sample inference metric has motivated inference-aware fine-tuning methods that directly optimize pass@ k. However, prior work reports a trade-off: pass@ k improves while pass@1 degrades under such methods. This trade-off is practically important because pass@1 often remains a hard operational constraint due to latency and cost budgets, imperfect verifier coverage, and the need for a reliable single-shot fallback. We study the origin of this trade-off and provide a theoretical characterization of when pass@ k policy optimization can reduce pass@1 through gradient conflict induced by prompt interference. This interference arises because shared model parameters couple prompts, so improving performance on some prompts can adversely affect others. We show that pass@ k policy gradients can conflict with pass@1 gradients because pass@ k optimization implicitly reweights prompts toward low-success prompts; when these prompts are negatively interfering, their upweighting can rotate the pass@ k update direction away from the pass@1 direction. We illustrate our findings with large language model experiments on verifiable mathematical reasoning and coding tasks.
Sources
- Best-of-N through the Smoothing Lens: KL Divergence and Regret Analysis
- Evaluating Large Language Models Trained on Code
- Pass@k Training for Adaptively Balancing Exploration and Exploitation of Large Reasoning Models
- What is the objective of reasoning with reinforcement learning?
- Best-of-Majority: Minimax-Optimal Strategy for Pass@$k$ Inference Scaling
- Optimizing Temperature for Language Models with Multi-Sample Inference
- Risk-Sensitive RL for Alleviating Exploration Dilemmas in Large Language Models
- Reinforcement Learning with Verifiable Rewards: GRPO's Effective Loss, Dynamics, and Success Amplification
- Beyond the Sampled Token: Preserving Candidate Support in RLVR
- POPE: Learning to Reason on Hard Problems via Privileged On-Policy Exploration
- Ray Interference: a Source of Plateaus in Deep Reinforcement Learning
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Advantage Shaping as Surrogate Reward Maximization: Unifying Pass@K Policy Gradients
- Solving math word problems with process- and outcome-based feedback
- A Minimalist Approach to LLM Reasoning: from Rejection Sampling to Reinforce
- Pass@k Metric for RLVR: A Diagnostic Tool of Exploration, But Not an Objective
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks