Principled Reinforcement Learning with Human Feedback from Pairwise or $K$-wise Comparisons

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhu, Banghua, Jiao, Jiantao, Jordan, Michael I.
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911773140975616
author Zhu, Banghua
Jiao, Jiantao
Jordan, Michael I.
author_facet Zhu, Banghua
Jiao, Jiantao
Jordan, Michael I.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2301_11270
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Principled Reinforcement Learning with Human Feedback from Pairwise or $K$-wise Comparisons
Zhu, Banghua
Jiao, Jiantao
Jordan, Michael I.
Machine Learning
Artificial Intelligence
Human-Computer Interaction
Statistics Theory
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.
title Principled Reinforcement Learning with Human Feedback from Pairwise or $K$-wise Comparisons
topic Machine Learning
Artificial Intelligence
Human-Computer Interaction
Statistics Theory
url https://arxiv.org/abs/2301.11270