Artificial Intelligence

What is Reinforcement Learning from Human Feedback?

Quick answer

A training method, known as RLHF, that improves an AI model by rewarding responses people rate as more helpful, accurate, or safe.

Reinforcement Learning from Human Feedback, explained

After a language model is trained on large amounts of text, it can predict words well but may not follow instructions or behave helpfully. RLHF addresses this. People compare pairs of model responses and choose the better one. Those preferences train a reward model, which then guides further training of the language model through reinforcement learning.

RLHF was a key step in turning raw language models into conversational assistants that answer questions directly and decline harmful requests. For example, raters might prefer a reply that admits uncertainty over one that invents a confident answer, nudging the model toward caution. The method has limits: it reflects the judgments of the raters and guidelines used, can make models overly agreeable, and is costly to run at scale.

Related terms

Guides that mention Reinforcement Learning from Human Feedback