Pre-training, 8K
×Native multimodal pre-training: one next-token prediction over text and visual tokens, at a context of 8K.
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
- 8K
- Optimizer
- Per-Head Muon, weight clipping
- Learning rate
- Cosine decay with a 1% linear warm-up
- Weight decay
- 0.1
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 · Data sizes and proportions
Why
Language and vision train together from the start, so the shared backbone learns one multimodal representation; the report says a contrastively pre-trained vision encoder made joint optimization unstable. Kimi K3 report §2.4, p. 9
Architecture at this stageThe model with its MTP layer beside it. Quantization-aware training starts later, at SFT.
A multi-token prediction layer trains with the model. The pinned checkpoint holds no tensor named for it.
What the terms meanMuon · Per-Head Muon · Weight clipping
- Muon
- An optimizer for weight matrices: it keeps a momentum of the gradients and replaces each matrix’s momentum by its nearest orthogonal matrix (a few Newton–Schulz iterations), so every direction of the matrix is updated by a similar amount. Kimi K3 report §2.5, p. 10
- Per-Head Muon
- Muon applied head by head to the attention projections: each head’s block is orthogonalized on its own, so heads with larger gradients do not set the update of the others. Kimi K3 report §2.5, p. 10
- Weight clipping
- Kimi K2’s QK-Clip: after an update, a head’s query and key weights are scaled down whenever its largest attention logit exceeds a threshold, so the logits cannot grow until training diverges. Kimi K2 report §2.1, p. 3
All settings9
- 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
- 8K at the start of pre-training
- Data
- Four text domains (Web Text, Code, Mathematics, Knowledge) and a vision corpus: captions, interleaved image–text documents, OCR, perception, video, visual coding
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, Data
- Kimi K3 report, pp. 8–9Load balancing
- Kimi K3 report, p. 9Trainable
- Kimi K3 report, p. 12Context