Proximal Policy Optimization updates the policy using the reward signal and an advantage estimate (usually from a learned value model, the critic), with ratio clipping to stop any single update from changing the policy too much.
The KL penalty subtracts a term proportional to the divergence between the current policy and the frozen reference model from the reward, preventing the policy from drifting into gibberish or exploiting the reward model.
Too small a KL weight invites reward hacking; too large prevents learning. Some pipelines adapt the coefficient to hit a target KL.
Loading…