A field guide · Vision-language models

One Model, Many Visual Skills

Multimodal post-training and visual instruction tuning: how one set of weights learns to read, answer, point, reason and converse about images, and what it gives up along the way.

Visual instruction tuningData mixturesVision-language models

From a model that sees to an assistant

A pretrained vision-language model has learned that pixels and words go together. Ask it a question about a receipt and it may continue the caption instead of answering. This post is about the step that fixes that.

Here is the concrete question. We have a model that went through vision-language pretraining. It can describe images in the style of web alt text. We want one assistant with many skills. It should read the text in a photo and answer questions. It should reason over a chart and pull fields out of an invoice. It should point at an object and hold a normal conversation. How do we get there with one set of weights?

The answer has a simple core and many details. The core is supervised fine-tuning on examples of the behaviour we want. The details are where the work is. Skills compete for the same parameters. Formats clash. The language model can forget how to write. The data is often written by another model, with that model's mistakes. This post builds each of these ideas from the ground up.

Two earlier posts on this site cover the language-only versions of these ideas. Teaching a Language Model to Follow Instructions covers supervised fine-tuning (SFT) and loss masking. Mixing Data Without Losing Capabilities covers data mixtures, gradient interference and forgetting. I will reuse their results and focus on what changes when images enter.

Pretraining and post-training

Start with what does not change. Both stages train the same network with the same next-token loss. The difference is the data.

In pretraining, the model sees image-text pairs and interleaved web documents. It learns the joint distribution of images and the text that tends to appear near them. We can write this as Ppretrain(x, I), where I is an image and x is text. The loss covers every text token.

Lpre(θ) = − E(I, x) ∼ Dpre ∑t log pθ(xt | x<t, I) Every text token is a target. The image is context.

In post-training, each example has three parts. There is an image I, an instruction x, and a response y. We now want a conditional distribution: the right response given the image and the instruction. The loss only covers the response.

LSFT(θ) = − E(I, x, y) ∼ Dinst ∑t log pθ(yt | y<t, x, I) Only response tokens are targets. The image and the instruction are context.

The two lines differ in two places. The sum runs over different tokens. The expectation runs over a different distribution. That second difference does almost all the work. A web caption says "sunset over the bay, shot on a 50mm lens". An instruction example says "Q: What time of day is it? A: Evening. The sun is low on the horizon." Same loss. Very different behaviour learned.

This is behaviour cloning, as the SFT post explains. The model imitates the responses in the data. So the data decides the behaviour. Everything in the rest of this post is about which responses to put in that data, in what proportion, written by whom, and in which order.

The first open recipe made this concrete. LLaVA (Liu et al., 2023) took a frozen CLIP encoder and a language model. It first trained only a projection on 595K filtered CC3M image-text pairs. It then trained the projection and the language model on LLaVA-Instruct-158K: 58K conversations, 23K detailed descriptions and 77K complex-reasoning examples. A text-only GPT-4 wrote these from COCO captions and bounding boxes. The model never saw GPT-4 look at an image. The point was that instruction format, not new visual knowledge, was the missing piece.

Anatomy of an instruction example

Before we talk about mixtures, we need to see one example the way the model sees it. A conversation with an image is not a sequence of tokens yet. Three steps turn it into one.

First, a chat template serializes the turns. Special tokens mark where each turn starts and ends, and who is speaking. Qwen2-VL, for example, uses the ChatML format with <|im_start|> and <|im_end|>.

Second, each image becomes a placeholder token such as <image> at the position where the user attached it. The text tokenizer never sees the pixels.

Third, just before the forward pass, each placeholder is replaced by the image's visual tokens. These come from the vision encoder and the connector, as described in Inside a Modern Vision Encoder. In LLaVA-1.5, a 336-pixel image through a ViT-L/14 encoder gives a 24 × 24 grid, so 576 visual tokens. With tiling or native resolution, the count grows with the image size.

Figure 1 · One instruction example, as the model sees it

Figure 1. A two-turn conversation becomes one token sequence. Template tokens are grey, visual tokens are blue, user text is white and assistant text is orange. The loss mask under each token is 1 only for assistant tokens, including the end-of-turn token that teaches the model to stop. Each image placeholder expands into hundreds of visual tokens, but none of them is a training target.

Which tokens receive loss

The loss mask mt is 1 on positions we want the model to produce and 0 elsewhere. For a multimodal chat, the rule is short. Assistant tokens get 1. The assistant's end-of-turn token also gets 1, because the model must learn when to stop. Template tokens, user text and every visual token get 0.

L(θ) = − ∑t mt · log pθ(st | s<t) s is the full serialized sequence. mt ∈ {0, 1} selects the assistant tokens.

Visual tokens never get loss in standard SFT. There is nothing to predict there. They are continuous vectors, not entries in the vocabulary. So the image shapes the gradient only through attention: it changes the predicted distribution at the assistant positions.

