Semi-Supervised Reward Modeling via Iterative Self-Training

Yifei He, Haoxiang Wang, Ziyan Jiang, Alexandros Papangelis, Han Zhao
9/10/2024
cs.LG

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

Abstract

Reward models (RM) capture the values and preferences of humans and play a central role in Reinforcement Learning with Human Feedback (RLHF) to align pretrained large language models (LLMs). Traditionally, training these models relies on extensive human-annotated preference data, which poses significant challenges in terms of scalability and cost. To overcome these limitations, we propose Semi-Supervised Reward Modeling (SSRM), an approach that enhances RM training using unlabeled data. Given an unlabeled dataset, SSRM involves three key iterative steps: pseudo-labeling unlabeled examples, selecting high-confidence examples through a confidence threshold, and supervised finetuning on the refined dataset. Across extensive experiments on various model configurations, we demonstrate that SSRM significantly improves reward models without incurring additional labeling costs. Notably, SSRM can achieve performance comparable to models trained entirely on labeled data of equivalent volumes. Overall, SSRM substantially reduces the dependency on large volumes of human-annotated data, thereby decreasing the overall cost and time involved in training effective reward models.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Recipes to train reward model for RLHF.

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

Similar Papers

Cite this paper

@article{he2024semisupervised,
  title  = {Semi-Supervised Reward Modeling via Iterative Self-Training},
  author = {Yifei He and Haoxiang Wang and Ziyan Jiang and Alexandros Papangelis and Han Zhao},
  year   = {2024},
  eprint = {2409.06903},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.06903v1}
}

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/2409.06903.svg)](https://codeofpaper.com/paper/2409.06903)

Discussion