Mixed RL
×Stage · DeepSeek-V3.2-Exp
One GRPO stage for reasoning, agents and alignment together.
GRPO, group relative policy optimization
For each prompt the model writes a group of answers; each is scored and compared with the group’s mean, and the model is moved toward the answers above it, by a step clipped near the policy that wrote them and with a penalty for leaving a reference model.
DeepSeek-R1 paper, eq. 1 to 3, and DeepSeek-V3 report, eq. 26 to 28; for one prompt, in the atlas’s letters w, w̄, D
What the letters mean
: answer ’s probability under the model being trained over its probability under the policy that wrote it; : its reward less the group’s mean, over the group’s standard deviation; : a KL penalty to the reference model; : the group size; , : hyper-parameters. Maximized.
The DeepSeek-V3.2-Exp report names GRPO, citing the DeepSeekMath and DeepSeek-R1 papers, and writes no equation. Which normalization over an answer’s tokens V3.2 uses is not stated.
- Rewards
- rule-based; a generative reward model with rubrics
Not disclosed Group size, steps, learning rate
Why
Reasoning, agent and human-alignment training are merged into one RL stage. The report says this balances performance across domains and avoids the catastrophic forgetting it associates with multi-stage training. DeepSeek-V3.2-Exp report §2.2, p. 3
Architecture at this stageThe model as drawn, with sparse attention.
What the terms meanRule-based reward · Generative reward model · Catastrophic forgetting
- Rule-based reward
- A reward computed by a fixed check, such as whether the final answer matches the reference or the code passes its tests, with no model judging.
- Generative reward model
- A language model used as a judge: it writes an assessment of a response, here against rubrics, and gives a score or a verdict.
- Catastrophic forgetting
- A model losing what it learned earlier as it is trained further on other tasks.
All settings3
- Algorithm
- GRPO in a single stage merging reasoning, agent and human-alignment training
- Rewards
- Reasoning and agents: rule-based outcome reward, length penalty and language-consistency reward; general tasks: a generative reward model with rubrics per prompt
- Attention
- Sparse, as in the sparse stage
Sources2
- DeepSeek-V3.2-Exp report, p. 3Algorithm, Attention
- DeepSeek-V3.2-Exp report, p. 4Rewards