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

Prompt

×

A question drawn from the training prompts: reasoning, agent and general tasks in one stage.

shape
qq [B batch]
Sources

Contextual evidence

§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