Reward Modeling with Weak Supervision for Language Models

Ben Hauptvogel, Malte Ostendorff, Georg Rehm, Sebastian Möller
10/28/2024
cs.CL

No official code found. Best implementation: DFKI-NLP/weak-supervision-rlhf (3 stars, Apache-2.0, last commit 2024-05-08).

Abstract

Recent advancements in large language models (LLMs) have led to their increased application across various tasks, with reinforcement learning from human feedback (RLHF) being a crucial part of their training to align responses with user intentions. In the RLHF process, a reward model is trained using responses preferences determined by human labelers or AI systems, which then refines the LLM through reinforcement learning. This work introduces weak supervision as a strategy to extend RLHF datasets and enhance reward model performance. Weak supervision employs noisy or imprecise data labeling, reducing reliance on expensive manually labeled data. By analyzing RLHF datasets to identify heuristics that correlate with response preference, we wrote simple labeling functions and then calibrated a label model to weakly annotate unlabeled data. Our evaluation show that while weak supervision significantly benefits smaller datasets by improving reward model performance, its effectiveness decreases with larger, originally labeled datasets. Additionally, using an LLM to generate and then weakly label responses offers a promising method for extending preference data.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Bachelor Thesis: Language Modeling with Reinforcement Learning from Human Feedback with Weak Supervision

30Jupyter NotebookMay 6, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{hauptvogel2024reward,
  title  = {Reward Modeling with Weak Supervision for Language Models},
  author = {Ben Hauptvogel and Malte Ostendorff and Georg Rehm and Sebastian Möller},
  year   = {2024},
  eprint = {2410.20869},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.20869v1}
}

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

Discussion