arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.12842cs.LGcs.AI
收藏

无需奖励建模的直接基于偏好的策略优化

Direct Preference-based Policy Optimization without Reward Modeling

Seoul National University(首尔大学);NAVER;Line Corporation(LINE公司)

Gaon An, Junhyeok Lee, Xingdong Zuo, Norio Kosaka, Kyung-Min Kim, Hyun Oh Song

AI总结:

本文提出一种无需奖励建模、直接基于偏好学习策略的 PbRL 算法,通过对比学习设计策略评分指标,在离线控制任务上超越现有方法,并可微调大语言模型。

摘要:

基于偏好的强化学习(PbRL)是一种使强化学习智能体能够从偏好中学习的方法,在难以构建奖励函数时尤其有用。现有的 PbRL 方法通常包含两步流程:首先基于给定的偏好数据学习一个奖励模型,然后使用学到的奖励模型采用现成的强化学习算法。然而,仅从偏好信息中获得准确的奖励模型可能很困难,尤其是当偏好来自人类教师时。相反,我们提出了一种 PbRL 算法,它直接从偏好中学习,不需要任何奖励建模。为实现这一目标,我们采用对比学习框架设计了一种新颖的策略评分指标,该指标为符合给定偏好的策略分配高分。我们将该算法应用于带有真实人类偏好标签的离线强化学习任务,并表明我们的算法优于或与现有 PbRL 方法相当。值得注意的是,在高维控制任务上,我们的算法超越了使用真实奖励信息进行学习的离线强化学习方法。最后,我们表明该算法可以成功应用于微调大型语言模型。

英文摘要:

Preference-based reinforcement learning (PbRL) is an approach that enables RL agents to learn from preference, which is particularly useful when formulating a reward function is challenging. Existing PbRL methods generally involve a two-step procedure: they first learn a reward model based on given preference data and then employ off-the-shelf reinforcement learning algorithms using the learned reward model. However, obtaining an accurate reward model solely from preference information, especially when the preference is from human teachers, can be difficult. Instead, we propose a PbRL algorithm that directly learns from preference without requiring any reward modeling. To achieve this, we adopt a contrastive learning framework to design a novel policy scoring metric that assigns a high score to policies that align with the given preferences. We apply our algorithm to offline RL tasks with actual human preference labels and show that our algorithm outperforms or is on par with the existing PbRL methods. Notably, on high-dimensional control tasks, our algorithm surpasses offline RL methods that learn with ground-truth reward information. Finally, we show that our algorithm can be successfully applied to fine-tune large language models.

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

↑