Training

Pinned sources DeepSeek‑V3.2 report (arXiv 2512.02556, assets/paper.pdf @ a7e62ac) · DeepSeek‑V3.2‑Exp’s sources up to the shared base checkpoint · no training code is published

  1. Random initialisation
  2. Pre‑trainingDeepSeek-V314.8T4KNTPFIMrate 0.1MTPλ 0.3, then 0.1Balanceα 0.0001What trains: allMTP module
  3. Context 32KDeepSeek-V3≈ 62.9B32KNTPWhat trains: allYaRN, s = 40
  4. Context 128KDeepSeek-V3≈ 62.9B128KNTPWhat trains: all
  5. DeepSeek-V3-Base
  6. From V3’s base: before or after its context extension, not stated
  7. Context 32KDeepSeek-V3.1630B32KNTPWhat trains: all
  8. Context 128KDeepSeek-V3.1209B128KNTPWhat trains: all
  9. DeepSeek-V3.1-Base
  10. Off this path: DeepSeek-V3.1, DeepSeek-V3.1-Terminus 2 stages
  11. Post‑trainingDeepSeek-V3.1not statednot statednot statednot statednot stated: tokens, context, objective, what trains
  12. DeepSeek-V3.1
  13. From V3.1 or from a base checkpoint: not stated
  14. UpdateDeepSeek-V3.1-Terminusnot statednot statedDistillationGRPOnot statednot stated: tokens, context, what trains
  15. DeepSeek-V3.1-Terminus
  16. V3.1-Base or a later checkpoint: not stated
  17. V3.1-Terminus base checkpoint
  18. Dense warm‑upDeepSeek-V3.2-Exp2.1B128KKLto main attentionWhat trains: indexer+ indexer
  19. Sparse trainingDeepSeek-V3.2-Exp943.7B128KLMKLselected positionsWhat trains: allsparse, top 2,048
  20. DeepSeek-V3.2 base
  21. DeepSeek-V3.2-Exp, September 2025, earlier release 2 stages
  22. Specialist distillationDeepSeek-V3.2-Expnot statednot statedDistillationfrom specialistsnot statednot stated: tokens, context, what trains
  23. Mixed RLDeepSeek-V3.2-Expnot statednot statedGRPOone stagenot statednot stated: tokens, context, what trains
  24. DeepSeek-V3.2-Exp
  25. Specialist distillationnot statednot statedDistillationfrom specialistsnot statednot stated: tokens, context, what trains
  26. Distilled checkpoint
  27. Mixed RLscaled upnot statednot statedGRPOone stagenot statednot stated: tokens, context, what trains
  28. DeepSeek-V3.2
  • tokens, log scale
  • derived: computed from stated numbers
  • NTPdashed: concluded, no source names it
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published
  • a join the sources leave unexplained

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.

J=1G∑i=1G(min⁡(wiAi, wˉiAi)−βDi)wˉi=clip⁡(wi, 1−ε, 1+ε)\begin{aligned}J&=\frac1G\sum_{i=1}^{G}\Big(\min\big(w_iA_i,\ \bar w_iA_i\big)-\beta D_i\Big)\\\bar w_i&=\operatorname{clip}(w_i,\,1-\varepsilon,\,1+\varepsilon)\end{aligned}

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

wiw_i: answer ii’s probability under the model being trained over its probability under the policy that wrote it; AiA_i: its reward less the group’s mean, over the group’s standard deviation; DiD_i: a KL penalty to the reference model; GG: the group size; ε\varepsilon, β\beta: 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

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