Vision encoder: captions
×Stage · MoonViT-3D
The vision encoder learns to caption images and videos for a small language model, Moonlight-16B-A3B: about 1T tokens with very few training FLOPs.
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.
Cross-entropy on caption tokens, given the image or video; the report names it .
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
- about 1T
- Data
- image– and video–text pairs
Not disclosed Learning rate · Batch · Steps
Architecture at this stageThe vision encoder, read by Moonlight-16B-A3B in place of the 1T language model.
All settings5
- Tokens
- About 1T
- Context
- 4,096
- Objective
- Cross-entropy for captions conditioned on the images and videos, with no contrastive loss
- Data
- Image–text and video–text pairs; the text is alt text, synthetic captions, grounding boxes or OCR text
- Trainable
- The vision encoder, aligned with Moonlight-16B-A3B
Sources1
- Kimi K2.5 report, p. 7Tokens, Context, Objective, Data, Trainable