One consequence is easy to miss. In the example in Figure 1, the sequence has about 1,190 positions. Only 16 of them carry loss. The visual tokens make up almost the whole sequence and cost almost all the compute. Yet the training signal comes from a handful of answer tokens.

Multiple images and multiple turns

With several images, each gets its own placeholder in the order it appears. Some templates number them, as in <image_1> and <image_2>. Others rely on order alone. The text then refers to images by order ("the second chart") or by an explicit label ("Image 2"). The model must learn to bind that reference to the right block of visual tokens. Position encodings that mark image boundaries help here. How Models Know Where They Are covers the multimodal rotary scheme (M-RoPE) used by Qwen2-VL.

Multi-turn conversations are packed into one sequence. Every assistant turn gets loss in the same forward pass. A later turn can depend on an earlier image, so the model learns to keep track of which image a question is about.

The capabilities we want

"One assistant" hides a long list of skills. Each needs its own data, and some need their own output format. It helps to write the list down before choosing data. Figure 2 walks through it.

Figure 2 · A taxonomy of visual skills

Select any branch to open it.

Figure 2. Ten families of visual skills, each expanded into the sub-skills that data must cover, with one representative instruction and response. The families differ in input (one image, many images, video), in output (a word, a paragraph, coordinates, JSON, an action) and in how strictly an answer can be checked.

Some terms need a short definition.

Two properties of this list drive the rest of the post. First, the outputs differ a lot in length and form. A count is one token. A detailed caption is two hundred. A box is a few numbers. Second, the skills share almost all their parameters. The same attention heads that read a chart also write a poem. That is why they can help each other, and why they can hurt each other.

The multimodal task mixture

The training set is a mixture of many smaller datasets. In language-only SFT, we index the parts by task and domain. With images, we add a third index: the modality configuration of the input.

D = ∑m, t, d λm,t,d · Dm,t,d , ∑ λ = 1 m: modality configuration (text-only, one image, several images, video). t: task (caption, VQA, OCR, grounding, reasoning). d: domain (natural photos, documents, charts, screenshots, medical images). λ: the sampling weight of each part.

Why is this harder than mixing language-only SFT data? There are four reasons.

The axes multiply. Four modality settings, ten task families and five domains already give two hundred cells. Most cells have little or no data. Some have millions of examples. A naive mixture is dominated by whichever cells happen to be large.

Examples have very different costs. The cost of an example depends on its visual tokens. A high-resolution document tiled into many crops can cost ten times more compute than a low-resolution photo. So "10% of examples" and "10% of compute" are different mixtures.

Examples carry very different amounts of signal. As the nuance above showed, a one-word answer and a two-hundred-token caption contribute very different numbers of loss tokens. So weights in examples, in compute and in loss tokens can all disagree.

Formats conflict. Academic datasets answer in one word. Assistants answer in paragraphs. Grounding data answers in coordinates. The model has to learn when each format applies. The next section shows what goes wrong when it cannot tell.

Cambrian-1 (Tong et al., 2024) is a careful public study of this problem. It collected about 10M instruction examples (Cambrian-10M) and curated them to 7M. One key step was a cap on each source. Very large sources were subsampled so that no single dataset dominated. The authors found the best cap to be between 250K and 350K examples per source. They also found that balancing general, OCR and language data was crucial.

Apple's MM1.5 study (Zhang et al., 2024) went further. It grouped SFT data into categories: general, text-rich, science, math, code, referring and grounding, multi-image, and text-only. It then measured how each category moves each capability group. Text-rich data improved text-rich and knowledge benchmarks. Science data improved knowledge benchmarks. Referring and grounding data enabled that capability. The final mixture was 80% single-image, 10% multi-image and 10% text-only data.

The mixing post on this site describes the same picture as a transfer matrix. Each row is a capability. Each column is a data source. Each entry says how much a little more of that source moves that capability. Figure 3 lets you play with a small, made-up transfer matrix of this kind.

Figure 3 · Mixture weights and the capability vector (illustrative model)

Format prompts on short-answer data

Figure 3. An illustrative model, not measured data. Each capability gains from its own data, with diminishing returns. It gains a little from related data. It loses from three known conflicts. Short answers without format prompts lower chat quality. Removing text-only data lowers text scores. Coordinate outputs slightly lower fluency. Black ticks mark the balanced starting mix. The guided steps show three common mistakes and one fix. After that, the sliders are yours.

The toy model is deliberately simple. It still shows the main pattern. Pushing one source up raises its own capabilities quickly at first, then slowly. Meanwhile, everything else loses share. Some losses are mild dilution. Others are real conflicts, which the next section explains.

Negative transfer between visual skills

Negative transfer means that training on task A makes task B worse. The mixing post derives the mechanism from gradients: when the gradients of two tasks point in opposing directions (a negative dot product), a step that helps one hurts the other. See Why tasks interfere. In VLMs, a few specific pairs cause most of the trouble.

