Saved in:
Bibliographic Details
Main Authors: Scheid, Antoine, Boursier, Etienne, Durmus, Alain, Jordan, Michael I., Ménard, Pierre, Moulines, Eric, Valko, Michal
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.17055
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912083134644224
author Scheid, Antoine
Boursier, Etienne
Durmus, Alain
Jordan, Michael I.
Ménard, Pierre
Moulines, Eric
Valko, Michal
author_facet Scheid, Antoine
Boursier, Etienne
Durmus, Alain
Jordan, Michael I.
Ménard, Pierre
Moulines, Eric
Valko, Michal
contents Reinforcement Learning from Human Feedback (RLHF) has become a popular approach to align language models (LMs) with human preferences. This method involves collecting a large dataset of human pairwise preferences across various text generations and using it to infer (implicitly or explicitly) a reward model. Numerous methods have been proposed to learn the reward model and align a LM with it. However, the costly process of collecting human preferences has received little attention and could benefit from theoretical insights. This paper addresses this issue and aims to formalize the reward training model in RLHF. We frame the selection of an effective dataset as a simple regret minimization task, using a linear contextual dueling bandit method. Given the potentially large number of arms, this approach is more coherent than the best-arm identification setting. We then propose an offline framework for solving this problem. Under appropriate assumptions - linearity of the reward model in the embedding space, and boundedness of the reward parameter - we derive bounds on the simple regret. Finally, we provide a lower bound that matches our upper bound up to constant and logarithmic terms. To our knowledge, this is the first theoretical contribution in this area to provide an offline approach as well as worst-case guarantees.
format Preprint
id arxiv_https___arxiv_org_abs_2410_17055
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Optimal Design for Reward Modeling in RLHF
Scheid, Antoine
Boursier, Etienne
Durmus, Alain
Jordan, Michael I.
Ménard, Pierre
Moulines, Eric
Valko, Michal
Machine Learning
Reinforcement Learning from Human Feedback (RLHF) has become a popular approach to align language models (LMs) with human preferences. This method involves collecting a large dataset of human pairwise preferences across various text generations and using it to infer (implicitly or explicitly) a reward model. Numerous methods have been proposed to learn the reward model and align a LM with it. However, the costly process of collecting human preferences has received little attention and could benefit from theoretical insights. This paper addresses this issue and aims to formalize the reward training model in RLHF. We frame the selection of an effective dataset as a simple regret minimization task, using a linear contextual dueling bandit method. Given the potentially large number of arms, this approach is more coherent than the best-arm identification setting. We then propose an offline framework for solving this problem. Under appropriate assumptions - linearity of the reward model in the embedding space, and boundedness of the reward parameter - we derive bounds on the simple regret. Finally, we provide a lower bound that matches our upper bound up to constant and logarithmic terms. To our knowledge, this is the first theoretical contribution in this area to provide an offline approach as well as worst-case guarantees.
title Optimal Design for Reward Modeling in RLHF
topic Machine Learning
url https://arxiv.org/abs/2410.17055