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

从偏好中学习最优优势并将其误作奖励

Learning Optimal Advantage from Preferences and Mistaking it for Reward

University of Texas at Austin(德克萨斯大学奥斯汀分校);Google Research(谷歌研究院);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);UC Berkeley(加州大学伯克利分校);Sony AI(索尼人工智能);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

W. Bradley Knox, Stephane Hatgis-Kessell, Sigurdur Orn Adalgeirsson, Serena Booth, Anca Dragan, Peter Stone, Scott Niekum

AI总结:

本研究针对基于人类偏好的强化学习中常用的部分回报偏好假设,探讨当偏好实际源于后悔时的影响,指出所学函数是最优优势函数近似,还解释了RLHF微调大模型的原理,揭示该假设实践效果好的原因。

摘要:

我们研究了从人类对轨迹片段对的偏好中学习奖励函数的算法,这类算法应用于基于人类反馈的强化学习(RLHF)中。大多数近期研究假设,人类偏好仅基于这些片段内累积的奖励(即部分回报)生成。近期研究对这一假设的有效性提出了质疑,并提出了一种基于后悔的替代偏好模型。我们探究了当偏好实际源于后悔、却假设其基于部分回报时会产生的后果。我们认为,所学函数是最优优势函数$\hat{A^*_r}$的近似,而非奖励函数。我们发现,如果能解决一个特定的隐患,这种错误假设并不会造成特别大的危害,反而会得到一个高度塑形的奖励函数。尽管如此,与恰当且更简单的$\hat{A^*_r}$贪心最大化方法相比,对$\hat{A^*_r}$的这种错误使用仍不够理想。从后悔偏好模型的视角出发,我们还对使用RLHF微调当代大语言模型的过程给出了更清晰的解释。总体而言,本文揭示了为何在部分回报偏好模型下学习往往在实践中效果极佳,尽管该模型与人类给出偏好的方式契合度很低。

英文摘要:

We consider algorithms for learning reward functions from human preferences over pairs of trajectory segments, as used in reinforcement learning from human feedback (RLHF). Most recent work assumes that human preferences are generated based only upon the reward accrued within those segments, or their partial return. Recent work casts doubt on the validity of this assumption, proposing an alternative preference model based upon regret. We investigate the consequences of assuming preferences are based upon partial return when they actually arise from regret. We argue that the learned function is an approximation of the optimal advantage function, $\hat{A^*_r}$, not a reward function. We find that if a specific pitfall is addressed, this incorrect assumption is not particularly harmful, resulting in a highly shaped reward function. Nonetheless, this incorrect usage of $\hat{A^*_r}$ is less desirable than the appropriate and simpler approach of greedy maximization of $\hat{A^*_r}$. From the perspective of the regret preference model, we also provide a clearer interpretation of fine tuning contemporary large language models with RLHF. This paper overall provides insight regarding why learning under the partial return preference model tends to work so well in practice, despite it conforming poorly to how humans give preferences.

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

↑