AI summary · arXiv: 2204.05862v1 · cs.CL

Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback

Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort,

and 23 more authorsDeep Ganguli, Tom Henighan, Nicholas Joseph, Saurav Kadavath, Jackson Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, Ben Mann, Jared Kaplan

Original paper · DOI Submitted to arXiv on 12 Apr. 2022 Data available at https://github.com/anthropics/hh-rlhf License: CC BY 4.0

The essentials

  • The article discusses the use of preference modeling and reinforcement learning from human feedback (RLHF) to improve language models as helpful assistants.
  • Alignment training using RLHF improves performance on almost all natural language processing evaluations, including specialized skills like python coding and summarization.
  • An iterated online mode of training is explored where preference models and RL policies are updated weekly with fresh human feedback data, efficiently improving datasets and models.
  • The robustness of RLHF training is investigated, identifying a roughly linear relation between the RL reward and the square root of the KL divergence between the policy and its initialization.
  • Peripheral analyses are performed on calibration, competing objectives, and the use of OOD detection.
  • Large preference models trained on a mixture of human-human (HH) and learning-to-summarize (LtS) datasets perform equally well on both.
  • RLHF decreases the performance of small code models but improves larger ones when combined with natural language alignment for coding tasks.
  • Improvements in performance from RLHF are modest in all evaluations but valuable for finetuning language models for specialized skills like coding or summarization.
  • Simply prompting a base code model performs slightly better than using RLHF alone.
  • Sam Ge is thanked for his contributions to this research.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Preference Modeling Reinforcement Learning Human Feedback Natural Language Processing Finetuning

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
The article discusses the application of preference modeling and reinforcement learning from human feedback (RLHF) to finetune language models as helpful and harmless assistants. The authors find that this alignment training improves performance on almost all natural language processing evaluations, including specialized skills such as python coding and summarization. They explore an iterated online mode of training where preference models and RL policies are updated weekly with fresh human feedback data, efficiently improving datasets and models. The authors also investigate the robustness of RLHF training and identify a roughly linear relation between the RL reward and the square root of the KL divergence between the policy and its initialization. They perform peripheral analyses on calibration, competing objectives, and the use of OOD detection, compare their models with human writers, and provide samples from their models using prompts appearing in recent related work. In one experiment, large preference models trained on a mixture of human-human (HH) and learning-to-summarize (LtS) datasets perform equally well on both. This suggests that there is no cost to mixing HH with specific skill evaluation like summarization quality. In another experiment, they test whether natural language alignment can be combined with coding without compromising performance. The authors find that RLHF decreases the performance of small code models but improves larger ones. Overall, while improvements in performance from RLHF are modest in all evaluations, it is still valuable for finetuning language models for specialized skills like coding or summarization. The authors emphasize that simply prompting a base code model performs slightly better than using RLHF alone. Finally, they thank Sam Ge for his contributions to this research.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts
Journal club Premium+ Slides to present it
For journalists Premium+ Press kit and hype check

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.