GRPO step

qPromptqqOld policy{oi}i=1G∼πθold(O∣q)\{o_i\}_{i=1}^{G}\sim\pi_{\theta_{\mathrm{old}}}(O\mid {\htmlClass{vl-stream-q}{q}})o[B, G]Rewardsrules ⋅ generative RM with rubrics\text{rules}\ \cdot\ \text{generative RM with rubrics}r[B, G]Normalize in the groupAi=ri−mean⁡(r1,…,rG)std⁡(r1,…,rG)A_i=\frac{r_i-\operatorname{mean}(r_1,\dots,r_G)}{\operatorname{std}(r_1,\dots,r_G)}A[B, G]Policywi=πθ(oi∣q)πθold(oi∣q)w_i=\frac{\pi_\theta(o_i\mid {\htmlClass{vl-stream-q}{q}})}{\pi_{\theta_{\mathrm{old}}}(o_i\mid {\htmlClass{vl-stream-q}{q}})}w[B, G]KL to the referenceDi=πref(oi∣q)πθ(oi∣q)−log⁡πref(oi∣q)πθ(oi∣q)−1D_i=\frac{\pi_{\mathrm{ref}}(o_i\mid {\htmlClass{vl-stream-q}{q}})}{\pi_\theta(o_i\mid {\htmlClass{vl-stream-q}{q}})}-\log\frac{\pi_{\mathrm{ref}}(o_i\mid {\htmlClass{vl-stream-q}{q}})}{\pi_\theta(o_i\mid {\htmlClass{vl-stream-q}{q}})}-1D[B, G]Clipped objectiveJ=1G∑i(min⁡(wiAi,clip⁡(wi,1±ε)Ai)−βDi)J=\tfrac1G\sum_i\big(\min(w_iA_i,\operatorname{clip}(w_i,1\pm\varepsilon)A_i)-\beta D_i\big)J[1]hatched band: not updated in this step · solid band: what this stage trainsq: one prompt, named beside each model that reads it

out JJ [1]

Explanation

GRPO needs no critic model: the baseline is the group’s own mean reward.

The DeepSeek-V3.2-Exp report names GRPO, citing the DeepSeek-R1 paper and DeepSeekMath, and gives this stage’s rewards; it writes no equation. The equations here are the DeepSeek-R1 paper’s (eq. 1 to 3).

DeepSeekMath averages the objective over the tokens of each output, with a factor 1/∣oi∣1/|o_i|; the DeepSeek-V3 report and the DeepSeek-R1 paper write it per sequence, as this plate does. Which normalization DeepSeek-V3.2 uses, its report does not say.

The group size, ε\varepsilon, β\beta and the learning rate are not disclosed. The report plots RL training against steps up to about 1,400 (Figure 2) and states no total.

Sources

Direct evidence

§2.2.1, Reinforcement Learning Algorithm: GRPO foregoes the critic model and estimates the baseline from group scores. For each question a group of outputs is sampled from the old policy; the objective is the clipped ratio times the advantage, less β times a KL term to π_ref, averaged over the group (eq. 1, 2); the advantage is the reward less the group’s mean, over its standard deviation (eq. 3). ε and β are hyper-parameters the paper does not give for this model.

DeepSeek-R1-2501.12948v1.pdf p. 5 ↗ · arXiv 2501.12948 @ v1

§2.2, Mixed RL Training: GRPO is still the algorithm; reasoning, agent and human-alignment training are merged into one stage. Reasoning and agent tasks take a rule-based outcome reward, a length penalty and a language-consistency reward; general tasks take a generative reward model in which each prompt has its own rubrics.

DeepSeek_V3_2.pdf pp. 3–4 ↗ · deepseek-ai/DeepSeek-V3.2-Exp @ 87e509a2e5a1

§4.1, eq. 3: the objective averages over the group and over each output’s tokens, with the factor 1/|o_i| and per-token probabilities and advantages.

DeepSeekMath-2402.03300v2.pdf p. 13 ↗ · arXiv 2402.03300 @ v2