Short answers against conversation

This is the classic case. Academic VQA datasets such as VQAv2 and GQA have very short answers: "yes", "2", "red". They are large, clean and cheap. They teach real perception. But if they are mixed into chat data without any marker, the model cannot tell when a short answer is wanted. It learns that answers about images are short. Then a user asks "Describe this photo" and gets "A bus."

LLaVA-1.5 (Liu et al., 2023) named the problem and fixed it with one sentence. InstructBLIP, an earlier model, had an "inability to balance between short- and long-form VQA". The LLaVA-1.5 authors traced this to "ambiguous prompts on the response format" and to not fine-tuning the language model. Their fix was a response-format prompt appended to every short-answer question: "Answer the question using a single word or phrase." Multiple-choice data got "Answer with the option's letter from the given choices directly."

Figure 4 · A format conflict, and the format prompt that resolves it

Figure 4. When short-answer and conversational examples share one unmarked format, the model averages them, and answers to open questions get shorter as the short-answer share grows. A format prompt makes the response style a function of the input, so both styles can coexist. The curves are illustrative; the prompts are the ones used by LLaVA-1.5, Molmo and Cambrian-1.

The idea generalises. Molmo (Deitke et al., 2024) prefixes academic questions with a style tag, for example "vqa2:" for VQAv2. In the authors' words, "The model learns to use these styles only when requested." Cambrian-1 saw the same failure, which it called the "answer machine" effect: models "default to outputting short, curt responses". It also fixed it with system prompts.

OCR-heavy data against natural-image semantics

Text-rich data (documents, receipts, screenshots) asks the model to copy characters exactly. Natural-image data asks it to name and describe. These pull attention in different directions. A mixture heavy in OCR can make descriptions of photos more literal, for example listing every visible word. A mixture light in OCR leaves the model unable to read. MM1.5's category study is the cleanest public evidence that text-rich data mainly moves text-rich and knowledge benchmarks.

Documents against natural images

Documents need high resolution. A 224-pixel view of an A4 page makes the text unreadable. Photos are fine at low resolution. If both share one image pipeline, one domain is either starved or overpaid. Most modern recipes handle this with tiling or native resolution, as in LLaVA-NeXT's AnyRes grids or Qwen2-VL's dynamic resolution. The trade-off then moves into the token budget, which The Cost of a Picture covers.

Coordinates against fluent language

Grounding data asks for numbers in a strict format. Shikra (Chen et al., 2023) showed that boxes can simply be written as numbers in plain text. Qwen2-VL writes boxes as (x1,y1),(x2,y2) normalised to [0, 1000) between special box tokens. Qwen2.5-VL switched to absolute pixel coordinates of the input image. A large share of such data can leak numbers into ordinary answers, or make the model reluctant to answer without a box. Special tokens around coordinates play the same role as a format prompt: they mark the mode.

Video against images

Video spends its token budget on many frames at low resolution. Images spend it on one frame at high resolution. Training heavily on video can weaken fine detail. Training only on images leaves the model with no sense of time. LLaVA-OneVision's answer was to train single-image skills first and then add a mixed stage with images, multi-image sets and video.

English against other languages

Most instruction data is English. A model tuned on English alone tends to answer in English, and its ability in other languages can drop. The multilingual subsection below gives the evidence and the fix.

Language forgetting

A VLM is built on a language model that already writes, codes, does maths and follows instructions. Multimodal training updates the same weights. So the first question to ask after tuning is simple: how much of that did we lose?

Define the text-capability change as the score on a text-only suite after training, minus the score of the original language model.

ΔStext = Stext(θafter) − Stext(θLLM) Stext: a fixed text-only suite, for example MMLU for knowledge, GSM8K and MATH for maths, HumanEval for code, plus an instruction-following and a safety set. A negative value is forgetting.

Why does forgetting happen? The mixing post gives the general answer in What forgetting actually is. In short, gradient steps on the new data move weights that the old skills relied on, and nothing pulls them back. Multimodal SFT adds a specific pressure. The new data has short, formulaic, image-bound answers. The language model's prior over long, careful text is not exercised at all.

The evidence is consistent across recipes.

Strategies against forgetting

There are six common levers. Figure 5 lets you compare them in a toy model. The table after it lists what each protects and what each costs.

Figure 5 · Forgetting and replay (illustrative model)

Strategy

