Pretraining Language Models with Human Preferences

By Tomasz Korbak, Kejian Shi, Angelica Chen, Rasika Bhalerao, C. L. Buckley, Jason Phang, Sam Bowman, Samuel R. Bowman, Ethan Perez. 2023

302 citations recorded by the source corpus.

Language models (LMs) are pretrained to imitate internet text, including content that would violate human preferences if generated by an LM: falsehoods, offensive comments, personally identifiable information, low-quality or buggy code, and more. Here, we explore alternative objectives for pretraining LMs in a way that also guides them to generate text aligned with human preferences. We benchmark five objectives for pretraining with human feedback across three tasks and study how they affect the trade-off between alignment and capabilities of pretrained LMs. We find a Pareto-optimal and simple approach among those we explored: conditional training, or learning distribution over tokens conditional on their human preference scores given by a reward model. Conditional training reduces the rate of undesirable content by up to an order of magnitude, both when generating without a prompt and with an adversarially-chosen prompt. Moreover, conditional training maintains the downstream task performance of standard LM pretraining, both before and after task-specific finetuning. Pretraining with human feedback results in much better preference satisfaction than standard LM pretraining followed by finetuning with feedback, i.e., learning and then unlearning undesirable behavior. Our results suggest that we should move beyond imitation learning when pretraining LMs and incorporate human preferences from the start of training.

Subfields: Artificial Intelligence, Alignment & RLHF

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Percy Liang
  4. Yejin Choi
  5. Noah A. Smith
  6. Jianfeng Gao
  7. Hannaneh Hajishirzi
  8. Graham Neubig

In Alignment & RLHF

  1. Tianyi Zhang
  2. Xinyun Chen
  3. Alexander Wei
  4. Mari Ostendorf
  5. Noah A. Smith
  6. Percy Liang
  7. Maxwell Lin
  8. Carlos Guestrin

Citations in the corpus