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

LLM策略优化的第一性原理推导:从期望奖励到GRPO及其结构扩展

A First-Principles Derivation of LLM Policy Optimization: From Expected Reward to GRPO and Its Structural Extensions

Nanjing University(南京大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai Jiao Tong University(上海交通大学);Peking University(北京大学);Fudan University(复旦大学);Nanjing University of Aeronautics and Astronautics(南京航空航天大学);Shanghai Innovation Institute(上海创新研究院)

Jianghan Shen, Siqi Luo, Yue Li, Jiyao Liu, Wanying Qu, Yi Zhang, Ziyan Huang, Tianbin Li, Ming Hu, Xiaohong Liu, Yirong Chen, Junjun He

AI总结:

本文从第一性原理出发,基于轨迹概率和奖励两个轴,统一分析了从REINFORCE、PPO到GRPO及其变体的LLM策略优化方法,揭示了设计选择背后的原理和复合失败模式。

摘要:

语言模型的策略梯度算法优化相同的目标 $J(θ) = \mathbb{E}_{τ\sim p_θ(τ)}[R(τ)]$,该目标恰好有两个因素:轨迹概率 $p_θ(τ)$ 和奖励 $R(τ)$。从REINFORCE到PPO再到GRPO及其后续方法,每种方法都修改其中一个或两个因素,以解决先前公式中的特定失败。现有调查按领域或时间顺序组织这些方法,这掩盖了每个设计选择背后的原理及其在梯度估计器中的精确干预位置。本调查从第一性原理出发,重新审视基于 $J(θ)$ 的LLM策略优化领域,并使用由 $p_θ(τ)$ 诱导的轨迹侧和由 $R(τ)$ 诱导的奖励侧作为定位方法的两条轴。它涵盖了从REINFORCE和PPO到GRPO的路径,以及GRPO后变体、Agentic RL和GRPO-OPD。由此产生的框架是统一的、诊断性的和可扩展的:它从共享目标分析方法,识别每种方法修改了哪一侧以及为什么,并在这些设置中应用相同的轨迹和奖励轴。在这些设置中,该框架还暴露了单侧修复无法解决的复合失败,因此需要轨迹侧和奖励侧的联合设计。该地图识别的边界情况和耦合失败标志着现有解决方案的极限,并为设计下一代LLM策略优化算法提供了原则性的起点。

英文摘要:

Policy gradient algorithms for language models optimize the same objective $J(θ) = \mathbb{E}*{τ\sim p*θ(τ)}[R(τ)]$, which has exactly two factors: the trajectory probability $p_θ(τ)$ and the reward $R(τ)$. Every method from REINFORCE to PPO to GRPO and their descendants modifies one or both factors to address a specific failure in the preceding formulation. Existing surveys organize these methods by domain or chronology, which obscures the rationale behind each design choice and the precise location of its intervention within the gradient estimator. This survey revisits the landscape of LLM policy optimization from $J(θ)$ on first principles and uses the trajectory side, induced by $p_θ(τ)$, and the reward side, induced by $R(τ)$, as the two axes along which methods are located. It covers the path from REINFORCE and PPO to GRPO, as well as post-GRPO variants, Agentic RL, and GRPO-OPD. The resulting framework is unified, diagnostic, and extensible: it analyzes methods from a shared objective, identifies which side each method modifies and why, and applies the same trajectory and reward axes across these settings. Across these settings, the framework also exposes compound failures that no single-side fix resolves and that therefore require joint design of the trajectory side and the reward side. The boundary cases and coupled failures identified by this map mark where existing solutions run out and provide a principled starting point for designing the next generation of LLM policy optimization algorithms.

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

↑