Figure 5. An illustrative model of the trade-off, not measured curves. The orange curve is the text-only score and starts at the language model's level. The blue curve is the multimodal score. Replay and restricted updates reduce the drop in text score. Freezing the language model removes it but caps multimodal quality, which matches NVLM's finding that a frozen decoder-only LLM gives poor vision-language results.
Forgetting mitigations: what they protect and what they risk
StrategyWhat it protectsWhat it costs or risksEvidence in VLM workWhen to prefer it
Text-only replayKnowledge, maths, code, instruction following, the user's languageCompute per step; low-quality text data can hurtVILA (also raised VLM accuracy); NVLM (text scores rose); Qwen2.5-VL (50% text); LLaVA-1.5 (ShareGPT, language matching); MM1.5 (0 to 0.2 weight had minor multimodal effect)Almost always. The default lever.
Freeze the LLMAll text ability, exactlyVisual skills cap out; the model cannot learn new output formats wellNVLM: frozen LLM gives "poor results" for decoder-only models and a moderate drop for its cross-attention modelCross-attention designs, or when text ability must not move at all
Lower LLM learning rateReduces drift in every text skillSlower visual learning; one more hyperparameterWidely used; I know of no clean public ablation that isolates it for the LLM. LLaVA-OneVision uses a 5× lower rate for the vision encoder.Large models with strong text skills
LoRA or DoRA adaptersThe base weights; updates stay low-rankCan learn less, especially for new formatsLLaVA-1.5 LoRA checkpoints score close to full fine-tuning (7B: MME 1476.9 vs 1510.7, MM-Vet 30.2 vs 31.1); Idefics2 and Idefics3 tune backbones with DoRA. For LLMs, LoRA "learns less and forgets less".Limited compute, or many task-specific variants of one base
Staged unfreezingProtects the LLM from early, noisy connector gradientsMore stages to tune; later stages can still forgetQwen2-VL, InternVL 2.5, LLaVA-OneVision. Prismatic found the alignment stage can be skipped without loss.When a new connector or encoder starts from random weights
Balanced mixture capsKeeps any single source from dominatingThrows away data from large sourcesCambrian-1: best per-source cap between 250K and 350KLarge, uneven collections of public datasets
Safety data mixed inRefusals and safe behaviour learned by the LLMOver-refusal if the set is unbalancedVLGuard: fine-tuning "can cause forgetting of safety alignment"; 2,000 images restore it. Prismatic: removing ShareGPT hurt safety, not benchmarks.Always for an assistant; benchmarks will not catch the loss

How to read this table: each row is one lever. The two middle columns are the trade. The pattern to notice is that text replay is the only lever with evidence of helping both sides. Most others buy text safety with visual capacity. A small companion lab did not reproduce "learns less and forgets less" for LoRA on a toy model trained from scratch: rank-8 LoRA at the full learning rate lost the text skill completely (0.000), while 10% text replay kept it at 1.000.

Vision forgetting

The vision encoder can forget too. If we unfreeze it during instruction tuning, its weights move toward whatever the language model's loss rewards. Does the encoder become less useful as a general visual representation?

There are two separate questions here, and they are often mixed up.

Does the encoder itself get worse? The public evidence is mixed. Prismatic (Karamcheti et al., 2024) found that "finetuning the visual backbone significantly degrades performance", most of all on localisation tasks such as RefCOCO and OCID-Ref. Cambrian-1 found the opposite: "Unfreezing the vision encoder is widely beneficial." ShareGPT4V found that tuning only "the latter half of the vision encoder's layers achieves optimal results" in its pretraining stage. LLaVA-OneVision unfreezes the encoder with a learning rate five times smaller than the language model's.

Does the VLM use what the encoder knows? This is a different failure. Fu et al. (2025) compared VLMs with their own vision encoders on vision-centric tasks such as depth estimation and correspondence. The VLMs often did worse than a simple readout of the encoder they were built on. The information was present in the visual tokens. The language model did not use it. Earlier, "Eyes Wide Shut" (Tong et al., 2024) found image pairs that CLIP-style encoders embed almost identically, and showed that VLMs built on them fail on those pairs.

How should we measure vision forgetting? A direct test is to freeze the encoder before and after tuning and compare linear probes or nearest-neighbour retrieval on a fixed set of vision tasks. Few VLM papers report this. Most report only end-to-end benchmark scores, which mix up the two questions above.

Where instruction data comes from

We now know what the mixture should cover. The next question is where the examples come from. There are seven main sources. Each has a typical failure.

Human annotation

People write questions and answers, or captions, for real images. This is the most reliable source and the most expensive. Molmo's PixMo-Cap (Deitke et al., 2024) is the best recent example. Annotators described each image aloud for 60 to 90 seconds, which gave dense captions for 712K images. Speaking is faster than typing and harder to shortcut with a model. PixMo-Points added 2D points for 1.98M referring expressions on 229K images.

Benchmark conversion

Many labelled datasets already exist: VQA, captioning, OCR, charts, grounding. Conversion wraps each one in instruction templates. MultiInstruct (Xu et al., 2022) did this early for 62 tasks. InstructBLIP (Dai et al., 2023) converted 26 datasets and held 13 out for zero-shot evaluation. M3IT (Li et al., 2023) collected 40 datasets with 2.4 million instances and 400 hand-written task instructions, with key tasks translated into 80 languages. Vision-Flan grew to 187 tasks. The Cauldron, built for Idefics2, gathered 50 vision-language datasets in one format. Converted data is cheap and correct, but its answers are short and its style is narrow.

