arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.21877cs.LGcs.AI
收藏

P²O:联合策略和提示优化

P^2O: Joint Policy and Prompt Optimization

Chinese Information Processing Laboratory, Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所信息处理实验室);University of Chinese Academy of Sciences(中国科学院大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);National Computer Network Emergency Response Technical Team/Coordination Center of China(中国国家计算机网络应急技术协调中心)

Xinyu Lu, Kaiqi Zhang, Jinglin Yang, Boxi Cao, Yaojie Lu, Hongyu Lin, Min He, Xianpei Han, Le Sun

AI总结:

本文提出P²O方法,通过交替更新连续策略与离散提示,解决RLVR在难样本上的优势崩溃问题,提升模型泛化能力并提升性能9.5%。

摘要:

可验证奖励的强化学习(RLVR)增强了大语言模型(LLM)的推理能力,但在处理'难样本'时面临优势崩溃问题,因为所有轨迹失败导致缺乏方差。针对这些难以处理的样本,单纯增加轨迹预算效果有限。我们引入联合策略和提示优化(P²O)来缓解这一崩溃,通过交替进行连续策略更新和离散提示进化。P²O利用GEPA算法发现成功推理提示以处理难以处理的实例。通过上下文蒸馏,模型将这些提示诱导的收益直接内化到其参数中,无需推理时提示。实验证明,P²O恢复了关键优势信号,显著优于标准GRPO,并在双倍轨迹预算下超越基线,最终实现强大的分布外泛化能力和高达9.5%的性能提升。我们的发现揭示了标准探索在稀疏奖励环境中的局限性,揭示了将进化算法与强化学习结合的潜力。这种离散语义搜索与连续参数更新的结合建立了一种自我强化的自主LLM对齐范式。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR) enhances Large Language Model (LLM) reasoning but is suffer from advantage collapse: when all rollouts of a query receive identical rewards, the group variance vanishes, most damagingly on hard samples, where scaling rollout budgets yields little. We introduce Joint Policy and Prompt Optimization (P O) to mitigate this collapse by alternating continuous policy updates with discrete prompt evolution. P O mines hard samples with a success-rate threshold, evolves reasoning prompts for them with GEPA, and internalizes the elicited trajectories via context distillation, which optimizes each trajectory under the original query and thus removes inference-time prompting, with a Context Ratio Mask (CRM) filtering out extreme likelihood ratios. P O restores critical advantage signals and surpasses the GRPO baseline by up to 8.2 points in average accuracy on six held-out benchmarks across all training datasets and backbones, while also outperforming DAPO and other baselines. The gains are especially pronounced on hard benchmarks, reaching up to 16.3 points above GRPO on average across AIME24 and AIME25. Our findings expose the limits of standard exploration in sparse-reward environments, illuminating the potential of unifying evolutionary algorithms with reinforcement learning. This integration of discrete semantic search and continuous parameter updates provides a self-reinforcing framework that facilitates more effective LLM alignment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