Specialists: RL
×Each specialist is then trained with GRPO on domain prompts and rewards, under the length penalty and context window of its reasoning effort.
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-V4 report names GRPO, with hyper-parameters closely aligned with DeepSeek’s earlier work, and writes no equation.
- Reasoning efforts
- three modes, a length penalty and context window each
- Rewards
- verifiers; the actor as generative reward model
Not disclosed Group size · Clipping and KL weight · Steps · Learning rate · Trainable
Why
Training the actor as its own generative reward model joins judging to generating: its reasoning goes into its scores, and few human annotations are needed. DeepSeek-V4 report §5.1.1, p. 30
Architecture at this stageThe model as drawn; the MoE experts’ weights and the indexer’s query–key path train aware of MXFP4.
What the terms meanReasoning effort · Generative reward model
- Reasoning effort
- How much the model may reason before it answers: a level given in its prompt, which training ties to a token budget or a length penalty.
- 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.
All settings4
- Algorithm
- GRPO, its hyper-parameters closely aligned with DeepSeek’s earlier work
- Reasoning efforts
- Specialists trained under different RL configurations for three modes (Non-think, Think High, Think Max), each with its own length penalty and context window
- Rewards
- Rule-based verifiers or test cases for easy-to-verify tasks; for hard-to-verify ones, rubric-guided data judged by a generative reward model, which is the actor itself, trained by RL with it; no scalar reward model
- Number format
- Quantization-aware training in post-training: the MoE experts’ weights and the indexer’s query–key path in MXFP4, its index scores in BF16; teacher and reference models included
Sources5
- DeepSeek-V4-2606.19348v1.pdf, p. 28Algorithm
- DeepSeek-V4-2606.19348v1.pdf, p. 29Algorithm, Reasoning efforts, Rewards
- DeepSeek-V4-2606.19348v1.pdf, p. 30Rewards
- DeepSeek-V4-2606.19348v1.pdf, p. 4Number format
- DeepSeek-V4-2606.19348v1.pdf, p. 33Number format