Why Pass@k Optimization Can Degrade Pass@1: Prompt Interference in LLM Post-Training
Anas Barakat, Souradip Chakraborty, Khushbu Pahwa, Amrit Singh Bedi
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Post-Training: RL & Distillation › Reinforcement Learning for Language Model Reasoning · Type: theory · Keywords: pass@k optimization, pass@1 degradation, prompt interference, gradient conflict, LLM post-training, verifiable tasks
Areas: LLM Reasoning › Reasoning Optimization › Reinforcement Learning for Reasoning; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Agent Evaluation; RL for LLMs & Agents › LLM Reasoning Reinforcement Learning › Reinforcement Learning for Language Models
Summary
The paper reveals that optimizing for pass@k can hurt pass@1 due to prompt interference and provides a theoretical explanation for this trade-off.
Explained to a 5-year-old
When we try to make a language model give many answers and pick the best one, it can make the single answer worse. The paper explains why this happens by looking at how the model learns from different questions. It shows that some questions interfere with each other, causing the model to forget the good answers. This helps us understand the problem so we can fix it later. Knowing this helps build better models that work reliably.
Explained to a 5-year-old, longer
Imagine a robot that answers questions by generating many possible answers and then picking the best one. Sometimes, when we train it to be good at picking the best among many, it becomes worse at giving a single good answer right away. The paper looks at why this happens by studying how the robot learns from different questions. It discovers that some questions interfere with each other, pulling the robot’s learning in opposite directions. When a question that usually gives a bad answer is given more attention, it can push the robot away from learning the good answers. This conflict explains the trade-off we see in practice. By understanding this, we can design training that keeps both the single-answer performance and the multi-answer performance high. The findings are tested on robot tasks that involve math problems and writing code. This helps researchers and engineers build more reliable language models for real-world use. Knowing the cause also suggests new ways to fix the problem without losing progress. Overall, the paper gives us a clearer picture of how to improve language models safely.
For a technical reader
The paper shows that optimizing for pass@k can inadvertently degrade pass@1 because gradient updates for the two metrics conflict. This conflict arises when low-success prompts are upweighted, causing the model’s parameters to move in a direction that harms single-sample performance. The authors provide a theoretical analysis of this interference and validate it with experiments on mathematical reasoning and coding tasks. Understanding this gradient conflict helps engineers design post-training strategies that preserve reliable single-shot outputs while still benefiting from multi-sample inference.
Problem
When fine-tuning language models to improve pass@k (the probability that at least one of k samples passes a verifier), the performance on pass@1 (single-sample success) often degrades, creating a practical trade-off.
Method
The authors analyze the gradient conflict between pass@k and pass@1 objectives, theoretically characterize when upweighting low-success prompts leads to interference, and validate the analysis with experiments on mathematical reasoning and coding benchmarks.
Contributions
The paper provides a theoretical characterization of the gradient conflict causing the pass@k-pass@1 trade-off and demonstrates the phenomenon on verifiable reasoning and coding tasks.
Practical relevance
Understanding this trade-off helps practitioners design post-training methods that maintain reliable single-shot performance while still benefiting from multi-sample inference gains.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction