arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08495cs.LGcs.AIcs.CL
收藏

用于RLHF的数据集重置策略优化

Dataset Reset Policy Optimization for RLHF

Cornell University(康奈尔大学);Princeton University(普林斯顿大学);Microsoft Research New York(微软研究院纽约分部)

Jonathan D. Chang, Wenhao Zhan, Owen Oertell, Kianté Brantley, Dipendra Misra, Jason D. Lee, Wen Sun

AI总结:

提出DR-PO算法,通过将在线策略优化器重置到离线偏好数据集中的状态来改进RLHF,并在理论保证与TL;DR、HH实验中验证其优于PPO和DPO。

摘要:

从人类基于偏好的反馈中进行强化学习(RL)是微调生成模型的一种流行范式,并已产生了诸如GPT-4和Claude3 Opus等令人印象深刻的模型。该框架通常包含两个步骤:先从离线偏好数据集中学习奖励模型,随后运行在线RL以优化所学的奖励模型。在本研究中,借助重置的思想,我们提出了一种具有可证明保证的新型RLHF算法。受离线偏好数据集能够提供信息状态(即标注者偏好的数据)这一事实启发,我们的新算法Dataset Reset Policy Optimization(DR-PO,数据集重置策略优化)通过数据集重置将现有离线偏好数据集整合到在线策略训练过程中:它直接将策略优化器重置到离线数据集中的状态,而不是始终从初始状态分布开始。在理论上,我们证明了在一般函数逼近和有限样本复杂度下,DR-PO所学习到的表现至少与离线数据集所覆盖的任何策略一样好。在实验中,我们证明在TL;DR摘要数据集和Anthropic Helpful Harmful(HH)数据集上,以GPT4胜率作为指标,DR-PO生成的结果优于Proximal Policy Optimization(PPO)和Direction Preference Optimization(DPO)。本研究的代码可在https://github.com/Cornell-RL/drpo获取。

英文摘要:

Reinforcement Learning (RL) from Human Preference-based feedback is a popular paradigm for fine-tuning generative models, which has produced impressive models such as GPT-4 and Claude3 Opus. This framework often consists of two steps: learning a reward model from an offline preference dataset followed by running online RL to optimize the learned reward model. In this work, leveraging the idea of reset, we propose a new RLHF algorithm with provable guarantees. Motivated by the fact that offline preference dataset provides informative states (i.e., data that is preferred by the labelers), our new algorithm, Dataset Reset Policy Optimization (DR-PO), integrates the existing offline preference dataset into the online policy training procedure via dataset reset: it directly resets the policy optimizer to the states in the offline dataset, instead of always starting from the initial state distribution. In theory, we show that DR-PO learns to perform at least as good as any policy that is covered by the offline dataset under general function approximation with finite sample complexity. In experiments, we demonstrate that on both the TL;DR summarization and the Anthropic Helpful Harmful (HH) dataset, the generation from DR-PO is better than that from Proximal Policy Optimization (PPO) and Direction Preference Optimization (DPO), under the metric of GPT4 win-rate. Code for this work can be found at https://github.com/Cornell-RL/drpo.

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

↑