Joint pre-training
×Stage · Kimi K2.5
Pre-training continues from a Kimi K2 checkpoint on 15T more tokens of text and vision at 4K, the vision encoder and the language model training together.
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.
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.
- Tokens
- 15T
- Context
- 4,096
- Vision
- early, at a moderate ratio
- Data
- K2’s, more code; captions, documents, video, screenshots
Not disclosed Learning rate · Batch · Steps · Optimizer · Vision-to-text ratio
Why
At a fixed budget of vision and text tokens, adding vision early at a low ratio did better than adding it late at a high one (Table 1). Kimi K2.5 report §2.1, p. 3
When vision arrived mid-way or late, text ability first dipped, then recovered; early fusion kept it steady (Figure 9). Kimi K2.5 report §B.1, p. 22
Architecture at this stageThe model as drawn, with the vision encoder and projector in front of it.
All settings7
- Tokens
- 15T vision–text tokens; the report also says its three pre-training stages process “approximately 15T tokens” together
- Context
- 4,096
- Data
- Kimi K2’s distribution extended with unique tokens, more weight on code and a cap on the epochs of each source; text from web, code, mathematics and knowledge; vision from captions, interleaved documents, OCR, knowledge, perception, video, and GUI screenshots with action trajectories
- Vision
- A moderate vision ratio, integrated early in training; the report’s ablation found late, vision-heavy training worse
- Trainable
- The vision encoder and the language model
- Objective
- Next-token prediction on the text tokens, with images and video in the context
- Hardware
- NVIDIA H800 clusters, 8 × 400 Gbps RoCE between nodes; Kimi K2’s training infrastructure with minimal modifications, the vision encoder replicated on every GPU and run in its own forward and backward phases around the backbone’s (Decoupled Encoder Process)
Sources7
- Kimi K2.5 report, p. 7Tokens, Context, Trainable, Objective
- Kimi K2.5 report, p. 8Tokens, Context, Data
- Kimi K2.5 report, p. 22Data
- Kimi K2.5 report, p. 23Data, Hardware
- Kimi K2.5 report, p. 2Vision
- Kimi K2.5 report, p. 3Vision
- Kimi K2.5 report, pp. 9–10Hardware