A language model writing from annotations

A text-only LLM can turn annotations into rich instructions. LLaVA-Instruct-158K was written by GPT-4 from COCO captions and boxes. SVIT scaled the idea using Visual Genome annotations. PixMo-CapQA generated 214K question-answer pairs from Molmo's own human captions. The LLM never sees the image, so it cannot invent visual details that the annotations lack. It can still invent details that the annotations imply, for example a fork near a plate.

A VLM teacher

A strong multimodal model looks at the image and writes the answer. ShareGPT4V (Chen et al., 2023) collected 100K detailed captions from GPT-4V, trained a captioner on them, and produced 1.2M captions. LVIS-Instruct4V prompted GPT-4V with LVIS images to write about 220K instructions. ALLaVA and LLaVA-Video-178K follow the same pattern. This gives the richest text per dollar. It also copies the teacher's mistakes into the student.

Figure 6 · How a teacher's hallucination reaches the student

Figure 6. A teacher writes a caption. The early sentences are grounded. A late sentence adds a fork that is not in the image, because forks often appear with plates. Thousands of such captions enter the training set, and the student learns the same co-occurrence. A verification step that checks each mentioned object against the image removes the claim before training.

Two findings explain the figure. POPE (Li et al., 2023) showed that "objects that frequently appear in the visual instructions or co-occur with the image objects are obviously prone to be hallucinated." LURE (Zhou et al., 2023) found that "dominant hallucinations occur in the latter part of the descriptions." LRV-Instruction (Liu et al., 2023) showed a related bias: instruction sets built from positive descriptions rarely contain questions whose correct answer is "that is not in the image". Models trained on them learn to say yes.

Programmatic tasks

Some tasks can be generated with a known answer. Draw a clock with a chosen time, render a counting scene, or compose a CLEVR-style scene from a program. PixMo-Clocks has 826K synthetic clock examples. The answer is correct by construction, so there is nothing to hallucinate. The risk is a narrow visual style that does not transfer to real photos.

Synthetic documents and charts

Rendering is the scalable path for text-rich skills. Donut's SynthDoG renders synthetic documents for OCR pretraining. PixMo-Docs asked a text-only LLM to write code that renders charts, tables, documents and diagrams, then generated questions from the code. CoSyn (Yang et al., 2025) scaled the same code-guided idea. Docmatix, built for Idefics3, has 2.4 million images and 9.5 million question-answer pairs from 1.3 million PDFs. Because the source data or code is known, answers can be checked exactly.

Execution and verifier filtering

The last source is not new data but a filter on the others. Qwen2.5-VL kept a reasoning example only when the model's output matched the expected answer, a form of rejection sampling. InternVL 2.5 scored text data with an LLM, removed low scores, and ran repetition detection. Its authors found that "merely thousands of examples" with repetitive patterns could make the model "spiral into repetitive loops", especially in chain-of-thought answers.

Sources of instruction data
SourceExamplesMain strengthTypical failureCheck that helps
Human annotationPixMo-Cap (speech captions), PixMo-PointsGrounded in the image; dense when well designedCost; annotator shortcutsSpoken or timed protocols; agreement checks
Benchmark conversionMultiInstruct, InstructBLIP, M3IT, Vision-Flan, The CauldronCheap, correct labels, wide task coverageShort answers and narrow style leak into chatFormat prompts or style tags
LLM from annotationsLLaVA-Instruct-158K, SVIT, PixMo-CapQARich instructions without a vision teacherInferred details the annotations only implyRestrict to facts in the annotation
VLM teacherShareGPT4V, LVIS-Instruct4V, ALLaVA, LLaVA-Video-178KLong, fluent, detailed text at scaleTeacher hallucinations and style copied into the studentObject-level verification; negative questions
Programmatic tasksPixMo-Clocks, CLEVR-style scenesAnswers correct by constructionNarrow visual styleMix with real images of the same skill
Synthetic documents and chartsSynthDoG, PixMo-Docs, CoSyn, DocmatixScalable text-rich data with exact answersRendering artefacts; template samenessDiverse renderers; held-out real documents
TranslationM3IT (80 languages), PangeaInsCovers languages with little native dataTranslation errors; culturally mismatched imagesStrong translator; native-image data per language

How to read this table: the "typical failure" column is what each source adds to the model if left unchecked. The last column is the matching control. Real recipes combine several rows, so they also combine the failures.

Multi-image, video and multilingual data

The sections so far assumed one image and English text. Three extensions need their own data, and each changes the mixture.

Multi-image data

A model trained only on single images often handles two images poorly. It may mix up which question is about which image. LLaVA-NeXT-Interleave (Li et al., 2024) built M4-Instruct to address this: 1,177.6K samples across 14 tasks from 41 datasets. It covers four settings: several images, several video frames, several 3D views, and several patches of one image. Treating all four as "many images in one sequence" lets one model share skills across them. MM1.5 gave multi-image data 10% of its final mixture.

