arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.13639cs.LGcs.AI
收藏

对比偏好学习:无需强化学习即可从人类反馈中学习

Contrastive Preference Learning: Learning from Human Feedback without RL

Stanford University(斯坦福大学);UT Austin(德克萨斯大学奥斯汀分校);UMass Amherst(马萨诸塞大学阿默斯特分校)

Joey Hejna, Rafael Rafailov, Harshit Sikchi, Chelsea Finn, Scott Niekum, W. Bradley Knox, Dorsa Sadigh

AI总结:

本文提出对比偏好学习(CPL),基于遗憾偏好模型和最大熵原理,无需学习奖励函数或强化学习即可从人类反馈中学习最优策略,可扩展至高维序列化RLHF问题。

摘要:

基于人类反馈的强化学习(RLHF)已成为使模型与人类意图对齐的流行范式。通常,RLHF算法分两个阶段运行:首先,利用人类偏好学习奖励函数;其次,通过强化学习(RL)优化所学奖励来对齐模型。该范式假设人类偏好按奖励分布,但近期研究表明,它们实际上遵循用户最优策略下的遗憾(regret)。因此,从反馈中学习奖励函数不仅基于对人类偏好的错误假设,还会导致由策略梯度或RL阶段的自举(bootstrapping)引起的棘手优化挑战。由于这些优化挑战,当代RLHF方法要么局限于上下文赌博机(contextual bandit)设置(例如在大语言模型中),要么限制观测维度(例如基于状态的机器人)。我们通过引入一类新的算法来克服这些限制,该算法利用基于遗憾的人类偏好模型从人类反馈中优化行为。利用最大熵原理,我们推导出对比偏好学习(CPL),这是一种无需学习奖励函数即可从偏好中学习最优策略的算法,从而绕开了对RL的需求。CPL完全离策略(off-policy),仅使用简单的对比目标,并可应用于任意MDP。这使得CPL能够优雅地扩展到高维和序列化的RLHF问题,同时比先前的方法更简单。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) has emerged as a popular paradigm for aligning models with human intent. Typically RLHF algorithms operate in two phases: first, use human preferences to learn a reward function and second, align the model by optimizing the learned reward via reinforcement learning (RL). This paradigm assumes that human preferences are distributed according to reward, but recent work suggests that they instead follow the regret under the user's optimal policy. Thus, learning a reward function from feedback is not only based on a flawed assumption of human preference, but also leads to unwieldy optimization challenges that stem from policy gradients or bootstrapping in the RL phase. Because of these optimization challenges, contemporary RLHF methods restrict themselves to contextual bandit settings (e.g., as in large language models) or limit observation dimensionality (e.g., state-based robotics). We overcome these limitations by introducing a new family of algorithms for optimizing behavior from human feedback using the regret-based model of human preferences. Using the principle of maximum entropy, we derive Contrastive Preference Learning (CPL), an algorithm for learning optimal policies from preferences without learning reward functions, circumventing the need for RL. CPL is fully off-policy, uses only a simple contrastive objective, and can be applied to arbitrary MDPs. This enables CPL to elegantly scale to high-dimensional and sequential RLHF problems while being simpler than prior methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