Zero-vision SFT
×Stage · Kimi K2.5
Supervised fine-tuning on text alone, its image operations written as Python code, activates the model’s visual tool use.
Supervised fine-tuning
In words
The model is trained on examples of the answers wanted, prompts with their responses, by the cross-entropy of next-token prediction on the responses.
: the prompt; : the response; the prompt’s tokens are left out of the loss.
Supervised fine-tuning as drawn for Llama 3.1 →That plate also draws Llama 3’s rejection sampling.
- Data
- text only, image operations as IPython code
- Pipeline
- Kimi K2’s SFT pipeline
Not disclosed Data size · Epochs · Learning rate · Trainable
Why
Text-only SFT was enough to activate visual tool use, likely thanks to joint pre-training; SFT on text and images did much worse, possibly for lack of high-quality vision data. Kimi K2.5 report §2.2, p. 3
Architecture at this stageThe model as drawn; its vision encoder sees no image in this stage.
All settings2
- Data
- Text only: responses synthesized by Kimi K2, K2 Thinking and in-house expert models, with human annotation and multi-stage verification; image manipulations written as programmatic operations in IPython
- Pipeline
- Kimi K2’s SFT pipeline
Sources2
- Kimi K2.5 report, p. 3Data
- Kimi K2.5 report, p. 8Data, Pipeline