Video data

Video instruction data is expensive to label by hand, so most of it is synthetic. LLaVA-Video-178K (Zhang et al., 2024) is a clear example. GPT-4o described each video at one frame per second in three levels: every 10 seconds, every 30 seconds, and for the whole video. Each level used the earlier descriptions as context. The set has 178,510 videos, 178K captions, 960K open-ended questions and 196K multiple-choice questions. The video post covers frame sampling and token budgets.

LLaVA-OneVision shows how video fits into a mixture. Its final stage, about 1.6M examples, mixed single-image, multi-image and video data after a 3.2M single-image stage. The authors report that skills transfer across these settings. In their words, "strong video understanding and cross-scenario capabilities are demonstrated through task transfer from images to videos."

Multilingual data

Which languages do open VLMs cover, and how? Most recipes are English-first with some Chinese. LLaVA-OneVision's knowledge stage included 92K Chinese captions. InternVL 1.5 trained on a bilingual English and Chinese dataset. Qwen2-VL reports reading text in images in "most European languages, Japanese, Korean, Arabic, Vietnamese, and others."

There are three ways to get non-English data. Translation turns English instructions into other languages, as M3IT did for 80 languages. Native collection gathers images and text from each culture. Text-only replay in many languages keeps the language model's own multilingual ability alive, which is what LLaVA-1.5 saw with ShareGPT.

Pangea (Yue et al., 2024) is the most direct study. It built PangeaIns, about 6M instructions across 39 languages. The first part is English instructions translated with a strong LLM. The second part is about 1M culturally specific images, captioned and questioned in their own language. The third part is existing multilingual datasets. Its ablation on the English share is the clearest public evidence on this question.

Detailed captions and short answers

Two kinds of data dominate most mixtures: detailed captions and question answering. They look similar. They teach different things.

A detailed caption teaches coverage. To write one, the model must attend to every region of the image and say something true about each. ShareGPT4V's main result was that replacing LLaVA-1.5's 23K detailed descriptions with 23K GPT-4V captions, and pretraining on 1.2M of them, improved a wide range of benchmarks. Molmo's first stage is caption training on PixMo-Cap. The aim in both cases is a model that notices everything.

Question answering teaches selection. To answer "What does the sign say?", the model must find one region, read it, and ignore the rest. It must also stop. A caption-only model tends to answer every question with a description.

Figure 7 · Coverage from captions, selection from questions

Figure 7. A detailed caption visits every region, and the coverage meter fills. Its last sentence makes a claim the pixels do not support, which is where long captions tend to go wrong. A question selects one region and needs one short, checkable answer. A model needs both: coverage to notice, selection to respond.

There is a cost to long captions. LURE found that hallucinations concentrate late in long descriptions. A model trained to always write more learns to keep going after it runs out of grounded content. So the length of training captions is itself a hyperparameter. Very long captions raise coverage and raise the rate of unsupported claims.

Reasoning SFT

Some questions cannot be answered in one step. "By how much did revenue grow from Q1 to Q4?" needs two readings and a subtraction. Reasoning SFT trains the model to write the intermediate steps before the answer.

Formally, the response becomes a rationale z = z1 … zk followed by an answer y. The model factorises the joint probability step by step.

pθ(z, y | x, I) = ∏i=1..k pθ(zi | z<i, x, I) · pθ(y | z, x, I) The loss mask now covers both z and y. Each step can attend to the image and to all earlier steps.

Why does this help? Each step is a smaller prediction that the model can get right. And each step is extra computation before the answer. Thinking in Tokens explains why chain-of-thought adds serial compute.

Where do rationales come from? ScienceQA (Lu et al., 2022) collected lectures and explanations for science questions. Multimodal-CoT (Zhang et al., 2023) split generation into two stages, first the rationale and then the answer, so the answer can use a rationale that was built from the image. LLaVA-CoT trained on 100K examples with four explicit stages: summary, visual interpretation, reasoning and conclusion. Visual CoT (Shao et al., 2024) annotated 438K question-answer pairs with a bounding box of the key region, so the reasoning first says where to look. MAmmoTH-VL built 12M instruction pairs with rationales using only open models, with rewriting and self-filtering. Qwen2.5-VL used rejection sampling: keep only rationales whose final answer is correct.

Figure 8 · A grounded rationale, and a test of whether it uses the image

Figure 8. Each step of a grounded rationale cites a region of the chart. Swapping in a counterfactual chart, with the Q4 bar changed, is a direct test: a rationale that reads the image changes its numbers; a rationale that pattern-matches the question does not.

Does the rationale actually use the image?

This question matters because rationales from text-only teachers can be fluent without being visual. MathVerse (Zhang et al., 2024) tested models on versions of maths problems with less text and more diagram. Many models relied "heavily on textual questions". Some scored more than 5% higher with no image at all. On vision-only versions, accuracy fell below the no-image scores.

