Optimal Design for Reward Modeling in RLHF

PDFHTML

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.
Submitted 22 Oct 2024 to Machine Learning [cs.LG]
Published 23 Oct 2024
Subjects: cs.LG stat.ML
https://arxiv.org/abs/2410.17055
https://arxiv.org/pdf/2410.17055.pdf
https://arxiv-vanity.com/papers/2410.17055
Scited by: Tongyang Li


View this paper on arXiv.wiki:
https://arxiv.wiki/abs/2410.17055

0 comments