liveBook · Manning

Reinforcement learning with human feedback

As explained in Grokking AI Applications

Reinforcement learning from human feedback is a training technique that optimizes model behavior using human evaluations of its responses.

Reinforcement learning from human feedback improves a language model by having people judge its responses. The model uses those judgments as a feedback loop, learning through trial and error to produce more effective, human-like conversation. section 1.5

A conversational model develops through three broad stages:

  • Unsupervised learning teaches the model to predict coherent word completions. section 1.5
  • Supervised refinement trains it on human conversation examples for meaningful question-and-answer exchanges. section 1.5
  • Human reviewers identify effective and ineffective responses, guiding later behavior toward better conversations. section 1.5
Figure 1.6 The learning stages of ChatGPT

The learning-stages figure provides a visual overview of how human feedback follows unsupervised learning and supervised refinement. section 1.5

How Grokking AI Applications covers it

How deep it goes
Explains the feedback loop and learning sequence, but stops short of implementation details or optimization mechanics.
Examples
Uses reviewer judgments of chatbot responses and later user feedback as examples of conversational evaluation.
What it assumes
Positions RLHF after basic unsupervised learning and supervised refinement while introducing its purpose through conversational examples.
What you can do after
Evaluate how human judgments guide a language model toward more coherent and relevant dialogue.
How it connects
Connects reinforcement learning with human feedback to unsupervised learning, supervised learning, language models, and conversational AI.

Also explained in

Compare how 14 books explain reinforcement learning with human feedback →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking AI Applications. The section links point to the parts of the book it draws on.