Grounded rationales make that check easier. If each step names a region, a verifier can look at the region. My own work on document grounding uses this idea for documents: Building Grounded Document Intelligence describes chain-of-thought where each step is tied to a mask on the page. Reasoning trained by reinforcement learning, where the reward checks the final answer, is the subject of Rewarding What the Model Sees and Thinking With Images.

Staged curriculum or joint mixture

Most open recipes train in stages. A common shape is: align the connector, then train general instructions, then add OCR, documents and high resolution, then reasoning, then grounding and tools. Is this staging necessary, or would one joint mixture do as well?

There are three good reasons to stage.

There is also one good reason not to. Each stage can forget the one before it. A long pipeline of narrow stages is a forgetting machine unless each stage replays the earlier data.

The evidence is split. Prismatic found that the separate alignment stage "can be eliminated without impact on performance, reducing compute costs by 20-25%". Cambrian-1 found that "two-stage training is beneficial; more adapter data further improves results." Molmo keeps a simple two-stage pipeline: caption pretraining, then fine-tuning on a mixture. LLaVA-OneVision uses four stages and argues the single-image stage helps transfer to video.

Figure 9 · Training stages in open recipes

Figure 9. Each block is one training stage, with the data reported for it. Each module is marked trained, frozen, trained through adapters, trained at a reduced learning rate, or not stated in the paper. Only figures stated in the primary sources are shown. Data sizes that the paper gives only in aggregate are marked as not listed here.

Read across the tabs and a pattern appears. Almost every recipe freezes something at some point. Almost every recipe trains the language model in the final stage. The vision encoder is treated most differently: frozen throughout (LLaVA-1.5), unfrozen gently (LLaVA-OneVision), trained early and frozen late (Qwen2-VL), or adapted with low-rank updates (Idefics3).

A practical rule follows. Stage when the stages differ in what is trainable or in sequence length. Within a stage, use one joint mixture, and replay a slice of earlier data in later stages.

Open recipes compared

The table below compares open post-training recipes along the aspects this post introduced. The columns cover where the data comes from and how much of it is human or synthetic. They cover the stages, what is trained during SFT and whether text-only data is replayed. The last two cover resolution and the capabilities the data targets. Every entry is from the primary source. "Not reported here" means I could not verify it, not that the recipe lacks it. Family-by-family details are in How the Open VLM Families Were Built.

