Skip to main content
QUICK REVIEW

[Paper 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 Science16 citations
TL;DR

The paper provides a theoretical framework for RLHF with reward learning from pairwise and K-wise human comparisons, analyzes when MLE fails and when pessimistic MLE succeeds, and extends results to MDP/IRL with sample complexity bounds.

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.

Motivation & Objective

  • Motivate and formalize reward learning in RLHF using pairwise and K-wise human feedback.
  • Analyze estimators (MLE and pessimistic MLE) under BTL and PL models.
  • Provide finite-sample guarantees for estimation error and induced policy sub-optimality.
  • Extend results to K-wise comparisons, MDPs, and IRL, with connections to offline RL.

Proposed method

  • Model the reward as a linear function r_theta(s,a)=theta^T phi(s,a) with phi fixed and theta in a bounded parameter space.
  • Use Plackett-Luce (PL) and Bradley-Terry-Luce (BTL) models to describe human ranking data from pairwise or K-wise comparisons.
  • Derive finite-sample bounds for the MLE estimator under Sigma_D and for the pessimistic MLE using a lower confidence bound in the reward estimates.
  • Prove that MLE may fail in inducing near-optimal policies while pessimistic MLE achieves near-optimal sub-optimality under certain coverage assumptions.
  • Extend the analysis to K-wise comparisons by formulating MLE_K and MLE_2 estimators and deriving corresponding bounds.
  • Generalize results to Markov decision processes and discuss implications for max-entropy IRL and offline RL.

Experimental results

Research questions

  • RQ1Under what conditions does maximum likelihood estimation (MLE) correctly recover the true reward parameters in RLHF with pairwise or K-wise comparisons?
  • RQ2Can pessimistic MLE yield near-optimal policies when MLE fails, given dataset coverage assumptions?
  • RQ3What are the sample complexity bounds for reward learning under PL/BTL models for pairwise and K-wise comparisons?
  • RQ4How do K-wise estimators (MLE_K and MLE_2) compare in terms of estimation error and induced policy quality?
  • RQ5How do the RLHF reward-learning results extend to MDPs and max-entropy IRL, and what are the implications for offline RL methods?

Key findings

  • MLE converges to the true parameter under BT/L models in the linear reward setting, but may fail to yield good policies.
  • Pessimistic MLE can achieve near-optimal policy performance under certain coverage assumptions.
  • Under PL, both true MLE and a split (K-wise to pairwise) MLE converge, with true MLE being asymptotically more efficient.
  • For K-wise PL, the MLE_K estimator attains a near-optimal estimation error bound and, with pessimism, yields good SubOpt bounds.
  • Lower bounds show pessimistic MLE is minimax-optimal up to constants for sub-optimality in the contextual bandit setting.
  • The work unifies RLHF with max-entropy IRL and provides the first sample complexity bound for max-entropy IRL.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.