7/13
Part 5 of 7 · KL in trainingLearn

RLHF, variational inference and distillation each minimize a KL

InstructGPT's RL step adds a per-token KL penalty from the SFT model at each token, to mitigate over-optimization of the reward model. The penalty is KL(policy ‖ reference) on the policy's own samples: the reverse direction.

Predict

Drop the KL penalty and run RL against a learned reward model for a long time. What tends to happen?

Pick an answer above to see the rest
Predict

Reward grows with the square root of the KL. What does twice the reward gain cost in KL?

Pick an answer above to see the rest
Predict

Distillation trains a student on a teacher's soft targets with cross entropy. Which KL does that minimize?

Pick an answer above to see the rest