arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.05607cs.LG
收藏

协调标记与序列:动态混合策略优化用于RLVR

Orchestrating Tokens and Sequences: Dynamic Hybrid Policy Optimization for RLVR

School of Informatics, Xiamen University(厦门大学信息学院);LLM Team, Shopee Pte. Ltd.(Shopee 股份有限公司语言模型团队);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院)

Zijun Min, Bingshuai Liu, Ante Wang, Long Zhang, Anxiang Zeng, Haibo Zhang, Jinsong Su

AI总结:

本文提出动态混合策略优化方法,通过结合标记级和序列级重要性比率,提升RLVR在数学推理任务中的性能。

摘要:

可验证奖励的强化学习(RLVR)提供了一个有前景的框架,用于优化大语言模型在推理任务中的性能。然而,现有的RLVR算法侧重于不同的粒度,每个都有互补的优势和局限性。组相对策略优化(GRPO)使用标记级重要性比率来更新策略,这保留了细粒度的信用分配,但常常导致高方差和不稳定性。相比之下,组序列策略优化(GSPO)在响应中的所有标记上应用单一序列级重要性比率,更好地匹配序列级奖励,但牺牲了标记级信用分配。在本文中,我们提出动态混合策略优化(DHPO)以在单一裁剪替代目标内桥接GRPO和GSPO。DHPO通过加权机制结合标记级和序列级重要性比率。我们探索了混合机制的两个变体,包括平均混合和熵引导混合。为了进一步稳定训练,我们采用分支特定的裁剪策略,该策略在混合前限制标记级和序列级比率在各自的信任区域内,防止任一分支中的异常值主导更新。在七个具有挑战性的数学推理基准上,对Qwen3系列中的密集模型和MoE模型的实验表明,DHPO在性能上始终优于GRPO和GSPO。我们将在本文接受后发布我们的代码。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR) offers a promising framework for optimizing large language models in reasoning tasks. However, existing RLVR algorithms focus on different granularities, and each has complementary strengths and limitations. Group Relative Policy Optimization (GRPO) updates the policy with token-level importance ratios, which preserves fine-grained credit assignment but often suffers from high variance and instability. In contrast, Group Sequence Policy Optimization (GSPO) applies single sequence-level importance ratios across all tokens in a response that better matches sequence-level rewards, but sacrifices token-wise credit assignment. In this paper, we propose Dynamic Hybrid Policy Optimization (DHPO) to bridge GRPO and GSPO within a single clipped surrogate objective. DHPO combines token-level and sequence-level importance ratios using weighting mechanisms. We explore two variants of the mixing mechanism, including an averaged mixing and an entropy-guided mixing. To further stabilize training, we employ a branch-specific clipping strategy that constrains token-level and sequence-level ratios within separate trust regions before mixing, preventing outliers in either branch from dominating the update. Across seven challenging mathematical reasoning benchmarks, experiments on both dense and MoE models from the Qwen3 series show that DHPO consistently outperforms GRPO and GSPO. We will release our code upon acceptance of this paper.

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

↑