AI & MLRecommendedAIML-LM-024
RLHF: Policy Optimization with a KL Penalty
Optimising a language model against a reward model while a KL term keeps it close to the reference model.
- Difficulty
- 4 / 5
- Importance
- 4 / 5
- Study time
- 1–2 h
- Kind of work
- Mixed
Why it matters
The learner can explain how the KL coefficient trades reward against drift from the reference policy and predict reward hacking when it is too small.