Skip to main content
QUICK REVIEW

[논문 리뷰] Why Pass@k Optimization Can Degrade Pass@1: Prompt Interference in LLM Post-training

Anas Barakat, Souradip Chakraborty|arXiv (Cornell University)|2026. 02. 24.
Topic ModelingComputer Science인용 수 0
한 줄 요약

이 논문은 프롬프트 간섭으로 인한 그래디언트 충돌로 인해 pass@k 최적화가 pass@1에 해를 끼칠 수 있는 이유를 분석하고, 형식적 프레임워크와 LLM 수학 추론 과제에 대한 실증 검증을 도입한다.

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 recurring 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. 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 what we term negatively interfering, their upweighting can rotate the pass@k update direction away from the pass@1 direction. We illustrate our theoretical findings with large language model experiments on verifiable mathematical reasoning tasks.

연구 동기 및 목표

  • LLM 포스트 트레이닝에서 pass@k 최적화가 pass@1을 감소시킬 수 있는 이유를 설명한다.
  • 프롬프트 간섭의 개념과 그래디언트 충돌 메커니즘을 도입한다.
  • pass@k와 pass@1 간의 그래디언트 정합성에 k가 어떻게 영향을 미치는지에 대한 충분한 조건과 분석을 제공한다.
  • 이론을 설명하기 위한 검증 가능한 수학적 추론 과제에 대한 실증적 증거를 보여준다.

제안 방법

  • pass@k 목적함수를 정의하고 재가중 인자 w_k(p_theta(x))를 사용한 정책 기울기를 도출한다.
  • per-prompt 그래디언트 유사도를 측정하기 위한 프롬프트 유사성 커널 kappa_theta를 도입한다.
  • 프롬프트 간의 그래디언트 유사도를 기반으로 프롬프트 간섭을 양의 또는 음의 것으로 정형화한다.
  • 그래디언트 충돌을 내적 <∇J_k(θ), ∇J_1(θ)>로 특징짓고 재가중된 프롬프트 분포를 포함하는 조건을 도출한다.
  • 음의 프롬프트 간섭과 그래디언트 충돌을 설명하기 위해 토이 컨텍스츄얼-밴딧 예제를 사용한다.
  • k를 증가시킬 때 그래디언트 충돌과 pass@1 저하로 이어지는 해석적 조건을 제공한다.
Figure 1 : (a) Empirical trade-off. Under pass@k policy optimization, pass@ $k$ increases while pass@ $1$ may decrease. We explain this empirically observed trade-off in (b) and (c) , which schematically illustrate the pass@ $1$ and pass@ $k$ ( $k>1$ ) gradients for three prompts and their expectati
Figure 1 : (a) Empirical trade-off. Under pass@k policy optimization, pass@ $k$ increases while pass@ $1$ may decrease. We explain this empirically observed trade-off in (b) and (c) , which schematically illustrate the pass@ $1$ and pass@ $k$ ( $k>1$ ) gradients for three prompts and their expectati

실험 결과

연구 질문

  • RQ1pass@k 최적화가 pass@1 그래디언트와 충돌하는 조건은 무엇인가?
  • RQ2pass@k의 암묵적 재가중이 프롬프트 분포와 도출되는 그래디언트 방향에 어떤 영향을 미치는가?
  • RQ3음의 프롬프트 간섭이 pass@k 최적화 시 pass@1 저하에 어떤 역할을 하는가?
  • RQ4k의 선택이 pass@k와 pass@1 사이의 그래디언트 충돌 가능성에 어떤 영향을 주는가?

주요 결과

  • Pass@k 그래디언트는 프롬프트별 pass@1 그래디언트의 가중치 버전으로, 평균적으로 pass@1과 충돌할 수 있다.
  • Pass@k는 harder prompts 쪽으로 재가중을 유도하여 음의 간섭 프롬프트를 가중하고 그래디언트 충돌을 유발할 수 있다.
  • 그래디언트 충돌의 충분조건은 pass@k가 유도하는 프롬프트 분포의 평균 동의도 a_theta(x)가 음수인 경우이다.
  • pass@k 가중치와 합의 점수의 공분산이 충돌을 유도하여 그래디언트 간의 각도가 둔해질 수 있다.
  • 토이 예제는 한 스텝의 pass@k 업데이트가 pass@k를 증가시키는 동시에 pass@1을 감소시킬 수 있음을 보여준다.
  • 일부 프롬프트 성공 확률 분포에서 k를 증가시키면 그래디언트 충돌이 증폭될 수 있다.
Figure 2 : Cosine kernel heatmap: cos ( ∇ p θ ( x ) , ∇ p θ ( x ′ ) ) for subsamples of prompts: 120 easy and 80 hard among a total of 6000 samples. Blue regions correspond to negative prompt interference.
Figure 2 : Cosine kernel heatmap: cos ( ∇ p θ ( x ) , ∇ p θ ( x ′ ) ) for subsamples of prompts: 120 easy and 80 hard among a total of 6000 samples. Blue regions correspond to negative prompt interference.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.