Glossary

What is Reinforcement learning from human feedback?

In Turkish: İnsan geri bildirimiyle pekiştirmeli öğrenme (RLHF) · Topic: Models and training

A training method in which a model learns from people's preferences between its answers. The aim is to steer its outputs toward what people find helpful, accurate, and appropriate.

How does it work?

First, people rank several answers the model gave to the same prompt according to which they prefer. These rankings are used to train a reward model that scores how well an answer is likely to be received. The main model is then updated with reinforcement learning to produce answers that raise that score. To keep it from fooling the reward model with answers that score high but are actually poor, it is limited in how far it can drift from its earlier behavior. Alternatives such as direct preference optimization (DPO) use preference data without training a separate reward model.

Why does it matter?

RLHF is one of the main techniques that make chat assistants more helpful and less harmful. OpenAI is known to have used it in developing InstructGPT and ChatGPT. At the same time, problems such as unreliable human preferences and models that agree with users too readily are debated.

Example

A model produces two answers to the same question, and a rater picks the clearer and more accurate one. Many thousands of such choices teach the model which style of answer is preferred.

FAQ

Why does RLHF need human feedback?

What makes an answer good, in terms of clarity, tone, and usefulness, is hard to define with a simple rule. Human preferences are a practical way to pass these criteria on to the model indirectly.

Is RLHF a perfect method?

No. Preference data can carry raters' mistakes and biases, and a model can learn to exploit weaknesses in the reward model. For this reason it is usually combined with other safety work.

All terms