Skip to main content
QUICK REVIEW

[论文解读] Principled Reinforcement Learning with Human Feedback from Pairwise or $K$-wise Comparisons

Banghua Zhu, Jiantao Jiao|arXiv (Cornell University)|Jan 26, 2023
Reinforcement Learning in RoboticsComputer Science被引用 16
一句话总结

本文为从成对和 K-wise 人类比较中进行奖励学习的 RLHF 提供了理论框架,分析了何时 MLE 会失败以及何时悲观 MLE 会成功,并将结果扩展到具有样本复杂度界的 MDP/IRL。

ABSTRACT

We provide a theoretical framework for Reinforcement Learning with Human Feedback (RLHF). Our analysis shows that when the true reward function is linear, the widely used maximum likelihood estimator (MLE) converges under both the Bradley-Terry-Luce (BTL) model and the Plackett-Luce (PL) model. However, we show that when training a policy based on the learned reward model, MLE fails while a pessimistic MLE provides policies with improved performance under certain coverage assumptions. Additionally, we demonstrate that under the PL model, the true MLE and an alternative MLE that splits the $K$-wise comparison into pairwise comparisons both converge. Moreover, the true MLE is asymptotically more efficient. Our results validate the empirical success of existing RLHF algorithms in InstructGPT and provide new insights for algorithm design. Furthermore, our results unify the problem of RLHF and max-entropy Inverse Reinforcement Learning (IRL), and provide the first sample complexity bound for max-entropy IRL.

研究动机与目标

  • 动机并形式化 RLHF 中的奖励学习,使用成对和 K-wise 人类反馈。
  • 在 BT/L 和 PL 模型下分析估计量(MLE 与悲观 MLE)。
  • 给出估计误差和感知策略次优性(诱导策略的次优性)的有限样本保证。
  • 将结果扩展到 K-wise 比较、MDP 和 IRL,并与离线 RL 的联系。

提出的方法

  • 将奖励建模为线性函数 r_theta(s,a)=theta^T phi(s,a),其中 phi 固定,theta 落在一个有界参数空间内。
  • 使用 Plackett-Luce (PL) 与 Bradley-Terry-Luce (BTL) 模型来描述来自成对或 K-wise 比较的人类排序数据。
  • 在 Sigma_D 下推导 MLE 估计量的有限样本界,以及使用奖励估计的下置信界来实现的悲观 MLE 的界。
  • 证明在某些覆盖假设下,MLE 可能无法诱导接近最优的策略,而悲观 MLE 能实现接近最优的次优性。
  • 通过设定 MLE_K 与 MLE_2 估计量并推导相应的界,将分析扩展到 K-wise 比较。
  • 将结果推广到马尔可夫决策过程,并讨论对最大熵 IRL 与离线 RL 的影响。

实验结果

研究问题

  • RQ1在何种条件下,MLE 在带成对或 K-wise 比较的 RLHF 中能正确恢复真实的奖励参数?
  • RQ2在给定数据集覆盖假设的前提下,悲观 MLE 是否能在 MLE 失败时实现近似最优的策略?
  • RQ3在 PL/BTL 模型下,对于成对和 K-wise 比较,奖励学习的样本复杂度界是多少?
  • RQ4在估计误差和诱导策略质量方面,K-wise 估计量(MLE_K 和 MLE_2)有何比较?
  • RQ5RLHF 奖励学习的结果如何扩展到 MDP 与最大熵 IRL?对离线 RL 方法有何影响?

主要发现

  • 在 BT/L 模型下,MLE 在线性奖励 setting 下收敛到真实参数,但可能无法产生良好策略。
  • 在某些覆盖假设下,悲观 MLE 可以实现近最优的策略性能。
  • 在 PL 下,真实 MLE 和一个分裂形式(将 K-wise 转换为成对)的 MLE 都收敛,真实 MLE 在渐近意义上更高效。
  • 对于 K-wise PL,MLE_K 估计量达到近似最优的估计误差界,并且在悲观性下,给出良好的 SubOpt 上界。
  • 下界表明,在情境赌博机设置中,悲观 MLE 相对于次优性是极小极大意义上的常数量级最优。
  • 该工作将 RLHF 与最大熵 IRL 统一起来,并提供了最大熵 IRL 的首个样本复杂度界。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。