Pre-training, 64K
×The same pre-training at a context of 64K, “in a subsequent training phase”.
Next-token prediction
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.
: the token at position ; : the probability the model, reading the tokens before it, gave that token; : 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.
Next-token prediction as drawn for DeepSeek‑V3.2‑Exp →That plate also draws multi-token prediction, fill-in-the-middle and DeepSeek-V3’s sequence-wise balance 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
Architecture at this stageThe model with its MTP layer beside it. Quantization-aware training starts later, at SFT.
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
- Kimi K3 report, p. 11Objective, Multi-token prediction, Optimizer, Weight decay, Learning rate, Load balancing, Trainable
- Kimi K3 report, p. 14Multi-token prediction
- Kimi K3 report, p. 10Optimizer
- Kimi K3 report, pp. 8–9Load balancing
- Kimi K3 report, p. 9Trainable
- Kimi K3 report, p. 12Context