Group-Based Policy Optimization › Limitations & Impact
Language AI HandbookAll chapters The toy starts from a randomly initialized 2,565-parameter policy with a vocabulary of five tokens. It generates fixed-length responses and scores each by the fraction of tokens matching the target. The reference is a frozen copy of the initial policy. DeepSeekMath-RL starts from the instruction-tuned DeepSeekMath-Instruct checkpoint, and the iterative algorithm refreshes its reference at the start of each outer iteration.
Holding the token terms fixed, per-response averaging and a token mean give identical results when every response has the same length . A fixed budget divisor instead scales those same averages by . That scale is shared across responses. It equals one only if . The toy’s fixed lengths hide the relative reweighting that a response-length divisor can introduce when lengths differ. This comparison isolates the length divisor. Dr. GRPO also changes the advantage scaling.
The toy lets you inspect within-prompt normalization, clipping, and the increasing frequency of tied reward groups in this run. Results on its single artificial prompt tell us little about reasoning behavior on real tasks.
GRPO removes the need to train a critic in these formulations. Actor training, rollouts, and reward scoring still have costs, and a reference model can add scoring work if the objective uses it. The overall resource comparison depends on how those components are implemented.
Grouped rewards, response lengths, and sampling affect the update. A verifier can still reward a shortcut, and a group in which every response earns the same reward reveals nothing about their relative quality. Inspect the actual completions when the reward is meant to stand in for a broader objective.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!