Reinforcement Learning from Human Feedback
Reinforcement Learning from Human Feedback (RLHF)
People rank several of an AI's answers, and those judgements are used to train the AI to give answers closer to what people want.
After pre-training, a model’s replies aren’t necessarily helpful, polite or safe. RLHF works like this: the model gives several answers to the same question and people pick the better one; those preferences train a “reward model” that scores answers, and reinforcement learning then nudges the large model toward higher scores.
It’s one of the key steps that made chatbots pleasant to use. But what it learns is “what people like”, so it can also teach a model to flatter users and say what sounds good rather than what’s right.
An example
The AI offers two ways to word a leave request to your boss, and a human rater picks the more tactful one. After many thousands of choices like that, the model’s answers look more and more like what people prefer.
Go deeper (English Wiki): Preference Optimization →
This entry was compiled with AI assistance from the sources in the English Wiki. Found an error? See Corrections