On-policy distillation
×Stage · DeepSeek-V4.1-Flash
The last stage: full-vocabulary on-policy distillation on datasets from all domains, with over 40 teacher models.
- Teachers
- over 40, from all domains
- Objective
- full-vocabulary on-policy distillation
- Recipe
- Asynchronous generation; the dataset mixture, per-dataset concurrency limits and active teachers may be adjusted during training
Not disclosed Context of this stage · What is trained · Loss · Steps · Learning rate · Tokens
Architecture at this stageStated for post-training as a whole, with no stage named: the Hierarchical Sparse Indexer is switched on, the main KV cache is trained in FP4, and DSpark trains beside the backbone with its gradient cut.
All settings9
- Place
- The last stage of post-training
- Teachers
- Over 40, on datasets from all domains; a domain’s best teacher may come from another stage of development and differ in architecture
- Objective
- Full-vocabulary on-policy distillation; the report writes no equation
- Recipe
- Asynchronous generation; the dataset mixture, per-dataset concurrency limits and active teachers may be adjusted during training
- DSpark
- Trained alongside the backbone through post-training, with no gradient from its objective into the backbone
- Hierarchical Sparse Indexer
- “Training-aware and introduced in post-training”: later indexers score a candidate pool an earlier one selected
- Number format
- Quantization-aware training for the main KV cache in FP4, introduced in post-training; the sliding-window KV cache stays FP8
- Replay
- The decoder’s bounded replay of the sliding window is simulated in post-training
- Long sequences
- “A substantial share of training occurring at ultra-long sequence lengths in both the pre-training and post-training stages”, of sequences up to one million tokens
Sources6
- DeepSeek_V41_Tech_Report.pdf, p. 31Place, Objective
- DeepSeek_V41_Tech_Report.pdf, pp. 31–32Teachers, Recipe
- DeepSeek_V41_Tech_Report.pdf, p. 14DSpark, Number format
- DeepSeek_V41_Tech_Report.pdf, p. 12Hierarchical Sparse Indexer
- DeepSeek_V41_Tech_Report.pdf, p. 20Replay
- DeepSeek_V41_Tech_Report.pdf, p. 17Long sequences