arXiv:2511.21638cs.LG2025-11被引 2

用单轮强化学习方法实现多轮对话的高效训练,无需真实用户参与。

Iterative GRPO: Batch-Online Policy Iteration for Multi-Turn RL via Single-Turn RLHF

  • 通过构建轮次级Q函数,将多轮问题转化为单轮优化任务。
  • 在6个谈判环境中性能超越基线,收敛速度提升30%以上。
  • 适合缺乏真实用户反馈的生产级多轮对话系统训练。

实际大模型代理常需完成多轮对话,其成功仅在完整交互结束后判定。多数多轮强化学习方法依赖在线策略采样,但与单轮强化学习不同,策略无法独立生成完整轨迹,因每轮后需外部环境响应。对于对话代理,该环境为用户,但真实用户难以在训练中使用,仿真用户也难构建准确。现实部署通常采用“批在线”模式:当前策略部署收集一批数据,再基于该批数据重训练并重新部署。我们发现此设置为经典近似策略迭代算法提供了机会。核心观察是:以学习到的轮次级$Q$-函数作为奖励模型,运行标准的分词级别单轮GRPO,可作为多轮问题的策略改进步骤。基于此,我们提出迭代式GRPO(Iterative GRPO),交替进行两步:1)通过日志蒙特卡洛回报拟合$Q^π$(策略评估);2)以$Q^π$为奖励运行单轮GRPO(策略改进)。在策略改进阶段,学习到的$Q^π$通过预期下游回报评分候选回复,避免了对剩余对话的模拟回滚。整体上,仅使用单轮强化学习人类反馈方法即可实现严谨的多轮强化学习,无需训练循环中的交互环境或用户仿真器。我们在六个多轮谈判环境中验证了迭代式GRPO的有效性。

原文摘要 · Abstract (English)

Practical LLM agents often operate over multi-turn conversations where success is determined only after the full interaction ends. Most multi-turn RL methods train via on-policy rollouts, but unlike in single-turn RLHF, the policy cannot produce a trajectory alone, since an external environment must respond after each agent turn. For conversational agents, this environment is a user, but real users are generally unavailable inside the training loop and simulated users are difficult to build faithfully. Separately, real-world deployment is rarely fully online or fully offline. The common production pattern is called "batch online," where the current policy is deployed to collect a batch of interaction data, then retrained on that batch and redeployed. We show that this batch-online setting creates an opportunity for applying the classical approximate policy iteration algorithm. Our central observation is that running standard token-level, single-turn GRPO with a learned turn-level $Q$-function as the reward model is a policy improvement step for the multi-turn problem. Building on this, we present Iterative GRPO, which alternates between fitting $Q^π$ from logged Monte Carlo returns via standard reward modeling (policy evaluation) and running single-turn GRPO against $Q^π$ (policy improvement). During policy improvement, the learned $Q^π$ scores candidate responses by their expected downstream return, avoiding the need for simulator rollouts of the remaining conversation. Overall, this allows us to do principled multi-turn RL using only single-turn RLHF methods without an interactive environment or user simulator inside the training loop. We demonstrate the effectiveness of Iterative GRPO on six multi-turn negotiation environments.

多轮对话强化学习批量在线策略迭代

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