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. SFTnot statedSFTnot statedMXFP4 MoE expertsnot stated: context, what trains
  7. Cold-start model
  8. RL: nine expert models1MRLKimi K2.5’snot statednot stated: what trains
  9. Nine expert models
  10. Where the student starts: not stated
  11. Multi‑teacher on‑policy distillationnot statedMOPD9 teachersnot statednot stated: context, what trains
  12. 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

Pre-training, 64K

×

The same pre-training at a context of 64K, “in a subsequent training phase”.

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.

  • 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.
Context
64K
Learning rate
Cosine decay with a 1% linear warm-up

Not disclosed Tokens · Peak and minimum learning rate · Batch · Steps · MTP weight and depth · Number format · Optimizer for non-matrix parameters, the clipping’s rule, momentum · Where the phase begins

All settings8
Objective
One next-token prediction over interleaved visual and text tokens; language and vision trained jointly from the start
Multi-token prediction
One MTP layer with the structure of a backbone block is pre-trained with the model
Optimizer
Per-Head Muon for matrix parameters: the momentum of the attention’s Q, K and V projections is split by head and each head’s block is orthogonalized separately; weight clipping as in Kimi K2
Weight decay
0.1 throughout
Learning rate
Cosine decay with a 1% linear warm-up
Load balancing
Auxiliary-loss-free, by Quantile Balancing: each expert’s bias is set from a quantile of its routing margins
Trainable
Language and vision jointly: the vision encoder, MoonViT-V2, trains from scratch with the model
Context
Extended to 64K in a subsequent training phase
Sources6