Online Iterative Reinforcement Learning from Human Feedback with General Preference Model

Chenlu Ye, Wei Xiong, Yuheng Zhang, Hanze Dong, Nan Jiang +1 more
2/11/2024
64 citations
cs.LGstat.ML
rlrlhf-rlvr-dpo

No official code found. Best implementation: RLHFlow/RLHF-Reward-Modeling (1,546 stars, Python, Apache-2.0, last commit 2025-04-24).

Abstract

We investigate Reinforcement Learning from Human Feedback (RLHF) in the context of a general preference oracle. In particular, we do not assume the existence of a reward function and an oracle preference signal drawn from the Bradley-Terry model as most of the prior works do.

Show full abstract

We consider a standard mathematical formulation, the reverse-KL regularized minimax game between two LLMs for RLHF under general preference oracle. The learning objective of this formulation is to find a policy so that it is consistently preferred by the KL-regularized preference oracle over any competing LLMs. We show that this framework is strictly more general than the reward-based one, and propose sample-efficient algorithms for both the offline learning from a pre-collected preference dataset and online learning where we can query the preference oracle along the way of training. Empirical studies verify the effectiveness of the proposed framework.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Recipes to train reward model for RLHF.

1,546111PythonMar 21, 20241 years agoApache-2.0
llama3llmreward-modelsrlhf

Similar Papers

Cite this paper

@article{ye2024online,
  title  = {Online Iterative Reinforcement Learning from Human Feedback with General Preference Model},
  author = {Chenlu Ye and Wei Xiong and Yuheng Zhang and Hanze Dong and Nan Jiang and Tong Zhang},
  year   = {2024},
  eprint = {2402.07314},
  archivePrefix = {arXiv},
  doi    = {10.52202/079017-2598},
  url    = {http://arxiv.org/abs/2402.07314v3},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.07314.svg)](https://codeofpaper.com/paper/2402.07314)

Discussion