REBEL:通过回归相对奖励进行强化学习
REBEL: Reinforcement Learning via Regressing Relative Rewards
AI总结:
本文提出极简RL算法REBEL,通过回归两个补全间的相对奖励实现策略优化,兼具强理论保证、离线与非传递偏好扩展能力,并在语言和图像任务上媲美或超过PPO、DPO。
摘要:
Proximal Policy Optimization(PPO,近端策略优化)最初是为连续控制问题开发的,但如今已成为多种强化学习(RL)应用的主力算法,包括生成模型的微调。遗憾的是,PPO需要多种启发式机制才能实现稳定收敛(例如价值网络、裁剪),并且因其对这些组件具体实现的高度敏感性而广为人知。为此,我们退一步思考:在生成模型时代,极简主义的RL算法应当是什么样子。我们提出REBEL,该算法清晰地将策略优化问题简化为:依据策略回归对同一提示的两个补全之间的相对奖励,从而实现极其轻量的实现。理论上,我们证明Natural Policy Gradient(自然策略梯度)等基础RL算法可被视为REBEL的变体,这使我们能够达到RL文献中关于收敛性和样本复杂度的最强已知理论保证。REBEL还能够自然地纳入离线数据,并可扩展以处理实践中常见的非传递偏好。实验上,我们发现REBEL为语言建模和图像生成提供了统一方法,其性能强于或接近PPO和DPO,同时比PPO更易于实现且计算效率更高。在微调Llama-3-8B-Instruct时,REBEL在AlpacaEval 2.0、MT-Bench和Open LLM Leaderboard上均取得强劲性能。
英文摘要:
While originally developed for continuous control problems, Proximal Policy Optimization (PPO) has emerged as the work-horse of a variety of reinforcement learning (RL) applications, including the fine-tuning of generative models. Unfortunately, PPO requires multiple heuristics to enable stable convergence (e.g. value networks, clipping), and is notorious for its sensitivity to the precise implementation of these components. In response, we take a step back and ask what a minimalist RL algorithm for the era of generative models would look like. We propose REBEL, an algorithm that cleanly reduces the problem of policy optimization to regressing the relative reward between two completions to a prompt in terms of the policy, enabling strikingly lightweight implementation. In theory, we prove that fundamental RL algorithms like Natural Policy Gradient can be seen as variants of REBEL, which allows us to match the strongest known theoretical guarantees in terms of convergence and sample complexity in the RL literature. REBEL can also cleanly incorporate offline data and be extended to handle the intransitive preferences we frequently see in practice. Empirically, we find that REBEL provides a unified approach to language modeling and image generation with stronger or similar performance as PPO and DPO, all while being simpler to implement and more computationally efficient than PPO. When fine-tuning Llama-3-8B-Instruct, REBEL achieves strong performance in AlpacaEval 2.0, MT-Bench, and Open LLM Leaderboard.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。