F-TIS: 利用多样化模型进行协作GRPO
F-TIS: Harnessing Diverse Models in Collaborative GRPO
AI总结:
本文提出F-TIS方法,通过利用异构模型在协同GRPO训练中提高本地模型的学习效果,实现了高效的通信和一致的最终模型收敛,同时在某些情况下提升了模型在分布外任务上的泛化能力。
摘要:
像GRPO这样的强化学习方法在LLM后训练中变得非常流行。在GRPO中,模型产生一组提示的完成,这些完成会得到奖励,策略会朝着相对高奖励的完成更新。由于模型的自回归性质,这种训练风格的生成阶段可以极其耗时。为了解决这个问题,先前的工作试图将推理步骤分布到许多节点上,并行工作。这些工作主要假设训练中的同质模型,以保持样本尽可能接近on-policy。这一假设可能在去中心化系统中不切实际,因为具有不同计算能力和偏好的各方可能希望在同一个任务上合作。因此,去中心化训练需要一种能够处理异构模型的方法——不同的模型在同一个任务上协作。然而,这会导致训练过程中出现高度离策略的样本,而先前的工作已经指出离策略样本可能会影响GRPO的收敛。为了实现异质性,我们提出了过滤截断重要性采样(F-TIS)——一种GRPO风格的训练范式,可以利用离策略样本来改进本地模型的学习。我们的框架允许各种模型在同一个RL训练运行中协作,同时保持高效的通信。我们广泛评估了F-TIS在各种异构设置中的表现,并展示了它在最终模型收敛方面与纯on-sample训练相同。此外,我们观察到在某些设置中,F-TIS在分布外任务上的泛化能力优于on-policy训练,使模型性能提高了高达12%。
英文摘要:
Reinforcement learning methods such as GRPO have seen great popularity in LLM post-training. In GRPO, models produce completions to a set of prompts, which are rewarded, and the policy is updated towards the relatively high reward completions. Due to the auto-regressive nature of models, the generation phase of such style of training can be extremely time consuming. As a solution, prior work has sought to distribute the inference step across many nodes, working parallel. These works assume primarily homogeneous models in the training in order to keep samples as close to on-policy as possible. This assumption may be impractical in decentralized systems, where parties with various computes and preferences may wish to collaborate on the same task. Thus, decentralized training requires an approach that can handle heterogeneous models - different models collaborating on the same tasks. However, this leads to highly off-policy samples presented during training, which prior work has identified that off-policy samples can hurt GRPO convergence. To enable heterogeneity, we propose Filtered Truncated Importance Sampling (F-TIS) - a GRPO-style training paradigm that can use off-policy samples to improve local model's learning. Our framework allows various models to collaborate in the same RL training run while being communication efficient. We extensively evaluate F-TIS in various heterogeneous setups and we show that it exhibits identical final model convergence to purely on-sample training. Furthermore, we observe in some setups better generalization on out-of-distribution tasks than on-policy training, increasing model's performance by up to 12\%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。