Research Papers 论文研究 4h ago Updated 1h ago 更新于 1小时前 50

When RLVR Shrinks the Reasoning Boundary: Diagnosing Pass@k Inversion 当RLVR缩小推理边界:诊断Pass@k反转

RLVR training can cause "pass@k inversion," where models improve single-sample accuracy but fail to solve distinct problems under high sampling budgets compared to base models. The failure stems from "boundary prompts" where rare correct trajectories in the base model are lost because they are too sparse to be reinforced during finite RLVR rollouts. Per-Problem Base Anchoring (PBA) is introduced as a solution, anchoring risky prompts to the base distribution to preserve rare verifier-positive tr 揭示了RLVR(可验证奖励强化学习)导致的“Pass@k反转”现象:模型单样本准确率提升,但多次采样解决不同问题的能力下降。 诊断出失败集中在“边界提示”,即基座模型中存在的罕见正确轨迹因稀疏性在RLVR有限 rollout 中未被充分采样和强化而丢失。 提出Per-Problem Base Anchoring (PBA) 方法,通过冻结基座证据锚定高风险提示,在Omni-MATH-Test上同时提升了Pass@1和高预算覆盖率。 指出推理后训练不仅需决定优化强度,更需识别哪些提示是安全的优化对象,该风险同样适用于视觉语言代理。

65
Hot 热度
78
Quality 质量
72
Impact 影响力

Analysis 深度分析

TL;DR

  • RLVR training can cause "pass@k inversion," where models improve single-sample accuracy but fail to solve distinct problems under high sampling budgets compared to base models.
  • The failure stems from "boundary prompts" where rare correct trajectories in the base model are lost because they are too sparse to be reinforced during finite RLVR rollouts.
  • Per-Problem Base Anchoring (PBA) is introduced as a solution, anchoring risky prompts to the base distribution to preserve rare verifier-positive trajectories.
  • Empirical results on Omni-MATH-Test and MATH500 show PBA outperforms standard GRPO in both Pass@1 accuracy and high-budget coverage across multiple seeds.
  • The phenomenon extends beyond text-based math reasoning to vision-language agents using external verifiers for visual or spatial tasks.

Why It Matters

This research highlights a critical trade-off in post-training reinforcement learning: optimizing for single-sample correctness can inadvertently degrade robustness and coverage. For practitioners, it underscores the necessity of evaluating models not just on average accuracy, but on their ability to recover solutions through repeated sampling, particularly for complex or edge-case problems.

Technical Details

  • Phenomenon Diagnosis: The paper identifies "pass@k inversion" as an absence-of-evidence failure, where rare correct paths in the base policy disappear before RLVR can sample and reinforce them sufficiently.
  • Methodology (PBA): Per-Problem Base Anchoring involves sharpening prompts with frozen-base correct evidence and anchoring risky prompts to the base distribution to prevent the loss of sparse correct trajectories.
  • Benchmarks & Setup: Evaluated on Omni-MATH-Test with MATH500 as a secondary validation set, using mathematical verifiers as a controlled testbed for verifier-guided optimization.
  • Experimental Results: A 3000-prompt regime-controlled study across three training seeds demonstrated that ordinary GRPO loses base-solvable boundary prompts, whereas PBA preserves them and improves overall coverage.
  • Generalizability: The diagnostic framework applies to other domains like ECCV-relevant vision-language agents, where repeated attempts are checked by external tools or verifiers.

Industry Insight

  • Evaluation Protocols: AI teams should adopt multi-sample evaluation metrics (Pass@k) alongside standard Pass@1 to detect regressions in model robustness and coverage during RLVR fine-tuning.
  • Training Strategies: When deploying RLVR, consider hybrid approaches like PBA that anchor to pre-trained capabilities for difficult or rare cases, rather than relying solely on reward maximization which may erase valuable but sparse knowledge.
  • Risk Management: Post-training optimization decisions must include a safety assessment of which prompts are "safe" to optimize, ensuring that rare but valid reasoning paths are not inadvertently pruned from the policy.

TL;DR

  • 揭示了RLVR(可验证奖励强化学习)导致的“Pass@k反转”现象:模型单样本准确率提升,但多次采样解决不同问题的能力下降。
  • 诊断出失败集中在“边界提示”,即基座模型中存在的罕见正确轨迹因稀疏性在RLVR有限 rollout 中未被充分采样和强化而丢失。
  • 提出Per-Problem Base Anchoring (PBA) 方法,通过冻结基座证据锚定高风险提示,在Omni-MATH-Test上同时提升了Pass@1和高预算覆盖率。
  • 指出推理后训练不仅需决定优化强度,更需识别哪些提示是安全的优化对象,该风险同样适用于视觉语言代理。

为什么值得看

这篇文章深入剖析了当前大模型推理能力增强中一个反直觉且关键的失效模式,即强化学习可能损害模型的多样性求解能力。对于AI从业者而言,它提供了从机制层面理解RLVR副作用的诊断框架,并给出了具有实证支持的缓解策略,对优化复杂推理任务至关重要。

技术解析

  • Pass@k反转机制:研究指出RLVR通过优化特定轨迹提高了单样本准确率,但由于“缺乏证据”效应,基座模型中原本存在但罕见的正确解题路径在训练过程中消失,导致在高k值(多次采样)下无法复现这些解。
  • PBA解决方案:Per-Problem Base Anchoring是一种概念验证方法,通过在提示中保留足够的冻结基座正确证据,将风险提示锚定到基座分布,从而保护罕见但有效的推理轨迹不被优化抹除。
  • 实验验证:在Omni-MATH-Test和MATH500基准上进行测试,对比标准GRPO算法,PBA在三种训练种子下均显示出优势,特别是在保留基座可解决的边界提示方面表现一致。
  • 泛化性讨论:虽然使用数学验证器作为受控测试床,但作者强调这种反转风险同样存在于视觉语言代理中,当外部工具或验证器检查重复的视觉、空间或图表推理尝试时。

行业启示

  • 优化策略需分层:在部署RLVR等后训练技术时,不能仅关注整体准确率指标,必须评估模型在长尾或边界案例上的鲁棒性,避免“顾此失彼”。
  • 数据与提示工程结合:简单的基座锚定策略(如PBA)即可显著改善性能,表明在强化学习阶段融入静态基座知识或提示工程技巧是低成本高效益的改进方向。
  • 多模态推理需谨慎:随着视觉语言模型在复杂任务中的应用增加,研究者应警惕类似“Pass@k反转”的现象在多模态验证场景中的发生,设计专门的诊断工具来监控采样多样性。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Training 训练 Evaluation 评测 Research 科学研究