Open multimodal post-training recipes
RecipeInstruction data sourcesHuman vs syntheticStages and data per stageTrained during SFTText-only data in SFTResolution handlingCapabilities targeted
LLaVA (2023)LLaVA-Instruct-158K from COCO captions and boxesSynthetic: text-only GPT-4 from human annotationsAlignment on 595K pairs (projection only); instruction tuning on 158KProjection and LLM; encoder frozenNoneSingle image, CLIP ViT-L/14 at 224 pxConversation, detailed description, complex reasoning
LLaVA-1.5 (2023)LLaVA-Instruct, VQAv2, GQA, OKVQA, A-OKVQA, OCRVQA, TextCaps, RefCOCO, Visual Genome, ShareGPTMostly converted human-labelled benchmarks, plus GPT-4 conversations558K alignment (connector only); 665K instruction mixMLP connector and LLM; encoder frozen in released code; LoRA variant close to full40K ShareGPT conversationsSingle image, 336 px (576 tokens)VQA, OCR basics, region-level grounding, conversation
LLaVA-NeXT (2024)LLaVA-1.5 mix with TextCaps replaced by DocVQA and SynDog-EN; adds ShareGPT4V, LAION-GPT-V, ChartQA, DVQA, AI2D, 15K demo instructionsHuman-labelled benchmarks, GPT-4V captions and answers, rendered documents558K alignment; 760K instruction tuningFull model (model card)Not reported hereAnyRes grids up to 672×672, 336×1344, 1344×336OCR, documents, charts, reasoning
LLaVA-OneVision (2024)Re-captions by LLaVA-NeXT-34B, document and OCR data, Chinese captions, single-image, multi-image and video instructionsLarge share generated by its own earlier model558K alignment; 4M knowledge stage; 3.2M single-image; 1.6M OneVision mixFull model; encoder at 5× lower learning rateLanguage data in the knowledge stageAnyResMax-9 tiling, SigLIP encoderSingle-image, multi-image and video, with transfer between them
ShareGPT4V (2023)100K GPT-4V captions, expanded to 1.2M by Share-CaptionerVLM-teacher syntheticCaption pretraining on 1.2M; SFT on 665K LLaVA-1.5 mix with 23K captions swappedConnector and LLM; encoder frozen in SFT (half its layers tuned in pretraining)Inherits LLaVA-1.5's ShareGPTSingle image, 336 pxDetailed perception and captioning
Cambrian-1 (2024)Cambrian-10M from many public sources, curated to 7MMixed; balanced by per-source capsConnector training, then instruction tuningFinds unfreezing the encoder "widely beneficial"Yes; general, OCR and language data balancedSeveral encoders fused by the SVA connectorVision-centric perception, OCR, general VQA
Idefics2 (2024)The Cauldron: 50 vision-language datasetsMostly converted human-labelled benchmarksPretraining, then instruction tuningDoRA adapters on backbones; new parameters fully trainedYesImage splitting into 4 crops plus the original during SFTVQA, OCR, documents, charts
Idefics3 (2024)Extended public mixtures; Docmatix built by the same team (2.4M images, 9.5M QA pairs)Converted benchmarks plus synthetic document QAThree pretraining stages, then SFTDoRA from the second stage onwardNot reported herePixel shuffle: 364 px tile to 169 tokens; image splittingDocuments and general VQA
Molmo (2024)PixMo (spoken captions, points, CapQA, code-rendered docs, clocks, AskModelAnything) plus academic datasetsHuman-heavy; synthetic only from text-only LLMs and code; no external VLMsCaption pretraining on PixMo-Cap (712K images); fine-tuning on the mixtureAll parametersNot reported hereOverlapping crops plus a low-resolution view of the full imagePointing, counting, captioning, documents, VQA
Qwen2-VL (2024)ChatML conversations: pure text, image QA, document parsing, multi-image comparison, video, video stream dialogue, agent interactionsNot reported hereViT-only pretraining (about 600B tokens); full pretraining (1.4T tokens in total); instruction tuningLLM; ViT frozenYes, pure-text dialoguesNative dynamic resolution with M-RoPEDocuments, multilingual OCR, video, grounding, agents
Qwen2.5-VL (2025)About 2M SFT entries; reasoning data filtered by rejection samplingNot reported hereSFT, then DPOLLM; ViT frozen in both post-training stages50% of SFT entriesNative dynamic resolution; absolute coordinatesGrounding, documents, video, agents
InternVL 1.5 (2024)High-quality bilingual (English and Chinese) datasetNot reported herePretraining (InternViT-6B and MLP), then fine-tuningEntire 26B modelNot reported here448 px tiles: 1 to 12 in training, up to 40 at testOCR, Chinese, documents
InternVL 2.5 (2024)Large open mixture with an LLM-scored filtering pipelineNot reported hereMLP warm-up; optional ViT incremental stage; full instruction tuningFull modelYes, filtered for quality and repetition448 px dynamic tilingBroad, including chain-of-thought
MM1.5 (2024)Categories: general, text-rich, science, math, code, refer and ground, multi-image, text-onlyNot reported herePretraining, continual pretraining, SFTNot reported here10% of the final mixDynamic image splitting (AnyRes-style grids)Text-rich, referring and grounding, multi-image

How to read this table: read down a column to see how much recipes disagree on one choice. Three patterns stand out. Text-only replay appears in almost every recipe that reports its SFT mix. The vision encoder is the least settled choice. And the share of synthetic data written by a VLM teacher varies from none (Molmo) to most (ShareGPT4V), which is the main axis along which recipes differ in hallucination risk.

Evaluating while training

With many skills in one model, a single score cannot tell you whether a mixture change helped. We need a vector.

S(λ) = [ SVQA, SOCR, Sdoc, Schart, Sground, Stext, Ssafety ] Each entry is a fixed, held-out suite for one capability group. λ is the mixture. Choosing λ is a multi-objective problem: we want every entry high, and they compete.

When objectives compete, there is usually no single best mixture. There is a set of mixtures where no capability can go up without another going down. This set is the Pareto front. Any mixture below the front is wasted: some other mixture is at least as good on every capability. The mixing post derives this view for language models.

Two ways to pick one point on the front are common. A weighted sum, ∑ wk Sk, picks the point that a chosen set of priorities favours. A constraint picks the best point for one capability subject to floors on others, for example "maximise documents subject to Stext ≥ the base model minus one point". Constraints are easier to defend, because they say what you refuse to lose.

Figure 10 · The Pareto view of mixture tuning (illustrative model)

Figure 10. Each dot is one random mixture scored by the same illustrative model as Figure 3. The orange line joins the mixtures that no other mixture beats on both axes. A weighted sum picks different points on that front as the weights change. A constraint (the shaded floor) picks the best point that keeps the second capability above a minimum.

A few practical rules make the vector trustworthy. Benchmarks and metrics have their own post, Measuring What a VLM Can Do, so here I list only what matters during training.

What is still open

Several questions do not yet have good public answers.

You should now be able to reason about a multimodal SFT recipe from first principles. Look at the serialized example and its loss mask. Write down the capability vector. Ask what each source teaches, which formats conflict, what replay protects the language model, and which data was written by another model. The next post takes up the evaluation side in depth.

Key insights and nuances

References

Grouped by topic. Every entry links to its primary source.

Visual instruction tuning recipes