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

REINFORCE++:通过全局优势归一化稳定无评论家策略优化

REINFORCE++: Stabilizing Critic-Free Policy Optimization with Global Advantage Normalization

Jian Hu, Jason Klein Liu, Haotian Xu, Wei Shen

AI总结:

本文提出REINFORCE++,通过全局优势归一化解决无评论家策略优化中提示级归一化的偏差和过拟合问题,并在通用RLHF和复杂推理任务上验证其稳定性与性能优于现有方法乃至PPO。

摘要:

基于人类反馈的强化学习(RLHF)在对齐大语言模型(LLMs)方面发挥着关键作用。主流算法近端策略优化(PPO)采用评论家网络来估计优势,这带来了显著的计算和内存开销。为解决这一问题,一类无评论家算法(如GRPO、RLOO)应运而生。然而,这些方法通常依赖提示级(局部)优势归一化,这存在优势估计不准确、容易过拟合的问题,并且如我们所示,它是一个理论上存在偏差的估计器。为解决这些挑战,我们提出了REINFORCE++,一个以全局优势归一化为核心的无评论家框架。通过在整个全局批次而非小的、特定于提示的组上归一化优势,我们的方法提供了更稳定且理论上合理的、有效无偏的估计(其偏差随批次大小增大而消失)。我们引入了两种变体:REINFORCE++,一种适用于通用领域RLHF的高效通用算法(k ≥ 1),以及REINFORCE++ /w baseline,一种用于复杂推理任务的鲁棒分组采样变体(k > 1)。我们的实证评估表明,每种变体在各自领域都展现出优越的稳定性和性能,在复杂的智能体决策环境中优于现有方法,甚至超越了PPO。

英文摘要:

Reinforcement Learning from Human Feedback~(RLHF) plays a crucial role in aligning Large Language Models~(LLMs). The dominant algorithm, Proximal Policy Optimization~(PPO), employs a critic network to estimate advantages, which introduces significant computational and memory overhead. To address this, a family of critic-free algorithms (e.g., GRPO, RLOO) has emerged. However, these methods typically rely on \textit{prompt-level (local)} advantage normalization, which suffers from inaccurate advantage estimation, a tendency to overfit, and, as we show, is a theoretically biased estimator. To solve these challenges, we introduce REINFORCE++, a critic-free framework centered on \textbf{Global Advantage Normalization}. By normalizing advantages across the entire global batch rather than small, prompt-specific groups, our method provides a more stable and theoretically sound, \textit{effectively unbiased} estimate (whose bias vanishes as batch size increases). We introduce two variants: REINFORCE++, a highly efficient and general algorithm ($k \ge 1$) for general-domain RLHF, and REINFORCE++ /w baseline, a robust group-sampling variant ($k > 1$) for complex reasoning tasks. Our empirical evaluation demonstrates that each variant shows superior stability and performance in its respective domain, outperforming existing methods and even PPO in complex agentic settings.

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

↑