概念
RLHF
Reinforcement learning from human feedback: people rank answers and the model learns to give the kind they prefer.
本课尚未翻译,暂以英文显示。
- 1The model writes several answers to a prompt.
- 2People rank the answers.
- 3The rankings train a reward model that scores answers like people do.
- 4The model is trained to earn higher scores, so it improves.
分步说明
- 1The model writes several answers to a prompt.
- 2People rank the answers.
- 3The rankings train a reward model that scores answers like people do.
- 4The model is trained to earn higher scores, so it improves.
是什么
Reinforcement learning from human feedback (RLHF) is a way to make a model's answers more helpful and safer. It uses human opinion, because some qualities, like a good tone, are hard to write as rules.
It works like this. The model writes several answers to the same prompt. People rank them from best to worst. A separate reward model learns from these rankings to score any answer the way people would. Then the main model is trained to earn higher scores from the reward model. Step by step, its answers move toward what people prefer.
是什么
RLHF is a form of reinforcement learning, where a model learns by reward. It is often used after instruction tuning.
要记住
- Humans rank the model's answers.
- A reward model learns to score answers like people do.
- The main model is trained to earn higher reward scores.
- Goal: answers that are more helpful, honest and safe.
- It needs human time, so it costs effort.
考试中
- “Use human preference ratings to align a model with what people want” points to RLHF.
- “A reward model scores the answers” points to RLHF.
别和这些弄混
- Fine-tuning methodsWays to adapt a pre-trained model: instruction tuning, domain adaptation, transfer learning and continued pre-training.
- Preparing fine-tuning dataCuration, governance, size, labeling and representativeness: what makes training data good.
- Types of learningSupervised, unsupervised and reinforcement learning differ in what the model learns from.