arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.13232cs.LGcs.AIstat.ML
收藏

单流策略优化

Single-stream Policy Optimization

Tencent(腾讯)

Zhongwen Xu, Zihan Ding

AI总结:

本文提出单流策略优化(SPO),用持久 KL 自适应价值跟踪器和全局优势归一化替代 GRPO 的逐组基线,消除退化分组与同步屏障问题,在 Qwen3-8B 数学基准上平均 maj@32 提升 3.4 个百分点。

摘要:

我们从单流视角重新审视大语言模型(LLMs)的策略梯度优化。主流的基于分组的方法(如 GRPO)通过即时基线降低方差,但存在严重缺陷:频繁出现的退化分组会抹除学习信号,同步屏障也阻碍了可扩展性。我们提出单流策略优化(SPO),从设计上消除了这些问题。SPO 用持久的、KL 自适应的价值跟踪器替代逐组基线,并在整个批次上全局归一化优势,为每个样本提供稳定、低方差的学习信号。由于不依赖分组,SPO 实现了更高的吞吐量,并能在生成长度不一的长期或工具集成场景中有效扩展。此外,持久价值跟踪器天然支持通过优先采样实现自适应课程学习。使用 Qwen3-8B 的实验表明,与 GRPO 相比,SPO 收敛更平稳、准确率更高,同时消除了退化分组造成的计算浪费。消融研究证实,SPO 的收益源于其在基线估计和优势归一化上的原则性方法,为大语言模型推理提供了更稳健、更高效的路径。在 Qwen3 8B 上的五个高难度数学基准测试中,SPO 的平均 maj@32 比 GRPO 提高了 +3.4 个百分点(pp),这得益于在挑战性数据集上的显著绝对分数提升,包括 BRUMO 25 上 +7.3 pp、AIME 25 上 +4.4 pp、HMMT 25 上 +3.3 pp,并在所评估的各个 $k$ 值上实现了 pass@$k$ 的一致相对增益。SPO 的成功挑战了当前为强化学习算法增加附带复杂性的主流趋势,表明推动大语言模型推理下一波进步的是基本原理,而非架构上的权宜之计。

英文摘要:

We revisit policy-gradient optimization for Large Language Models (LLMs) from a single-stream perspective. Prevailing group-based methods like GRPO reduce variance with on-the-fly baselines but suffer from critical flaws: frequent degenerate groups erase learning signals, and synchronization barriers hinder scalability. We introduce Single-stream Policy Optimization (SPO), which eliminates these issues by design. SPO replaces per-group baselines with a persistent, KL-adaptive value tracker and normalizes advantages globally across the batch, providing a stable, low-variance learning signal for every sample. Being group-free, SPO enables higher throughput and scales effectively in long-horizon or tool-integrated settings where generation times vary. Furthermore, the persistent value tracker naturally enables an adaptive curriculum via prioritized sampling. Experiments using Qwen3-8B show that SPO converges more smoothly and attains higher accuracy than GRPO, while eliminating computation wasted on degenerate groups. Ablation studies confirm that SPO's gains stem from its principled approach to baseline estimation and advantage normalization, offering a more robust and efficient path for LLM reasoning. Across five hard math benchmarks with Qwen3 8B, SPO improves the average maj@32 by +3.4 percentage points (pp) over GRPO, driven by substantial absolute point gains on challenging datasets, including +7.3 pp on BRUMO 25, +4.4 pp on AIME 25, +3.3 pp on HMMT 25, and achieves consistent relative gain in pass@$k$ across the evaluated $k$ values. SPO's success challenges the prevailing trend of adding incidental complexity to RL algorithms, highlighting a path where fundamental principles, not architectural workarounds, drive the next wave of progress in LLM reasoning.

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

↑