RL with LLMs: Which Gap PPO, GRPO, and On-Policy Distillation Each Fill | Stanford CME295 2026 Edition Lecture 4
Vanilla REINFORCE has three gaps: high-variance gradients, no token-level credit assignment, and no limit on update size. PPO computes advantages with a value function and limits steps with clipping and a KL penalty, at the cost of training an extra value model. GRPO uses the mean of G answers to the same prompt as the baseline and drops the value model, but every token gets the same advantage. On-policy distillation has the student generate and a teacher score every token with reverse KL; it needs a strong enough teacher, and self-distillation and multiple teachers are two ways around that requirement.