Training

Pinned sources Kimi K3 technical report @ 3cb39df · no training code is published

  1. Start of training
  2. Pre‑training, 8K8KNTPtext and visionMTPWhat trains: allMTP layer
  3. Pre‑training, 64K64KNTPtext and visionMTPWhat trains: all
  4. Cooldown, 256K256KNTPWhat trains: all
  5. Cooldown, 1M1MNTPWhat trains: all
  6. Off this path: Draft model 1 stage
  7. The frozen target and the time: not stated. Speculative decoding is used in RL rollouts
  8. Draft‑model fine‑tuningnot statedLKWhat trains: draftMTP → draftnot stated: context
  9. Draft model
  10. SFTnot statedSFTnot statedMXFP4 MoE expertsnot stated: context, what trains
  11. Cold-start model
  12. RL: nine expert models1MRLKimi K2.5’snot statednot stated: what trains
  13. Nine expert models
  14. Where the student starts: not stated
  15. Multi‑teacher on‑policy distillationnot statedMOPD9 teachersnot statednot stated: context, what trains
  16. Kimi K3

Not stated for any stage: tokens.

  • NTPdashed: concluded, no source names it
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published
  • a join the sources leave unexplained

Cooldown, 1M

×

The last stage of the context curriculum: the window reaches 1M tokens.

Next-token prediction

L=−1T∑i=2T+1log⁡Pi[ti]\mathcal L=-\frac1T\sum_{i=2}^{T+1}\log P_i[t_i]
In words

At every position the model gives each token of the vocabulary a probability of coming next; the loss is the negative logarithm of the probability it gave the token that does come next, averaged over the sequence.

tit_i: the token at position ii; Pi[ti]P_i[t_i]: the probability the model, reading the tokens before it, gave that token; TT: the sequence length.

Next-token prediction continues from pre-training; whether multi-token prediction does too, as in the first two stages, the report does not say.

Context
1M
Data
long documents and videos; synthetic long-context tasks
Share of training
The long-sequence computation is concentrated “within a small fraction of the overall training budget”

Not disclosed Tokens · Steps · Batch · Learning rate · Where each window begins · Number format

Why

Length alone does not give long-range capability: the synthetic data embeds tasks that can be solved only with information scattered across the full 1M context, so attention is trained at that scale. Kimi K3 report §3.4, p. 12

What the terms meanMTP, multi-token prediction
MTP, multi-token prediction
Extra modules predict tokens further ahead than the next one, and their cross-entropy, times a weight λ, is added to the loss.
All settings5
Context
1M, the last window of the cooldown phase
Curriculum
Four stages: the window grows from 8K to 64K during pre-training, and from 256K to 1M during the cooldown phase
Positions
None to change: the model has no positional embedding, so the context is extended with no modification of a positional encoding
Data
Long documents and videos, cleaned and upsampled; synthetic long-context data whose tasks need information from across the full 1M context
Share of training
The long-sequence computation is concentrated “within a small fraction of the overall training budget”
Sources1