Fine-Tuning Language Models from Human Preferences

Daniel M. Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B. Brown, Alec Radford +3 more
9/18/2019
2,851 citations
cs.CLcs.LGstat.ML
rl

Official code: openai/lm-human-preferences (1,389 stars, Python, MIT, last commit 2023-07-25).

Abstract

Reward learning enables the application of reinforcement learning (RL) to tasks where reward is defined by human judgment, building a model of reward by asking humans questions. Most work on reward learning has used simulated environments, but complex information about values is often expressed in natural language, and we believe reward learning for language is a key to making RL practical and safe for real-world tasks.

Show full abstract

In this paper, we build on advances in generative pretraining of language models to apply reward learning to four natural language tasks: continuing text with positive sentiment or physically descriptive language, and summarization tasks on the TL;DR and CNN/Daily Mail datasets. For stylistic continuation we achieve good results with only 5,000 comparisons evaluated by humans. For summarization, models trained with 60,000 comparisons copy whole sentences from the input but skip irrelevant preamble; this leads to reasonable ROUGE scores and very good performance according to our human labelers, but may be exploiting the fact that labelers rely on simple heuristics.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper Fine-Tuning Language Models from Human Preferences

1,389174PythonSep 14, 20193 years agoMIT

Similar Papers

Cite this paper

@article{ziegler2019finetuning,
  title  = {Fine-Tuning Language Models from Human Preferences},
  author = {Daniel M. Ziegler and Nisan Stiennon and Jeffrey Wu and Tom B. Brown and Alec Radford and Dario Amodei and Paul Christiano and Geoffrey Irving},
  year   = {2019},
  eprint = {1909.08593},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.08593}
}

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

Discussion