概念
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.