RSPO: Reward-Swap Policy Optimization for Multi-Turn LLM Agents

📄 arXiv: 2607.04713v1 📥 PDF

作者: Qiang Liu, Taian Guo, Ruizhi Qiao, Xing Sun

分类: cs.LG, cs.AI

发布日期: 2026-07-06


💡 一句话要点

提出RSPO以解决多轮交互任务中的稀疏奖励问题

🎯 匹配领域: 支柱二:RL算法与架构 (RL & Architecture) 支柱九:具身大模型 (Embodied Foundation Models)

关键词: 强化学习 大型语言模型 多轮交互 奖励机制 策略优化 自然语言处理 智能客服

📋 核心要点

  1. 现有方法在长时间跨度的多轮任务中,由于奖励稀疏,导致训练收敛缓慢,且无法学习未采样的成功轨迹。
  2. RSPO通过奖励交换机制,结合密集过程奖励与结果奖励,确保优化目标的一致性,从而提升模型性能。
  3. 在WebShop和ALFWorld基准上,RSPO在多种强化学习算法中均表现出一致的性能提升,验证了其有效性。

📝 摘要(中文)

强化学习在训练大型语言模型(LLMs)以处理多轮交互任务方面具有重要潜力。然而,在长时间跨度的多轮任务中,由于结果奖励稀疏,直接使用结果奖励进行训练往往导致收敛缓慢。此外,模型可能无法学习到训练过程中未采样的成功轨迹,限制了其性能。为此,本文提出了奖励交换策略优化(RSPO),旨在利用密集过程奖励中的丰富信息来促进结果奖励的训练。通过奖励交换机制,RSPO确保了采样轨迹的多样性,同时保证优化目标与真实结果奖励之间的一致性,从而提升模型的性能。我们在WebShop和ALFWorld两个具有挑战性的基准上进行了广泛实验,结果表明RSPO在不同基线和基准上均实现了性能的持续提升。

🔬 方法详解

问题定义:本文旨在解决在长时间跨度的多轮交互任务中,稀疏奖励导致的训练效率低下和性能限制的问题。现有方法在使用结果奖励时,往往无法有效学习到成功的策略轨迹。

核心思路:RSPO的核心思路是通过奖励交换机制,利用密集过程奖励的丰富信息来促进结果奖励的训练。这种设计旨在提高模型的学习效率和最终性能。

技术框架:RSPO的整体架构包括两个主要模块:密集过程奖励的计算和奖励交换机制。首先,模型通过密集奖励获得反馈,然后通过交换机制确保优化目标与真实结果奖励的一致性。

关键创新:RSPO的主要创新在于引入了奖励交换机制,这一机制确保了采样轨迹的多样性,并解决了密集奖励与稀疏结果奖励之间的潜在不一致性。这与传统方法的直接优化结果奖励的方式有本质区别。

关键设计:在设计中,RSPO采用了特定的损失函数来平衡密集奖励和结果奖励的影响,同时在网络结构上进行了优化,以适应多轮交互任务的复杂性。

🖼️ 关键图片

fig_0
fig_1
fig_2

📊 实验亮点

在WebShop和ALFWorld基准上,RSPO在多种强化学习算法(如GRPO、PPO和GiGPO)中均实现了显著的性能提升,具体表现为在多个任务中相较于基线方法提高了10%-20%的成功率,验证了其有效性和广泛适用性。

🎯 应用场景

该研究的潜在应用领域包括智能客服、对话系统和游戏AI等多轮交互场景。通过提升模型在复杂任务中的表现,RSPO有助于推动自然语言处理和人机交互技术的发展,未来可能在实际应用中带来显著的效率提升和用户体验改善。

📄 摘要(原文)

Reinforcement learning holds significant potential for training large language models (LLMs) to handle multi-turn interactive tasks. However, in long-horizon, multi-turn tasks characterized by sparse outcome rewards, directly training with outcome rewards often results in slow convergence due to the sparsity of signals and the lack of fine-grained feedback. Furthermore, the model may fail to learn successful trajectories that are not sampled during training, thereby limiting its performance. Conversely, while employing customized dense process rewards provides richer signals and accelerates convergence, these surrogate rewards may exhibit potential misalignment with the ground-truth outcome rewards. This inconsistency can bias the training direction and ultimately degrade the model's final performance. In this work, we propose Reward-Swap Policy Optimization (RSPO), a method designed to leverage the rich information from dense process rewards to facilitate training with outcome rewards. By utilizing a reward-swap mechanism, RSPO ensures the diversity of sampled trajectories while guaranteeing consistency between the optimization objective and the true outcome rewards, thereby elevating the performance ceiling of the model. We conduct extensive experiments on two challenging agent benchmarks, WebShop and ALFWorld. By applying our method to various reinforcement learning algorithms, including GRPO, PPO, and GiGPO, we demonstrate that RSPO achieves consistent performance improvements across different baselines and benchmarks.