What Is RLHF? Reinforcement Learning from Human Feedback
RLHF stands for reinforcement learning from human feedback. It is one of the main ways chat models learn to sound helpful, polite and careful.
How it works
- The model writes several replies to the same prompt.
- People rank the replies from best to worst.
- A separate reward model learns to predict those rankings.
- The chat model is trained to produce replies the reward model scores highly.
Why it creates cautious chatbots
If reviewers consistently prefer refusals for anything that looks risky, the model learns to refuse broadly, including harmless creative or educational requests. That is one source of over-refusal.
Newer methods
Many open models now use direct preference optimisation (DPO) and related methods, which learn from the same kind of preference pairs without a separate reward model. Uncensored fine-tunes often use these methods with preference data that favours answering over refusing. See how uncensored AI models are made.
Related
More terms: Character card · Content filter · Context window · Guardrails · Hallucination · Jailbreak · Full glossary