arXiv:2505.20686cs.LGcs.AI2025-05NeurIPS被引 26

用最优优势函数逼近加速大模型推理强化学习训练

Accelerating RL for LLM Reasoning with Optimal Advantage Regression

  • 分两阶段:离线采样估最优价值,再单次生成做回归更新
  • 相比PPO等方法,训练速度提升2倍,显存占用降低30%以上
  • 适合追求高效推理训练的模型优化研究者和工程实践者

强化学习已成为提升大语言模型复杂推理能力的重要工具。然而,现有先进策略优化方法常因每提示需多次生成及依赖批评家网络或当前策略的优势估计,导致计算开销与内存消耗过高。本文提出A*-PO,一种新型两阶段策略优化框架,直接近似最优优势函数,实现大模型推理任务的高效训练。第一阶段利用参考策略的离线采样估计最优值函数V*,避免昂贵的在线价值估计;第二阶段采用仅需单次生成的简单最小二乘回归损失进行策略更新。理论上,我们建立了性能保证,证明了在无需复杂探索策略的情况下可优化带KL正则化的强化学习目标。实验表明,A*-PO在多种数学推理基准上表现相当,同时相比PPO、GRPO和REBEL,训练时间减少达2倍,峰值内存使用降低超过30%。

原文摘要 · Abstract (English)

Reinforcement learning (RL) has emerged as a powerful tool for fine-tuning large language models (LLMs) to improve complex reasoning abilities. However, state-of-the-art policy optimization methods often suffer from high computational overhead and memory consumption, primarily due to the need for multiple generations per prompt and the reliance on critic networks or advantage estimates of the current policy. In this paper, we propose $A$*-PO, a novel two-stage policy optimization framework that directly approximates the optimal advantage function and enables efficient training of LLMs for reasoning tasks. In the first stage, we leverage offline sampling from a reference policy to estimate the optimal value function $V$*, eliminating the need for costly online value estimation. In the second stage, we perform on-policy updates using a simple least-squares regression loss with only a single generation per prompt. Theoretically, we establish performance guarantees and prove that the KL-regularized RL objective can be optimized without requiring complex exploration strategies. Empirically, $A$*-PO achieves competitive performance across a wide range of mathematical reasoning benchmarks, while reducing training time by up to 2$\times$ and peak memory usage by over 30% compared to PPO, GRPO, and REBEL. Implementation of $A$*-PO can be found at https://github.com/ZhaolinGao/A-PO.

强化学习大模型推理高效训练策略优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。