Provable Benefits of Policy Learning from Human Preferences in Contextual Bandit Problems

Xiang Ji, Huazheng Wang, Minshuo Chen, Tuo Zhao, Mengdi Wang

TL;DR

This paper provides a theoretical foundation for why preference-based learning (like RLHF) often outperforms direct human ratings in practice. By analyzing offline contextual bandits, the authors demonstrate that human ratings are highly susceptible to systematic bias and complex uncertainty, leading to persistent suboptimality, whereas preference-based methods are more robust and achieve faster convergence.

What Problem Does This Paper Address?

Reward engineering—defining the "score" for an AI's behavior—is one of the hardest parts of reinforcement learning. For complex tasks like training a chatbot, there is no objective scalar reward. Instead, we rely on human feedback.

There are two main ways to collect this feedback:

  1. Rating: Asking a human to give a state-action pair a score (e.g., 1 to 5 stars).
  2. Preference: Asking a human to choose which of two options they prefer.

While preference-based methods (the "HF" in RLHF) have seen massive empirical success in models like InstructGPT and ChatGPT, we haven't had a clear theoretical explanation for why they are better than simple ratings. This paper fills that gap by comparing both approaches under realistic models of human bias and uncertainty in an offline contextual bandit setting.

Methods

The authors introduce a more sophisticated model for human ratings that moves beyond simple additive noise. They model a human rating $\tilde{r}$ as a transformation $h(r, \epsilon)$, where $r$ is the true reward, $\epsilon$ is random noise (uncertainty), and $h$ is a monotone function representing the human's internal bias.

They analyze two primary algorithmic frameworks:

  • For Ratings: The standard Lower Confidence Bound (LCB) algorithm, which uses pessimism to handle the lack of data for certain actions.
  • For Preferences: Pessimistic Maximum Likelihood Estimation (MLE), which learns a reward function by maximizing the likelihood of the observed human preferences (modeled via the Bradley-Terry-Luce or BTL model).

The core of the paper is a mathematical comparison of the "suboptimality" (how much worse the learned policy is compared to the perfect one) and "sample complexity" (how much data is needed to learn) for both methods.

Algorithm 1: LCB for contextual bandits, used to evaluate the rating-based approach.

Datasets

As a theoretical work, this paper does not use standard benchmark datasets. Instead, the authors construct specific, adversarial bandit instances (mathematical scenarios) to prove lower bounds. These synthetic "worst-case" scenarios demonstrate exactly how human bias can mislead an algorithm that relies on direct ratings.

Key Insights and Ideas

  • Bias as a Fundamental Bottleneck: In rating models, human bias (the shape of the $h$ function) can create a "constant suboptimality." This means that even with an infinite amount of data, a rating-based algorithm might never find the truly optimal policy if the human's rating scale is sufficiently distorted.
  • The Limits of Pessimism: While pessimism (like LCB) is a powerful tool in offline RL, it cannot fully compensate for human bias. If a human's bias is "extreme" (e.g., quadratic), the rate at which the algorithm improves slows down significantly (from $n^{-1/2}$ to $n^{-1/4}$).
  • Preference as a Natural Filter: The preference-based BTL model is inherently more robust. Because it only cares about the relative ranking of two options, it effectively ignores the absolute scale distortions that plague rating models.
  • The "Biased BTL" Reality Check: The authors show that if human preferences were just as biased as their ratings, the advantage of preference-based learning would disappear. This suggests that the real-world success of RLHF isn't just due to the math—it's because humans are fundamentally better and more consistent at comparing two things than at assigning them an absolute score.

Key Results

  • Rating Failure: The authors prove that under partial data coverage, rating-based LCB can suffer from constant suboptimality (Theorem 1).
  • Preference Success: In contrast, they show that preference-based pessimistic MLE achieves a fast convergence rate of $O(1/\sqrt{n})$ under the standard BTL model (Theorem 4).
  • Sample Efficiency: When human bias is high, the number of samples needed for the rating-based approach to identify the best action is significantly higher than for the preference-based approach (Theorem 5).

Limitations and Future Work

  • Tabular Setting: The analysis is currently limited to "tabular" bandits, where the number of states and actions is finite. Extending these proofs to deep reinforcement learning or linear function approximation is a logical next step.
  • Single Annotator: The models assume a single type of human bias. In reality, datasets are often labeled by many different people with varying biases. Investigating "mixture models" of human feedback would be more realistic.
  • Beyond BTL: While the BTL model is standard, exploring more complex models of how humans make choices (and how they might be biased in their preferences) remains an open area for research.

Summary updated

BibTeX
@misc{ji2023provable,
  author = {Xiang Ji and Huazheng Wang and Minshuo Chen and Tuo Zhao and Mengdi Wang},
  title = {{Provable Benefits of Policy Learning from Human Preferences in Contextual Bandit Problems}},
  year = {2023},
  eprint = {2307.12975},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.12975},
}
Figure