arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.01857cs.LG
收藏

奖励模型学习 vs. 直接策略优化:基于人类偏好学习的比较分析

Reward Model Learning vs. Direct Policy Optimization: A Comparative Analysis of Learning from Human Preferences

Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所);University of Warwick(华威大学)

Andi Nika, Debmalya Mandal, Parameswaran Kamalaruban, Georgios Tzannetos, Goran Radanović, Adish Singla

AI总结:

本文系统比较了RLHF与DPO两种人类偏好学习范式,推导了两者在精确与近似优化下的统计界与收敛率,发现DPO在奖励不可实现时表现更优,并将分析扩展至马尔可夫决策过程。

摘要:

本文通过系统比较基于人类反馈的强化学习(RLHF)与近期提出的直接偏好优化(DPO)范式,向深入理解人类偏好学习迈出了一步。我们重点关注对数线性策略参数化和线性奖励函数类。为了比较这两种范式,我们首先在假设存在能够精确求解优化问题的预言机的条件下,推导出了RLHF和DPO引起的次优性差距的极小极大统计界。我们详细讨论了两种范式之间的相对比较,同时考虑了样本大小、策略和奖励类维度以及正则化温度。此外,我们将分析扩展到近似优化设置,并推导出了RLHF和DPO的指数衰减收敛速率。接下来,我们分析了真实奖励不可实现的设置,发现虽然RLHF会带来恒定的额外误差,但DPO只需相应地调整温度即可保持其渐近衰减的差距。最后,我们将比较扩展到马尔可夫决策过程设置,并在精确优化下推广了我们的结果。据我们所知,我们是首个为RLHF和DPO提供此类比较分析的研究。

英文摘要:

In this paper, we take a step towards a deeper understanding of learning from human preferences by systematically comparing the paradigm of reinforcement learning from human feedback (RLHF) with the recently proposed paradigm of direct preference optimization (DPO). We focus our attention on the class of loglinear policy parametrization and linear reward functions. In order to compare the two paradigms, we first derive minimax statistical bounds on the suboptimality gap induced by both RLHF and DPO, assuming access to an oracle that exactly solves the optimization problems. We provide a detailed discussion on the relative comparison between the two paradigms, simultaneously taking into account the sample size, policy and reward class dimensions, and the regularization temperature. Moreover, we extend our analysis to the approximate optimization setting and derive exponentially decaying convergence rates for both RLHF and DPO. Next, we analyze the setting where the ground-truth reward is not realizable and find that, while RLHF incurs a constant additional error, DPO retains its asymptotically decaying gap by just tuning the temperature accordingly. Finally, we extend our comparison to the Markov decision process setting, where we generalize our results with exact optimization. To the best of our knowledge, we are the first to provide such a comparative analysis for RLHF and DPO.

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

↑