Asked about How preference training is done

What is the KL penalty in RLHF for?

An answer that works

It penalises the policy for moving too far from the original model. Without it, optimising against the reward model finds exploits: odd or sycophantic outputs that score well and read badly. It keeps the model anchored while it improves.

Reading an answer is not being able to give one. The section that teaches this is How preference training is done, 4 hours of Alignment & RLHF.

Learn this properly