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

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

Abstract

A crucial task in decision-making problems is reward engineering. It is common in practice that no obvious choice of reward function exists. Thus, a popular approach is to introduce human feedback during training and leverage such feedback to learn a reward function. Among all policy learning methods that use human feedback, preference-based methods have demonstrated substantial success in recent empirical applications such as InstructGPT. In this work, we develop a theory that provably shows the benefits of preference-based methods in offline contextual bandits. In particular, we improve the modeling and suboptimality analysis for running policy learning methods on human-scored samples directly. Then, we compare it with the suboptimality guarantees of preference-based methods and show that preference-based methods enjoy lower suboptimality.

Introduction

In real-world AI training, defining a perfect mathematical reward function is often impossible. Instead, researchers rely on human feedback, primarily through two methods: rating-based feedback (assigning scores) and preference-based feedback (choosing between options). While preference-based methods, such as Reinforcement Learning from Human Feedback (RLHF) used in models like InstructGPT, have seen massive empirical success, the theoretical justification for their superiority has remained underdeveloped. This paper provides a theoretical foundation for why preference-based learning often outperforms traditional rating-based methods by introducing a realistic model for human rating bias and uncertainty.

Modeling Human Feedback

The authors develop a sophisticated mathematical model for human ratings and compare it against the standard model for preferences in the context of offline contextual bandits.

The Rating Model: A human rating $\tilde{r}$ is modeled as a transformation of the true reward $r$ plus noise $\epsilon$, expressed as $\tilde{r} = h(r, \epsilon)$. A key assumption is that $h$ is a monotone function, meaning humans generally preserve the correct ordering of rewards even if their absolute scores are biased (e.g., being "harsh" or "easy" graders).

The Preference Model: This follows the well-established Bradley-Terry-Luce (BTL) model, where the probability of a human preferring one action over another depends on the exponential difference of their true rewards.

Algorithms for Offline Learning

To analyze these models, the authors examine the Lower Confidence Bound (LCB) algorithm for rating data and Pessimistic Maximum Likelihood Estimation (MLE) for preference data. Both approaches utilize "pessimism" to handle the offline nature of the training data, where certain actions may be underrepresented in the pre-collected dataset $\mathcal{D}$.

Algorithm 1: LCB for contextual bandits.

Theoretical Insights and Results

As a theoretical work, the authors construct synthetic bandit instances to prove lower bounds on suboptimality, demonstrating how bias and noise in human feedback can lead an algorithm astray.

The "Constant Error" Trap

The analysis reveals that in rating-based learning, if the learner does not perfectly know the shape of the human's noise distribution, the policy may never converge to the optimal one, even with infinite data. This results in a "constant suboptimality" error proportional to the reward scale (Theorems 1 & 2).

Preferences as a Robust Filter

In contrast, preference-based feedback naturally "filters out" certain types of human bias. By focusing on relative differences rather than absolute scores, the BTL model is mathematically cleaner to optimize. Theorem 4 proves that preference-based Pessimistic MLE is guaranteed to converge to the optimal policy at a rate of $O(1/\sqrt{n})$ under mild assumptions.

Comparative Performance

Theorem 5 directly compares the two approaches on a simple bandit task. It shows that if human uncertainty variance is small, rating-based approaches might actually require fewer samples. This suggests that the empirical superiority of preferences likely stems from humans being more consistent and less biased when comparing items than when assigning absolute scores.

Conclusion and Future Work

This work provides a rigorous comparison of feedback types in offline contextual bandits, highlighting the robustness of preference-based methods against human bias. Future research directions include extending these proofs to multi-step Markov Decision Processes (MDPs) and modeling annotator heterogeneity, where feedback comes from a diverse group of humans with varying biases.

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